Retrieve Audit Records

get

/ic/api/integration/v1/monitoring/auditRecords

Retrieves audit records based on query.

Request

Supported Media Types
Query Parameters
  • Use with the offset parameter for paginating through the returned results. The limit is the maximum number of items to return at one time. For example, offset=3&limit=16 indicates to list error integration instances starting at the 4th item, and the list will contain 16 items.
  • Use with the limit parameter for paginating through the returned results. Default is 0. The offset is the starting point from which to return records. For example, offset=3&limit=16 indicates to list connections starting at the 4th item, and the list will contain 16 items.
  • Filter parameters.

    • limit: Number of records to fetch. Default, 15 records are fetched.
    • code: Integration identifier.
    • version: Integration version.
    • timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD. Default value is 1h.
    • type: '' Exact or like match of resource type. Default, records of all types of resources are fetched.
    • distinct: '' Boolean to indicate, fetch distinct records of a resource. Default, distinct is false.
    • Type values: ICS_AppInstance, ICS_DVM, ICS_ProjectV2, ICS_AgentDefinition, ICS_AgentInstance, ICS_Schedule, API_LIBRARY, ICS_PACKAGE.

    Example:

    {limit: '10', type:/ICS_AppInstance/, distinct: 'true'}
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : monitoringaudit
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : monitoringauditrecord
Type: object
Show Source

404 Response

Not found

500 Response

Server error
Back to Top

Examples

The following examples show how to retrieve the audit records by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Get all audit records

curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/auditRecords

Example: Get a filtered list of records

curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={limit: '20', type:/ICS_ProjectV2/, distinct: 'true'}" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/auditRecords
Back to Top