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

Add the ability to show policies that passed #360

Open
jkodroff opened this issue Sep 3, 2024 · 0 comments
Open

Add the ability to show policies that passed #360

jkodroff opened this issue Sep 3, 2024 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@jkodroff
Copy link
Member

jkodroff commented Sep 3, 2024

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

The ability to show/hide policies that passed (i.e. no violations), but that were run, is good from a compliance standpoint. However, the way the Compliance Ready policies implemented this can cause pain:

policyManager.displaySelectionStats({
    displayGeneralStats: true,
    displayModuleInformation: true,
    displaySelectedPolicyNames: false,
});

The problem is that changing the values must be done at the code level, which when using server-side compliance, requires re-publishing the policy pack for what is effectively a config value.

It would be lovely if these options were pushed up to CLI options so that they can be controlled on a per-run basis, which is likely what most customers want. For example, no detailed output in local dev, detailed output in CI/CD (for audit reasons).

Affected area/feature

@jkodroff jkodroff added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Sep 3, 2024
@justinvp justinvp removed the needs-triage Needs attention from the triage team label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants