trivy icon indicating copy to clipboard operation
trivy copied to clipboard

feat(checks): Add support for deprecating checks

Open simar7 opened this issue 2 months ago • 1 comments

Sometimes checks are no longer relevant themselves or apply to resources that have been deprecated. For instance AWS has retired EC2-Classic networking.

In such cases, we should deprecate a check that pertains to these resources as it no longer adds any value to the user.

We still would need to keep the check around, along with its AVD ID as we still would consider that ID to be taken up by this check. This would ensure that no other check can be mistakenly confused with this retired check.

Furthermore, AVD could also add some UI elements to indicate that this check is now deprecated.

simar7 avatar May 04 '24 03:05 simar7

Another idea we can have is a CLI option to ignore deprecated checks such as: --ignore-deprecated-checks

simar7 avatar May 08 '24 03:05 simar7