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

Fail closed support #1778

Open
BernieWhite opened this issue Mar 20, 2024 · 0 comments
Open

Fail closed support #1778

BernieWhite opened this issue Mar 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request feature: core Issues that affect the core engine
Milestone

Comments

@BernieWhite
Copy link
Member

Currently when PSRule does not find any rules (warning) or any objects or no rules are processed no error that stops the pipeline is generated (fail open).

We should add support so that PSRule will fail closed but be configurable for these cases so that accidental misconfiguration will break the pipeline.

Also lets add additional output diagnostics that make it clear what the issue is.

@BernieWhite BernieWhite added enhancement New feature or request feature: core Issues that affect the core engine labels Mar 20, 2024
@BernieWhite BernieWhite self-assigned this Mar 30, 2024
@BernieWhite BernieWhite added this to the v3.0.0 milestone Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: core Issues that affect the core engine
Projects
None yet
Development

No branches or pull requests

1 participant