cloud-native-security-inspector icon indicating copy to clipboard operation
cloud-native-security-inspector copied to clipboard

Invalid SettingsName in inspection policy doesn't throw error.

Open bgubbala opened this issue 1 year ago • 0 comments

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:

  1. Create InspectionPolicy with invalid SettingsName

Expected behavior and actual behavior: Some kind of indication to know there was a configuration Error.

bgubbala avatar Mar 07 '23 04:03 bgubbala