anchore / fangs

Apache License 2.0
5 stars 1 forks source link

feat: summarize with value filter #40

Closed kzantow closed 8 months ago

kzantow commented 9 months ago

This PR adjust the summarization to accept a function to filter each value being output. For example, we could pass a redacting function in order to allows redaction of user values separate from configuration names. For example, if there is a struct with a password field and the user has the value password redacted, we don't want to redact the field name, only the value.