secure_score_control_definitions
Creates, updates, deletes, gets or lists a secure_score_control_definitions resource.
Overview
| Name | secure_score_control_definitions |
| Type | Resource |
| Id | azure.security.secure_score_control_definitions |
Fields
The following fields are returned by SELECT queries:
- list_by_subscription
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
assessmentDefinitions | array | Array of assessments metadata IDs that are included in this security control. |
description | string | User friendly description of the control. |
displayName | string | User friendly display name of the control. |
maxScore | integer | Maximum control score (0..10). |
source | object | Source object from which the control was created. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
assessmentDefinitions | array | Array of assessments metadata IDs that are included in this security control. |
description | string | User friendly description of the control. |
displayName | string | User friendly display name of the control. |
maxScore | integer | Maximum control score (0..10). |
source | object | Source object from which the control was created. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_subscription | select | subscription_id | For a specified subscription, list the available security controls, their assessments, and the max score. | |
list | select | List the available security controls, their assessments, and the max score. |
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.
| Name | Datatype | Description |
|---|---|---|
subscription_id | string |
SELECT examples
- list_by_subscription
- list
For a specified subscription, list the available security controls, their assessments, and the max score.
SELECT
id,
name,
assessmentDefinitions,
description,
displayName,
maxScore,
source,
systemData,
type
FROM azure.security.secure_score_control_definitions
WHERE subscription_id = '{{ subscription_id }}' -- required
;
List the available security controls, their assessments, and the max score.
SELECT
id,
name,
assessmentDefinitions,
description,
displayName,
maxScore,
source,
systemData,
type
FROM azure.security.secure_score_control_definitions
;