Fix system_with_kernel applicability on Amazon Linux 2023#14819
Conversation
The system_with_kernel CPE OVAL tested for the kernel-core package, which Amazon Linux 2023 does not provide (it ships kernel). system_with_kernel therefore evaluated false on AL2023, and every rule gated on it (the bulk of the profile) was marked not applicable. Mirror the logic already used by the bash and ansible conditionals in system_with_kernel.yml: test kernel-core on Fedora and RHEL, and kernel elsewhere (including AL2023).
|
Hi @0intro. 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 Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/ok-to-test |
|
@0intro: The following tests 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. |
The system_with_kernel CPE OVAL tested for the kernel-core package, which Amazon Linux 2023 does not provide (it ships kernel). system_with_kernel therefore evaluated false on AL2023, and every rule gated on it (the bulk of the profile) was marked not applicable.
Mirror the logic already used by the bash and ansible conditionals in system_with_kernel.yml: test kernel-core on Fedora and RHEL, and kernel elsewhere (including AL2023).