increase coverage RHEL-08-010770 and RHEL-07-020710
Description:
- modify RHEL 7 and 8 STIG profile and use the file_permission_user_init_files_root rule instead of file_permission_user_init_files
- also add appropriate variable so that all dot files are examined during the scan
Rationale:
- increase STIG coverage
- this was discovered during work on #11890
Review Hints:
build rhel7 and rhel8 products and examine stig and stig_gui profiles
Start a new ephemeral environment with changes proposed in this pull request:
:robot: A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:11892
This image was built from commit: 5897559f627c50e14e489d964d4182b3bd72c4d3
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:11892
Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11892 make deploy-local
/packit retest-failed
@vojtapolasek what are the next steps on this?
I believe that my existing comments are still valid.
@Mab879 since rhel7 product is no longer in this repo, I modified the PR to include only rhel8 related changes.
Code Climate has analyzed commit 5897559f 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.