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

WX-1385 Remove SAS tokens from TES input log printouts #7358

Merged
merged 10 commits into from
Jan 22, 2024

Conversation

aednichols
Copy link
Contributor

No description provided.

@aednichols aednichols requested a review from a team as a code owner January 16, 2024 22:31
@aednichols aednichols changed the title Remove SAS tokens from TES input log printouts WX-1385 Remove SAS tokens from TES input log printouts Jan 16, 2024
import akka.http.scaladsl.model.Uri

// Remove query that may contain SAS token
val cleanUrl = url map { Uri(_).copy(rawQueryString = None).toString() }
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about only stripping out query params when we can tell the URL contains a SAS token?

Also, can we replace with ?REDACTED or similar so we can tell something was removed? I can imagine users or our future selves not realizing this is happening and thinking Cromwell is incorrectly stripping the query params before passing the URL to TES.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was able to enhance and adopt an existing library function for this!

@aednichols
Copy link
Contributor Author

scalafmt

@aednichols
Copy link
Contributor Author

DBMS issues seem to be a systemic issue with a vendor fix in progress here:

testcontainers/testcontainers-java#8131

@aednichols aednichols merged commit 20b5945 into develop Jan 22, 2024
32 of 34 checks passed
@aednichols aednichols deleted the aen_wx_1385_2 branch January 22, 2024 20:04
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.

None yet

3 participants