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

Automatically test that our deletion canary can't be deleted #1093

Open
alexwlchan opened this issue Mar 11, 2020 · 0 comments
Open

Automatically test that our deletion canary can't be deleted #1093

alexwlchan opened this issue Mar 11, 2020 · 0 comments

Comments

@alexwlchan
Copy link
Contributor

alexwlchan commented Mar 11, 2020

For testing our delete permissions, we have a "deletion canary" in the root of all the storage service buckets. When you want to check the delete permissions are working correctly, you can try deleting this file:

  • if the delete is denied, then the permissions are okay
  • if the delete is allowed, then the permissions are broken, but we haven't deleted the permanent archive

It might be useful to have a tool that tries to delete it on a schedule (or checks this using something like an IAM Policy Evaluator), and sends us an alert if the delete is allowed, so we know something's gone wrong.

@alexwlchan alexwlchan transferred this issue from wellcomecollection/platform Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant