The goal is to ensure that when an object is uploaded to the subscribed bucket, it is captured as part of the provenance attestations. This can be achieved by setting up a webhook on the MinIO bucket to notify your Flask application whenever an object is uploaded. The Flask application will then log this event and store it as part of the provenance data.
Let's ensure that it captures and enumerates these events correctly as provenance attestations.
- Set up MinIO with Webhook notifications.
- Create a Flask application to handle webhook notifications.
- Extend the ProvenanceAttestationEngine to log these webhook events.