Skip to content
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 OVAL readability in enable_fips_mode #10911

Conversation

marcusburghardt
Copy link
Member

Description:

I recently reviewed another PR related to this rule and felt its readability could be improved.
This PR does not change anything in the OVAL logic, but is only about readability.

Rationale:

Better readability

Review Hints:

There is no technical impact by the changes in this PR. So, just reading the OVAL should be enough to review it.

This commit only improves readability without any technical impact in
the OVAL logic.
Simplified the comments and aligned the respective lines to the
project Style Guides.
@marcusburghardt marcusburghardt added the enhancement General enhancements to the project. label Jul 27, 2023
@marcusburghardt marcusburghardt added this to the 0.1.70 milestone Jul 27, 2023
@github-actions
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

rhel8 (from CTF) Environment (using Fedora as testing environment)
Open in Gitpod

Fedora Testing Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@codeclimate
Copy link

codeclimate bot commented Jul 27, 2023

Code Climate has analyzed commit 6a62a2f 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 53.2% (0.0% change).

View more on Code Climate.

@marcusburghardt marcusburghardt marked this pull request as draft July 27, 2023 11:25
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Jul 27, 2023
@marcusburghardt marcusburghardt marked this pull request as ready for review July 27, 2023 11:32
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Used by openshift-ci bot. label Jul 27, 2023
@mildas
Copy link
Contributor

mildas commented Jul 28, 2023

/packit retest-failed

@jan-cerny jan-cerny self-assigned this Aug 1, 2023
@jan-cerny jan-cerny added the OVAL OVAL update. Related to the systems assessments. label Aug 1, 2023
Copy link
Collaborator

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have seen the content and it indeed provides a better readability.

@jan-cerny jan-cerny merged commit 1ac4cc9 into ComplianceAsCode:master Aug 1, 2023
52 of 54 checks passed
@marcusburghardt marcusburghardt deleted the enable_fips_mode_readability branch August 2, 2023 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General enhancements to the project. OVAL OVAL update. Related to the systems assessments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants