removed Duplcate Title references
This commit is contained in:
Родитель
3e03358891
Коммит
a88a4afa6d
|
@ -46,7 +46,7 @@ Class GroupRuleConvert : GroupRule
|
|||
{
|
||||
if ($this.IsDuplicateRule($global:stigSettings))
|
||||
{
|
||||
$this.SetDuplicateTitle()
|
||||
$this.SetDuplicateOf($this.id)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -47,24 +47,15 @@ Class IisLoggingRuleConvert : IisLoggingRule
|
|||
$this.SetLogPeriod()
|
||||
$this.SetLogTargetW3C()
|
||||
$this.SetStatus()
|
||||
$this.DscResource = $(
|
||||
if ($global:stigTitle -match "Server")
|
||||
{
|
||||
"xIISLogging"
|
||||
}
|
||||
else
|
||||
{
|
||||
"XWebsite"
|
||||
}
|
||||
)
|
||||
|
||||
if ($this.conversionstatus -eq 'pass')
|
||||
{
|
||||
if ($this.IsDuplicateRule($global:stigSettings))
|
||||
{
|
||||
$this.SetDuplicateTitle()
|
||||
$this.SetDuplicateOf($this.id)
|
||||
}
|
||||
}
|
||||
$this.SetDscResource()
|
||||
}
|
||||
|
||||
<#
|
||||
|
|
|
@ -47,7 +47,7 @@ Class WindowsFeatureRuleConvert : WindowsFeatureRule
|
|||
{
|
||||
if ($this.IsDuplicateRule($global:stigSettings))
|
||||
{
|
||||
$this.SetDuplicateTitle()
|
||||
$this.SetDuplicateOf($this.id)
|
||||
}
|
||||
}
|
||||
$this.SetDscResource()
|
||||
|
|
|
@ -211,7 +211,7 @@ Function Get-StigBaseMethods
|
|||
else
|
||||
{
|
||||
$objectClassMethodNames = @('Equals', 'GetHashCode', 'GetType', 'ToString')
|
||||
$stigClassMethodNames = @('Clone', 'IsDuplicateRule', 'SetDuplicateTitle', 'SetStatus',
|
||||
$stigClassMethodNames = @('Clone', 'IsDuplicateRule', 'SetDuplicateOf', 'SetStatus',
|
||||
'SetIsNullOrEmpty', 'SetOrganizationValueRequired', 'GetOrganizationValueTestString',
|
||||
'ConvertToHashTable', 'IsHardCoded', 'GetHardCodedString',
|
||||
'IsHardCodedOrganizationValueTestString', 'GetHardCodedOrganizationValueTestString',
|
||||
|
|
Загрузка…
Ссылка в новой задаче