List of events
GET
/events
const url = 'https://demo.suricatavel.org/api/v1/events?from=2023-10-27T00%3A00%3A00Z&to=2023-10-27T23%3A59%3A59Z';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://demo.suricatavel.org/api/v1/events?from=2023-10-27T00%3A00%3A00Z&to=2023-10-27T23%3A59%3A59Z' \ --header 'Authorization: Bearer <token>'List of events. Supports simple filters and DSL in query.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”hosts[]
Array<string>
severity
string
from
string format: date-time
Example
2023-10-27T00:00:00Zto
string format: date-time
Example
2023-10-27T23:59:59ZResponses
Section titled “Responses”Paginated list of events
Media typeapplication/json
object
data
Array<object>
object
id
integer
severity
integer
host
object
id
integer
name
string
fqdn
string
ipv4
string
dist
string
suricata_version
string
is_provisioned
boolean
Example generated
{ "data": [ { "id": 1, "severity": 1, "host": { "id": 1, "name": "example", "fqdn": "example", "ipv4": "example", "dist": "example", "suricata_version": "example", "is_provisioned": true } } ]}
