Skip to content

Commit

Permalink
feat: make sensitive log value redaction text configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
aarmam committed Mar 18, 2022
1 parent 2fa33e4 commit 15dd1f1
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 565 deletions.
5 changes: 5 additions & 0 deletions embedx/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1993,6 +1993,11 @@
"title": "Leak Sensitive Log Values",
"description": "If set will leak sensitive values (e.g. emails) in the logs."
},
"redaction_text": {
"type": "string",
"title": "Sensitive log value redaction text",
"description": "Text to use, when redacting sensitive log value."
},
"format": {
"description": "The log format can either be text or JSON.",
"type": "string",
Expand Down
10 changes: 6 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ replace (
)

require (
github.com/DataDog/datadog-go v4.0.0+incompatible // indirect
github.com/Masterminds/sprig/v3 v3.0.0
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0
github.com/avast/retry-go/v3 v3.1.1
Expand All @@ -36,6 +37,7 @@ require (
github.com/form3tech-oss/jwt-go v3.2.3+incompatible
github.com/ghodss/yaml v1.0.0
github.com/go-errors/errors v1.0.1
github.com/go-openapi/errors v0.20.0 // indirect
github.com/go-openapi/strfmt v0.20.3
github.com/go-playground/validator/v10 v10.4.1
github.com/go-swagger/go-swagger v0.26.1
Expand Down Expand Up @@ -66,17 +68,17 @@ require (
github.com/mikefarah/yq/v4 v4.19.1
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe
github.com/ory/analytics-go/v4 v4.0.2
github.com/ory/analytics-go/v4 v4.0.3
github.com/ory/dockertest/v3 v3.8.1
github.com/ory/go-acc v0.2.6
github.com/ory/go-convenience v0.1.0
github.com/ory/graceful v0.1.1
github.com/ory/herodot v0.9.12
github.com/ory/jsonschema/v3 v3.0.6
github.com/ory/herodot v0.9.13
github.com/ory/jsonschema/v3 v3.0.7
github.com/ory/kratos-client-go v0.6.3-alpha.1
github.com/ory/mail/v3 v3.0.0
github.com/ory/nosurf v1.2.7
github.com/ory/x v0.0.353-0.20220307112550-60a38e67a6eb
github.com/ory/x v0.0.358
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
github.com/pkg/errors v0.9.1
github.com/pquerna/otp v1.3.0
Expand Down
Loading

0 comments on commit 15dd1f1

Please sign in to comment.