Files
ocis/services/_includes/adoc/audit_configvars.adoc
T
Sawjan Gurung e835fcb058 Merge pull request #11228 from owncloud/port/k6-n-playwright
[full-ci][tests-only] chore: port skip k6 and web bump
2025-04-24 00:38:04 +00:00

303 lines
6.6 KiB
Plaintext

// set the attribute to true or leave empty, true without any quotes.
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
:show-deprecation: false
ifeval::[{show-deprecation} == true]
[#deprecation-note-2025-04-24-00-36-05]
[caption=]
.Deprecation notes for the audit service
[width="100%",cols="~,~,~,~",options="header"]
|===
| Deprecation Info
| Deprecation Version
| Removal Version
| Deprecation Replacement
|===
{empty} +
endif::[]
[caption=]
.Environment variables for the audit service
[width="100%",cols="~,~,~,~,~",options="header"]
|===
| Name
| IV
| Type
| Default Value
| Description
a|`OCIS_TRACING_ENABLED` +
`AUDIT_TRACING_ENABLED` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Activates tracing.
a|`OCIS_TRACING_TYPE` +
`AUDIT_TRACING_TYPE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
a|`OCIS_TRACING_ENDPOINT` +
`AUDIT_TRACING_ENDPOINT` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The endpoint of the tracing agent.
a|`OCIS_TRACING_COLLECTOR` +
`AUDIT_TRACING_COLLECTOR` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The HTTP endpoint for sending spans directly to a collector, i.e. \http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
a|`OCIS_LOG_LEVEL` +
`AUDIT_LOG_LEVEL` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
a|`OCIS_LOG_PRETTY` +
`AUDIT_LOG_PRETTY` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Activates pretty log output.
a|`OCIS_LOG_COLOR` +
`AUDIT_LOG_COLOR` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Activates colorized log output.
a|`OCIS_LOG_FILE` +
`AUDIT_LOG_FILE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The path to the log file. Activates logging to this file if set.
a|`AUDIT_DEBUG_ADDR` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++127.0.0.1:9229 ++
a| [subs=-attributes]
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
a|`AUDIT_DEBUG_TOKEN` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Token to secure the metrics endpoint.
a|`AUDIT_DEBUG_PPROF` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Enables pprof, which can be used for profiling.
a|`AUDIT_DEBUG_ZPAGES` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Enables zpages, which can be used for collecting and viewing in-memory traces.
a|`OCIS_EVENTS_ENDPOINT` +
`AUDIT_EVENTS_ENDPOINT` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++127.0.0.1:9233 ++
a| [subs=-attributes]
The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
a|`OCIS_EVENTS_CLUSTER` +
`AUDIT_EVENTS_CLUSTER` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ocis-cluster ++
a| [subs=-attributes]
The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.
a|`OCIS_INSECURE` +
`AUDIT_EVENTS_TLS_INSECURE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Whether to verify the server TLS certificates.
a|`OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE` +
`AUDIT_EVENTS_TLS_ROOT_CA_CERTIFICATE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The root CA certificate used to validate the server's TLS certificate. If provided AUDIT_EVENTS_TLS_INSECURE will be seen as false.
a|`OCIS_EVENTS_ENABLE_TLS` +
`AUDIT_EVENTS_ENABLE_TLS` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.
a|`OCIS_EVENTS_AUTH_USERNAME` +
`AUDIT_EVENTS_AUTH_USERNAME` +
a| [subs=-attributes]
++5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
a|`OCIS_EVENTS_AUTH_PASSWORD` +
`AUDIT_EVENTS_AUTH_PASSWORD` +
a| [subs=-attributes]
++5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
a|`AUDIT_LOG_TO_CONSOLE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++true ++
a| [subs=-attributes]
Logs to stdout if set to 'true'. Independent of the LOG_TO_FILE option.
a|`AUDIT_LOG_TO_FILE` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Logs to file if set to 'true'. Independent of the LOG_TO_CONSOLE option.
a|`AUDIT_FILEPATH` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Filepath of the logfile. Mandatory if LOG_TO_FILE is set to 'true'.
a|`AUDIT_FORMAT` +
a| [subs=-attributes]
++pre5.0 ++
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++json ++
a| [subs=-attributes]
Log format. Supported values are '' (empty) and 'json'. Using 'json' is advised, '' (empty) renders the 'minimal' format. See the text description for more details.
|===