-
Notifications
You must be signed in to change notification settings - Fork 128
Adobe
A composite DSC resource to manage Adobe STIG settings
An Adobe product installed.
Adobe [String] #ResourceName
{
[DependsOn = [String[]]]
[PsDscRunAsCredential = [PSCredential]]
AdobeApp = [String]
[StigVersion = [Version]]
[Exception = [Hashtable]]
[OrgSettings = [Object]]
[SkipRule = [String[]]]
[SkipRuleType = [String[]]]
[SkipRuleSeverity = [String[]]]
}
We can see above the AdobeApp parameter is REQUIRED (not surrounded by []) while all other parameters are optional. Here is the minimal configuration given the above syntax
Configuration myConfig
{
Import-DscResource -ModuleName PowerStig
Adobe AdobeBaseline
{
AdobeApp = 'AcrobatReader'
}
}
. myConfig -OutputPath "c:\temp" # calls the configuration and creates a .mof file at the output location if output location is provided (optional)The above script assumes you have a c:\temp directory and that you have PowerSTIG installed.
Copy and paste the above configuration scipt into the PowerShell ISE or any IDE that supports PowerShell, and run it. The result will be a .mof file named localhost.mof that contains a number of rules based on the DSC resources that are automated.
Below is a configuration that includes the version of the STIG you are using to configure your endpoint. To find out how to determine version/s you have available, see GetVersionInfo
Configuration myConfig
{
Import-DscResource -ModuleName PowerStig
Adobe AdobeBaseline
{
AdobeApp = 'AcrobatReader'
StigVersion = [Version]'2.1'
}
}
. myConfig -OutputPath "c:\temp"
A more complete example, including optional organizational settings. For more information on organization settings see Customizing Rules
in this example you populare the $MyOrgAdobeSettings hashtable prior to using the variable in the configuration. This example also includes SkipRules, which is a list of rules within that particular STIG that will NOT be processed. You would replace the xxxxxx below with the actual v number for the rule.
$MyOrgAdobeSettings = @{
}
Configuration myConfig
{
Import-DscResource -Name Adobe
Adobe AdobePro
{
AdobeApp = 'AcrobatPro'
StigVersion = [Version]'2.1'
OrgSettings = $MyOrgAdobeSettings
SkipRule = 'V-xxxxxx', 'V-xxxxxx'
}
Adobe AdobeReader {
AdobeApp = 'AcrobatReader'
StigVersion = [Version]'1.6'
OrgSettings = $MyOrgAdobeSettings
SkipRule = 'V-xxxxxx', 'V-xxxxxx'
}
To get a list of applicable values for the AdobeApp paremter run the following:
Import-Module PowerSTIG
Get-Stig -ListAvailable | Where-Object Technology -like '*Adobe*'example output
Technology : Adobe
TechnologyVersion : AcrobatPro
TechnologyRole :
Version : 2.1
RuleList : {}
Technology : Adobe
TechnologyVersion : AcrobatReader
TechnologyRole :
Version : 1.6
RuleList : {}
Technology : Adobe
TechnologyVersion : AcrobatReader
TechnologyRole :
Version : 2.1
RuleList : {}-
Stig Coverage
- Stig Coverage Summary
- Adobe-AcrobatPro-2.1
- Adobe-AcrobatReader-1.6
- Adobe-AcrobatReader-2.1
- DotNetFramework-4-2.6
- DotNetFramework-4-2.7
- FireFox-All-6.6
- FireFox-All-6.7
- Google-Chrome-2.10
- Google-Chrome-2.11
- IISServer-10.0-3.5
- IISServer-10.0-3.6
- IISSite-10.0-2.13
- IISSite-10.0-2.14
- InternetExplorer-11-2.5
- InternetExplorer-11-2.6
- MS-Edge-2.3
- MS-Edge-2.4
- Office-365ProPlus-3.3
- Office-365ProPlus-3.4
- Office-Access2016-1.1
- Office-Access2016-2.1
- Office-Excel2016-1.2
- Office-Excel2016-2.2
- Office-OneNote2016-1.2
- Office-OneNote2016-2.1
- Office-Outlook2016-2.3
- Office-Outlook2016-2.4
- Office-PowerPoint2016-1.1
- Office-PowerPoint2016-2.1
- Office-Publisher2016-1.3
- Office-Publisher2016-2.1
- Office-Skype2016-1.1
- Office-Skype2016-2.1
- Office-System2016-2.4
- Office-System2016-2.5
- Office-Word2016-1.1
- Office-Word2016-2.1
- OracleLinux-8-2.3
- OracleLinux-8-2.4
- OracleLinux-9-1.1
- RHEL-7-3.14
- RHEL-7-3.15
- RHEL-9-2.3
- RHEL-9-2.7
- SqlServer-2016-Instance-3.5
- SqlServer-2016-Instance-3.6
- SqlServer-2022-Instance-1.2
- SqlServer-2022-Instance-1.3
- Ubuntu-18.04-2.14
- Ubuntu-18.04-2.15
- WindowsClient-10-3.5
- WindowsClient-10-3.6
- WindowsClient-11-2.5
- WindowsClient-11-2.6
- WindowsDefender-All-2.6
- WindowsDefender-All-2.7
- WindowsDnsServer-2012R2-2.5
- WindowsDnsServer-2012R2-2.7
- WindowsFirewall-All-2.1
- WindowsFirewall-All-2.2
- WindowsServer-2016-DC-2.10
- WindowsServer-2016-DC-2.9
- WindowsServer-2016-MS-2.10
- WindowsServer-2016-MS-2.9
- WindowsServer-2019-DC-3.6
- WindowsServer-2019-DC-3.7
- WindowsServer-2019-MS-3.6
- WindowsServer-2019-MS-3.7
- WindowsServer-2022-DC-2.6
- WindowsServer-2022-DC-2.7
- WindowsServer-2022-MS-2.6
- WindowsServer-2022-MS-2.7