Use Sequoia in RHEL 10 instead of GPG#14193
Use Sequoia in RHEL 10 instead of GPG#14193jan-cerny merged 16 commits intoComplianceAsCode:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
components/rpm.yml
Outdated
| name: rpm | ||
| packages: | ||
| - rpm | ||
| - sequoia-sq |
There was a problem hiding this comment.
Should it be a new separate component file instead?
linux_os/guide/system/software/updating/ensure_redhat_gpgkey_installed/oval/shared.xml
Outdated
Show resolved
Hide resolved
| {{% endif %}} | ||
|
|
||
| - name: Import RedHat GPG key | ||
| - name: "{{{ rule_title }}}: Import RedHat GPG key" |
There was a problem hiding this comment.
In automatus tests, I'm still getting this fail. Is it expected? Is it the bug in Ansible?
"gpg: directory '/root/.gnupg' created\ngpg: WARNING: no command supplied. Trying to guess what you mean ...\ngpg: /root/. gnupg/trustdb.gpg: trustdb created\ngpg: packet(6) with unknown version 6\n"
There was a problem hiding this comment.
This is caused by the Ansible rpm_key module.
Here is their issue: ansible/ansible#86157
8bd67b6 to
c79b55d
Compare
products/rhel10/profiles/e8.profile
Outdated
| - '!package_rsh-server_removed' | ||
| - '!security_patches_up_to_date' | ||
| # the rule ensure_redhat_gpgkey_installed needs a special package on RHEL 10 which is not installed by default | ||
| - package_sequoia-sq_installed |
There was a problem hiding this comment.
You have two options how to solve the failing static-checks reference test.
- Add the rule to the control file and then deselect it in profile files in products where this shouldn't be present.
- Add an ISM_O reference to the rule.yml file in package_sequoia-sq_installed.
There was a problem hiding this comment.
Option 2 will not work, you cannot mix control file references and in file references.
c79b55d to
7b4df39
Compare
…nstalled/oval/shared.xml Co-authored-by: Jan Černý <jcerny@redhat.com>
7b4df39 to
50c9c05
Compare
and exclude it from other products which use ANSSI as well
|
@jan-cerny I added the rule to all relevant RHEL 10 profiles. |
|
@vojtapolasek Unfortunately, the static-checks test still has problems with some references. See the test output https://artifacts.dev.testing-farm.io/992274c6-fdf8-4db5-821f-21487b721236/ |
It seems that ospp reference is not autogenerated from the control file.
|
@vojtapolasek: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
@ComplianceAsCode/suse-maintainers @ComplianceAsCode/ubuntu-maintainers @ComplianceAsCode/oracle-maintainers Can you please review this? It shouldn't add anything to your product's profiles. |
|
@jan-cerny I believe I solved all problems with missing references. |
Description:
Rationale:
Review Hints:
Test with Automatus. But ensure that the RHEL machine contains all three keys.