-
Notifications
You must be signed in to change notification settings - Fork 128
Adobe
Michael Rasmussen edited this page Jan 29, 2026
·
3 revisions
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 -Name Adobe
Adobe AdobeBaseline
{
AdobeApp = 'AcrobatReader'
}
}
myConfig # calls the configuration above that creates the output structurethe node {} block of a PowerShell DSC v2 Configuration is optional. When ommited, DSC implicitly injects a node named localhost.
Compiled output structure
myConfig/ (directory name derived from the configuration name)
└─ localhost.mof (implicitly generated localhost when the Node block is omitted)
Adding the PowerStig version assists in determining if/when upgrades are needed
Configuration myConfig
{
Import-DscResource -Name Adobe
Adobe AdobeBaseline
{
AdobeApp = 'AcrobatReader'
StigVersion = [Version]'2.1'
}
}
A more complete example, including optional organizational settings. For more information on organization settings see Organizational Settings
in this example you populare the $MyOrgAdobeSettings hashtable prior to using the variable in the configuration. A typical example would be
$MyOrgAdobeSettings = @{
}
Configuration myConfig
{
Import-DscResource -Name Adobe
Adobe AdobeBaseline
{
AdobeApp = 'AcrobatReader'
StigVersion = [Version]'2.1'
OrgSettings = $MyOrgAdobeSettings
SkipRule = @('ADOBE-00-000001')
}
}
Adobe AdobeBaseline {
AdobeApp = 'AcrobatReader'
StigVersion = [Version]'1.6'
OrgSettings = $MyOrgAdobeSettings
SkipRule = @('ADOBE-00-000001')
}
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 : {}- Home
- What is a PowerShell Module
- What is a PowerShell DSC Resource
- What is a PowerShell DSC Composite Resource
- Composite Resources
- What are Organizational Settings
- Documentation via STIG Checklists
- DoD Root Certificate Rules
- PowerSTIG & DSC for Linux
- Backup and Revert Settings
- PowerSTIG Archive Log
- PowerSTIG with Azure Automation
- STIG Caveats
- STIG Coverage Summary