Skip to main content

access_review_history_definitions

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

Overview

Nameaccess_review_history_definitions
TypeResource
Idazure.authorization.access_review_history_definitions

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.
createdByobjectThe user or other identity who created this history definition.
createdDateTimestring (date-time)Date time when history definition was created.
decisionsarrayCollection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.
displayNamestringThe display name for the history definition.
instancesarraySet of access review history instances for this history definition.
reviewHistoryPeriodEndDateTimestring (date-time)Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.
reviewHistoryPeriodStartDateTimestring (date-time)Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.
scopesarrayA collection of scopes used when selecting review history data.
settingsobjectRecurrence settings for recurring history reports, skip for one-time reports.
statusstringThis read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error. Known values are: "Requested", "InProgress", "Done", and "Error". (Requested, InProgress, Done, Error)
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
get_by_idselecthistory_definition_id, subscription_idGet access review history definition by definition Id.
listselectsubscription_id$filterLists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation.

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
history_definition_idstringThe id of the access review history definition. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Only standard filters on definition name and created date are supported. Default value is None.

SELECT examples

Get access review history definition by definition Id.

SELECT
id,
name,
createdBy,
createdDateTime,
decisions,
displayName,
instances,
reviewHistoryPeriodEndDateTime,
reviewHistoryPeriodStartDateTime,
scopes,
settings,
status,
systemData,
type
FROM azure.authorization.access_review_history_definitions
WHERE history_definition_id = '{{ history_definition_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;