content icon indicating copy to clipboard operation
content copied to clipboard

Remove remediations for security_patches_up_to_date

Open Mab879 opened this issue 1 year ago • 4 comments

Description:

Remove remediations for security_patches_up_to_date

Rationale:

Part of removing this rule from various profiles.

Mab879 avatar May 13 '24 14:05 Mab879

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 May 13 '24 14:05 github-actions[bot]

:robot: A k8s content image for this PR is available at: ghcr.io/complianceascode/k8scontent:11992 This image was built from commit: f01dffa5f14b314d56884148e9d47e40a7e4bf83

Click here to see how to deploy it

If you alread have Compliance Operator deployed: utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:11992

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11992 make deploy-local

github-actions[bot] avatar May 13 '24 15:05 github-actions[bot]

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

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

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

View more on Code Climate.

qlty-cloud-legacy[bot] avatar May 13 '24 15:05 qlty-cloud-legacy[bot]

@Mab879 This isn't the right fix, there are products that still actively use the rule security_patches_up_to_date, for example Oracle, SLES, Ubuntu. You can find them by looking for oval_feed_url variable. I think we shouldn't change them. Try to change the platform key in the remediations

jan-cerny avatar May 13 '24 15:05 jan-cerny

There is another PR that is better, closing.

Mab879 avatar May 14 '24 13:05 Mab879