mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Add check for CIS 5.10 (#9755)
#9260 - ~[ ] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information.~ - ~[ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md)~ - ~[ ] Documented any permissions changes~ - ~[ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements)~ - ~[ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features.~ - ~[ ] Added/updated tests~ - [X] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [X] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - ~[ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).~
This commit is contained in:
parent
399a6f53e7
commit
9fa2be0a86
2 changed files with 21 additions and 0 deletions
|
|
@ -1867,6 +1867,24 @@ spec:
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure the Guest Home Folder Does Not Exist
|
||||
platforms: macOS
|
||||
platform: darwin
|
||||
description: |
|
||||
The Guest home folders are unneeded after the Guest account is disabled and could be used inappropriately.
|
||||
resolution: |
|
||||
Automated method:
|
||||
Ask your system administrator to deploy the following script:
|
||||
/usr/bin/sudo /bin/rm -R /Users/Guest
|
||||
query: |
|
||||
SELECT 1 WHERE NOT EXISTS (SELECT * FROM file WHERE path = '/Users/Guest');
|
||||
purpose: Informational
|
||||
tags: compliance, CIS, CIS_Level1, CIS5.10
|
||||
contributors: lucasmrod
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure Show All Filename Extensions Setting is Enabled
|
||||
platforms: macOS
|
||||
|
|
|
|||
3
ee/cis/macos-13/test/scripts/CIS_5.10.sh
Executable file
3
ee/cis/macos-13/test/scripts/CIS_5.10.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/bin/sudo /bin/rm -R /Users/Guest
|
||||
Loading…
Reference in a new issue