Skip to content

suppressing of secrets in complex JSON serializable types#1428

Open
zan-mateusz wants to merge 1 commit intoapache:masterfrom
zan-mateusz:fix/suppress-secrets-on-custom-types
Open

suppressing of secrets in complex JSON serializable types#1428
zan-mateusz wants to merge 1 commit intoapache:masterfrom
zan-mateusz:fix/suppress-secrets-on-custom-types

Conversation

@zan-mateusz
Copy link
Contributor

Sanitizer.java

  • add a method to parse a JSON object from JSON string and suppress the JSON data if needed
  • maintains the current behavior otherwise
  • added unit tests as needed

ShellEnvironmentSerializer.java

  • handles JSON/YAML string passed in the effector invoked. Previously this would just return the string value as is, leaving the sensitive data unsuppressed
  • added unit tests as needed

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.

1 participant