CIS missing some profiles? #382
-
Is there a reason https://github.com/usnistgov/macos_security/blob/sonoma/rules/icloud/icloud_keychain_disable.yaml is not in the CIS lvl 2 benchmark in this repo? It comes out as part of Chapter 9.1 "CIS Manual Recommendations" section when generating a guidance documentation, but not in any of the tooling (No profiles are created for it?). I see it in the CIS Sonoma v1.0.0 benchmark/baseline in section 2.1.1.1, along with how to make a configuration profile for it:
Any help on why this is so, or if I ran a command wrong would be appreciated. $ ./scripts/generate_guidance.py baselines/cis_lvl2.yaml --profiles --script --xls
$ grep -r 'allowCloudKeychainSync' .
./rules/icloud/icloud_keychain_disable.yaml: .objectForKey('allowCloudKeychainSync').js
./rules/icloud/icloud_keychain_disable.yaml: allowCloudKeychainSync: false ^ I'd expect that grep to return more than just the .yaml definition if a profile with this key was created |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
CIS views it as a manual that should be audited, not one that needs to be automated. So that's why. CIS manual != mscp manual. These are not the same. |
Beta Was this translation helpful? Give feedback.
Typically, you should be able to use the
all_rules
baseline, but if it's failing for you, i'll have to look into why that is (we may have missed something in recent commits). I see thatgenerate_guidance.py
against the all_rules is failing... but that's ok, you want to start from your own, not the all_rules.yaml provided. I'll see about fixing that.You can run
generate_baseline.py -k all_rules -t
to create a new tailored baseline from all of the rules.If it's just this one rule you want to add, it might be easiest to just add the
- icloud_keychain_disable
line to your baseline.yaml file (which can just be a copy of the cis_lvl2.yaml file).The Jamf Compliance Editor makes this a bit eas…