Skip to main content

access_review_instance_decisions

Creates, updates, deletes, gets or lists an access_review_instance_decisions resource.

Overview

Nameaccess_review_instance_decisions
TypeResource
Idazure.authorization.access_review_instance_decisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
appliedByobjectDetails of the approver.
appliedDateTimestring (date-time)The date and time when the review decision was applied.
applyResultstringThe outcome of applying the decision. Known values are: "New", "Applying", "AppliedSuccessfully", "AppliedWithUnknownFailure", "AppliedSuccessfullyButObjectNotFound", and "ApplyNotSupported". (New, Applying, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound, ApplyNotSupported)
decisionstringThe decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny. Known values are: "Approve", "Deny", "NotReviewed", "DontKnow", and "NotNotified". (Approve, Deny, NotReviewed, DontKnow, NotNotified)
insightsarrayThis is the collection of insights for this decision item.
justificationstringJustification provided by approvers for their action.
principalobjectPrincipal associated with the decision record. Can be AccessReviewDecisionUserIdentity or AccessReviewDecisionServicePrincipalIdentity.
principalResourceMembershipobjectDetails of the membership type.
recommendationstringThe feature- generated recommendation shown to the reviewer. Known values are: "Approve", "Deny", and "NoInfoAvailable". (Approve, Deny, NoInfoAvailable)
resourceobjectResource associated with this decision record.
reviewedByobjectDetails of the approver.
reviewedDateTimestring (date-time)Date Time when a decision was taken.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectschedule_definition_id, id, subscription_id$filterGet access review instance decisions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe id of the access review instance. Required.
schedule_definition_idstringThe id of the access review schedule definition. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Other than standard filters, one custom filter option is supported : 'assignedToMeToReview()'. When one specified $filter=assignedToMeToReview(), only items that are assigned to the calling user to review are returned. Default value is None.

SELECT examples

Get access review instance decisions.

SELECT
id,
name,
appliedBy,
appliedDateTime,
applyResult,
decision,
insights,
justification,
principal,
principalResourceMembership,
recommendation,
resource,
reviewedBy,
reviewedDateTime,
systemData,
type
FROM azure.authorization.access_review_instance_decisions
WHERE schedule_definition_id = '{{ schedule_definition_id }}' -- required
AND id = '{{ id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;