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

Warn when an obsolete baseline is used within a run #499

Closed
BernieWhite opened this issue Jul 10, 2020 · 0 comments · Fixed by #530
Closed

Warn when an obsolete baseline is used within a run #499

BernieWhite opened this issue Jul 10, 2020 · 0 comments · Fixed by #530
Labels
enhancement New feature or request
Milestone

Comments

@BernieWhite
Copy link
Member

BernieWhite commented Jul 10, 2020

When a baseline is old there is currently no way to provide feedback to the user to switch to an alternative baseline.

Add the ability to display a warning when a out of date baseline is used within a run.

For example:

---
# Synopsis: This is an example baseline that is obsolete
kind: Baseline
metadata:
  name: ObsoleteBaseline
  annotations:
    obsolete: true
spec: { }
@BernieWhite BernieWhite added the enhancement New feature or request label Jul 10, 2020
@BernieWhite BernieWhite added this to the v0.19.0 milestone Jul 14, 2020
@BernieWhite BernieWhite modified the milestones: v0.19.0, v0.20.0 Aug 1, 2020
@BernieWhite BernieWhite changed the title Add custom baseline warning Provide a warning for old baselines Aug 27, 2020
@BernieWhite BernieWhite changed the title Provide a warning for old baselines Warn when an obsolete baseline is used within a run Aug 27, 2020
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Aug 27, 2020
BernieWhite added a commit that referenced this issue Aug 27, 2020
* Warn when an obsolete baseline is used #499

* Update baseline example
@BernieWhite BernieWhite mentioned this issue Sep 8, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant