Created
April 6, 2017 14:09
-
-
Save ploubser/d9cea838211088ddf199dfe88ef1944f to your computer and use it in GitHub Desktop.
Test policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:name: Test Policy 3000 | |
:confine: | |
:operatingsystem: Darwin | |
:rules: | |
- :description: The JGrep package must be installed | |
:severity: 9.0 | |
:resources: | |
:package/jgrep: | |
:ensure: present | |
- :description: Port 8888 should be open and have ssl enabled | |
:severity: 10.0 | |
:resources: | |
:port/1234-1236: | |
:open: true | |
:ssl: true | |
- :description: File /tmp/foo must exist with ACL 0644 | |
:severity: 1.0 | |
:resources: | |
:file//tmp/foo: | |
:ensure: present | |
:group: "134" | |
:mode: "0644" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment