List Audits
List
post/api/v1/task/audits
Invokes the c1.api.task.v1.TaskAudit.List method.
Body Parameters
pageSizenumber
optional
The pageSize field.
formatint32
pageTokenstring
optional
The pageToken field.
refsarray of object
optional
The refs field.
taskIdstring
optional
The taskId field.
Returns
listarray of object
optional
The list field.
nextPageTokenstring
optional
The nextPageToken field.
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/task/audits \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"200 Example
{
"list": [
{
"id": "id",
"accessRequestOutcome": {
"outcome": "ACCESS_REQUEST_OUTCOME_UNSPECIFIED"
},
"actionResult": {
"appEntitlementId": "appEntitlementId",
"appId": "appId",
"cancelled": {},
"connectorActionId": "connectorActionId",
"connectorId": "connectorId",
"error": {
"errorCount": "errorCount",
"errorReason": "errorReason"
},
"success": {
"annotations": [
{
"@type": "@type"
}
]
}
},
"actionSubmitted": {
"action": {
"id": "id",
"actionType": "TASK_ACTION_TYPE_UNSPECIFIED",
"bulkActionId": "bulkActionId",
"policyStepId": "policyStepId",
"userId": "userId"
}
},
"approvalAutoAcceptedByPolicy": {},
"approvalAutoRejectedByPolicy": {},
"approvalInstanceChange": {
"instance": {
"approval": {
"agent": {
"agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
"agentUserId": "agentUserId",
"instructions": "instructions",
"policyIds": [
"string"
]
},
"allowedReassignees": [
"string"
],
"allowReassignment": true,
"appOwners": {
"allowSelfApproval": true
},
"entitlementOwners": {
"allowSelfApproval": true,
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"escalation": {
"escalationComment": "escalationComment",
"expiration": "expiration",
"reassignToApprovers": {
"approverIds": [
"string"
]
},
"replacePolicy": {
"policyId": "policyId"
}
},
"escalationEnabled": true,
"expression": {
"allowSelfApproval": true,
"expressions": [
"string"
],
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"group": {
"allowSelfApproval": true,
"appGroupId": "appGroupId",
"appId": "appId",
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"manager": {
"allowSelfApproval": true,
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"requireApprovalReason": true,
"requireDenialReason": true,
"requireReassignmentReason": true,
"requiresStepUpProviderId": "requiresStepUpProviderId",
"resourceOwners": {
"allowSelfApproval": true,
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"self": {
"fallback": true,
"fallbackUserIds": [
"string"
]
},
"users": {
"allowSelfApproval": true,
"userIds": [
"string"
]
},
"webhook": {
"webhookId": "webhookId"
}
},
"approved": {},
"denied": {},
"escalationInstance": {
"alreadyEscalated": true,
"escalationComment": "escalationComment",
"expiresAt": "2019-12-27T18:11:19.117Z",
"reassignToApprovers": {
"approverIds": [
"string"
]
},
"replacePolicy": {
"policyId": "policyId"
}
},
"reassigned": {},
"reassignedByError": {},
"restarted": {},
"skipped": {}
}
},
"approvalReassigned": {
"newPolicyStepId": "newPolicyStepId",
"newUsers": [
"string"
],
"oldPolicyStepId": "oldPolicyStepId",
"users": [
{
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
]
},
"approvedAutomatically": {},
"bulkActionError": {
"error": "error"
},
"certifyOutcome": {
"outcome": "CERTIFY_OUTCOME_UNSPECIFIED"
},
"comment": {
"comment": "comment",
"updatedAt": "2019-12-27T18:11:19.117Z",
"updatedBy": "updatedBy"
},
"conditionalPolicyExecutionResult": {
"condition": "condition",
"conditionMatched": true,
"defaultCondition": true,
"error": "error",
"policyKey": "policyKey"
},
"connectorActionsEnd": {
"policyStepId": "policyStepId"
},
"connectorActionsStart": {
"policyStepId": "policyStepId"
},
"created": "2019-12-27T18:11:19.117Z",
"currentState": "TASK_STATE_UNSPECIFIED",
"eventType": "TASK_AUDIT_EVENT_TYPE_UNSPECIFIED",
"expressionPolicyStepError": {
"error": "error"
},
"externalTicketCreated": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketId": "externalTicketId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"externalTicketProvisionerConfigName": "externalTicketProvisionerConfigName",
"externalTicketUrl": "externalTicketUrl"
},
"externalTicketError": {
"errorMessage": "errorMessage"
},
"externalTicketProvisionStepResolved": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketId": "externalTicketId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"externalTicketUrl": "externalTicketUrl"
},
"externalTicketTriggered": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketId": "externalTicketId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"externalTicketProvisionerConfigName": "externalTicketProvisionerConfigName"
},
"grantOutcome": {
"outcome": "GRANT_OUTCOME_UNSPECIFIED"
},
"hardReset": {
"oldPolicyStepId": "oldPolicyStepId"
},
"metadata": {
"user": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
},
"policyEvaluationStep": {
"stepComment": "stepComment"
},
"provisionError": {
"error": "error"
},
"provisionReassigned": {
"newPolicyStepId": "newPolicyStepId",
"newUsers": [
"string"
],
"oldPolicyStepId": "oldPolicyStepId",
"users": [
{
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
]
},
"reassignedToDelegate": {
"delegatedAssigneeUser": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
},
"delegatedAssigneeUserId": "delegatedAssigneeUserId",
"originalAssigneeUser": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
},
"originalAssigneeUserId": "originalAssigneeUserId"
},
"reassignmentListError": {
"errorMessage": "errorMessage"
},
"revokeOutcome": {
"outcome": "REVOKE_OUTCOME_UNSPECIFIED"
},
"slaEscalation": {
"message": "message"
},
"source": "SOURCE_UNSPECIFIED",
"stateChange": {
"previousState": "TASK_STATE_UNSPECIFIED"
},
"stepSkipped": {
"skippedBy": "skippedBy"
},
"stepUpApproval": {
"stepUpTransactionId": "stepUpTransactionId"
},
"taskCreated": {},
"taskEscalated": {
"oldPolicyId": "oldPolicyId",
"oldPolicyStepId": "oldPolicyStepId"
},
"taskRestarted": {
"oldPolicyStepId": "oldPolicyStepId"
},
"userId": "userId",
"waitStepAnalysisSuccess": {
"stepId": "stepId",
"succeededAt": "2019-12-27T18:11:19.117Z"
},
"waitStepAnalysisTimedOut": {
"stepId": "stepId",
"timedOutAt": "2019-12-27T18:11:19.117Z"
},
"waitStepAnalysisWaiting": {
"stepId": "stepId"
},
"waitStepSuccess": {
"condition": "condition",
"stepId": "stepId",
"succeededAt": "2019-12-27T18:11:19.117Z"
},
"waitStepTimedOut": {
"condition": "condition",
"stepId": "stepId",
"timedOutAt": "2019-12-27T18:11:19.117Z"
},
"waitStepWaiting": {
"condition": "condition",
"stepId": "stepId"
},
"webhookApprovalAttempt": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookApprovalBadResponse": {
"error": "error",
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookApprovalSuccess": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookApprovalTriggered": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookAttempt": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookSuccess": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"webhookTriggered": {
"webhookId": "webhookId",
"webhookInstanceId": "webhookInstanceId",
"webhookName": "webhookName",
"webhookUrl": "webhookUrl"
},
"workflowStep": 0
}
],
"nextPageToken": "nextPageToken"
}