micbar
fe15575227
fix(audit): report ignored file settings, audit members added by PATCH
...
Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 11:20:58 +01:00
micbar
0a36e91f0c
fix: audit log follow-ups from the review
...
Assisted-by: Claude Code:claude-opus-5-5
2026-11-26 17:26:25 +01:00
micbar
2b8bd6c51a
feat(audit): write audit records from the audit stream
...
The audit service reads the JetStream stream `audit` and writes every record as one line of JSON to stdout and, if configured, to an OTLP endpoint, with the emitting service in the resource. A record is acknowledged only when all outputs have it, so an output outage keeps the records in the stream, in order and without duplicates. The old audit log stays available with AUDIT_LEGACY_ENABLED.
Adds the OpenTelemetry log packages for the OTLP output.
2026-11-26 16:52:55 +01:00
Christian Richter
cb9815acb1
fix yaml mappings
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 14:16:31 +01:00
Christian Richter
587e3c76ff
consolidate log config in audit
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-08 12:25:45 +01:00
Christian Richter
23d84d81a6
remove obsolete tracing config vom audit service
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-01-07 14:39:36 +01:00
Jörn Friedrich Dreyer
56817b7de7
introduce OC_EVENTS_TLS_INSECURE
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-28 11:17:39 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer
243ffe81c7
nats cluster name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 16:14:22 +01:00
Jörn Friedrich Dreyer
56f57149ad
the OpenCloud services
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:50:23 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Phil Davis
baa19a6868
chore: set introductionVersion 5.0 in antivirus audit audit-service
2024-03-06 17:50:20 +05:45
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
mmattel
6e721eb4f5
[docs-only] Fix envvar descriptions trailing a double dot
2024-02-06 11:52:10 +01:00
jkoberg
3e55223f2d
allow authentication for events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-12-19 10:44:05 +01:00
Martin
80b5a6bbe7
Update services/audit/pkg/config/config.go
2023-11-08 15:48:12 +01:00
mmattel
ed3ae669b6
fix typo
2023-11-08 15:32:02 +01:00
mmattel
01bbdde09a
[docs-only] Fix some Audit envvar description texts
2023-11-08 15:28:31 +01:00
jkoberg
49cdcad129
unify eventstream creation
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-16 10:14:12 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
jkoberg
70391a0bf2
unify CACERT envvars
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-25 13:32:37 +02:00
Ralf Haferkamp
b20d65177f
Fix debug port of audit to not conflict with nats
...
Also add "audit" service to the port ranges table
2023-05-02 14:13:14 +02:00
Christian Richter
a4df08e0ab
add debug to audit
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-04-27 15:19:33 +02:00
Roman Perekhod
fcfb2ab9fa
Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901
2023-04-04 15:43:03 +02:00
Michael Barz
ec764ea5b1
improve the description of the help texts
2022-10-21 12:50:03 +02:00
David Christofas
45b92fc56f
add config option to enable or disable TLS for nats
2022-10-21 12:40:21 +02:00
David Christofas
4623b6c8e7
Nats tls ( #4781 )
...
* use tls for nats connections
* add config options for nats client tls config
* add nats tls config to CI
* add function to create a certpool
* add option to provide a rootCA to validate the server's TLS certificate
* add option to provide a rootCA to validate the server's TLS certificate
* add option to provide a rootCA to validate the server's TLS certificate
* add option to provide a rootCA to validate the server's TLS certificate
* configure nats clients in reva to use tls
2022-10-12 14:56:47 +02:00
jkoberg
152ce60d87
fix audit service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-08-17 14:20:05 +02:00
jkoberg
e56632681b
update description for event structs
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-07-21 10:27:43 +02:00
Ralf Haferkamp
946f3e8feb
Remove unused BindEnv code
...
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
mmattel
246377b35b
Env variable text fixes
2022-07-07 19:53:27 +05:45
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00