GET
/
events
Get a page of events
curl --request GET \
  --url https://your-subdomain.alienvault.cloud/api/2.0/events \
  --header 'Authorization: Bearer <token>'
{
  "_links": {
    "self": {
      "href": "https://mysubdomain.alienvault.cloud/api/2.0/events"
    }
  },
  "_embedded": {
    "events": [
      {
        "uuid": "39a6918f-33f2-ec9b-0fcc-42bb90f10a1f"
      }
    ]
  },
  "page": {
    "size": 20,
    "totalElements": 3506,
    "totalPages": 176,
    "number": 0
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer

The page number of results to return (zero-based).

size
integer

The number of results to return per page.

sort
string

The parameter and direction to sort results by.

Example:

"timestamp_occured,asc"

account_name
string
required

The account name.

suppressed
boolean

Filter events by the suppressed flag.

plugin
string

The plugin name.

event_name
string

The name of the event.

source_name
string

The source name.

sensor_uuid
string<uuid>

The UUID of the sensor.

source_username
string

The username of the person that triggered the event.

timestamp_occured_gte
integer

Filter for events that occurred at or after this timestamp (epoch milliseconds).

timestamp_occured_lte
integer

Filter for events that occurred at or before this timestamp (epoch milliseconds).

Response

200 - application/json

A paginated list of events.

_embedded
object
required
page
object
required