Skip to main content

sensitivity_settings

Creates, updates, deletes, gets or lists a sensitivity_settings resource.

Overview

Namesensitivity_settings
TypeResource
Idazure.security.sensitivity_settings

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.
mipInformationobjectMicrosoft information protection built-in and custom information types, labels, and integration status.
sensitiveInfoTypesIdsarrayList of selected sensitive info types' IDs.
sensitivityThresholdLabelIdstringThe id of the sensitivity threshold label. Any label at or above this rank will be considered sensitive.
sensitivityThresholdLabelOrdernumberThe order of the sensitivity threshold label. Any label at or above this order will be considered sensitive. If set to -1, sensitivity by labels is turned off.
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
getselectGets data sensitivity settings for sensitive data discovery.
create_or_updateinsertsensitiveInfoTypesIdsCreate or update data sensitivity settings for sensitive data discovery.
create_or_updatereplacesensitiveInfoTypesIdsCreate or update data sensitivity settings for sensitive data discovery.
list_rawexecGets a list with a single sensitivity settings resource.

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

SELECT examples

Gets data sensitivity settings for sensitive data discovery.

SELECT
id,
name,
mipInformation,
sensitiveInfoTypesIds,
sensitivityThresholdLabelId,
sensitivityThresholdLabelOrder,
systemData,
type
FROM azure.security.sensitivity_settings
;

INSERT examples

Create or update data sensitivity settings for sensitive data discovery.

INSERT INTO azure.security.sensitivity_settings (
sensitiveInfoTypesIds,
sensitivityThresholdLabelOrder,
sensitivityThresholdLabelId
)
SELECT
'{{ sensitiveInfoTypesIds }}' /* required */,
{{ sensitivityThresholdLabelOrder }},
'{{ sensitivityThresholdLabelId }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Create or update data sensitivity settings for sensitive data discovery.

REPLACE azure.security.sensitivity_settings
SET
sensitiveInfoTypesIds = '{{ sensitiveInfoTypesIds }}',
sensitivityThresholdLabelOrder = {{ sensitivityThresholdLabelOrder }},
sensitivityThresholdLabelId = '{{ sensitivityThresholdLabelId }}'
WHERE
sensitiveInfoTypesIds = '{{ sensitiveInfoTypesIds }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

Lifecycle Methods

Gets a list with a single sensitivity settings resource.

EXEC azure.security.sensitivity_settings.list_raw 

;