-
Notifications
You must be signed in to change notification settings - Fork 706
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
Introduce new rule authconfig_config_files_symlinks #10129
Introduce new rule authconfig_config_files_symlinks #10129
Conversation
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.
Regarding the remediation, I believe it is too risky an automation with so many changes in PAM. PAM files are very sensible to ordering and custom PAM files could easily make it impossible to safely find the correct patterns.
My suggestion would be skip the remediation for this rule and include a warning in the rule.yml
informing this remediation should be carefully and manually done by the administration, in alignment to the site policy.
linux_os/guide/system/auditing/authconfig_config_files_symlinks/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/auditing/authconfig_config_files_symlinks/oval/shared.xml
Outdated
Show resolved
Hide resolved
0fe1da6
to
f49d1ed
Compare
linux_os/guide/system/auditing/authconfig_config_files_symlinks/rule.yml
Show resolved
Hide resolved
linux_os/guide/system/auditing/authconfig_config_files_symlinks/tests/correct_set-up.pass.sh
Outdated
Show resolved
Hide resolved
linux_os/guide/system/auditing/authconfig_config_files_symlinks/tests/correct_set-up.pass.sh
Outdated
Show resolved
Hide resolved
...s/guide/system/auditing/authconfig_config_files_symlinks/tests/symlinks_wrong_target.fail.sh
Outdated
Show resolved
Hide resolved
...s/guide/system/auditing/authconfig_config_files_symlinks/tests/symlinks_wrong_target.fail.sh
Outdated
Show resolved
Hide resolved
linux_os/guide/system/auditing/authconfig_config_files_symlinks/oval/shared.xml
Outdated
Show resolved
Hide resolved
FYI @yuumasato |
This new rule covers the DISA STIG requirement OL07-00-010199. Add OVAL checks and a few tests for this new rule. Also include this rule in OL7 stig profile. Signed-off-by: Federico Ramirez <[email protected]>
Add a warning about the missing remediations to the authconfig_config_files_symlinks rule. Also update both YAML and OVAL files to avoid lines longer than 99 characters whenever possible Signed-off-by: Federico Ramirez <[email protected]>
Signed-off-by: Federico Ramirez <[email protected]>
f49d1ed
to
3728a7a
Compare
@freddieRv: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Code Climate has analyzed commit 3728a7a and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 49.5% (0.0% change). View more on Code Climate. |
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.
LGTM. Thanks @freddieRv
Automatus CS8 and Automatus CS9 are failing because the rule prodtype is limited to ol7 and rhel7. |
I am overriding the CODEOWNERS file as @freddieRv can not merge this PR. |
@freddieRv Hello, would you please move this rule into a different group? I think it belongs more into "accounts" than "auditing". |
Description:
Rationale:
Review Hints:
-local
files properly include the-ac
ones.