-
Notifications
You must be signed in to change notification settings - Fork 744
SLES-15-010360 rule #6929
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
SLES-15-010360 rule #6929
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
Hi @rumch-se. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
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.
Hello, thank you very much for the contribution. Please see review comments.
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/oval/shared.xml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/oval/shared.xml
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Outdated
Show resolved
Hide resolved
...os/guide/system/permissions/files/dir_system_commands_root_owned/tests/correct_owner.pass.sh
Outdated
Show resolved
Hide resolved
.../guide/system/permissions/files/dir_system_commands_root_owned/tests/incorrect_owner.fail.sh
Outdated
Show resolved
Hide resolved
linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml
Outdated
Show resolved
Hide resolved
/ok-to-test |
@openscap-ci test this please |
@openscap-ci test this please |
Changes identified: Show detailsRule dir_system_commands_root_owned: Recommended tests to execute: |
/retest |
Please rebase, thank you. |
Update shared.yml Update shared.xml Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com> Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com> Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com> Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com> Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com> Update rule.yml Added proposed blank lines Update shared.sh Changes in the code according to the recommendations Update correct_owner.pass.sh Update incorrect_owner.fail.sh Update rule.yml Proposed correction done Update linux_os/guide/system/permissions/files/dir_system_commands_root_owned/rule.yml Co-authored-by: vojtapolasek <krecoun@gmail.com>
@openscap-ci ok to test |
@openscap-ci test this please |
1 similar comment
@openscap-ci test this please |
it appears there is something wrong with the OVAL validation, see the output from the build:
|
Hello @rumch-se it seems that OVAL specification does not allow to use pattern match with "path". It seems that you will have to rewrite it into multiple tests. But I believe you could use Jinja macros for that, for example like it is used here: |
Changed the file shared.xml
@vojtapolasek - I have updated the file shared.xml |
@rumch-se: The following tests 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. |
Thank you for the changes. Merging. |
Description:
Rationale:
Validation needed upstream
Fixes # Issue number here (e.g. Updating sysctl XCCDF naming #26) or remove this line if no issue exists.