Get agent firewall session logs
GET
CoderSessionTokenheader
Coder-Session-Token<token>id*stringAgent firewall session ID
Format
uuidseq_after?integerInclusive lower bound on sequence number
seq_before?integerExclusive upper bound on sequence number
limit?integerMaximum number of logs to return (default 100)
OK
application/json- response
results?array<>The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/agent-firewall/sessions/{id}/logs" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "results": [ { "allowed": true, "captured_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "detail": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "matched_rule": "string", "method": "string", "proto": "string", "sequence_number": 0, "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82" } ]}