Repository navigation
Update Rhel10 stig v1r2 to v1r3 #15216
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
Draft
macko1
wants to merge
24
commits into
ComplianceAsCode:master
Choose a base branch
from
macko1:rhel10_stig_v1r2_to_v1r3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+22,514
−8,026
Draft
Changes from 4 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
fd008ad
rhel10: STIG v1r3 update DISA manual from cyber.mil
macko1 844764b
rhel10: STIG v1r3 update versions in control file and profiles
macko1 6608e36
rhel10: STIG v1r3 update text in policy files and controls where impl…
macko1 bae5af7
rhel10: STIG v1r3 add RHEL-10-300085
macko1 b22db7e
rhel10: STIG v1r3 remove RHEL-10-200050
macko1 74e5daa
rhel10: STIG v1r3 update RHEL-10-600100 RHEL-10-600110
macko1 d4ce118
rhel10: STIG v1r3 update RHEL-10-700950
macko1 675375b
rhel10: STIG v1r3 update RHEL-10-001030 RHEL-10-001040 RHEL-10-001050…
macko1 046aed6
rhel10: STIG v1r3 update RHEL-10-600000
macko1 80c58af
rhel10: STIG v1r3 update RHEL-10-600020
macko1 c1659a2
rhel10: STIG v1r3 update RHEL-10-500720
macko1 b86b491
rhel10: STIG v1r3 update RHEL-10-500450 RHEL-10-500490
macko1 d6d049a
rhel10: STIG v1r3 update RHEL-10-500450 RHEL-10-500490 RHEL-10-500720
macko1 5ce9b6e
rhel10: STIG v1r3 update RHEL-10-500605
macko1 18db811
rhel10: STIG v1r3 update RHEL-10-200648
macko1 62cf24d
rhel10: STIG v1r3 update RHEL-10-600750
macko1 122a95b
rhel10: STIG v1r3 update RHEL-10-200730
macko1 cf4cf0f
rhel10: STIG v1r3 update RHEL-10-500610
macko1 cf4179c
rhel10: STIG v1r3 update RHEL-10-500680
macko1 f9ec401
rhel10: STIG v1r3 update RHEL-10-500690
macko1 c310255
rhel10: STIG v1r3 update profile stability data
macko1 100e7fb
rhel10: STIG v1r0-v1r3 update DISA SCAP Benchmark from cyber.mil
macko1 d50100b
rhel10: STIG v1r3 update RHEL-10-500605 RHEL-10-700950
macko1 ebcf3f1
Fix yamllint findings in files touched by the STIG update
macko1 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 hidden or 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 |
|---|---|---|
| @@ -1,16 +1,17 @@ | ||
| controls: | ||
| - id: SRG-OS-000250-GPOS-00093 | ||
| levels: | ||
| - high | ||
| title: {{{ full_name }}} must implement cryptography to protect the integrity | ||
| of remote access sessions. | ||
| rules: | ||
| - file_sshd_50_redhat_exists | ||
| - sshd_include_crypto_policy | ||
| - harden_sshd_ciphers_openssh_conf_crypto_policy | ||
| - harden_sshd_ciphers_opensshserver_conf_crypto_policy | ||
| - harden_sshd_macs_openssh_conf_crypto_policy | ||
| - harden_sshd_macs_opensshserver_conf_crypto_policy | ||
| - sshd_approved_ciphers=stig_rhel9 | ||
| - sshd_approved_macs=stig_rhel9 | ||
| status: automated | ||
| - id: SRG-OS-000250-GPOS-00093 | ||
| levels: | ||
| - high | ||
| title: {{{ full_name }}} must implement cryptography to protect the integrity | ||
| of remote access sessions. | ||
| rules: | ||
| - configure_openssl_crypto_policy | ||
| - file_sshd_50_redhat_exists | ||
| - sshd_include_crypto_policy | ||
| - harden_sshd_ciphers_openssh_conf_crypto_policy | ||
| - harden_sshd_ciphers_opensshserver_conf_crypto_policy | ||
| - harden_sshd_macs_openssh_conf_crypto_policy | ||
| - harden_sshd_macs_opensshserver_conf_crypto_policy | ||
| - sshd_approved_ciphers=stig_rhel9 | ||
| - sshd_approved_macs=stig_rhel9 | ||
| status: automated | ||
This file contains hidden or 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 hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
linux_os/guide/system/accounts/accounts-session/accounts_tmout/policy/stig/rhel10.yml
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
27 changes: 27 additions & 0 deletions
27
...e/system/software/integrity/crypto/configure_openssl_crypto_policy/policy/stig/rhel10.yml
This file contains hidden or 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,27 @@ | ||
| srg_requirement: |- | ||
| {{{ full_name }}} must implement DOD-approved encryption in the OpenSSL package. | ||
|
|
||
| vuldiscussion: |- | ||
| Without cryptographic integrity protections, information can be altered by unauthorized users without detection. | ||
|
|
||
| Remote access (e.g., RDP) is access to DOD nonpublic information systems by an authorized user (or an information system) communicating through an external, nonorganization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless. | ||
|
|
||
| Cryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the secret key used to generate the hash. | ||
|
|
||
| The employed algorithms can be viewed in the /etc/crypto-policies/back-ends/openssl.config file. | ||
|
|
||
| checktext: |- | ||
| Verify that {{{ full_name }}} OpenSSL library is configured to use only ciphers employing FIPS 140-3-approved algorithms with the following command: | ||
|
|
||
| $ sudo grep -i opensslcnf.config /etc/pki/tls/openssl.cnf | ||
|
|
||
| .include = /etc/crypto-policies/back-ends/opensslcnf.config | ||
|
|
||
| If the "opensslcnf.config" is not defined in the "/etc/pki/tls/openssl.cnf" file, this is a finding. | ||
|
|
||
| fixtext: |- | ||
| Configure the {{{ full_name }}} OpenSSL library to use the systemwide cryptographic policy. | ||
|
|
||
| Edit the "/etc/pki/tls/openssl.cnf" and add or modify the following line: | ||
|
|
||
| .include = /etc/crypto-policies/back-ends/opensslcnf.config |
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...re/integrity/crypto/configure_openssl_crypto_policy/tests/include_with_equal_sign.pass.sh
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| #!/bin/bash | ||
| # platform = multi_platform_fedora,Oracle Linux 8,Oracle Linux 9,Red Hat Enterprise Linux 8,Red Hat Enterprise Linux 9 | ||
| # platform = multi_platform_fedora,Oracle Linux 8,Oracle Linux 9,Red Hat Enterprise Linux 8,Red Hat Enterprise Linux 9,Red Hat Enterprise Linux 10 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| . common.sh | ||
|
|
||
|
|
||
9 changes: 9 additions & 0 deletions
9
...integrity/crypto/configure_openssl_crypto_policy/tests/include_without_equal_sign.fail.sh
This file contains hidden or 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,9 @@ | ||
| #!/bin/bash | ||
| # platform = Red Hat Enterprise Linux 10 | ||
|
|
||
| . common.sh | ||
|
|
||
| create_config_file_with "[ crypto_policy ] | ||
|
|
||
| .include /etc/crypto-policies/back-ends/opensslcnf.config | ||
| " |
2 changes: 1 addition & 1 deletion
2
...s/guide/system/software/integrity/crypto/configure_openssl_crypto_policy/tests/ok.pass.sh
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
673 changes: 337 additions & 336 deletions
673
...es/disa-stig-rhel10-v1r2-xccdf-manual.xml → ...es/disa-stig-rhel10-v1r3-xccdf-manual.xml
Large diffs are not rendered by default.
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.
Do we need to reformat this?
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.
I believe yamllint complained