We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
the CNVM pipeline has a final step that deletes the snapshot it creates:
cloudbeat/internal/vulnerability/worker.go
Line 145 in c0ef8db
but if for some reason the context gets canceled, like on configuration changes, then the snapshot won't be deleted.
we need a mechanism to be able to resume deletion if it was not complete
To Reproduce Steps to reproduce the behavior:
[elastic_agent.cloudbeat][error] NewVulnerabilityCleaner.CleanSnapshots: error deleting snapshot: snap-0b1e394cc735f9d13, error deleting snapshot snap-0b1e394cc735f9d13: operation error EC2: DeleteSnapshot, context canceled
Expected behavior
CNVM is able to delete snapshots even if cycle was inturpeted
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
the CNVM pipeline has a final step that deletes the snapshot it creates:
cloudbeat/internal/vulnerability/worker.go
Line 145 in c0ef8db
but if for some reason the context gets canceled, like on configuration changes, then the snapshot won't be deleted.
we need a mechanism to be able to resume deletion if it was not complete
To Reproduce
Steps to reproduce the behavior:
Expected behavior
CNVM is able to delete snapshots even if cycle was inturpeted
Additional context
The text was updated successfully, but these errors were encountered: