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

Use storage id in data access audit in api #3194

Merged
merged 7 commits into from
Apr 11, 2023

Conversation

tcibinan
Copy link
Contributor

@tcibinan tcibinan commented Apr 7, 2023

Relates #3187.

The pull request adds storage id field to data access audit records in api.

@tcibinan tcibinan requested a review from SilinPavel April 7, 2023 13:00
@@ -434,7 +435,7 @@ public DataStorageDownloadFileUrl generateDataStorageItemUploadUrl(String bucket
return generatePresignedUrl(client, expires, ownerTag, DEFAULT_CANNED_ACL.toString(), request);
}

public DataStorageFile createFile(String bucket, String path, byte[] contents, String owner)
public DataStorageFile createFile(S3bucketDataStorage bucket, String path, byte[] contents, String owner)
Copy link
Member

Choose a reason for hiding this comment

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

let's set all params final in methods that are changed by this PR

@mzueva mzueva merged commit 26c5d8f into develop Apr 11, 2023
tcibinan added a commit that referenced this pull request May 8, 2023
tcibinan added a commit that referenced this pull request May 9, 2023
* Add storage id to audit logs in API

* Add storage id to SystemLog API

* Add storage id to log4j configuration

* Repair tests

* Add storage id to security indices template

* Use keyword type for storage id mapping

* Add final keywords to all updated method signatures
tcibinan added a commit that referenced this pull request May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants