List Audits
List
Invokes the c1.api.task.v1.TaskAudit.List method.
Parameters
Hide ParametersShow Parameters
The pageSize field.
The pageToken field.
Hide ParametersShow Parameters
The id field.
The taskId field.
Returns
The TaskAuditListResponse message.
Hide ParametersShow Parameters
Hide ParametersShow Parameters
The id field.
The TaskAuditAccessRequestOutcome message.
Hide ParametersShow Parameters
The outcome field.
Hide ParametersShow Parameters
The TaskAuditConnectorActionResult message.
This message contains a oneof named result. Only a single field of the following list may be set at a time:
- success
- error
- cancelled
Hide ParametersShow Parameters
The appEntitlementId field.
The appId field.
The TaskAuditCancelledResult message.
The connectorActionId field.
The connectorId field.
The TaskAuditErrorResult message.
Hide ParametersShow Parameters
TODO(pquerna): expand
The errorReason field.
The TaskAuditSuccessResult message.
Hide ParametersShow Parameters
The annotations field.
Hide ParametersShow Parameters
The type of the serialized message.
The TaskAuditActionSubmitted message.
Hide ParametersShow Parameters
The TaskAction message.
Hide ParametersShow Parameters
The id field.
The actionType field.
Hide ParametersShow Parameters
The bulkActionId field.
The policyStepId field.
The userId field.
The TaskAuditApprovalAutoAcceptedByPolicy message.
The TaskAuditApprovalAutoRejectedByPolicy message.
The TaskAuditApprovalInstanceChange message.
Hide ParametersShow Parameters
The approval instance object describes the way a policy step should be approved as well as its outcomes and state.
This message contains a oneof named outcome. Only a single field of the following list may be set at a time:
- approved
- denied
- reassigned
- restarted
- reassignedByError
- skipped
The TaskAuditPolicyApprovalReassigned message.
Hide ParametersShow Parameters
The newPolicyStepId field.
The newUsers field.
The oldPolicyStepId field.
The users field.
Hide ParametersShow Parameters
A unique identifier of the user.
The id of the user to whom tasks will be automatically reassigned to.
The department which the user belongs to in the organization.
A list of objects mapped based on department attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of unique ids that represent different directories.
The status of the user in the directory.
Hide ParametersShow Parameters
A list of objects mapped based on directoryStatus attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The display name of the user.
This is the user's email.
This is a list of all of the user's emails from app users.
A list of source data for the email attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
This is a list of all of the user's employee IDs from app users.
A list of source data for the employee IDs attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The users employment status.
A list of objects mapped based on employmentStatus attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The employment type of the user.
A list of objects mapped based on employmentType attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The job title of the user.
A list of objects mapped based on jobTitle attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of ids of the user's managers.
A list of objects mapped based on managerId attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of unique identifiers that maps to ConductorOne's user roles let you assign users permissions tailored to the work they do in the software.
The status of the user in the system.
Hide ParametersShow Parameters
The type of the user.
Hide ParametersShow Parameters
This is the user's primary username. Typically sourced from the primary directory.
This is a list of all of the user's usernames from app users.
A list of source data for the usernames attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The TaskAuditApprovalHappenedAutomatically message.
The TaskAuditBulkActionError message.
Hide ParametersShow Parameters
The error field.
The TaskAuditCertifyOutcome message.
Hide ParametersShow Parameters
The outcome field.
Hide ParametersShow Parameters
The TaskAuditComment message.
Hide ParametersShow Parameters
The comment field.
The updatedBy field.
The TaskAuditConditionalPolicyExecutionResult message.
Hide ParametersShow Parameters
The condition field.
The conditionMatched field.
The defaultCondition field.
The error field.
The policyKey field.
The TaskAuditFinishedConnectorActions message.
Hide ParametersShow Parameters
The policyStepId field.
The TaskAuditStartedConnectorActions message.
Hide ParametersShow Parameters
The policyStepId field.
The currentState field.
Hide ParametersShow Parameters
The eventType field.
Hide ParametersShow Parameters
The TaskAuditExpressionPolicyStepError message.
Hide ParametersShow Parameters
The error field.
The TaskAuditExternalTicketCreated message.
Hide ParametersShow Parameters
The appId field.
The connectorId field.
The externalTicketId field.
The externalTicketProvisionerConfigId field.
The externalTicketProvisionerConfigName field.
The externalTicketUrl field.
The TaskAuditExternalTicketError message.
Hide ParametersShow Parameters
The errorMessage field.
The TaskAuditExternalTicketProvisionStepResolved message.
Hide ParametersShow Parameters
The appId field.
The connectorId field.
The externalTicketId field.
The externalTicketProvisionerConfigId field.
The externalTicketUrl field.
The TaskAuditExternalTicketTriggered message.
Hide ParametersShow Parameters
The appId field.
The connectorId field.
The externalTicketId field.
The externalTicketProvisionerConfigId field.
The externalTicketProvisionerConfigName field.
The TaskAuditGrantOutcome message.
Hide ParametersShow Parameters
The outcome field.
Hide ParametersShow Parameters
The TaskAuditHardReset message.
Hide ParametersShow Parameters
The oldPolicyStepId field.
The TaskAuditMetaData message.
Hide ParametersShow Parameters
The User object provides all of the details for an user, as well as some configuration.
The TaskAuditPolicyEvaluationStep message.
Hide ParametersShow Parameters
The stepComment field.
The TaskAuditPolicyProvisionError message.
Hide ParametersShow Parameters
The error field.
The TaskAuditPolicyProvisionReassigned message.
Hide ParametersShow Parameters
The newPolicyStepId field.
The newUsers field.
The oldPolicyStepId field.
The users field.
Hide ParametersShow Parameters
A unique identifier of the user.
The id of the user to whom tasks will be automatically reassigned to.
The department which the user belongs to in the organization.
A list of objects mapped based on department attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of unique ids that represent different directories.
The status of the user in the directory.
Hide ParametersShow Parameters
A list of objects mapped based on directoryStatus attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The display name of the user.
This is the user's email.
This is a list of all of the user's emails from app users.
A list of source data for the email attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
This is a list of all of the user's employee IDs from app users.
A list of source data for the employee IDs attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The users employment status.
A list of objects mapped based on employmentStatus attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The employment type of the user.
A list of objects mapped based on employmentType attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The job title of the user.
A list of objects mapped based on jobTitle attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of ids of the user's managers.
A list of objects mapped based on managerId attribute mappings configured in the system.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
A list of unique identifiers that maps to ConductorOne's user roles let you assign users permissions tailored to the work they do in the software.
The status of the user in the system.
Hide ParametersShow Parameters
The type of the user.
Hide ParametersShow Parameters
This is the user's primary username. Typically sourced from the primary directory.
This is a list of all of the user's usernames from app users.
A list of source data for the usernames attribute.
Hide ParametersShow Parameters
The appId field.
The appUserId field.
The appUserProfileAttributeKey field.
The userAttributeMappingId field.
The value field.
The TaskAuditReassignedToDelegate message.
Hide ParametersShow Parameters
The User object provides all of the details for an user, as well as some configuration.
The delegatedAssigneeUserId field.
The User object provides all of the details for an user, as well as some configuration.
The originalAssigneeUserId field.
The TaskAuditReassignmentListError message.
Hide ParametersShow Parameters
The errorMessage field.
The TaskAuditRevokeOutcome message.
Hide ParametersShow Parameters
The outcome field.
Hide ParametersShow Parameters
The TaskAuditSLAEscalation message.
Hide ParametersShow Parameters
The message field.
The source field.
Hide ParametersShow Parameters
The TaskAuditStateChange message.
Hide ParametersShow Parameters
The previousState field.
Hide ParametersShow Parameters
The TaskAuditStepSkipped message.
Hide ParametersShow Parameters
The skippedBy field.
The TaskAuditStepUpApproval message.
Hide ParametersShow Parameters
The stepUpTransactionId field.
The TaskAuditNewTask message.
The TaskAuditEscalateToEmergencyAccess message.
Hide ParametersShow Parameters
The oldPolicyId field.
The oldPolicyStepId field.
The TaskAuditRestart message.
Hide ParametersShow Parameters
The oldPolicyStepId field.
The userId field.
The TaskAuditWaitForAnalysisStepSuccess message.
Hide ParametersShow Parameters
The stepId field.
The TaskAuditWaitForAnalysisStepTimedOut message.
Hide ParametersShow Parameters
The stepId field.
The TaskAuditWaitForAnalysisStepWaiting message.
Hide ParametersShow Parameters
The stepId field.
The TaskAuditWaitStepSuccess message.
Hide ParametersShow Parameters
The condition field.
The stepId field.
The TaskAuditWaitStepTimedOut message.
Hide ParametersShow Parameters
The condition field.
The stepId field.
The TaskAuditWaitStepWaiting message.
Hide ParametersShow Parameters
The condition field.
The stepId field.
The TaskAuditWebhookApprovalAttempt message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookApprovalBadResponse message.
Hide ParametersShow Parameters
The error field.
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookApprovalSuccess message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookApprovalTriggered message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookAttempt message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookSuccess message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The TaskAuditWebhookTriggered message.
Hide ParametersShow Parameters
The webhookId field.
The webhookInstanceId field.
The webhookName field.
The webhookUrl field.
The workflowStep field.
The nextPageToken field.
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Tasks.ListAudits(context.TODO(), conductoronesdk.TaskListAuditsParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.List)
}
{
"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"
}