Skip to content

Commit

Permalink
[security] Clarify dumpRequests and set examples to false (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminPelletier authored Jan 16, 2025
1 parent af62607 commit 5b12cd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmds/core-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var (

logFormat = flag.String("log_format", logging.DefaultFormat, "The log format in {json, console}")
logLevel = flag.String("log_level", logging.DefaultLevel.String(), "The log level")
dumpRequests = flag.Bool("dump_requests", false, "Log HTTP request and response")
dumpRequests = flag.Bool("dump_requests", false, "Log full HTTP request and response (note: will dump sensitive information to logs; intended only for debugging and/or development)")
profServiceName = flag.String("gcp_prof_service_name", "", "Service name for the Go profiler")
garbageCollectorSpec = flag.String("garbage_collector_spec", "@every 30m", "Garbage collector schedule. The value must follow robfig/cron format. See https://godoc.org/github.com/robfig/cron#hdr-Usage for more detail.")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local metadata = metadataBase {
jwksEndpoint: '${VAR_JWKS_ENDPOINT}',
jwksKeyIds: ['${VAR_JWKS_KEY_ID}'],
hostname: '${VAR_APP_HOSTNAME}',
dumpRequests: true,
dumpRequests: false,
sslPolicy: '${VAR_SSL_POLICY}'
},
schema_manager+: {
Expand Down
2 changes: 1 addition & 1 deletion deploy/services/tanka/examples/minimum/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local metadata = metadataBase {
jwksEndpoint: 'VAR_JWKS_ENDPOINT',
jwksKeyIds: ['VAR_JWKS_KEY_ID'],
hostname: 'VAR_APP_HOSTNAME',
dumpRequests: true,
dumpRequests: false,
sslPolicy: 'VAR_SSL_POLICY'
},
schema_manager+: {
Expand Down

0 comments on commit 5b12cd7

Please sign in to comment.