Skip to content

Commit

Permalink
Merge pull request #675 from permitio/gidi/per-8929-pdp-leaking-jwt-t…
Browse files Browse the repository at this point in the history
…oken-in-the-pdp-logs

update docs
  • Loading branch information
gideonsmila authored Oct 14, 2024
2 parents 1f175b6 + f0c54f4 commit 6b72ec8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand Down
3 changes: 2 additions & 1 deletion documentation/docs/getting-started/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Please use this table as a reference.
| LOG_FILE_RETENTION | | |
| LOG_FILE_COMPRESSION | | |
| LOG_FILE_SERIALIZE | Serialize log messages in file into json format (useful for log aggregation platforms) | |
| LOG_FILE_LEVEL | | |
| LOG_FILE_LEVEL |
| LOG_DIAGNOSE | Include diagnosis in log messages | |
| STATISTICS_ENABLED | Collect statistics about OPAL clients. | |
| STATISTICS_ADD_CLIENT_CHANNEL | The topic to update about the new OPAL clients connection. | |
| STATISTICS_REMOVE_CLIENT_CHANNEL | The topic to update about the OPAL clients disconnection. | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ You must then configure the master token like so
| Env Var Name | Function |
| :--------------------- | :------------------------------------------------------------------- |
| OPAL_AUTH_MASTER_TOKEN | the master token generated by the cli (or any other secret you pick) |

Ensure LOG_DIAGNOSE is set to False to disable diagnostic logging that may expose sensitive information.

0 comments on commit 6b72ec8

Please sign in to comment.