config.audit.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of audit Show documentation
Show all versions of audit Show documentation
A audit logger module that dump request and response based on configuration
# AuditHandler will pick some important fields from headers and tokens and logs into a audit appender.
---
# Enable Audit
enabled: true
# Enable mask
mask: true
# Output response status code
statusCode: true
# Output response time
responseTime: true
# audit only on error responses; by default log for any return status code
# if true, audit at error level if status code >= 400
# log level is controlled by logLevel
auditOnError: false
# log level; by default set to info
logLevelIsError: false
# Output header elements. You can add more if you want.
headers:
# Correlation Id
- X-Correlation-Id
# Traceability Id
- X-Traceability-Id
# Output from id token and access token
audit:
# Client Id
- client_id
# User Id in id token, this is optional
- user_id
# Client Id in scope/access token, this is optional
- scope_client_id
# Request endpoint uri@method.
- endpoint
# Service ID assigned to the service, this is optional and must be set by the service in its implementation
- serviceId
# Request Body, this is optional and must be set by the service in its implementation
- request
# Response payload, this is optional and must be set by the service in its implementation
- response
© 2015 - 2025 Weber Informatics LLC | Privacy Policy