ctest - add references check test #6853
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Extend test suite to check missing references of rules in profiles.
Now, the test will check:
stig cis anssi_nt28_high hipaa
cis anssi_bp28_high hipaa
Desired state of the test - check ospp, cui, stig, cis, anssi, and hipaa profiles. However, a lot of rules from ospp, from cui, and from stig (in rhel8) profile miss references. To not block this, those profiles have been excluded and reported - #6842, #6843, and #6844. The profiles will be added to the test when the issues are fixed.
Failure of the test is expected because rules from hipaa and from rhel7 stig miss few references (1, 3, and 11). With this, I want speed up reference completion of those profile and not to create more issues.
Do not merge until this PR ctest passes
Rationale:
To prevent adding rules without references to profiles.
Blocked by #6849