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

Create a human-readable list of deleted bags #1096

Open
2 tasks
alexwlchan opened this issue Aug 30, 2023 · 0 comments
Open
2 tasks

Create a human-readable list of deleted bags #1096

alexwlchan opened this issue Aug 30, 2023 · 0 comments

Comments

@alexwlchan
Copy link
Contributor

The "delete bag" script records the deletion in the deleted_bags table in DynamoDB, including a date, a reason, and the name of the person who deleted it. For example:

{
  "environment": "prod",
  "version": "v1",
  "events": [
    {
      "deleted_at": "2021-03-17T12:52:12.893877",
      "reason": "This is a bag that got sent to the testing space, which I meant to send to the born-digital space",
      "requested_by": "arn:aws:sts::760097843905:assumed-role/platform-superdev/chana@Wellcomecloud.onmicrosoft.com"
    }
  ],
  "ingest_id": "2c0f2583-4e64-4db9-b64b-f5952b411b18",
  "space": "testing",
  "externalIdentifier": "PPKIN/B/2/5/3"
}

It would be useful if this data was available in a more human-readable form, similar to the list of Miro image suppressions. This list should live in a private repo, similar to the list of Miro suppressions.

  • Modify the script to delete bags (ss_delete_bag.py) to maintain this table
  • Add a link to this table from the GitBook documentation about deleting bags
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