Run multiple baselines
Open
@ElinoraWhite is already working on this.
Since Jan 5, 2025.
feature: baselines
- Dominant language
- C#
- Stars
- 474
- Forks
- 65
- Avg merge
- 22h 25m
- Merged PRs (30d)
- 26
Description
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:
- Using a baseline from two different modules.
- Using two different baselines in combination i.e. WAF Security and Reliability.
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.