PSRule icon indicating copy to clipboard operation
PSRule copied to clipboard

Baseline selectors

Open BernieWhite opened this issue 1 year ago • 0 comments

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:

  • #1832
  • #1825

BernieWhite avatar Nov 18 '24 08:11 BernieWhite