This commit is contained in:
Adam Haynes 2019-01-30 14:53:30 +01:00
Родитель 14cebfa485
Коммит a21180ebc5
2 изменённых файлов: 2 добавлений и 17 удалений

Просмотреть файл

@ -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)