Create
Create creates a new access review template that defines a reusable configuration for launching campaigns.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
The AccessReviewTemplateServiceCreateRequest message.
The accuracyIssueAction field.
ACCURACY_ISSUE_ACTION_UNSPECIFIED, ACCURACY_ISSUE_ACTION_CONTINUE, ACCURACY_ISSUE_ACTION_WAIT The autoCloseCampaign field.
The autoCloseDecision field.
CLOSE_DECISION_UNSPECIFIED, CLOSE_DECISION_REVOKED, CLOSE_DECISION_SKIP, CLOSE_DECISION_NO_ACTION auto generate report when campaign is closed
The autoStartCampaign field.
Configuration for which columns are visible in the reviewer task list.
The defaultView field.
ACCESS_REVIEW_VIEW_TYPE_UNSPECIFIED, ACCESS_REVIEW_VIEW_TYPE_BY_APP, ACCESS_REVIEW_VIEW_TYPE_BY_USER, ACCESS_REVIEW_VIEW_TYPE_UNSTRUCTURED, ACCESS_REVIEW_VIEW_TYPE_BY_RESOURCE An optional description providing context about the template.
The display name for the new template.
The exemptCertifiedAccessConflicts field.
The isCampaignScheduleEnabled field.
Controls which email notifications are sent during the access review lifecycle.
The IDs of the users who own this template. At least one owner is required.
The ID of the default review policy for campaigns created from this template.
The RecurrenceRule message.
This message contains a oneof named end_condition. Only a single field of the following list may be set at a time:
- endDate
- occurrences
The reviewInstructions field.
The AccessReviewScopeV2 message.
This message contains a oneof named apps_and_resources_scope. Only a single field of the following list may be set at a time:
- appAccess
- specificResources
- appSelectionCriteria
- resourceTypeSelections
This message contains a oneof named users_scope. Only a single field of the following list may be set at a time:
- allUsers
- selectedUsers
- userCriteria
- celExpression
This message contains a oneof named accounts_scope. Only a single field of the following list may be set at a time:
- allAccounts
- accountCriteria
- accountCelExpression
This message contains a oneof named grants_scope. Only a single field of the following list may be set at a time:
- allGrants
- grantsByCriteria
This message contains a oneof named access_conflicts_scope. Only a single field of the following list may be set at a time:
- allAccessConflicts
- specificAccessConflicts
This message contains a oneof named resource_scope. Only a single field of the following list may be set at a time:
- resourceSelection
The scopeType field.
ACCESS_REVIEW_SCOPE_TYPE_UNSPECIFIED, ACCESS_REVIEW_SCOPE_TYPE_BY_ENTITLEMENTS, ACCESS_REVIEW_SCOPE_TYPE_BY_ACCESS_CONFLICTS, ACCESS_REVIEW_SCOPE_TYPE_BY_RESOURCE, ACCESS_REVIEW_SCOPE_TYPE_BY_INHERITANCE Signature configuration for access review submissions
The usePolicyOverride field.
Response
Successful response
The AccessReviewTemplateServiceCreateResponse message.
A reusable template that defines the configuration for creating access review campaigns. Templates can optionally be scheduled to automatically create campaigns on a recurring basis.
This message contains a oneof named slack_channel_details. Only a single field of the following list may be set at a time:
- slackChannel