mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Add macOS CIS 2.3.3.8 (Internet Sharing) (#9663)
This commit is contained in:
parent
c6e1447084
commit
6d82515b02
2 changed files with 31 additions and 0 deletions
|
|
@ -447,6 +447,34 @@ spec:
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure Internet Sharing Is Disabled
|
||||
platforms: macOS
|
||||
platform: darwin
|
||||
description: |
|
||||
Internet Sharing uses the open source natd process to share an internet connection with other
|
||||
computers and devices on a local network. This allows the Mac to function as a router and share
|
||||
the connection to other, possibly unauthorized, devices.
|
||||
resolution: |
|
||||
Graphical Method:
|
||||
1. Open System Settings
|
||||
2. Select General
|
||||
3. Select Sharing
|
||||
4. Set Internet Sharing to disabled
|
||||
query: |
|
||||
SELECT 1 WHERE NOT EXISTS (
|
||||
SELECT 1 FROM plist WHERE
|
||||
path = '/Library/Preferences/SystemConfiguration/com.apple.nat.plist' AND
|
||||
key = 'NAT' AND
|
||||
subkey = 'Enabled' AND
|
||||
value = '1'
|
||||
);
|
||||
purpose: Informational
|
||||
tags: compliance, CIS, CIS_Level1, CIS2.3.3.8
|
||||
contributors: artemist-work
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure Content Caching Is Disabled (MDM Required)
|
||||
platforms: macOS
|
||||
|
|
|
|||
3
ee/cis/macos-13/test/scripts/CIS_2.3.3.8.sh
Executable file
3
ee/cis/macos-13/test/scripts/CIS_2.3.3.8.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/bin/sudo /usr/bin/defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict Enabled -int 0
|
||||
Loading…
Reference in a new issue