Advanced configuration example
Building on the basic configuration examples, the control_configs
section specifies advanced options for controls.
- Add the following code to the node's Hiera
file:Copy
sce_windows::benchmark: 'cis'
sce_windows::config:
profile: 'member_server'
level: '1'
only:
- 'c1_1_1'
- 'c2_3_1_1'
- 'c2_3_7_2'
- 'c2_3_1_3'
- 'c2_3_1_4'
- 'c2_3_1_5'
- 'c2_3_1_6'
- 'c2_3_10_1'
- 'c18_9_47_5_1_2'
control_configs:
'c18_9_47_5_1_2':
default_for_all_rules: 'Audit'
'c2_3_1_6':
dsc_accounts_rename_administrator_account:
- 'adminaccountname' - Classify the node with the
sce_windows
class. - Run Puppet.