fixed stigdata lookup
This commit is contained in:
Родитель
14cebfa485
Коммит
a21180ebc5
|
@ -1,15 +0,0 @@
|
|||
# This hash table is used filter for applicable stig data for a specific composite resource
|
||||
@{
|
||||
Browser = @("*IE11*")
|
||||
DotNetFramework = @("*DotNet4*")
|
||||
IisServer = @("*IISServer*")
|
||||
IisSite = @("*IISSite*")
|
||||
OracleJRE = @("*OracleJRE8*")
|
||||
SqlServer = @("*Instance*", "*Database*")
|
||||
Firefox = @("*Firefox*")
|
||||
Office = @("*Excel2013*", "*Outlook2013*", "*PowerPoint2013*", "*Word2013*")
|
||||
WindowsClient = @("*Client*")
|
||||
WindowsFirewall = @("*FW*")
|
||||
WindowsDnsServer = @("*DNS*")
|
||||
WindowsServer = @("*DC*", "*MS*")
|
||||
}
|
|
@ -316,11 +316,11 @@ function Get-StigVersionTable
|
|||
$Filter
|
||||
)
|
||||
|
||||
$include = Import-PowerShellDataFile -Path $PSScriptRoot\CompositeResourceFilter.psd1
|
||||
#$include = Import-PowerShellDataFile -Path $PSScriptRoot\CompositeResourceFilter.psd1
|
||||
|
||||
$path = "$(Get-StigDataRootPath)\Processed"
|
||||
|
||||
$versions = Get-ChildItem -Path $path -Exclude '*.org.*', '*.xsd', '*.md' -Include $include.$CompositeResourceName -File -Recurse
|
||||
$versions = Get-ChildItem -Path $path -Exclude '*.org.*', '*.xsd', '*.md' -Include "$($CompositeResourceName)-*" -File -Recurse
|
||||
|
||||
$versionTable = @()
|
||||
foreach ($version in $versions)
|
||||
|
|
Загрузка…
Ссылка в новой задаче