Skip to main content
POST
/
api
/
v1
/
tasks
/
{task_id}
/
action
/
escalate
EscalateToEmergencyAccess
package main

import(
	"context"
	conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
	"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
	"github.com/conductorone/conductorone-sdk-go/pkg/models/operations"
	"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.TaskActions.EscalateToEmergencyAccess(ctx, operations.C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessRequest{
        TaskID: "<id>",
    })
    if err != nil {
        log.Fatal(err)
    }
    if res.TaskServiceActionResponse != nil {
        // handle response
    }
}
{
  "expanded": [
    {
      "@type": "<string>"
    }
  ],
  "taskView": {
    "accessReviewPath": "<string>",
    "appPath": "<string>",
    "appUserLastUsagePath": "<string>",
    "appUserPath": "<string>",
    "createdByUserPath": "<string>",
    "entitlementsPath": "<string>",
    "identityUserPath": "<string>",
    "insightsPath": "<string>",
    "stepApproversPath": "<string>",
    "task": {
      "actions": [
        "TASK_ACTION_TYPE_UNSPECIFIED"
      ],
      "analysisId": "<string>",
      "annotations": [
        {
          "@type": "<string>"
        }
      ],
      "commentCount": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "createdByUserId": "<string>",
      "data": {},
      "deletedAt": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "displayName": "<string>",
      "emergencyAccess": true,
      "externalRefs": [
        {
          "externalRefSource": "UNSPECIFIED",
          "name": "<string>",
          "url": "<string>"
        }
      ],
      "form": {
        "description": "<string>",
        "displayName": "<string>",
        "fieldRelationships": [
          {
            "atLeastOne": {},
            "fieldNames": [
              "<string>"
            ],
            "mutuallyExclusive": {},
            "requiredTogether": {}
          }
        ],
        "fields": [
          {
            "boolField": {
              "checkboxField": {},
              "defaultValue": true,
              "rules": {
                "const": true
              }
            },
            "description": "<string>",
            "displayName": "<string>",
            "fileField": {
              "acceptedFileTypes": [
                "<string>"
              ],
              "fileInputField": {},
              "maxFileSize": "<string>"
            },
            "int64Field": {
              "defaultValue": "<string>",
              "numberField": {
                "maxValue": "<string>",
                "minValue": "<string>",
                "step": "<string>"
              },
              "placeholder": "<string>",
              "rules": {
                "const": "<string>",
                "gt": "<string>",
                "gte": "<string>",
                "ignoreEmpty": true,
                "in": [
                  "<string>"
                ],
                "lt": "<string>",
                "lte": "<string>",
                "notIn": [
                  "<string>"
                ]
              }
            },
            "name": "<string>",
            "stringField": {
              "defaultValue": "<string>",
              "passwordField": {},
              "placeholder": "<string>",
              "rules": {
                "address": true,
                "const": "<string>",
                "contains": "<string>",
                "email": true,
                "hostname": true,
                "ignoreEmpty": true,
                "in": [
                  "<string>"
                ],
                "ip": true,
                "ipv4": true,
                "ipv6": true,
                "len": "<string>",
                "lenBytes": "<string>",
                "maxBytes": "<string>",
                "maxLen": "<string>",
                "minBytes": "<string>",
                "minLen": "<string>",
                "notContains": "<string>",
                "notIn": [
                  "<string>"
                ],
                "pattern": "<string>",
                "prefix": "<string>",
                "strict": true,
                "suffix": "<string>",
                "uri": true,
                "uriRef": true,
                "uuid": true,
                "wellKnownRegex": "UNKNOWN"
              },
              "selectField": {
                "options": [
                  {
                    "displayName": "<string>",
                    "value": "<string>"
                  }
                ]
              },
              "textField": {
                "multiline": true
              }
            },
            "stringSliceField": {
              "chipsField": {},
              "defaultValues": [
                "<string>"
              ],
              "placeholder": "<string>",
              "rules": {
                "ignoreEmpty": true,
                "items": {
                  "any": {
                    "in": [
                      "<string>"
                    ],
                    "notIn": [
                      "<string>"
                    ],
                    "required": true
                  },
                  "bool": {
                    "const": true
                  },
                  "bytes": {
                    "const": "aSDinaTvuI8gbWludGxpZnk=",
                    "contains": "aSDinaTvuI8gbWludGxpZnk=",
                    "ignoreEmpty": true,
                    "in": [
                      "aSDinaTvuI8gbWludGxpZnk="
                    ],
                    "ip": true,
                    "ipv4": true,
                    "ipv6": true,
                    "len": "<string>",
                    "maxLen": "<string>",
                    "minLen": "<string>",
                    "notIn": [
                      "aSDinaTvuI8gbWludGxpZnk="
                    ],
                    "pattern": "<string>",
                    "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                    "suffix": "aSDinaTvuI8gbWludGxpZnk="
                  },
                  "double": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "duration": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ],
                    "required": true
                  },
                  "enum": {
                    "const": 123,
                    "definedOnly": true,
                    "in": [
                      123
                    ],
                    "notIn": [
                      123
                    ]
                  },
                  "fixed32": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "fixed64": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ]
                  },
                  "float": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "int32": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "int64": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ]
                  },
                  "map": {
                    "ignoreEmpty": true,
                    "keys": "<unknown>",
                    "maxPairs": "<string>",
                    "minPairs": "<string>",
                    "noSparse": true,
                    "values": "<unknown>"
                  },
                  "message": {
                    "required": true,
                    "skip": true
                  },
                  "repeated": "<unknown>",
                  "sfixed32": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "sfixed64": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ]
                  },
                  "sint32": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "sint64": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ]
                  },
                  "string": {
                    "address": true,
                    "const": "<string>",
                    "contains": "<string>",
                    "email": true,
                    "hostname": true,
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "ip": true,
                    "ipv4": true,
                    "ipv6": true,
                    "len": "<string>",
                    "lenBytes": "<string>",
                    "maxBytes": "<string>",
                    "maxLen": "<string>",
                    "minBytes": "<string>",
                    "minLen": "<string>",
                    "notContains": "<string>",
                    "notIn": [
                      "<string>"
                    ],
                    "pattern": "<string>",
                    "prefix": "<string>",
                    "strict": true,
                    "suffix": "<string>",
                    "uri": true,
                    "uriRef": true,
                    "uuid": true,
                    "wellKnownRegex": "UNKNOWN"
                  },
                  "timestamp": {
                    "const": "2023-11-07T05:31:56Z",
                    "gt": "2023-11-07T05:31:56Z",
                    "gtNow": true,
                    "gte": "2023-11-07T05:31:56Z",
                    "lt": "2023-11-07T05:31:56Z",
                    "ltNow": true,
                    "lte": "2023-11-07T05:31:56Z",
                    "required": true,
                    "within": "<string>"
                  },
                  "uint32": {
                    "const": 123,
                    "gt": 123,
                    "gte": 123,
                    "ignoreEmpty": true,
                    "in": [
                      123
                    ],
                    "lt": 123,
                    "lte": 123,
                    "notIn": [
                      123
                    ]
                  },
                  "uint64": {
                    "const": "<string>",
                    "gt": "<string>",
                    "gte": "<string>",
                    "ignoreEmpty": true,
                    "in": [
                      "<string>"
                    ],
                    "lt": "<string>",
                    "lte": "<string>",
                    "notIn": [
                      "<string>"
                    ]
                  }
                },
                "maxItems": "<string>",
                "minItems": "<string>",
                "unique": true
              }
            }
          }
        ],
        "id": "<string>"
      },
      "id": "<string>",
      "insightIds": [
        "<string>"
      ],
      "numericId": "<string>",
      "origin": "TASK_ORIGIN_UNSPECIFIED",
      "policy": {
        "current": {
          "accept": {
            "acceptMessage": "<string>"
          },
          "approval": {
            "approval": {
              "agent": {
                "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                "agentUserId": "<string>",
                "instructions": "<string>",
                "policyIds": [
                  "<string>"
                ],
                "reassignToUserIds": [
                  "<string>"
                ]
              },
              "allowDelegation": true,
              "allowReassignment": true,
              "allowedReassignees": [
                "<string>"
              ],
              "appOwners": {
                "allowSelfApproval": true
              },
              "assigned": true,
              "entitlementOwners": {
                "allowSelfApproval": true,
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "escalation": {
                "escalationComment": "<string>",
                "expiration": "<string>",
                "reassignToApprovers": {
                  "approverIds": [
                    "<string>"
                  ]
                },
                "replacePolicy": {
                  "policyId": "<string>"
                }
              },
              "escalationEnabled": true,
              "expression": {
                "allowSelfApproval": true,
                "assignedUserIds": [
                  "<string>"
                ],
                "expressions": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "group": {
                "allowSelfApproval": true,
                "appGroupId": "<string>",
                "appId": "<string>",
                "fallback": true,
                "fallbackGroupIds": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "fallbackUserIds": [
                  "<string>"
                ],
                "isGroupFallbackEnabled": true
              },
              "manager": {
                "allowSelfApproval": true,
                "assignedUserIds": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "requireApprovalReason": true,
              "requireDenialReason": true,
              "requireReassignmentReason": true,
              "requiresStepUpProviderId": "<string>",
              "resourceOwners": {
                "allowSelfApproval": true,
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "self": {
                "assignedUserIds": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "users": {
                "allowSelfApproval": true,
                "userIds": [
                  "<string>"
                ]
              },
              "webhook": {
                "webhookId": "<string>"
              }
            },
            "approved": {
              "approvedAt": "2023-11-07T05:31:56Z",
              "entitlements": [
                {
                  "appEntitlementId": "<string>",
                  "appId": "<string>"
                }
              ],
              "stepUpTransactionId": "<string>",
              "userId": "<string>"
            },
            "denied": {
              "deniedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "escalationInstance": {
              "alreadyEscalated": true,
              "escalationComment": "<string>",
              "expiresAt": "2023-11-07T05:31:56Z",
              "reassignToApprovers": {
                "approverIds": [
                  "<string>"
                ]
              },
              "replacePolicy": {
                "policyId": "<string>"
              }
            },
            "reassigned": {
              "newPolicyStepId": "<string>",
              "reassignedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "reassignedByError": {
              "description": "<string>",
              "errorCode": "<string>",
              "errorUserId": "<string>",
              "erroredAt": "2023-11-07T05:31:56Z",
              "newPolicyStepId": "<string>",
              "reassignedAt": "2023-11-07T05:31:56Z"
            },
            "restarted": {
              "oldPolicyStepId": "<string>",
              "restartedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "skipped": {
              "newPolicyStepId": "<string>",
              "skippedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "state": "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
          },
          "form": {
            "completed": {
              "completedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "data": {},
            "form": {
              "description": "<string>",
              "displayName": "<string>",
              "fieldRelationships": [
                {
                  "atLeastOne": {},
                  "fieldNames": [
                    "<string>"
                  ],
                  "mutuallyExclusive": {},
                  "requiredTogether": {}
                }
              ],
              "fields": [
                {
                  "boolField": {
                    "checkboxField": {},
                    "defaultValue": true,
                    "rules": {
                      "const": true
                    }
                  },
                  "description": "<string>",
                  "displayName": "<string>",
                  "fileField": {
                    "acceptedFileTypes": [
                      "<string>"
                    ],
                    "fileInputField": {},
                    "maxFileSize": "<string>"
                  },
                  "int64Field": {
                    "defaultValue": "<string>",
                    "numberField": {
                      "maxValue": "<string>",
                      "minValue": "<string>",
                      "step": "<string>"
                    },
                    "placeholder": "<string>",
                    "rules": {
                      "const": "<string>",
                      "gt": "<string>",
                      "gte": "<string>",
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "lt": "<string>",
                      "lte": "<string>",
                      "notIn": [
                        "<string>"
                      ]
                    }
                  },
                  "name": "<string>",
                  "stringField": {
                    "defaultValue": "<string>",
                    "passwordField": {},
                    "placeholder": "<string>",
                    "rules": {
                      "address": true,
                      "const": "<string>",
                      "contains": "<string>",
                      "email": true,
                      "hostname": true,
                      "ignoreEmpty": true,
                      "in": [
                        "<string>"
                      ],
                      "ip": true,
                      "ipv4": true,
                      "ipv6": true,
                      "len": "<string>",
                      "lenBytes": "<string>",
                      "maxBytes": "<string>",
                      "maxLen": "<string>",
                      "minBytes": "<string>",
                      "minLen": "<string>",
                      "notContains": "<string>",
                      "notIn": [
                        "<string>"
                      ],
                      "pattern": "<string>",
                      "prefix": "<string>",
                      "strict": true,
                      "suffix": "<string>",
                      "uri": true,
                      "uriRef": true,
                      "uuid": true,
                      "wellKnownRegex": "UNKNOWN"
                    },
                    "selectField": {
                      "options": [
                        {
                          "displayName": "<string>",
                          "value": "<string>"
                        }
                      ]
                    },
                    "textField": {
                      "multiline": true
                    }
                  },
                  "stringSliceField": {
                    "chipsField": {},
                    "defaultValues": [
                      "<string>"
                    ],
                    "placeholder": "<string>",
                    "rules": {
                      "ignoreEmpty": true,
                      "items": {
                        "any": {
                          "in": [
                            "<string>"
                          ],
                          "notIn": [
                            "<string>"
                          ],
                          "required": true
                        },
                        "bool": {
                          "const": true
                        },
                        "bytes": {
                          "const": "aSDinaTvuI8gbWludGxpZnk=",
                          "contains": "aSDinaTvuI8gbWludGxpZnk=",
                          "ignoreEmpty": true,
                          "in": [
                            "aSDinaTvuI8gbWludGxpZnk="
                          ],
                          "ip": true,
                          "ipv4": true,
                          "ipv6": true,
                          "len": "<string>",
                          "maxLen": "<string>",
                          "minLen": "<string>",
                          "notIn": [
                            "aSDinaTvuI8gbWludGxpZnk="
                          ],
                          "pattern": "<string>",
                          "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                          "suffix": "aSDinaTvuI8gbWludGxpZnk="
                        },
                        "double": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "duration": {
                          "const": "<unknown>",
                          "gt": "<unknown>",
                          "gte": "<unknown>",
                          "in": [
                            "<string>"
                          ],
                          "lt": "<unknown>",
                          "lte": "<unknown>",
                          "notIn": [
                            "<string>"
                          ],
                          "required": true
                        },
                        "enum": {
                          "const": 123,
                          "definedOnly": true,
                          "in": [
                            123
                          ],
                          "notIn": [
                            123
                          ]
                        },
                        "fixed32": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "fixed64": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        },
                        "float": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "int32": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "int64": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        },
                        "map": {
                          "ignoreEmpty": true,
                          "keys": "<unknown>",
                          "maxPairs": "<string>",
                          "minPairs": "<string>",
                          "noSparse": true,
                          "values": "<unknown>"
                        },
                        "message": {
                          "required": true,
                          "skip": true
                        },
                        "repeated": "<unknown>",
                        "sfixed32": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "sfixed64": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        },
                        "sint32": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "sint64": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        },
                        "string": {
                          "address": true,
                          "const": "<string>",
                          "contains": "<string>",
                          "email": true,
                          "hostname": true,
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "ip": true,
                          "ipv4": true,
                          "ipv6": true,
                          "len": "<string>",
                          "lenBytes": "<string>",
                          "maxBytes": "<string>",
                          "maxLen": "<string>",
                          "minBytes": "<string>",
                          "minLen": "<string>",
                          "notContains": "<string>",
                          "notIn": [
                            "<string>"
                          ],
                          "pattern": "<string>",
                          "prefix": "<string>",
                          "strict": true,
                          "suffix": "<string>",
                          "uri": true,
                          "uriRef": true,
                          "uuid": true,
                          "wellKnownRegex": "UNKNOWN"
                        },
                        "timestamp": {
                          "const": "<unknown>",
                          "gt": "<unknown>",
                          "gtNow": true,
                          "gte": "<unknown>",
                          "lt": "<unknown>",
                          "ltNow": true,
                          "lte": "<unknown>",
                          "required": true,
                          "within": "<unknown>"
                        },
                        "uint32": {
                          "const": 123,
                          "gt": 123,
                          "gte": 123,
                          "ignoreEmpty": true,
                          "in": [
                            123
                          ],
                          "lt": 123,
                          "lte": 123,
                          "notIn": [
                            123
                          ]
                        },
                        "uint64": {
                          "const": "<string>",
                          "gt": "<string>",
                          "gte": "<string>",
                          "ignoreEmpty": true,
                          "in": [
                            "<string>"
                          ],
                          "lt": "<string>",
                          "lte": "<string>",
                          "notIn": [
                            "<string>"
                          ]
                        }
                      },
                      "maxItems": "<string>",
                      "minItems": "<string>",
                      "unique": true
                    }
                  }
                }
              ],
              "id": "<string>"
            },
            "reassigned": {
              "newPolicyStepId": "<string>",
              "reassignedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "restarted": {
              "oldPolicyStepId": "<string>",
              "restartedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "skipped": {
              "newPolicyStepId": "<string>",
              "skippedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "state": "FORM_INSTANCE_STATE_UNSPECIFIED"
          },
          "id": "<string>",
          "policyGenerationId": "<string>",
          "provision": {
            "batonActionInvocationId": "<string>",
            "cancelled": {
              "cancelledAt": "2023-11-07T05:31:56Z",
              "cancelledByUserId": "<string>"
            },
            "completed": {
              "completedAt": "2023-11-07T05:31:56Z",
              "entitlements": [
                {
                  "appEntitlementId": "<string>",
                  "appId": "<string>"
                }
              ],
              "userId": "<string>"
            },
            "errored": {
              "description": "<string>",
              "errorCode": "<string>",
              "erroredAt": "2023-11-07T05:31:56Z"
            },
            "externalTicketId": "<string>",
            "externalTicketProvisionerConfigId": "<string>",
            "notificationId": "<string>",
            "provision": {
              "assigned": true,
              "provisionPolicy": {
                "action": {
                  "actionName": "<string>",
                  "appId": "<string>",
                  "connectorId": "<string>",
                  "displayName": "<string>"
                },
                "connector": {
                  "account": {
                    "config": {},
                    "connectorId": "<string>",
                    "doNotSave": {},
                    "saveToVault": {
                      "vaultIds": [
                        "<string>"
                      ]
                    },
                    "schemaId": "<string>"
                  },
                  "defaultBehavior": {
                    "connectorId": "<string>"
                  },
                  "deleteAccount": {
                    "connectorId": "<string>"
                  }
                },
                "delegated": {
                  "appId": "<string>",
                  "entitlementId": "<string>",
                  "implicit": true
                },
                "externalTicket": {
                  "appId": "<string>",
                  "connectorId": "<string>",
                  "externalTicketProvisionerConfigId": "<string>",
                  "instructions": "<string>"
                },
                "manual": {
                  "instructions": "<string>",
                  "userIds": [
                    "<string>"
                  ]
                },
                "multiStep": {
                  "provisionSteps": "<array>"
                },
                "unconfigured": {},
                "webhook": {
                  "webhookId": "<string>"
                }
              },
              "provisionTarget": {
                "appEntitlementId": "<string>",
                "appId": "<string>",
                "appUserId": "<string>",
                "grantDuration": "<string>"
              }
            },
            "reassignedByError": {
              "description": "<string>",
              "errorCode": "<string>",
              "errorUserId": "<string>",
              "erroredAt": "2023-11-07T05:31:56Z",
              "newPolicyStepId": "<string>",
              "reassignedAt": "2023-11-07T05:31:56Z"
            },
            "skipped": {
              "newPolicyStepId": "<string>",
              "skippedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "state": "PROVISION_INSTANCE_STATE_UNSPECIFIED",
            "webhookId": "<string>",
            "webhookInstanceId": "<string>"
          },
          "reject": {
            "rejectMessage": "<string>"
          },
          "state": "POLICY_STEP_STATE_UNSPECIFIED",
          "wait": {
            "commentOnFirstWait": "<string>",
            "commentOnTimeout": "<string>",
            "condition": {
              "condition": "<string>"
            },
            "name": "<string>",
            "skipped": {
              "newPolicyStepId": "<string>",
              "skippedAt": "2023-11-07T05:31:56Z",
              "userId": "<string>"
            },
            "startedWaitingAt": "2023-11-07T05:31:56Z",
            "state": "WAIT_INSTANCE_STATE_UNSPECIFIED",
            "succeeded": {
              "succeededAt": "2023-11-07T05:31:56Z"
            },
            "timedOut": {
              "timedOutAt": "2023-11-07T05:31:56Z"
            },
            "timeout": "2023-11-07T05:31:56Z",
            "timeoutDuration": "<string>",
            "untilTime": {
              "durationIfExists": "<string>",
              "untilTime": "2023-11-07T05:31:56Z"
            }
          }
        },
        "history": [
          {
            "accept": {
              "acceptMessage": "<string>"
            },
            "approval": {
              "approval": {
                "agent": {
                  "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                  "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                  "agentUserId": "<string>",
                  "instructions": "<string>",
                  "policyIds": [
                    "<string>"
                  ],
                  "reassignToUserIds": [
                    "<string>"
                  ]
                },
                "allowDelegation": true,
                "allowReassignment": true,
                "allowedReassignees": [
                  "<string>"
                ],
                "appOwners": {
                  "allowSelfApproval": true
                },
                "assigned": true,
                "entitlementOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "escalation": {
                  "escalationComment": "<string>",
                  "expiration": "<string>",
                  "reassignToApprovers": {
                    "approverIds": [
                      "<string>"
                    ]
                  },
                  "replacePolicy": {
                    "policyId": "<string>"
                  }
                },
                "escalationEnabled": true,
                "expression": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "expressions": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "group": {
                  "allowSelfApproval": true,
                  "appGroupId": "<string>",
                  "appId": "<string>",
                  "fallback": true,
                  "fallbackGroupIds": [
                    {
                      "appEntitlementId": "<string>",
                      "appId": "<string>"
                    }
                  ],
                  "fallbackUserIds": [
                    "<string>"
                  ],
                  "isGroupFallbackEnabled": true
                },
                "manager": {
                  "allowSelfApproval": true,
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "requireApprovalReason": true,
                "requireDenialReason": true,
                "requireReassignmentReason": true,
                "requiresStepUpProviderId": "<string>",
                "resourceOwners": {
                  "allowSelfApproval": true,
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "self": {
                  "assignedUserIds": [
                    "<string>"
                  ],
                  "fallback": true,
                  "fallbackUserIds": [
                    "<string>"
                  ]
                },
                "users": {
                  "allowSelfApproval": true,
                  "userIds": [
                    "<string>"
                  ]
                },
                "webhook": {
                  "webhookId": "<string>"
                }
              },
              "approved": {
                "approvedAt": "2023-11-07T05:31:56Z",
                "entitlements": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "stepUpTransactionId": "<string>",
                "userId": "<string>"
              },
              "denied": {
                "deniedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "escalationInstance": {
                "alreadyEscalated": true,
                "escalationComment": "<string>",
                "expiresAt": "2023-11-07T05:31:56Z",
                "reassignToApprovers": {
                  "approverIds": [
                    "<string>"
                  ]
                },
                "replacePolicy": {
                  "policyId": "<string>"
                }
              },
              "reassigned": {
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "reassignedByError": {
                "description": "<string>",
                "errorCode": "<string>",
                "errorUserId": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z",
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z"
              },
              "restarted": {
                "oldPolicyStepId": "<string>",
                "restartedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
            },
            "form": {
              "completed": {
                "completedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "data": {},
              "form": {
                "description": "<string>",
                "displayName": "<string>",
                "fieldRelationships": [
                  {
                    "atLeastOne": {},
                    "fieldNames": [
                      "<string>"
                    ],
                    "mutuallyExclusive": {},
                    "requiredTogether": {}
                  }
                ],
                "fields": [
                  {
                    "boolField": {
                      "checkboxField": {},
                      "defaultValue": true,
                      "rules": {
                        "const": true
                      }
                    },
                    "description": "<string>",
                    "displayName": "<string>",
                    "fileField": {
                      "acceptedFileTypes": [
                        "<string>"
                      ],
                      "fileInputField": {},
                      "maxFileSize": "<string>"
                    },
                    "int64Field": {
                      "defaultValue": "<string>",
                      "numberField": {
                        "maxValue": "<string>",
                        "minValue": "<string>",
                        "step": "<string>"
                      },
                      "placeholder": "<string>",
                      "rules": {
                        "const": "<string>",
                        "gt": "<string>",
                        "gte": "<string>",
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "lt": "<string>",
                        "lte": "<string>",
                        "notIn": [
                          "<string>"
                        ]
                      }
                    },
                    "name": "<string>",
                    "stringField": {
                      "defaultValue": "<string>",
                      "passwordField": {},
                      "placeholder": "<string>",
                      "rules": {
                        "address": true,
                        "const": "<string>",
                        "contains": "<string>",
                        "email": true,
                        "hostname": true,
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "ip": true,
                        "ipv4": true,
                        "ipv6": true,
                        "len": "<string>",
                        "lenBytes": "<string>",
                        "maxBytes": "<string>",
                        "maxLen": "<string>",
                        "minBytes": "<string>",
                        "minLen": "<string>",
                        "notContains": "<string>",
                        "notIn": [
                          "<string>"
                        ],
                        "pattern": "<string>",
                        "prefix": "<string>",
                        "strict": true,
                        "suffix": "<string>",
                        "uri": true,
                        "uriRef": true,
                        "uuid": true,
                        "wellKnownRegex": "UNKNOWN"
                      },
                      "selectField": {
                        "options": [
                          {
                            "displayName": "<string>",
                            "value": "<string>"
                          }
                        ]
                      },
                      "textField": {
                        "multiline": true
                      }
                    },
                    "stringSliceField": {
                      "chipsField": {},
                      "defaultValues": [
                        "<string>"
                      ],
                      "placeholder": "<string>",
                      "rules": {
                        "ignoreEmpty": true,
                        "items": {
                          "any": {
                            "in": [
                              "<string>"
                            ],
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "bool": {
                            "const": true
                          },
                          "bytes": {
                            "const": "aSDinaTvuI8gbWludGxpZnk=",
                            "contains": "aSDinaTvuI8gbWludGxpZnk=",
                            "ignoreEmpty": true,
                            "in": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "maxLen": "<string>",
                            "minLen": "<string>",
                            "notIn": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "pattern": "<string>",
                            "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                            "suffix": "aSDinaTvuI8gbWludGxpZnk="
                          },
                          "double": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "duration": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "enum": {
                            "const": 123,
                            "definedOnly": true,
                            "in": [
                              123
                            ],
                            "notIn": [
                              123
                            ]
                          },
                          "fixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "fixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "float": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "map": {
                            "ignoreEmpty": true,
                            "keys": "<unknown>",
                            "maxPairs": "<string>",
                            "minPairs": "<string>",
                            "noSparse": true,
                            "values": "<unknown>"
                          },
                          "message": {
                            "required": true,
                            "skip": true
                          },
                          "repeated": "<unknown>",
                          "sfixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sfixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "sint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "string": {
                            "address": true,
                            "const": "<string>",
                            "contains": "<string>",
                            "email": true,
                            "hostname": true,
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "lenBytes": "<string>",
                            "maxBytes": "<string>",
                            "maxLen": "<string>",
                            "minBytes": "<string>",
                            "minLen": "<string>",
                            "notContains": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "pattern": "<string>",
                            "prefix": "<string>",
                            "strict": true,
                            "suffix": "<string>",
                            "uri": true,
                            "uriRef": true,
                            "uuid": true,
                            "wellKnownRegex": "UNKNOWN"
                          },
                          "timestamp": {
                            "const": "2023-11-07T05:31:56Z",
                            "gt": "2023-11-07T05:31:56Z",
                            "gtNow": true,
                            "gte": "2023-11-07T05:31:56Z",
                            "lt": "2023-11-07T05:31:56Z",
                            "ltNow": true,
                            "lte": "2023-11-07T05:31:56Z",
                            "required": true,
                            "within": "<string>"
                          },
                          "uint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "uint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          }
                        },
                        "maxItems": "<string>",
                        "minItems": "<string>",
                        "unique": true
                      }
                    }
                  }
                ],
                "id": "<string>"
              },
              "reassigned": {
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "restarted": {
                "oldPolicyStepId": "<string>",
                "restartedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "FORM_INSTANCE_STATE_UNSPECIFIED"
            },
            "id": "<string>",
            "policyGenerationId": "<string>",
            "provision": {
              "batonActionInvocationId": "<string>",
              "cancelled": {
                "cancelledAt": "2023-11-07T05:31:56Z",
                "cancelledByUserId": "<string>"
              },
              "completed": {
                "completedAt": "2023-11-07T05:31:56Z",
                "entitlements": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "userId": "<string>"
              },
              "errored": {
                "description": "<string>",
                "errorCode": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z"
              },
              "externalTicketId": "<string>",
              "externalTicketProvisionerConfigId": "<string>",
              "notificationId": "<string>",
              "provision": {
                "assigned": true,
                "provisionPolicy": {
                  "action": {
                    "actionName": "<string>",
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "displayName": "<string>"
                  },
                  "connector": {
                    "account": {
                      "config": {},
                      "connectorId": "<string>",
                      "doNotSave": {},
                      "saveToVault": {
                        "vaultIds": [
                          "<string>"
                        ]
                      },
                      "schemaId": "<string>"
                    },
                    "defaultBehavior": {
                      "connectorId": "<string>"
                    },
                    "deleteAccount": {
                      "connectorId": "<string>"
                    }
                  },
                  "delegated": {
                    "appId": "<string>",
                    "entitlementId": "<string>",
                    "implicit": true
                  },
                  "externalTicket": {
                    "appId": "<string>",
                    "connectorId": "<string>",
                    "externalTicketProvisionerConfigId": "<string>",
                    "instructions": "<string>"
                  },
                  "manual": {
                    "instructions": "<string>",
                    "userIds": [
                      "<string>"
                    ]
                  },
                  "multiStep": {
                    "provisionSteps": "<array>"
                  },
                  "unconfigured": {},
                  "webhook": {
                    "webhookId": "<string>"
                  }
                },
                "provisionTarget": {
                  "appEntitlementId": "<string>",
                  "appId": "<string>",
                  "appUserId": "<string>",
                  "grantDuration": "<string>"
                }
              },
              "reassignedByError": {
                "description": "<string>",
                "errorCode": "<string>",
                "errorUserId": "<string>",
                "erroredAt": "2023-11-07T05:31:56Z",
                "newPolicyStepId": "<string>",
                "reassignedAt": "2023-11-07T05:31:56Z"
              },
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "state": "PROVISION_INSTANCE_STATE_UNSPECIFIED",
              "webhookId": "<string>",
              "webhookInstanceId": "<string>"
            },
            "reject": {
              "rejectMessage": "<string>"
            },
            "state": "POLICY_STEP_STATE_UNSPECIFIED",
            "wait": {
              "commentOnFirstWait": "<string>",
              "commentOnTimeout": "<string>",
              "condition": {
                "condition": "<string>"
              },
              "name": "<string>",
              "skipped": {
                "newPolicyStepId": "<string>",
                "skippedAt": "2023-11-07T05:31:56Z",
                "userId": "<string>"
              },
              "startedWaitingAt": "2023-11-07T05:31:56Z",
              "state": "WAIT_INSTANCE_STATE_UNSPECIFIED",
              "succeeded": {
                "succeededAt": "2023-11-07T05:31:56Z"
              },
              "timedOut": {
                "timedOutAt": "2023-11-07T05:31:56Z"
              },
              "timeout": "2023-11-07T05:31:56Z",
              "timeoutDuration": "<string>",
              "untilTime": {
                "durationIfExists": "<string>",
                "untilTime": "2023-11-07T05:31:56Z"
              }
            }
          }
        ],
        "next": [
          {
            "accept": {
              "acceptMessage": "<string>"
            },
            "approval": {
              "agent": {
                "agentFailureAction": "APPROVAL_AGENT_FAILURE_ACTION_UNSPECIFIED",
                "agentMode": "APPROVAL_AGENT_MODE_UNSPECIFIED",
                "agentUserId": "<string>",
                "instructions": "<string>",
                "policyIds": [
                  "<string>"
                ],
                "reassignToUserIds": [
                  "<string>"
                ]
              },
              "allowDelegation": true,
              "allowReassignment": true,
              "allowedReassignees": [
                "<string>"
              ],
              "appOwners": {
                "allowSelfApproval": true
              },
              "assigned": true,
              "entitlementOwners": {
                "allowSelfApproval": true,
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "escalation": {
                "escalationComment": "<string>",
                "expiration": "<string>",
                "reassignToApprovers": {
                  "approverIds": [
                    "<string>"
                  ]
                },
                "replacePolicy": {
                  "policyId": "<string>"
                }
              },
              "escalationEnabled": true,
              "expression": {
                "allowSelfApproval": true,
                "assignedUserIds": [
                  "<string>"
                ],
                "expressions": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "group": {
                "allowSelfApproval": true,
                "appGroupId": "<string>",
                "appId": "<string>",
                "fallback": true,
                "fallbackGroupIds": [
                  {
                    "appEntitlementId": "<string>",
                    "appId": "<string>"
                  }
                ],
                "fallbackUserIds": [
                  "<string>"
                ],
                "isGroupFallbackEnabled": true
              },
              "manager": {
                "allowSelfApproval": true,
                "assignedUserIds": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "requireApprovalReason": true,
              "requireDenialReason": true,
              "requireReassignmentReason": true,
              "requiresStepUpProviderId": "<string>",
              "resourceOwners": {
                "allowSelfApproval": true,
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "self": {
                "assignedUserIds": [
                  "<string>"
                ],
                "fallback": true,
                "fallbackUserIds": [
                  "<string>"
                ]
              },
              "users": {
                "allowSelfApproval": true,
                "userIds": [
                  "<string>"
                ]
              },
              "webhook": {
                "webhookId": "<string>"
              }
            },
            "form": {
              "form": {
                "description": "<string>",
                "displayName": "<string>",
                "fieldRelationships": [
                  {
                    "atLeastOne": {},
                    "fieldNames": [
                      "<string>"
                    ],
                    "mutuallyExclusive": {},
                    "requiredTogether": {}
                  }
                ],
                "fields": [
                  {
                    "boolField": {
                      "checkboxField": {},
                      "defaultValue": true,
                      "rules": {
                        "const": true
                      }
                    },
                    "description": "<string>",
                    "displayName": "<string>",
                    "fileField": {
                      "acceptedFileTypes": [
                        "<string>"
                      ],
                      "fileInputField": {},
                      "maxFileSize": "<string>"
                    },
                    "int64Field": {
                      "defaultValue": "<string>",
                      "numberField": {
                        "maxValue": "<string>",
                        "minValue": "<string>",
                        "step": "<string>"
                      },
                      "placeholder": "<string>",
                      "rules": {
                        "const": "<string>",
                        "gt": "<string>",
                        "gte": "<string>",
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "lt": "<string>",
                        "lte": "<string>",
                        "notIn": [
                          "<string>"
                        ]
                      }
                    },
                    "name": "<string>",
                    "stringField": {
                      "defaultValue": "<string>",
                      "passwordField": {},
                      "placeholder": "<string>",
                      "rules": {
                        "address": true,
                        "const": "<string>",
                        "contains": "<string>",
                        "email": true,
                        "hostname": true,
                        "ignoreEmpty": true,
                        "in": [
                          "<string>"
                        ],
                        "ip": true,
                        "ipv4": true,
                        "ipv6": true,
                        "len": "<string>",
                        "lenBytes": "<string>",
                        "maxBytes": "<string>",
                        "maxLen": "<string>",
                        "minBytes": "<string>",
                        "minLen": "<string>",
                        "notContains": "<string>",
                        "notIn": [
                          "<string>"
                        ],
                        "pattern": "<string>",
                        "prefix": "<string>",
                        "strict": true,
                        "suffix": "<string>",
                        "uri": true,
                        "uriRef": true,
                        "uuid": true,
                        "wellKnownRegex": "UNKNOWN"
                      },
                      "selectField": {
                        "options": [
                          {
                            "displayName": "<string>",
                            "value": "<string>"
                          }
                        ]
                      },
                      "textField": {
                        "multiline": true
                      }
                    },
                    "stringSliceField": {
                      "chipsField": {},
                      "defaultValues": [
                        "<string>"
                      ],
                      "placeholder": "<string>",
                      "rules": {
                        "ignoreEmpty": true,
                        "items": {
                          "any": {
                            "in": [
                              "<string>"
                            ],
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "bool": {
                            "const": true
                          },
                          "bytes": {
                            "const": "aSDinaTvuI8gbWludGxpZnk=",
                            "contains": "aSDinaTvuI8gbWludGxpZnk=",
                            "ignoreEmpty": true,
                            "in": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "maxLen": "<string>",
                            "minLen": "<string>",
                            "notIn": [
                              "aSDinaTvuI8gbWludGxpZnk="
                            ],
                            "pattern": "<string>",
                            "prefix": "aSDinaTvuI8gbWludGxpZnk=",
                            "suffix": "aSDinaTvuI8gbWludGxpZnk="
                          },
                          "double": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "duration": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "required": true
                          },
                          "enum": {
                            "const": 123,
                            "definedOnly": true,
                            "in": [
                              123
                            ],
                            "notIn": [
                              123
                            ]
                          },
                          "fixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "fixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "float": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "int64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "map": {
                            "ignoreEmpty": true,
                            "keys": "<unknown>",
                            "maxPairs": "<string>",
                            "minPairs": "<string>",
                            "noSparse": true,
                            "values": "<unknown>"
                          },
                          "message": {
                            "required": true,
                            "skip": true
                          },
                          "repeated": "<unknown>",
                          "sfixed32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sfixed64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "sint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "sint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          },
                          "string": {
                            "address": true,
                            "const": "<string>",
                            "contains": "<string>",
                            "email": true,
                            "hostname": true,
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "ip": true,
                            "ipv4": true,
                            "ipv6": true,
                            "len": "<string>",
                            "lenBytes": "<string>",
                            "maxBytes": "<string>",
                            "maxLen": "<string>",
                            "minBytes": "<string>",
                            "minLen": "<string>",
                            "notContains": "<string>",
                            "notIn": [
                              "<string>"
                            ],
                            "pattern": "<string>",
                            "prefix": "<string>",
                            "strict": true,
                            "suffix": "<string>",
                            "uri": true,
                            "uriRef": true,
                            "uuid": true,
                            "wellKnownRegex": "UNKNOWN"
                          },
                          "timestamp": {
                            "const": "2023-11-07T05:31:56Z",
                            "gt": "2023-11-07T05:31:56Z",
                            "gtNow": true,
                            "gte": "2023-11-07T05:31:56Z",
                            "lt": "2023-11-07T05:31:56Z",
                            "ltNow": true,
                            "lte": "2023-11-07T05:31:56Z",
                            "required": true,
                            "within": "<string>"
                          },
                          "uint32": {
                            "const": 123,
                            "gt": 123,
                            "gte": 123,
                            "ignoreEmpty": true,
                            "in": [
                              123
                            ],
                            "lt": 123,
                            "lte": 123,
                            "notIn": [
                              123
                            ]
                          },
                          "uint64": {
                            "const": "<string>",
                            "gt": "<string>",
                            "gte": "<string>",
                            "ignoreEmpty": true,
                            "in": [
                              "<string>"
                            ],
                            "lt": "<string>",
                            "lte": "<string>",
                            "notIn": [
                              "<string>"
                            ]
                          }
                        },
                        "maxItems": "<string>",
                        "minItems": "<string>",
                        "unique": true
                      }
                    }
                  }
                ],
                "id": "<string>"
              }
            },
            "provision": {
              "assigned": true,
              "provisionPolicy": {
                "action": {
                  "actionName": "<string>",
                  "appId": "<string>",
                  "connectorId": "<string>",
                  "displayName": "<string>"
                },
                "connector": {
                  "account": {
                    "config": {},
                    "connectorId": "<string>",
                    "doNotSave": {},
                    "saveToVault": {
                      "vaultIds": [
                        "<string>"
                      ]
                    },
                    "schemaId": "<string>"
                  },
                  "defaultBehavior": {
                    "connectorId": "<string>"
                  },
                  "deleteAccount": {
                    "connectorId": "<string>"
                  }
                },
                "delegated": {
                  "appId": "<string>",
                  "entitlementId": "<string>",
                  "implicit": true
                },
                "externalTicket": {
                  "appId": "<string>",
                  "connectorId": "<string>",
                  "externalTicketProvisionerConfigId": "<string>",
                  "instructions": "<string>"
                },
                "manual": {
                  "instructions": "<string>",
                  "userIds": [
                    "<string>"
                  ]
                },
                "multiStep": {
                  "provisionSteps": "<array>"
                },
                "unconfigured": {},
                "webhook": {
                  "webhookId": "<string>"
                }
              },
              "provisionTarget": {
                "appEntitlementId": "<string>",
                "appId": "<string>",
                "appUserId": "<string>",
                "grantDuration": "<string>"
              }
            },
            "reject": {
              "rejectMessage": "<string>"
            },
            "wait": {
              "commentOnFirstWait": "<string>",
              "commentOnTimeout": "<string>",
              "condition": {
                "condition": "<string>"
              },
              "duration": {
                "duration": "<string>"
              },
              "name": "<string>",
              "timeoutDuration": "<string>",
              "untilTime": {
                "hours": 123,
                "minutes": 123,
                "timezone": "<string>"
              }
            }
          }
        ],
        "policy": {
          "createdAt": "2023-11-07T05:31:56Z",
          "deletedAt": "2023-11-07T05:31:56Z",
          "description": "<string>",
          "displayName": "<string>",
          "id": "<string>",
          "policySteps": {},
          "policyType": "POLICY_TYPE_UNSPECIFIED",
          "postActions": [
            {
              "certifyRemediateImmediately": true
            }
          ],
          "reassignTasksToDelegates": true,
          "rules": [
            {
              "condition": "<string>",
              "policyKey": "<string>"
            }
          ],
          "systemBuiltin": true,
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      },
      "policyGenerationId": "<string>",
      "processing": "TASK_PROCESSING_TYPE_UNSPECIFIED",
      "recommendation": "INSIGHT_RECOMMENDATION_UNSPECIFIED",
      "state": "TASK_STATE_UNSPECIFIED",
      "stepApproverIds": [
        "<string>"
      ],
      "type": {
        "certify": {
          "accessReviewId": "<string>",
          "accessReviewSelection": "<string>",
          "appEntitlementId": "<string>",
          "appId": "<string>",
          "appUserId": "<string>",
          "identityUserId": "<string>",
          "outcome": "CERTIFY_OUTCOME_UNSPECIFIED",
          "outcomeTime": "2023-11-07T05:31:56Z"
        },
        "grant": {
          "appEntitlementId": "<string>",
          "appId": "<string>",
          "appUserId": "<string>",
          "grantDuration": "<string>",
          "identityUserId": "<string>",
          "outcome": "GRANT_OUTCOME_UNSPECIFIED",
          "outcomeTime": "2023-11-07T05:31:56Z",
          "source": {
            "conversationId": "<string>",
            "externalUrl": "<string>",
            "integrationId": "<string>",
            "requestId": "<string>"
          }
        },
        "offboarding": {
          "outcome": "OFFBOARDING_OUTCOME_UNSPECIFIED",
          "outcomeTime": "2023-11-07T05:31:56Z",
          "subjectUserId": "<string>"
        },
        "revoke": {
          "appEntitlementId": "<string>",
          "appId": "<string>",
          "appUserId": "<string>",
          "identityUserId": "<string>",
          "outcome": "REVOKE_OUTCOME_UNSPECIFIED",
          "outcomeTime": "2023-11-07T05:31:56Z",
          "source": {
            "expired": {
              "expiredAt": "2023-11-07T05:31:56Z"
            },
            "nonUsage": {
              "expiresAt": "2023-11-07T05:31:56Z",
              "lastLogin": "2023-11-07T05:31:56Z"
            },
            "request": {
              "requestUserId": "<string>"
            },
            "review": {
              "accessReviewId": "<string>",
              "certTicketId": "<string>"
            }
          }
        }
      },
      "updatedAt": "2023-11-07T05:31:56Z",
      "userId": "<string>"
    },
    "userPath": "<string>"
  },
  "ticketActionId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

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.

Path Parameters

task_id
string | null
required

The taskId field.

Body

application/json

The TaskActionsServiceEscalateToEmergencyAccessRequest message.

comment
string | null

The comment field.

expandMask
Task Expand Mask · object

The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.

policyStepId
string | null

The policyStepId field.

Response

200 - application/json

Successful response

The TaskServiceActionResponse message.

expanded
object[] | null

The expanded field.

taskView
Task View · object

Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.

ticketActionId
string | null

The ticketActionId field.