-
Notifications
You must be signed in to change notification settings - Fork 734
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
Add dconf_gnome_disable_automount to RHEL STIG profile. #5961
Add dconf_gnome_disable_automount to RHEL STIG profile. #5961
Conversation
Skipping CI for Draft Pull Request. |
3fe4298
to
61ecbe4
Compare
I am trying to run tests for this rule with upstream test suite and VM and the rule errors out as "not applicable". I see there is |
My initial guess is that you need to have |
This rule needs to be broken into at least 3 separate rules. |
What is your reasoning? Would it make sense to have in a profile for example only two of these three config variables configured? |
Yes. It would. It also produces better security content. |
Ok, I'll add this to my backlog and will get back to it soon. |
/retest |
@redhatrises rule has been broken down into three rules. Can you verify them? |
8e72e47
to
11a3928
Compare
@redhatrises can you check this one? |
108413b
to
e7fa2ab
Compare
Looks good except for the duplicate STIGIDs. We should remove them, and ask for new ones. |
I assume that it can take a while until they (DISA) split the rules and assign new STIG ids to them. So, do we want to wait for that? And how do we initiate this request to DISA? |
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.
Looks very good, just small fixes needed, please see comments.
...ystem/software/gnome/gnome_media_settings/dconf_gnome_disable_automount_open/oval/shared.xml
Outdated
Show resolved
Hide resolved
...ide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_automount/oval/shared.xml
Outdated
Show resolved
Hide resolved
...guide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_autorun/oval/shared.xml
Outdated
Show resolved
Hide resolved
...ystem/software/gnome/gnome_media_settings/dconf_gnome_disable_automount_open/oval/shared.xml
Outdated
Show resolved
Hide resolved
...guide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_autorun/oval/shared.xml
Outdated
Show resolved
Hide resolved
Oh, while running SST test suite, unfortunately none of ansible remediations seem to pass the test. Bash is ok. |
I'll eventually get back to this pull request when I have time. |
e7fa2ab
to
144e295
Compare
This comment has been minimized.
This comment has been minimized.
I have addressed all the requests and fixed the ansible remediation (it was missing The only thing left now is the duplicated STIG ids. But I'm not sure how to proceed. @redhatrises Do you how to ask DISA for new STIG ids? Should we merge this pull request as it is and open a new one to assign new STIG ids when they become available? |
@ggbecker: 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. |
Yes, we do want to wait for that. There should be no duplicate STIG IDs. |
Ok, also I remember seeing duplicated STIG ids in the project. I will try to find all of them and publish in a new issue. |
/retest |
...guide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_automount_open/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_autorun/rule.yml
Outdated
Show resolved
Hide resolved
- dconf_gnome_disable_automount_open - dconf_gnome_disable_autorun
- dconf_gnome_disable_automount_open - dconf_gnome_disable_autorun
dconf and gdm packages are required make checks applicable.
Reduce boilerplate code by using jinja macro.
144e295
to
ea3110c
Compare
Changes identified: Show detailsRule dconf_gnome_disable_automount: Recommended tests to execute: |
Description:
Rationale:
Update1: Rule has been broken down into three rules, each of them checks for a specific parameter in gnome dconf configuration.