-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made some changes to CAT II #4
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5600b67
Merge pull request #1 from jdspringr07/devel
johannes-cabal cb80330
Started working on CAT II
johannes-cabal 72cfb9b
Tweaked formatting on my changes.
johannes-cabal 3544356
Made corrective changes to previous commit.
johannes-cabal 5c66e01
Spacing...
johannes-cabal 45ac122
Made some updates to audit,main,patch, and defaults
johannes-cabal fd40aee
Updated a label.
johannes-cabal aed18a0
Corrected finding label
johannes-cabal 240e484
Made fixes with suggestions, added some vars, and a placeholder for c…
johannes-cabal 421d3d7
Made some slight changes.
johannes-cabal 205ca42
Minor text fix (tags)
johannes-cabal cd83f09
Made adjustments based on suggestions.
johannes-cabal 47278c7
Updated the README
johannes-cabal 0a41091
Merge remote-tracking branch 'upstream/devel'
johannes-cabal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
- name: "MEDIUM | RHEL-07-040180 | AUDIT | The operating system must implement cryptography to protect the integrity of Lightweight Directory Access Protocol (LDAP) authentication communications." | ||
command: grep -i useldapauth /etc/sysconfig/authconfig | ||
register: rhel_07_040180_audit | ||
failed_when: no | ||
changed_when: no | ||
ignore_errors: yes | ||
tags: | ||
- cat2 | ||
- medium | ||
- audit | ||
- RHEL-07-040180 | ||
- ldap | ||
|
||
- name: "MEDIUM | RHEL-07-040210 | AUDIT | The operating system must, for networked systems, synchronize clocks with a server that is synchronized to one of the redundant United States Naval Observatory (USNO) time servers, a time server designated for the appropriate DoD network (NIPRNet/SIPRNet), and/or the Global Positioning System (GPS)." | ||
stat: | ||
path: /etc/ntp.conf | ||
register: rhel_07_040210_audit | ||
failed_when: no | ||
changed_when: no | ||
ignore_errors: yes | ||
tags: | ||
- cat2 | ||
- medium | ||
- audit | ||
- RHEL-07-040210 | ||
- ntpd | ||
|
||
- name: "MEDIUM | RHEL-07-040230 | AUDIT | The operating system, if using PKI-based authentication, must implement a local cache of revocation data to certificate validation in case of the inability to access revocation information via the network." | ||
stat: | ||
path: /var/lib/pki-kra/conf/server.xml | ||
register: rhel_07_040230_audit | ||
failed_when: no | ||
changed_when: no | ||
ignore_errors: yes | ||
tags: | ||
- cat2 | ||
- medium | ||
- audit | ||
- RHEL-07-040230 | ||
- always | ||
- pki | ||
|
||
- name: "MEDIUM | RHEL-07-040650 | AUDIT | The SSH private host key files must have mode 0600 or less permissive." | ||
find: | ||
paths: / | ||
recurse: yes | ||
file_type: file | ||
patterns: '*ssh_host*key' | ||
hidden: true | ||
failed_when: no | ||
changed_when: no | ||
ignore_errors: yes | ||
register: rhel_07_040650_audit | ||
tags: | ||
- cat2 | ||
- high | ||
- audit | ||
- RHEL-07-040650 | ||
- always | ||
- ssh | ||
|
||
- name: "MEDIUM | RHEL-07-040640 | AUDIT | The SSH public host key files must have mode 0644 or less permissive." | ||
find: | ||
paths: / | ||
recurse: yes | ||
file_type: file | ||
patterns: '*.pub' | ||
hidden: true | ||
failed_when: no | ||
changed_when: no | ||
ignore_errors: yes | ||
register: rhel_07_040640_audit | ||
tags: | ||
- cat2 | ||
- high | ||
- audit | ||
- RHEL-07-040640 | ||
- always | ||
- ssh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- name: "Place holder for Cat III Audits" | ||
command: "true" | ||
tags: | ||
- cat3 | ||
- low | ||
- audit |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add
failed_when
,changed_when
, andignore_errors
to all audit tasks.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.