Commit Graph

75 Commits

Author SHA1 Message Date
Roman Perekhod
b82ad12fee nats checks fixed 2024-10-18 17:30:39 +02:00
Florian Schade
0437722353 Bugfix: Fix health and ready endpoint checker configurations 2024-10-17 14:34:04 +02:00
Florian Schade
66ff86bd35 enhancement: simplify ready and health check handler usage 2024-10-16 20:26:00 +02:00
Roman Perekhod
d4fe58da19 the server probs added to the several services 2024-10-16 09:28:24 +02:00
Christian Richter
0094d30378 code cleanup & refactoring
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Florian Schade
0671039474 enhancement: add readyz and healthz check handler 2024-10-14 08:39:42 +02:00
Roman Perekhod
1a23ea5a78 added the translation 2024-09-23 10:37:23 +02:00
Roman Perekhod
b65355c03c Added the ShareUpdate activity in the space context. 2024-09-23 10:37:23 +02:00
Florian Schade
dfba7c70d7 enhancement(audit): observe the ScienceMeshInviteTokenGenerated event in the audit service 2024-09-05 17:30:36 +02:00
Jörn Friedrich Dreyer
066c4b8173 only register signal handling once
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-29 16:28:13 +02:00
Jörn Friedrich Dreyer
7999e2969b do not force exit to let all services shutdown gracefully
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc rely on context from app
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01 pass config context when running apps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer
7a22dfb6de NotifyContext when running services standalone
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:26:58 +02:00
Ralf Haferkamp
537bceb9d8 audit: workaround unstable prototext string representation
The prototext formater (used by '.String()') inserts spaces randomly
(see: https://protobuf.dev/reference/go/faq/#unstable-text).
2024-07-11 16:32:29 +02:00
Ralf Haferkamp
ff6674f97b Fix fallout of reva bump
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
Roman Perekhod
eac5eaea8f Add the backchannel logout event 2024-06-25 12:13:24 +02:00
Thomas Müller
a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Thomas Müller
07f0cd5574 fix: typos, naming clashes, error messages and deprecations 2024-04-03 15:34:36 +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
kobergj
377a23ee7d Non-durable SSE streams (#7986)
* make sse streams non-durable

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>

---------

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-18 11:47:25 +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
1f1aa50c54 hard exit when services fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 13:53:18 +02: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
Ralf Haferkamp
c9a9fddef1 Consitently switch to stretchr/testify
We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().

This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
2023-06-29 13:44:49 +02:00
Christian Richter
6d9ad6fcf5 fix tests & bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 14:45:45 +02:00
Christian Richter
14a66a98f1 add token to LinkAccessedEvent
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 13:53:05 +02:00
Christian Richter
2d60212e12 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 11:16:44 +02:00
Christian Richter
a8934c3655 make linter happy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 08:04:34 +02:00
Christian Richter
a3b8a7742a fix tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 07:45:04 +02:00
Christian Richter
53dcd93818 add storage id to audit log for spaces
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 07:30:00 +02:00
Christian Richter
a7b2193571 fix tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-13 16:48:58 +02:00
Christian Richter
f1d0caa72b add missing timestamps to audit service
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-13 16:07:27 +02:00
Christian Richter
18e3b415bf Add timestamps to ShareRemoved & ContainerCreated event 2023-06-13 15:13:19 +02:00
jkoberg
d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +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
Martin
9e5f18b6d9 Fix typo in audit service readme
References: https://github.com/owncloud/docs-ocis/pull/452

`autit` --> `audit`
2023-04-14 09:30:24 +02:00
mmattel
b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
Roman Perekhod
fcfb2ab9fa Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901 2023-04-04 15:43:03 +02:00
Jörn Friedrich Dreyer
9b00f02383 bump reva to ec27f5f8feb3
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-02-15 15:26:07 +00:00
jkoberg
b29ffeb3a9 use stream pkg instead server pkg
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-20 09:53:11 +01:00