cloud-native-security-inspector
cloud-native-security-inspector copied to clipboard
Invalid SettingsName in inspection policy doesn't throw error.
Environment Platform: minikube (Not specific to platform) Kubernetes/Platform Version(s):
Describe the bug In the inspectionPolicy setting the invalid "settingsName" is not throwing any error. There was no cronJob getting created. but there is no way or Indication to find that the configuration is wrong. Can we have some kind of indication or throw an error during inspection policy creation?
To Reproduce Steps to reproduce the behavior:
- Create InspectionPolicy with invalid SettingsName
Expected behavior and actual behavior: Some kind of indication to know there was a configuration Error.