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

Run multiple baselines #2611

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

Run multiple baselines #2611

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

Comments

@BernieWhite
Copy link
Member

Currently you can only run PSRule with one baseline at a time.

There are several scenarios that running multiple baselines in a single execution would be ideal.

When PSRule is loaded there is a small amount of overhead in both PSRule and CI systems that makes multiple runs less performant as compared to a single execution.

Cases for multiple baselines:

  1. Using a baseline from two different modules.
  2. Using two different baselines in combination i.e. WAF Security and Reliability.
  3. Using a required and optional baseline. i.e. This is the minimum mandatory rules that will break the pipeline vs these are the nice to haves that are ideal but won't break the pipeline.

(2) An alternative approach is to use a custom baseline instead.

@BernieWhite BernieWhite added the feature: baselines Issues that affect baselines label 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