Open mildas opened 3 years ago
@carlosmmatos similar as the #6842, can you check it?
@comps I see you are the SME in cui
profile. Could you take a look on this, please?
@marcusburghardt Sorry, I barely know about the existence of cui
, are you sure you haven't confused me with somebody else?
@marcusburghardt Sorry, I barely know about the existence of
cui
, are you sure you haven't confused me with somebody else?
I found your GH handle here: https://github.com/ComplianceAsCode/content/blob/master/products/rhel7/profiles/cui.profile#L6
Can you help with this @ggbecker ?
I found your GH handle here: https://github.com/ComplianceAsCode/content/blob/master/products/rhel7/profiles/cui.profile#L6
Ah, somebody probably wanted to extend the ospp
profile and copy/pasted me and Steve to SMEs, despite the profile not being related to OSPP (as far as I know). RHEL-8 and 9 have @ggbecker .
The SME can probably be changed, no problem. But as I stated in https://github.com/ComplianceAsCode/content/issues/6842#issuecomment-1687980458, this references are usually a nice to have and spending time fixing them is not a critical thing IMO. And due to the amount of rules without references, it can take quite a lot time to go through every one of them, so we would need to plan this in advance.
Description of problem:
A lot of rules from rhel7 and rhel8 cui profile miss a reference.
List of rhel7 rules:
List of rhel8 rules:
SCAP Security Guide Version:
master
Steps to Reproduce:
RHEL7
$ python3 build-scripts/profile_tool.py stats --benchmark build/ssg-rhel7-xccdf.xml --profile cui --missing-cui-refs --skip-stats
RHEL8$ python3 build-scripts/profile_tool.py stats --benchmark build/ssg-rhel8-xccdf.xml --profile cui --missing-cui-refs --skip-stats
Actual Results:
Rules miss references.
Expected Results:
No rule misses reference.
Additional Information/Debugging Steps:
When we have CUI rules with references, we can add the profile references check to gating and check if newly added rule to the CUI profile has reference.
Ping me, if you want me to update the list of rules. I'm checking references against master branch.