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

Baseline selectors #2609

Open
BernieWhite opened this issue Nov 18, 2024 · 0 comments
Open

Baseline selectors #2609

BernieWhite opened this issue Nov 18, 2024 · 0 comments
Labels
feature: baselines Issues that affect baselines

Comments

@BernieWhite
Copy link
Member

BernieWhite commented Nov 18, 2024

Currently baselines can select rules to run:

  • Include by name
  • Exclude by name
  • Include by tag
  • Include by label

These filters are powerful when clear tags or labels are already in place.

However, several challenges exist for complex cases and custom baselines by consumers that have no ability to update the metadata for each rule.

  • Ability to create a baseline of high / critical rules. Currently this is annotations in PSRule for Azure which are not indexable and therefore not usable for a baseline.
  • Ability to exclude rules by a partial name match such as a prefix.
  • Ability to include rules by more than one partial name match. Currently limit to one.
  • Complex expressions.

Related issues:

@BernieWhite BernieWhite added enhancement New feature or request feature: baselines Issues that affect baselines and removed enhancement New feature or request labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: baselines Issues that affect baselines
Projects
None yet
Development

No branches or pull requests

1 participant