Skip to main content

secure_scores

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

Overview

Namesecure_scores
TypeResource
Idazure.security.secure_scores

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
display_nametextfield from the properties object
scoretextfield from the properties object
secureScoreNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type
weighttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTsecureScoreName, subscriptionIdGet secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.
listSELECTsubscriptionIdList secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

SELECT examples

List secure scores for all your Microsoft Defender for Cloud initiatives within your current scope.

SELECT
id,
name,
display_name,
score,
secureScoreName,
subscriptionId,
type,
weight
FROM azure.security.vw_secure_scores
WHERE subscriptionId = '{{ subscriptionId }}';