AOx0 / adam

Rust eBPF-based toolbox
0 stars 0 forks source link

Persistent event loggin & querying #54

Closed AOx0 closed 1 week ago

AOx0 commented 4 weeks ago

Todo:

AOx0 commented 1 week ago

Done #57.

Usage:

Select all

curl -X GET http://localhost:9988/firewall/events/query\
              -H "Content-Type: application/json"\
              -d '"all"'

Last secs/nanos

curl -X GET http://localhost:9988/firewall/events/query\
              -H "Content-Type: application/json"\
              -d '{ "last": { "secs": 320, "nanos": 0 } }'

Timestamp

curl -X GET http://localhost:9988/firewall/events/query\
              -H "Content-Type: application/json"\
              -d '{ "since": "2024-11-04T13:53:20.104238832"  }'