-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve rendering controls to HTML #10994
Improve rendering controls to HTML #10994
Conversation
We will generate HTML pages only for controls that are actually used in the product. That means we will stop generating bizzare pages like "CIS benchmark for SUSE Linux Enterprise 15 for RHEL 7". A side effect is that the build will be faster. Fixes: ComplianceAsCode#10791
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. It is much better. I only have a minor comment about an unused module.
I have removed the unused import |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Code Climate has analyzed commit a64cbb1 and detected 2 issues on this pull request. Here's the issue category breakdown:
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 53.3% (0.0% change). View more on Code Climate. |
082c304
into
ComplianceAsCode:master
We will generate HTML pages only for controls that are actually used in the product. That means we will stop generating bizzare pages like "CIS benchmark for SUSE Linux Enterprise 15 for RHEL 7". A side effect is that the build will be faster.
Fixes: #10791
Review Hints:
python3 utils/render_all_policies.py --output-dir /tmp/out --ssg-root $(pwd) --product rhel9