package main
import(
"context"
"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
"log"
)
func main() {
ctx := context.Background()
s := conductoronesdkgo.New(
conductoronesdkgo.WithSecurity(shared.Security{
BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
Oauth: "<YOUR_OAUTH_HERE>",
}),
)
res, err := s.Automation.ListAutomations(ctx)
if err != nil {
log.Fatal(err)
}
if res.ListAutomationsResponse != nil {
// handle response
}
}{
"list": [
{
"appId": "<string>",
"automationSteps": [
{
"accountLifecycleAction": {
"accountInContext": {},
"accountRef": {
"accountIdCel": "<string>"
},
"actionName": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
}
},
"callFunction": {
"args": {},
"functionId": "<string>"
},
"connectorAction": {
"actionName": "<string>",
"argsTemplate": {},
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"resourceTypeId": "<string>"
},
"connectorCreateAccount": {
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>",
"userIdCel": "<string>",
"userProperties": {
"displayNameCel": "<string>",
"emailCel": "<string>",
"profileAttributeCel": "<string>",
"usernameCel": "<string>"
}
},
"createAccessReview": {
"accessReviewTemplateCel": "<string>",
"accessReviewTemplateId": "<string>",
"campaignName": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"createRevokeTasks": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"appEntitlementRefsCel": "<string>",
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedAppEntitlementRefsCel": "<string>",
"revokeAll": true,
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"createRevokeTasksV2": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedResourceTypeIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"evaluateExpressions": {
"expressions": [
{
"expressionCel": "<string>",
"isSecret": true,
"key": "<string>"
}
]
},
"generatePassword": {
"passwordPolicyId": "<string>",
"policy": {
"customCharacters": "<string>",
"excludedCharacters": "<string>",
"maxCharacterCount": 123,
"minCharacterCount": 123,
"noRestrictions": true,
"requireLowercase": true,
"requireNumbers": true,
"requireSpecialCharacters": true,
"requireUppercase": true
}
},
"grantEntitlements": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"removeFromDelegation": {
"replacementUserIdCel": "<string>",
"replacementUserRef": {
"id": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"runAutomation": {
"automationTemplateIdCel": "<string>",
"automationTemplateRef": {
"id": "<string>"
},
"context": {
"context": {}
}
},
"sendEmail": {
"body": "<string>",
"email": "<string>",
"emailCel": "<string>",
"subject": "<string>",
"title": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"sendSlackMessage": {
"body": "<string>",
"channelName": "<string>",
"channelNameCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"setCredential": {
"accountIdCel": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>"
},
"skipIfTrueCel": "<string>",
"stepDisplayName": "<string>",
"stepName": "<string>",
"storeCredential": {
"appIdCel": "<string>",
"authType": "STORE_CREDENTIAL_AUTH_TYPE_UNSPECIFIED",
"credentialCel": "<string>",
"expiry": "<string>",
"labelCel": "<string>",
"maxViews": 123,
"recipientCel": "<string>",
"recipientEmailCel": "<string>",
"ttl": "<string>",
"vaultType": "STORE_CREDENTIAL_VAULT_TYPE_UNSPECIFIED"
},
"taskAction": {
"close": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"reassign": {
"assigneeUserIdCel": "<string>",
"assigneeUserRef": {
"id": "<string>"
},
"subjectUserIdCel": "<string>",
"subjectUserRef": {
"id": "<string>"
},
"useSubjectUser": true
},
"taskTypes": [
"TASK_TYPE_UNSPECIFIED"
],
"taskUserRelation": "TASK_USER_RELATION_UNSPECIFIED"
},
"unenrollFromAllAccessProfiles": {
"catalogIds": [
"<string>"
],
"catalogIdsCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"updateUser": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
},
"userStatusCel": "<string>",
"userStatusEnum": "UNKNOWN"
},
"waitForDuration": {
"duration": "<string>"
},
"webhook": {
"payload": {},
"webhookId": "<string>",
"webhookIdCel": "<string>"
}
}
],
"circuitBreaker": {
"observedCount": 123,
"period": "CIRCUIT_BREAKER_PERIOD_UNSPECIFIED",
"threshold": 123,
"trippedAt": "2023-11-07T05:31:56Z"
},
"circuitBreakerMax": 123,
"circuitBreakerPeriod": "CIRCUIT_BREAKER_PERIOD_UNSPECIFIED",
"context": {
"context": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"currentVersion": "<string>",
"description": "<string>",
"displayName": "<string>",
"draftAutomationSteps": [
{
"accountLifecycleAction": {
"accountInContext": {},
"accountRef": {
"accountIdCel": "<string>"
},
"actionName": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
}
},
"callFunction": {
"args": {},
"functionId": "<string>"
},
"connectorAction": {
"actionName": "<string>",
"argsTemplate": {},
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"resourceTypeId": "<string>"
},
"connectorCreateAccount": {
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>",
"userIdCel": "<string>",
"userProperties": {
"displayNameCel": "<string>",
"emailCel": "<string>",
"profileAttributeCel": "<string>",
"usernameCel": "<string>"
}
},
"createAccessReview": {
"accessReviewTemplateCel": "<string>",
"accessReviewTemplateId": "<string>",
"campaignName": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"createRevokeTasks": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"appEntitlementRefsCel": "<string>",
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedAppEntitlementRefsCel": "<string>",
"revokeAll": true,
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"createRevokeTasksV2": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedResourceTypeIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"evaluateExpressions": {
"expressions": [
{
"expressionCel": "<string>",
"isSecret": true,
"key": "<string>"
}
]
},
"generatePassword": {
"passwordPolicyId": "<string>",
"policy": {
"customCharacters": "<string>",
"excludedCharacters": "<string>",
"maxCharacterCount": 123,
"minCharacterCount": 123,
"noRestrictions": true,
"requireLowercase": true,
"requireNumbers": true,
"requireSpecialCharacters": true,
"requireUppercase": true
}
},
"grantEntitlements": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"removeFromDelegation": {
"replacementUserIdCel": "<string>",
"replacementUserRef": {
"id": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"runAutomation": {
"automationTemplateIdCel": "<string>",
"automationTemplateRef": {
"id": "<string>"
},
"context": {
"context": {}
}
},
"sendEmail": {
"body": "<string>",
"email": "<string>",
"emailCel": "<string>",
"subject": "<string>",
"title": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"sendSlackMessage": {
"body": "<string>",
"channelName": "<string>",
"channelNameCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"setCredential": {
"accountIdCel": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>"
},
"skipIfTrueCel": "<string>",
"stepDisplayName": "<string>",
"stepName": "<string>",
"storeCredential": {
"appIdCel": "<string>",
"authType": "STORE_CREDENTIAL_AUTH_TYPE_UNSPECIFIED",
"credentialCel": "<string>",
"expiry": "<string>",
"labelCel": "<string>",
"maxViews": 123,
"recipientCel": "<string>",
"recipientEmailCel": "<string>",
"ttl": "<string>",
"vaultType": "STORE_CREDENTIAL_VAULT_TYPE_UNSPECIFIED"
},
"taskAction": {
"close": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"reassign": {
"assigneeUserIdCel": "<string>",
"assigneeUserRef": {
"id": "<string>"
},
"subjectUserIdCel": "<string>",
"subjectUserRef": {
"id": "<string>"
},
"useSubjectUser": true
},
"taskTypes": [
"TASK_TYPE_UNSPECIFIED"
],
"taskUserRelation": "TASK_USER_RELATION_UNSPECIFIED"
},
"unenrollFromAllAccessProfiles": {
"catalogIds": [
"<string>"
],
"catalogIdsCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"updateUser": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
},
"userStatusCel": "<string>",
"userStatusEnum": "UNKNOWN"
},
"waitForDuration": {
"duration": "<string>"
},
"webhook": {
"payload": {},
"webhookId": "<string>",
"webhookIdCel": "<string>"
}
}
],
"draftTriggers": [
{
"accessConflict": {
"allConflictMonitors": true,
"conflictMonitorRefs": {
"conflictMonitorRefs": [
{
"id": "<string>"
}
]
}
},
"appUserCreated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"appUserUpdated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"grantDeleted": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"grantFound": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"schedule": {
"advanced": true,
"condition": "<string>",
"cronSpec": "<string>",
"skipIfTrueCel": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleAppUser": {
"appId": "<string>",
"condition": "<string>",
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleNoUser": {
"advanced": true,
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"usageBasedRevocation": {
"appId": "<string>",
"enabledAt": "2023-11-07T05:31:56Z",
"excludedGroupRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedUserRefs": [
{
"id": "<string>"
}
],
"includeUsersWithNoActivity": true,
"runDelayed": {
"coldStartDelayDays": 123
},
"runImmediately": {},
"targetedAppUserTypes": [
"APP_USER_TYPE_UNSPECIFIED"
],
"targetedEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"unusedForDays": 123
},
"userCreated": {
"condition": "<string>"
},
"userProfileChange": {
"condition": "<string>"
},
"webhook": {
"capabilityUrl": {},
"hmac": {},
"jwt": {
"jwksUrl": "<string>"
},
"listenerId": "<string>"
}
}
],
"enabled": true,
"id": "<string>",
"isDraft": true,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"primaryTriggerType": "TRIGGER_TYPE_UNSPECIFIED",
"triggers": [
{
"accessConflict": {
"allConflictMonitors": true,
"conflictMonitorRefs": {
"conflictMonitorRefs": [
{
"id": "<string>"
}
]
}
},
"appUserCreated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"appUserUpdated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"grantDeleted": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"grantFound": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"schedule": {
"advanced": true,
"condition": "<string>",
"cronSpec": "<string>",
"skipIfTrueCel": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleAppUser": {
"appId": "<string>",
"condition": "<string>",
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleNoUser": {
"advanced": true,
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"usageBasedRevocation": {
"appId": "<string>",
"enabledAt": "2023-11-07T05:31:56Z",
"excludedGroupRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedUserRefs": [
{
"id": "<string>"
}
],
"includeUsersWithNoActivity": true,
"runDelayed": {
"coldStartDelayDays": 123
},
"runImmediately": {},
"targetedAppUserTypes": [
"APP_USER_TYPE_UNSPECIFIED"
],
"targetedEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"unusedForDays": 123
},
"userCreated": {
"condition": "<string>"
},
"userProfileChange": {
"condition": "<string>"
},
"webhook": {
"capabilityUrl": {},
"hmac": {},
"jwt": {
"jwksUrl": "<string>"
},
"listenerId": "<string>"
}
}
]
}
],
"nextPageToken": "<string>"
}List all automations in the tenant with pagination support.
package main
import(
"context"
"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
"log"
)
func main() {
ctx := context.Background()
s := conductoronesdkgo.New(
conductoronesdkgo.WithSecurity(shared.Security{
BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
Oauth: "<YOUR_OAUTH_HERE>",
}),
)
res, err := s.Automation.ListAutomations(ctx)
if err != nil {
log.Fatal(err)
}
if res.ListAutomationsResponse != nil {
// handle response
}
}{
"list": [
{
"appId": "<string>",
"automationSteps": [
{
"accountLifecycleAction": {
"accountInContext": {},
"accountRef": {
"accountIdCel": "<string>"
},
"actionName": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
}
},
"callFunction": {
"args": {},
"functionId": "<string>"
},
"connectorAction": {
"actionName": "<string>",
"argsTemplate": {},
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"resourceTypeId": "<string>"
},
"connectorCreateAccount": {
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>",
"userIdCel": "<string>",
"userProperties": {
"displayNameCel": "<string>",
"emailCel": "<string>",
"profileAttributeCel": "<string>",
"usernameCel": "<string>"
}
},
"createAccessReview": {
"accessReviewTemplateCel": "<string>",
"accessReviewTemplateId": "<string>",
"campaignName": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"createRevokeTasks": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"appEntitlementRefsCel": "<string>",
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedAppEntitlementRefsCel": "<string>",
"revokeAll": true,
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"createRevokeTasksV2": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedResourceTypeIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"evaluateExpressions": {
"expressions": [
{
"expressionCel": "<string>",
"isSecret": true,
"key": "<string>"
}
]
},
"generatePassword": {
"passwordPolicyId": "<string>",
"policy": {
"customCharacters": "<string>",
"excludedCharacters": "<string>",
"maxCharacterCount": 123,
"minCharacterCount": 123,
"noRestrictions": true,
"requireLowercase": true,
"requireNumbers": true,
"requireSpecialCharacters": true,
"requireUppercase": true
}
},
"grantEntitlements": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"removeFromDelegation": {
"replacementUserIdCel": "<string>",
"replacementUserRef": {
"id": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"runAutomation": {
"automationTemplateIdCel": "<string>",
"automationTemplateRef": {
"id": "<string>"
},
"context": {
"context": {}
}
},
"sendEmail": {
"body": "<string>",
"email": "<string>",
"emailCel": "<string>",
"subject": "<string>",
"title": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"sendSlackMessage": {
"body": "<string>",
"channelName": "<string>",
"channelNameCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"setCredential": {
"accountIdCel": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>"
},
"skipIfTrueCel": "<string>",
"stepDisplayName": "<string>",
"stepName": "<string>",
"storeCredential": {
"appIdCel": "<string>",
"authType": "STORE_CREDENTIAL_AUTH_TYPE_UNSPECIFIED",
"credentialCel": "<string>",
"expiry": "<string>",
"labelCel": "<string>",
"maxViews": 123,
"recipientCel": "<string>",
"recipientEmailCel": "<string>",
"ttl": "<string>",
"vaultType": "STORE_CREDENTIAL_VAULT_TYPE_UNSPECIFIED"
},
"taskAction": {
"close": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"reassign": {
"assigneeUserIdCel": "<string>",
"assigneeUserRef": {
"id": "<string>"
},
"subjectUserIdCel": "<string>",
"subjectUserRef": {
"id": "<string>"
},
"useSubjectUser": true
},
"taskTypes": [
"TASK_TYPE_UNSPECIFIED"
],
"taskUserRelation": "TASK_USER_RELATION_UNSPECIFIED"
},
"unenrollFromAllAccessProfiles": {
"catalogIds": [
"<string>"
],
"catalogIdsCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"updateUser": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
},
"userStatusCel": "<string>",
"userStatusEnum": "UNKNOWN"
},
"waitForDuration": {
"duration": "<string>"
},
"webhook": {
"payload": {},
"webhookId": "<string>",
"webhookIdCel": "<string>"
}
}
],
"circuitBreaker": {
"observedCount": 123,
"period": "CIRCUIT_BREAKER_PERIOD_UNSPECIFIED",
"threshold": 123,
"trippedAt": "2023-11-07T05:31:56Z"
},
"circuitBreakerMax": 123,
"circuitBreakerPeriod": "CIRCUIT_BREAKER_PERIOD_UNSPECIFIED",
"context": {
"context": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"currentVersion": "<string>",
"description": "<string>",
"displayName": "<string>",
"draftAutomationSteps": [
{
"accountLifecycleAction": {
"accountInContext": {},
"accountRef": {
"accountIdCel": "<string>"
},
"actionName": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
}
},
"callFunction": {
"args": {},
"functionId": "<string>"
},
"connectorAction": {
"actionName": "<string>",
"argsTemplate": {},
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"resourceTypeId": "<string>"
},
"connectorCreateAccount": {
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>",
"userIdCel": "<string>",
"userProperties": {
"displayNameCel": "<string>",
"emailCel": "<string>",
"profileAttributeCel": "<string>",
"usernameCel": "<string>"
}
},
"createAccessReview": {
"accessReviewTemplateCel": "<string>",
"accessReviewTemplateId": "<string>",
"campaignName": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"createRevokeTasks": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"appEntitlementRefsCel": "<string>",
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedAppEntitlementRefsCel": "<string>",
"revokeAll": true,
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"createRevokeTasksV2": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedResourceTypeIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"evaluateExpressions": {
"expressions": [
{
"expressionCel": "<string>",
"isSecret": true,
"key": "<string>"
}
]
},
"generatePassword": {
"passwordPolicyId": "<string>",
"policy": {
"customCharacters": "<string>",
"excludedCharacters": "<string>",
"maxCharacterCount": 123,
"minCharacterCount": 123,
"noRestrictions": true,
"requireLowercase": true,
"requireNumbers": true,
"requireSpecialCharacters": true,
"requireUppercase": true
}
},
"grantEntitlements": {
"exclusionCriteria": {
"excludedAppIds": [
"<string>"
],
"excludedComplianceFrameworkIds": [
"<string>"
],
"excludedRiskLevelIds": [
"<string>"
]
},
"exclusionList": {
"excludedAppEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"exclusionListCel": {
"excludedAppEntitlementRefsCel": "<string>"
},
"exclusionNone": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"removeFromDelegation": {
"replacementUserIdCel": "<string>",
"replacementUserRef": {
"id": "<string>"
},
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"runAutomation": {
"automationTemplateIdCel": "<string>",
"automationTemplateRef": {
"id": "<string>"
},
"context": {
"context": {}
}
},
"sendEmail": {
"body": "<string>",
"email": "<string>",
"emailCel": "<string>",
"subject": "<string>",
"title": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"sendSlackMessage": {
"body": "<string>",
"channelName": "<string>",
"channelNameCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"setCredential": {
"accountIdCel": "<string>",
"connectorRef": {
"appId": "<string>",
"id": "<string>"
},
"passwordCel": "<string>"
},
"skipIfTrueCel": "<string>",
"stepDisplayName": "<string>",
"stepName": "<string>",
"storeCredential": {
"appIdCel": "<string>",
"authType": "STORE_CREDENTIAL_AUTH_TYPE_UNSPECIFIED",
"credentialCel": "<string>",
"expiry": "<string>",
"labelCel": "<string>",
"maxViews": 123,
"recipientCel": "<string>",
"recipientEmailCel": "<string>",
"ttl": "<string>",
"vaultType": "STORE_CREDENTIAL_VAULT_TYPE_UNSPECIFIED"
},
"taskAction": {
"close": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
}
},
"reassign": {
"assigneeUserIdCel": "<string>",
"assigneeUserRef": {
"id": "<string>"
},
"subjectUserIdCel": "<string>",
"subjectUserRef": {
"id": "<string>"
},
"useSubjectUser": true
},
"taskTypes": [
"TASK_TYPE_UNSPECIFIED"
],
"taskUserRelation": "TASK_USER_RELATION_UNSPECIFIED"
},
"unenrollFromAllAccessProfiles": {
"catalogIds": [
"<string>"
],
"catalogIdsCel": "<string>",
"useSubjectUser": true,
"userIdsCel": "<string>",
"userRefs": [
{
"id": "<string>"
}
]
},
"updateUser": {
"useSubjectUser": true,
"userIdCel": "<string>",
"userRef": {
"id": "<string>"
},
"userStatusCel": "<string>",
"userStatusEnum": "UNKNOWN"
},
"waitForDuration": {
"duration": "<string>"
},
"webhook": {
"payload": {},
"webhookId": "<string>",
"webhookIdCel": "<string>"
}
}
],
"draftTriggers": [
{
"accessConflict": {
"allConflictMonitors": true,
"conflictMonitorRefs": {
"conflictMonitorRefs": [
{
"id": "<string>"
}
]
}
},
"appUserCreated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"appUserUpdated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"grantDeleted": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"grantFound": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"schedule": {
"advanced": true,
"condition": "<string>",
"cronSpec": "<string>",
"skipIfTrueCel": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleAppUser": {
"appId": "<string>",
"condition": "<string>",
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleNoUser": {
"advanced": true,
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"usageBasedRevocation": {
"appId": "<string>",
"enabledAt": "2023-11-07T05:31:56Z",
"excludedGroupRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedUserRefs": [
{
"id": "<string>"
}
],
"includeUsersWithNoActivity": true,
"runDelayed": {
"coldStartDelayDays": 123
},
"runImmediately": {},
"targetedAppUserTypes": [
"APP_USER_TYPE_UNSPECIFIED"
],
"targetedEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"unusedForDays": 123
},
"userCreated": {
"condition": "<string>"
},
"userProfileChange": {
"condition": "<string>"
},
"webhook": {
"capabilityUrl": {},
"hmac": {},
"jwt": {
"jwksUrl": "<string>"
},
"listenerId": "<string>"
}
}
],
"enabled": true,
"id": "<string>",
"isDraft": true,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"primaryTriggerType": "TRIGGER_TYPE_UNSPECIFIED",
"triggers": [
{
"accessConflict": {
"allConflictMonitors": true,
"conflictMonitorRefs": {
"conflictMonitorRefs": [
{
"id": "<string>"
}
]
}
},
"appUserCreated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"appUserUpdated": {
"appId": "<string>",
"appIdCel": "<string>",
"condition": "<string>"
},
"grantDeleted": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"grantFound": {
"grantTriggerFilter": {
"accountFilter": {
"accountType": "APP_USER_TYPE_UNSPECIFIED"
},
"grantFilter": {
"grantFilterType": "GRANT_FILTER_TYPE_UNSPECIFIED",
"grantJustificationType": "GRANT_JUSTIFICATION_TYPE_UNSPECIFIED",
"grantSourceFilter": "GRANT_SOURCE_FILTER_UNSPECIFIED"
},
"inclusionAll": {},
"inclusionCriteria": {
"appIds": [
"<string>"
],
"complianceFrameworkIds": [
"<string>"
],
"resourceTypeIds": [
"<string>"
],
"riskLevelIds": [
"<string>"
]
},
"inclusionList": {
"appEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
]
},
"inclusionListCel": {
"appEntitlementRefsCel": "<string>"
}
}
},
"schedule": {
"advanced": true,
"condition": "<string>",
"cronSpec": "<string>",
"skipIfTrueCel": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleAppUser": {
"appId": "<string>",
"condition": "<string>",
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"scheduleNoUser": {
"advanced": true,
"cronSpec": "<string>",
"start": "2023-11-07T05:31:56Z",
"timezone": "<string>"
},
"usageBasedRevocation": {
"appId": "<string>",
"enabledAt": "2023-11-07T05:31:56Z",
"excludedGroupRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"excludedUserRefs": [
{
"id": "<string>"
}
],
"includeUsersWithNoActivity": true,
"runDelayed": {
"coldStartDelayDays": 123
},
"runImmediately": {},
"targetedAppUserTypes": [
"APP_USER_TYPE_UNSPECIFIED"
],
"targetedEntitlementRefs": [
{
"appId": "<string>",
"id": "<string>"
}
],
"unusedForDays": 123
},
"userCreated": {
"condition": "<string>"
},
"userProfileChange": {
"condition": "<string>"
},
"webhook": {
"capabilityUrl": {},
"hmac": {},
"jwt": {
"jwksUrl": "<string>"
},
"listenerId": "<string>"
}
}
]
}
],
"nextPageToken": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://conductorone-groman-network-requirements-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Was this page helpful?