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

When connecting to a Postgres database through a datalink stored on Enso Cloud, its asset ID is included in the audit logs #11291

Merged
merged 11 commits into from
Oct 10, 2024

Conversation

radeusgd
Copy link
Member

Pull Request Description

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.

@radeusgd radeusgd added the CI: No changelog needed Do not require a changelog entry for this PR. label Oct 10, 2024
@radeusgd radeusgd self-assigned this Oct 10, 2024
Copy link
Member

@jdunkerley jdunkerley left a comment

Choose a reason for hiding this comment

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

Looks good - small nit from my styling preferences

@@ -19,7 +19,7 @@ type S3_Data_Link
Value (uri : Text) format_json (credentials : AWS_Credential)

## PRIVATE
parse json -> S3_Data_Link =
parse json _ -> S3_Data_Link =
Copy link
Member

Choose a reason for hiding this comment

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

I know we are discarding this but can we do:

Suggested change
parse json _ -> S3_Data_Link =
parse json source -> S3_Data_Link =
_ = source

as clearer to read.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok sure, I was also not sure if _ is right here, I think that named argument is indeed better - will amend all of them

Base automatically changed from wip/radeusgd/11227-cloud-asset-metadata to develop October 10, 2024 12:11
@radeusgd radeusgd force-pushed the wip/radeusgd/9869-datalink-id-in-auditlog branch from 50a0921 to dc9cb0d Compare October 10, 2024 12:21
@radeusgd radeusgd added the CI: Ready to merge This PR is eligible for automatic merge label Oct 10, 2024
@mergify mergify bot merged commit 2843dcb into develop Oct 10, 2024
37 of 39 checks passed
@mergify mergify bot deleted the wip/radeusgd/9869-datalink-id-in-auditlog branch October 10, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Correlate Database audit log entries with the asset id of the data link used for the connection, if available
4 participants