Skip to content

Baseline selectors #2609

Open
Feature
@BernieWhite

Description

@BernieWhite

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions