Method: PlatformAPI::AuditTrailEvent#list

Defined in:
lib/platform-api/client.rb

#list(enterprise_account_id) ⇒ Object

List existing events. Returns all events for one day, defaulting to current day. Order, actor, action, and type, and day query params can be specified as query parameters. For example, '/enterprise-accounts/:id/events?order=desc&actor=[email protected]&action=create&type=app&day=2020-09-30' would return events in descending order and only return app created events by the user with [email protected] email address.

Parameters:

  • enterprise_account_id:

    unique identifier of the enterprise account



1506
1507
1508
# File 'lib/platform-api/client.rb', line 1506

def list()
  @client.audit_trail_event.list()
end