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

Downloads through GA4GH DRS are recorded in audit service #1117

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

paulineribeyre
Copy link
Contributor

Improvements

  • Downloads through GA4GH DRS are recorded in audit service

@@ -39,6 +39,13 @@ def create_audit_log_for_request(response):
in `enable_audit_logging` decorator), record an audit log. The data we
need to record the logs are stored in `flask.g.audit_data` before reaching
this code.

TODO The audit service has the ability to record presigned URL "upload" logs but we are not
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a ticket for this TODO?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can create a ticket but tbh this is more of an explanation for future-me looking for upload audit logs 🙂

@paulineribeyre paulineribeyre merged commit 9139d4d into master Oct 5, 2023
9 checks passed
@paulineribeyre paulineribeyre deleted the fix/audit-drs branch October 5, 2023 19:49
grugna added a commit to chicagopcdc/fence that referenced this pull request Nov 1, 2023
Downloads through GA4GH DRS are recorded in audit service (uc-cdis#1117)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants