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

Not to log secrets in request header #866

Closed
mayzhang2000 opened this issue Aug 15, 2019 · 1 comment
Closed

Not to log secrets in request header #866

mayzhang2000 opened this issue Aug 15, 2019 · 1 comment

Comments

@mayzhang2000
Copy link

IMPORTANT: If you have a general question please use Stack Overflow instead where Karate has a dedicated "tag": https://stackoverflow.com/questions/tagged/karate

If you are sure you have found a bug, please make sure you follow the instructions here: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

Karate logs all request headers. Due to security reason, we need an option not to log sensitive data. For example app secret.

11:15:03.473 [main] DEBUG com.intuit.karate - request:
1 > POST https://xxx
1 > Accept: application/json
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Intuit_IAM_Authentication intuit_appid=xxxx,intuit_app_secret=xxxj,intuit_token_type=IAM-Ticket, intuit_token=xxx,intuit_userid=xxx,intuit_realmid=xxx

@ptrthomas
Copy link
Member

@mayzhang2000 yes this is a roadmap item: https://github.com/intuit/karate/projects/3#card-22529225 - the issue referred has some suggestions to work around: #699

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants