Skip to content

Commit 4b9e2c5

Browse files
committed
[docs] Document audit logging
1 parent 863eb5e commit 4b9e2c5

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/deployment/configuration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ certificates in the folder are public PEM-armoured (*.pem), DER-encoded X509 cer
6969
| logging.logback.rollingpolicy.max-file-size | LOGGING_LOGBACK_ROLLINGPOLICY_MAX-FILE-SIZE | 10MB | Rolling max file size |
7070
| logging.logback.rollingpolicy.max-history | LOGGING_LOGBACK_ROLLINGPOLICY_MAX-HISTORY | 7 | Rolling max days |
7171

72+
{% if "audit-log" in (config.extra.feature_flags.enabled|string|lower|replace(" ", "")).split(",") %}
73+
#### Audit Logging
74+
75+
| Parameter | Environment variable | Default value | Description |
76+
|:-----------------------------------|:-----------------------------------|:-----------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------|
77+
| openaev.audit-logs.transports | OPENAEV_AUDIT-LOGS_TRANSPORTS | | Lists of transports to use for audit logging separated by comma. No transports means audit logging is disabled. The transports usable are : file,console |
78+
| openaev.audit-logs.halt-on-failure | OPENAEV_AUDIT-LOGS_HALT-ON-FAILURE | false | Parameter to stop the platform if audit logging is failing. |
79+
| logging.level.io.openaev.utils.log | LOGGING_LEVEL_IO_OPENAEV_UTILS_LOG | | Audit logging is using the global OpenAEV log level but to lower the log level of the audit logging, this parameter can be used |
80+
| | AUDIT_LOG_DIR | ./logs | If file transport is used, this parameter is used to set the path of the log file. |
81+
| | AUDIT_LOG_FILE | ./logs/audit.log | If file transport is used, this parameter is used to set the file path. |
82+
{% endif %}
83+
7284
### Dependencies
7385

7486
#### XTM Suite: OpenCTI

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ extra_css:
3434

3535
# Extra
3636
extra:
37+
feature_flags:
38+
enabled: !ENV [DOCS_FEATURE_FLAGS, ""]
3739
version:
3840
provider: mike
3941
analytics:
@@ -60,6 +62,7 @@ plugins:
6062
alias_type: symlink
6163
canonical_version: latest
6264
- search
65+
- macros
6366
- git-committers:
6467
repository: OpenAEV-Platform/docs
6568
branch: main

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ mkdocs-git-authors-plugin
44
mkdocs-git-committers-plugin-2
55
mkdocs-git-revision-date-localized-plugin
66
mkdocs-glightbox
7+
mkdocs-macros-plugin
78
mike
89
lxml

0 commit comments

Comments
 (0)