You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the possibility to hide tokens and authorization info in the generated report to avoid expose sensitive information via configuration file (usually .scanapi.yaml).
Change the sensitive information value to <sensitive_information>
Configuration Options:
report
-- hide-response or hide-request
--- headers or body or url
---- list of keys to hide
camilamaia
changed the title
Hide token and authorization info in the generated doc
Hide tokens and authorization info in the generated doc
Aug 6, 2019
camilamaia
changed the title
Hide tokens and authorization info in the generated doc
Hide tokens and authorization info in the generated report
Nov 4, 2019
Description
Add the possibility to hide tokens and authorization info in the generated report to avoid expose sensitive information via configuration file (usually
.scanapi.yaml
).Change the sensitive information value to
<sensitive_information>
Configuration Options:
report
--
hide-response
orhide-request
---
headers
orbody
orurl
---- list of keys to hide
Example:
The logic is implemented inside the hide_sensitive_info method
Example of how this should be rendered in the reports:
The text was updated successfully, but these errors were encountered: