settings
Creates, updates, deletes, gets or lists a settings resource.
Overview
| Name | settings |
| Type | Resource |
| Id | azure.security.settings |
Fields
The following fields are returned by SELECT queries:
- get
- 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. |
kind | string | the kind of the settings string. Required. Known values are: "DataExportSettings", "AlertSuppressionSetting", and "AlertSyncSettings". |
properties | object | The resource-specific properties for this resource. |
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. |
kind | string | the kind of the settings string. Required. Known values are: "DataExportSettings", "AlertSuppressionSetting", and "AlertSyncSettings". |
properties | object | The resource-specific properties for this resource. |
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 |
|---|---|---|---|---|
get | select | setting_name, subscription_id | Settings of different configurations in Microsoft Defender for Cloud. | |
list | select | subscription_id | Settings about different configurations in Microsoft Defender for Cloud. | |
update | update | setting_name, subscription_id, kind | updating settings about different configurations in Microsoft Defender for Cloud. |
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 |
|---|---|---|
setting_name | string | The name of the setting. Known values are: "MCAS", "WDATP", "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW", "WDATP_UNIFIED_SOLUTION", "Sentinel", and "current". Required. |
subscription_id | string |
SELECT examples
- get
- list
Settings of different configurations in Microsoft Defender for Cloud.
SELECT
id,
name,
kind,
properties,
systemData,
type
FROM azure.security.settings
WHERE setting_name = '{{ setting_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Settings about different configurations in Microsoft Defender for Cloud.
SELECT
id,
name,
kind,
properties,
systemData,
type
FROM azure.security.settings
WHERE subscription_id = '{{ subscription_id }}' -- required
;
UPDATE examples
- update
updating settings about different configurations in Microsoft Defender for Cloud.
UPDATE azure.security.settings
SET
properties = '{{ properties }}',
kind = '{{ kind }}'
WHERE
setting_name = '{{ setting_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND kind = '{{ kind }}' --required
RETURNING
id,
name,
kind,
properties,
systemData,
type;