-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POA-2294 Fix redaction for null values (#47)
As part of this, redaction has been reworked to better use visitors. Tested locally as well. See the `null` field below. ``` $ ./witness_dump --env local org_295oDMFK8b1yS5dwlSTdgP svc_6NiejyYEVpWfziUXJgovV6 lrn_1H3eLS92zSmgyuiwqkGvB5 method: < id: < api_type: HTTP_REST > responses: < key: "q2ovkcc4jNQ=" value: < struct: < fields: < key: "api-key" value: < primitive: < string_value: < value: "*REDACTED*" > > > > fields: < key: "empty" value: < list: < > > > fields: < key: "null" value: < optional: < none: < > > > > fields: < key: "secret" value: < primitive: < string_value: < value: "*REDACTED*" > > > > > meta: < http: < body: < content_type: JSON other_type: "application/json" > response_code: 404 > > > > meta: < http: < method: "GET" path_template: "/" processing_latency: 4.242 obfuscation: NONE > > > ```
- Loading branch information
Showing
7 changed files
with
179 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.