Created
March 2, 2017 15:06
-
-
Save rogeruiz/6bb8b602db311b732719ed65dd1eaae5 to your computer and use it in GitHub Desktop.
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
<check_type:"Unix"> | |
<custom_item> | |
type : CMD_EXEC | |
description : "Make sure that /tmp partion is properly configured" | |
cmd : "mount -l" | |
expect : ".*\/tmp .+noexec,nosuid,nodev" | |
</custom_item> | |
<custom_item> | |
type : CMD_EXEC | |
description : "Make sure that /home partion is properly configured" | |
cmd : "mount -l" | |
expect : ".*\/home .+nodev" | |
</custom_item> | |
<custom_item> | |
type : CMD_EXEC | |
description : "Make sure that /home partion is properly configured" | |
cmd : "mount -l" | |
expect : ".*\/var\/tmp .+noexec,nosuid,nodev" | |
</custom_item> | |
<custom_item> | |
type : CMD_EXEC | |
description : "Make sure that /home partion is properly configured" | |
cmd : "mount -l" | |
expect : ".*\/var\/log .+noexec,nosuid,nodev" | |
</custom_item> | |
</check_type> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment