audit

Embed
Preview of the card
<a href="https://hermetica.15.204.158.166.sslip.io/docs/ref-audit"><img src="https://hermetica.15.204.158.166.sslip.io/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/e408c471-72de-4891-9bc1-a8d5d8db227f/social-card.svg?v=3e7ae33eec8b" alt="audit" width="600" height="315"></a>
GEThttps://hermetica.15.204.158.166.sslip.io/v1/siem

Code samples

cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/siem" \
  -H "Authorization: Bearer $SSLIP_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "id": "string",
  "url": "string",
  "enabled": true,
  "lastPushAt": "2024-01-01T00:00:00Z",
  "lastError": "string",
  "configured": true
}
Option 1
idstringrequired
urlstringrequired
enabledbooleanrequired
lastPushAtstringrequired
lastErrorstringrequired
configuredbooleanrequired
true
{
  "id": "string",
  "url": "string",
  "enabled": true,
  "lastPushAt": "2024-01-01T00:00:00Z",
  "lastError": "string",
  "configured": true
}
Option 2
configuredbooleanrequired
false
{
  "configured": false
}
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · GET /v1/siem

PUThttps://hermetica.15.204.158.166.sslip.io/v1/siem

Push the audit stream (NDJSON, HMAC-signed with the secret) to an https endpoint

Request body

application/json
urlstringrequired
secretstringrequired
enabledboolean
= true
{
  "url": "string",
  "secret": "string",
  "enabled": true
}

Code samples

cURL
curl -X PUT "https://hermetica.15.204.158.166.sslip.io/v1/siem" \
  -H "Authorization: Bearer $SSLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"string","secret":"string","enabled":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "id": "string",
  "url": "string",
  "enabled": true,
  "lastPushAt": "2024-01-01T00:00:00Z",
  "lastError": "string"
}
Schema
idstringrequired
urlstringrequired
enabledbooleanrequired
lastPushAtstringrequired
lastErrorstringrequired
4XX Default Response

Same as 4XX · GET /v1/siem

5XX Default Response

Same as 4XX · GET /v1/siem

DELETEhttps://hermetica.15.204.158.166.sslip.io/v1/siem

Code samples

cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/siem" \
  -H "Authorization: Bearer $SSLIP_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "ok": true
}
Schema
okbooleanrequired
true
4XX Default Response

Same as 4XX · GET /v1/siem

5XX Default Response

Same as 4XX · GET /v1/siem

Updated