-
Notifications
You must be signed in to change notification settings - Fork 80
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
Alert triggered for deleted resource (Resource group 'test' could not be found.) #709
Comments
Inspec always skips the resources when the resource is not available but tries to report it.. |
Hi @sathish-progress , so it does catch a resource which is either not completely created or deleted and gives out this error mentioned in the title. This is example of control we have: |
@sathish-progress , any updates on this issue ? Thanks! |
@Rohit1509 so the |
Steps I followed:
I tried these scenarios and I couldn’t able to replicate this issue. And in the comments, @sathish-progress also has given a solution. If you are still getting this error, let us know the exact scenario so that we can work on it. |
We are currently running into an error when resources have been deleted during the progress of the scan of a subscription. The errors typically look something like this: "Resource group 'test' could not be found.". If a deletion is in progress and Inspec catches the resource exactly at that same time, it gives an alert which ideally should not be the case.
Possible Solution
Implement error handling that skips the resource if the resource no longer exists
The text was updated successfully, but these errors were encountered: