diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json index efbb5a165e0d..c10845476167 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/defenderForStorageSettings.json @@ -165,6 +165,10 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/OnUploadProperties" }, + "scanResultsEventGridTopicResourceId": { + "type": "string", + "description": "Optional. Resource id of an Event Grid Topic to send scan results to." + }, "operationStatus": { "type": "object", "$ref": "#/definitions/OperationStatus", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json index 1f963d43149e..fed23dcf02cb 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json @@ -14,9 +14,10 @@ "isEnabled": true, "malwareScanning": { "onUpload": { - "isEnabled": false, + "isEnabled": true, "capGBPerMonth": -1 - } + }, + "scanResultsEventGridTopicResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic" }, "sensitiveDataDiscovery": { "isEnabled": false diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json index 8aa49929b77b..e214e5ed48e0 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json @@ -10,7 +10,8 @@ "onUpload": { "isEnabled": true, "capGBPerMonth": -1 - } + }, + "scanResultsEventGridTopicResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic" }, "sensitiveDataDiscovery": { "isEnabled": true @@ -32,6 +33,7 @@ "isEnabled": true, "capGBPerMonth": -1 }, + "scanResultsEventGridTopicResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic", "operationStatus": { "code": "Succeeded" }