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

fix(DID): removed authentication details from logs DIM response #951

Conversation

dhiren-singh-007
Copy link
Contributor

Description

Removed the authentication details from logs DIM response and only logged the DIM document

Why

It was exposing the client id and secret of Dim wallet

Issue

NA

Checklist

Please delete options that are not relevant.

@dhiren-singh-007
Copy link
Contributor Author

For now i have removed the secrets from the logs but i think we can utilize the SecretOperator which is used for removing secret and password from logs.
It may require further regex to identify the ClientSecret and it might take sometime .

@Phil91 Phil91 force-pushed the release/v2.2.0-RC3 branch from b2e8059 to bcb8125 Compare August 26, 2024 11:29
@dhiren-singh-007 dhiren-singh-007 force-pushed the bugfix/remove-secret-from-logs branch from f3ffb22 to 56e4675 Compare August 26, 2024 11:32
@dhiren-singh-007 dhiren-singh-007 force-pushed the bugfix/remove-secret-from-logs branch from 2fddd0b to 7591945 Compare August 26, 2024 11:40
Copy link

@Phil91 Phil91 merged commit b420d4e into eclipse-tractusx:release/v2.2.0-RC3 Aug 27, 2024
11 checks passed
Phil91 pushed a commit that referenced this pull request Aug 28, 2024
Reviewed-By: Phil Schneider <info@philschneider.de>
dhiren-singh-007 added a commit to dhiren-singh-007/portal-backend that referenced this pull request Aug 28, 2024
@dhiren-singh-007 dhiren-singh-007 deleted the bugfix/remove-secret-from-logs branch August 29, 2024 08:06
@Phil91 Phil91 added this to the Release 2.2.0 milestone Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

2 participants