content icon indicating copy to clipboard operation
content copied to clipboard

Introduce bootc remediation type

Open jan-cerny opened this issue 1 year ago • 3 comments

This PR introduces support for new remediation type "bootc".

Remediations of this type will be generated only internally by the future oscap-bootc script. They aren't supposed to be generated by any user.

The format of this remediation will be similar to "kickstart" remediation. However, only package installation and removal will be supported and different keywords will be used. Currently supported commands:

  • dnf install package_name
  • dnf remove package_name

Having a new remediation type instead of reusing "kickstart" will help us create SCAP content specific for the needs of bootable containers.

This PR is strongly connected to this PR: https://github.com/OpenSCAP/openscap/pull/2166

jan-cerny avatar Oct 15 '24 09:10 jan-cerny

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

openshift-ci[bot] avatar Oct 15 '24 09:10 openshift-ci[bot]

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment Open in Gitpod

Oracle Linux 8 Environment Open in Gitpod

github-actions[bot] avatar Oct 15 '24 09:10 github-actions[bot]

Code Climate has analyzed commit 58ef8f04 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 50.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 60.9% (1.3% change).

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Oct 17 '24 13:10 qlty-cloud-legacy[bot]

Note: Failing Automatus Sanity / Run Tests (pull_request) test is not caused by the changes in this PR.

matusmarhefka avatar Oct 22 '24 14:10 matusmarhefka