microsoft / microsoft/PSRule

Baseline selectors

Open
#2,609 0 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

feature: baselines
Dominant language
C#
Stars
474
Forks
65
Avg merge
22h 25m
Merged PRs (30d)
26

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.