Commit graph

14 commits

Author SHA1 Message Date
2d97beaf70
Refactor gRPC sink
- rename it to GenericSink
- add tests
- update dependencies
- improve test step to always get a report
- add NoOpSink for tests
2021-01-27 13:31:51 +01:00
2c02b0c941
Add basic metric sink 2021-01-26 19:00:46 +01:00
cc72595398
Subscribe sinks with a context to automatically remove them when context is canceled 2021-01-26 18:50:53 +01:00
6d2737b501
Move HTTPS handling to http_mock handler 2021-01-26 18:42:07 +01:00
63a6516d99
Added audit stream to HTTP proxy 2021-01-26 18:20:52 +01:00
af0a7a2375
Capture source and destination addresses as byte arrays
- update necessary tests

This removes a lot of complexity because IPv4 and IPv6 addresses can be handled the same way.
To distinguish between them it's enough to take their length into account.
Parsing should be straight forward in any language.
2021-01-26 18:20:51 +01:00
37c87adaf3
Apply comments 2021-01-26 18:19:54 +01:00
2f0f3edfdf
Moved code of commands to their main package
- add init code to reduce code duplication of connection setup
2021-01-26 18:19:52 +01:00
af31b1166a
Audit API prototype
- watch events interactively
- pipe events to files
- remove file subscriptions
2021-01-26 18:19:03 +01:00
bb9f45ce91
Move sinks to extra package 2021-01-26 18:17:37 +01:00
6c448fd318
Add DNS details 2021-01-26 18:17:37 +01:00
0468c93671
Integrate into handlers 2021-01-26 18:17:37 +01:00
63607dfd67
Implement log and writer sinks
Add reader
2021-01-26 18:17:37 +01:00
1e8139e845
Add first draft of event stream 2021-01-26 18:17:37 +01:00