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

Return Passed check result when there are no objects to be tested. #408

Open
AleksandarSavchev opened this issue Dec 13, 2024 · 0 comments
Labels
area/ipcei IPCEI (Important Project of Common European Interest) kind/enhancement Enhancement, improvement, extension priority/4 Priority (lower number equals higher priority)

Comments

@AleksandarSavchev
Copy link
Member

What would you like to be added:
Implemented rules need to revisited and verified that they always return at least one check results for the rule.

Currently there are rules that would return 0 check results if there are no objects to be test. For example:

These rules would not return any check results if there are no Pods or Services in the cluster. These that require such changes, most of the problematic ones are in the managedk8s provider. We need to revise every rule to be certain we do not miss any.

Why is this needed:
Diki needs to return accurate results when no object was tested.

@AleksandarSavchev AleksandarSavchev added kind/enhancement Enhancement, improvement, extension area/ipcei IPCEI (Important Project of Common European Interest) priority/4 Priority (lower number equals higher priority) labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ipcei IPCEI (Important Project of Common European Interest) kind/enhancement Enhancement, improvement, extension priority/4 Priority (lower number equals higher priority)
Projects
None yet
Development

No branches or pull requests

1 participant