Skip to main content

advanced_threat_protections

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

Overview

Nameadvanced_threat_protections
TypeResource
Idazure.security.advanced_threat_protections

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
is_enabledtextfield from the properties object
resourceIdtextfield from the properties object
settingNametextfield from the properties object
typetextResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceId, settingNameGets the Advanced Threat Protection settings for the specified resource.
createINSERTresourceId, settingNameCreates or updates the Advanced Threat Protection settings on a specified resource.

SELECT examples

Gets the Advanced Threat Protection settings for the specified resource.

SELECT
id,
name,
is_enabled,
resourceId,
settingName,
type
FROM azure.security.vw_advanced_threat_protections
WHERE resourceId = '{{ resourceId }}'
AND settingName = '{{ settingName }}';

INSERT example

Use the following StackQL query and manifest file to create a new advanced_threat_protections resource.

/*+ create */
INSERT INTO azure.security.advanced_threat_protections (
resourceId,
settingName,
properties
)
SELECT
'{{ resourceId }}',
'{{ settingName }}',
'{{ properties }}'
;