mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Update CIS-Benchmarks.md (#14242)
Add additional information about passing/failing CIS benchmark policies # Checklist for submitter Doc-only change
This commit is contained in:
parent
c1cc9185cf
commit
fce53bba9a
1 changed files with 31 additions and 0 deletions
|
|
@ -12,6 +12,37 @@ Fleet has implemented native support for CIS Benchmarks for the following platfo
|
|||
|
||||
[Where possible](#limitations), each CIS Benchmark is implemented with a [policy query](./REST-API.md#policies) in Fleet.
|
||||
|
||||
These benchmarks are intended to gauge your organization's security posture, rather than the current state of a given host. A host may fail a CIS Benchmark policy despite having the correct settings enabled if there is not a specific policy in place to enforce that setting. For example, this is the query for **CIS - Ensure FileVault Is Enabled (MDM Required)**:
|
||||
|
||||
```sql
|
||||
SELECT 1 WHERE
|
||||
EXISTS (
|
||||
SELECT 1 FROM managed_policies WHERE
|
||||
domain='com.apple.MCX' AND
|
||||
name='dontAllowFDEDisable' AND
|
||||
(value = 1 OR value = 'true') AND
|
||||
username = ''
|
||||
)
|
||||
AND NOT EXISTS (
|
||||
SELECT 1 FROM managed_policies WHERE
|
||||
domain='com.apple.MCX' AND
|
||||
name='dontAllowFDEDisable' AND
|
||||
(value != 1 AND value != 'true')
|
||||
)
|
||||
AND EXISTS (
|
||||
SELECT 1 FROM disk_encryption WHERE
|
||||
user_uuid IS NOT "" AND
|
||||
filevault_status = 'on'
|
||||
);
|
||||
```
|
||||
|
||||
Two things are being evaluated in this policy:
|
||||
|
||||
1. Is FileVault currently enabled?
|
||||
2. Is there a profile in place that prevents FileVault from being disabled?
|
||||
|
||||
If either of these conditions fails, the host is considered to be failing the policy.
|
||||
|
||||
## Requirements
|
||||
|
||||
Following are the requirements to use the CIS Benchmarks in Fleet:
|
||||
|
|
|
|||
Loading…
Reference in a new issue