Commit graph

55 commits

Author SHA1 Message Date
Christian Schaible
a98e802f55 Add log abstraction 2024-10-07 13:57:06 +02:00
Christian Schaible
3bbf1cca71 Replace SempClient implementation 2024-10-07 10:27:17 +02:00
Christian Schaible
8263ad9d5f Reject event type data-access
as it is currently not supported by downstream services.
2024-10-07 07:19:15 +02:00
Christian Schaible
a05c8b54b2 Fix service account name extraction from token 2024-10-02 14:07:36 +02:00
Christian Schaible
abab0eb0a4 Unescape query parameters in legacy message converter 2024-10-02 10:55:47 +02:00
Christian Schaible
e9bd1575aa Support logging of cloud events in legacy format 2024-10-01 14:58:52 +02:00
Christian Schaible
0e6aac7370 Fix data and content-type in legacy apis 2024-10-01 14:36:10 +02:00
Christian Schaible
6fd141e227 Fix logging of cloud events 2024-10-01 14:04:22 +02:00
Christian Schaible
a364d42c7d Add optional response body serialization to event builder 2024-10-01 12:17:36 +02:00
Christian Schaible
0caeabedbd Simplify logging of cloud events 2024-10-01 11:31:18 +02:00
Christian Schaible
f8f0b48437 Add event builder 2024-09-30 13:08:43 +02:00
Christian Schaible
ab40008fb1 Rename Request into ApiRequest 2024-09-30 11:28:04 +02:00
Christian Schaible
fc895948bb Filter out ip adresses in service name detection 2024-09-12 13:14:33 +02:00
Christian Schaible
be23f50c5a Fix additional http method resolution 2024-09-09 15:49:55 +02:00
Christian Schaible
959d7a642c Add additional http method to support non-standard methods 2024-09-09 15:39:40 +02:00
Christian Schaible
0798ddd690 Add fallback to lowercase user-agent header name 2024-09-09 15:21:52 +02:00
Christian Schaible
3297776240 Add fallback to lowercase authoriation header lookup 2024-09-09 15:02:51 +02:00
Christian Schaible
f8d0efe6c3 Allow nil as query string in convenience code 2024-09-09 13:29:37 +02:00
Christian Schaible
313486e30b Update schema description to reflect gRPC as communication protocol 2024-09-09 13:28:51 +02:00
Christian Schaible
61ac703743 Add reusable code to create audit events 2024-09-04 15:01:27 +02:00
Christian Schaible
8ad633a5c4 Update regular expressions
- Allow encoded request query parameters
- Remove strict formats at other places
2024-09-04 11:21:32 +02:00
Christian Schaible
1a9cd436e9 Rephrase description of IAM and response item parameter documentation 2024-09-02 08:59:19 +02:00
Christian Schaible
e355e25136 Add max length constraints to the AuditLogEntry 2024-08-29 15:02:09 +02:00
Christian Schaible
4d993237ff Write AuditLogEntry.Metadata into LegacyAuditEvent.Details 2024-08-29 14:04:11 +02:00
Christian Schaible
eb22259346 Update README.md 2024-08-29 14:04:04 +02:00
Christian Schaible
0a8516f4a3 Update buf configuration 2024-08-29 13:03:39 +02:00
Christian Schaible
07d8183f88 Remove python and java configurations 2024-08-28 10:34:39 +02:00
Christian Schaible
3d833fe301 Remove insert id and request header TODOs from schema 2024-08-27 08:57:47 +02:00
Christian Schaible
543e8e9ea2 Merge response messages 2024-08-27 08:44:59 +02:00
Christian Schaible
d2246889e0 Update go to 1.23 and the dependencies versions 2024-08-23 07:44:13 +02:00
Christian Schaible
81a9c32bcc Remove commented out code from buf.gen.yaml 2024-08-23 07:29:10 +02:00
Christian Schaible
50be98360c Rename module 2024-08-23 07:28:15 +02:00
Christian Schaible
dc9d331b85 Allow operation names without versions and versions with characters (v1alpha, etc) 2024-08-22 13:00:04 +02:00
Christian Schaible
b3adb22680 Add request attributes to event details 2024-08-22 11:38:11 +02:00
Christian Schaible
07a26f986a Loosen operation name constraint to allow longer names 2024-08-22 11:38:10 +02:00
Christian Schaible
a353d4fa0c Introduce additional legacy api to dynamically set the topic name per message via context 2024-08-20 12:58:24 +02:00
Christian Schaible
e759ae397a Add http method conversion convenience function 2024-08-01 11:42:30 +02:00
Christian Schaible
db9440206f Rename fields, fix ToDo's and linter issues 2024-08-01 11:32:47 +02:00
Christian Schaible
fd8892aad8 Make cloud event attributes accessible 2024-07-31 13:45:14 +02:00
Christian Schaible
03fb0dd5ed Simplify routable type conversion 2024-07-31 13:44:52 +02:00
Christian Schaible
92fb9923a7 Allow users of the library to send tracing headers with the events 2024-07-30 14:55:33 +02:00
Christian Schaible
23f99b0668 Add mutex api wrapper 2024-07-30 13:17:10 +02:00
Christian Schaible
5d8aa9ee94 Remove strict identifier type specification from schema 2024-07-30 12:59:37 +02:00
Christian Schaible
ed68f3c6d9 Update schema and fix tests 2024-07-29 14:05:37 +02:00
Christian Schaible
da9ef5f707 Fix visibility mapping in legacy api 2024-07-24 13:26:18 +02:00
Christian Schaible
9bd5be52b7 Additional schema changes 2024-07-24 13:25:55 +02:00
Christian Schaible
65fac35d23 Add remarks to rework to the schema 2024-07-19 10:02:56 +02:00
Christian Schaible
957896b4a0 Use google audit schema 2024-07-18 14:33:11 +02:00
Christian Schaible
dff37867e5 Add event source, region and container reference to audit event and
replace wrapping protobuf message type with cloud event wrapper
2024-07-18 14:09:07 +02:00
Christian Schaible
6968ddb5c9 Add sequence number 2024-07-16 16:13:29 +02:00