Cirrus Identity Log API
v1.0.3/logs/v1All endpoints require HTTP Basic authentication using Cirrus Identity Log API credentials, provisioned in the Cirrus Console.
/logs/v1/orgUrls
Returns a list of permitted orgUrls for the provided credentials.
/logs/v1/orgLogs
Returns logs for a specific orgUrl value. Expand the /orgLogs endpoint (below)
for details on parameters and schema.
Authentication
HTTPBasichttpScheme: basic
Endpoints
Return Logs For A Specified Org Url
Returns an array of log events for the specified orgUrl value.
Query parameters
orgUrl(required): the organization URL for which to retrieve logs. This must match your organization URL from the Cirrus Console exactly, including any trailing/.nextToken(optional): token returned from a previous call to URL, logs returned will start at the next record following the one referenced by this token. If not provided, logs returned will start at 1 hour ago from the current time.limit(optional): a value between 1 - 1000 indicating the number of log events to return. Default is 1000.- filter parameters (all optional) -- these can be used to filter the results
service: the service (e.g., proxy or bridge)logType: the log event type (e.g, authentication or cas)logSubtype: the log event sub-type (e.g., request or success)tenant: the tenant name
Rate Limiting
To avoid rate limiting, Cirrus Identity recommends a delay of at least five minutes between
retrieval of sets of logs. For best results, consider enforcing this delay once the /orgLogs
API response contains fewer log events than requested (via the limit parameter, up to the
maximum of 1000 log events).
Parameters
orgUrlstring<uri>requiredquerynextTokenstring<uuid>querylimitinteger<= 10001000querylogSubtypeLogSubtypesEnumauthenticationSuccessauthorizeerrorexpiredCodefailureidTokeninvalidCodeloginlogoutmanagenoEmailqueuedrequestsamlValidatesendsentserviceValidatesuccesstokenuserinfovalidatequerytenantstringqueryResponse
Success
Authentication failed
Unauthorized
Validation Error
Internal Server Error
Authorization
HTTPBasichttp (basic)Return A List Of Permitted Org Urls
Returns an array of orgUrl values that the current authenticated user is
permitted to use (in the orgUrl query parameter for the / endpoint)
for retrieving logs.
Response
Success
Authentication failed
Internal Server Error
Authorization
HTTPBasichttp (basic)Models
LogApiResponse
objectwrapper response for log items
refstring<uri>requiredthe URL called to elicit this response
nextstring<uri>requiredURL to call to retrieve next set of log events
nextTokenstring | nulltoken for retrieving next set of log events
countintegerrequirednumber of log events returned in this response
logEventsArray<object>requiredarray of log event objects
LogSubtypesEnum
stringenum for Cirrus log subtypes
