SIEM HTTP Destination Events

A SiemHttpDestinationEvent is a log record for SIEM publishing failures and recoveries.

List SIEM HTTP Destination Events

SDK Method

\Files\Model\SiemHttpDestinationEvent::list;

Return Object

SiemHttpDestinationEvent[]

Authorization Requirement

Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.

Additional Arguments

Example Request

try {
  $siem_http_destination_events = \Files\Model\SiemHttpDestinationEvent::list();
  foreach ($siem_http_destination_events as $siem_http_destination_event) {
    // Operate on $siem_http_destination_event
  }
} catch (\Files\NotAuthenticated\InvalidUsernameOrPasswordException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

Show SIEM HTTP Destination Event

SDK Method

\Files\Model\SiemHttpDestinationEvent::find;

Return Object

SiemHttpDestinationEvent

Authorization Requirement

Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.

Method Arguments

ArgumentDescription
id
int64
Required
Siem Http Destination Event ID.

Example Request

try {
  $siem_http_destination_event = \Files\Model\SiemHttpDestinationEvent::find($id);
  // Operate on $siem_http_destination_event
} catch (\Files\NotAuthenticated\InvalidUsernameOrPasswordException $e) {
  echo 'Authentication Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
} catch (\Files\FilesException $e) {
  echo 'Unknown Error Occurred (' . get_class($e) . '): ', $e->getMessage(), "\n";
}

The SiemHttpDestinationEvent Object

Some of the methods above return a SiemHttpDestinationEvent object. The attributes of this object are listed below.

AttributeDescription
id
int64
Event ID
event_type
string
Type of SIEM event being recorded.
status
string
Status of event.
Possible values: success, failure, partial_failure, in_progress, skipped
body
string
Event body.
event_errors
array(string)
Event errors.
created_at
date-time
Event create date/time.
body_url
string
Link to log file.
siem_http_destination_id
int64
SIEM ID.