From 787eb2aad7845025baa4afea3417213a31428d99 Mon Sep 17 00:00:00 2001 From: erelh Date: Wed, 18 Sep 2019 09:42:54 +0300 Subject: [PATCH 1/8] add ProtectionMode to GroupData (missing examples) --- .../applicationWhitelistings.json | 18 ++++++++++++++++++ ...tApplicationWhitelistingsGroup_example.json | 5 +++++ 2 files changed, 23 insertions(+) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index 199df611c216..d909ee4771a8 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -211,6 +211,9 @@ "enforcementMode": { "$ref": "#/definitions/EnforcementMode" }, + "protectionMode": { + "$ref": "#/definitions/ProtectionMode" + }, "configurationStatus": { "$ref": "#/definitions/ConfigurationStatus" }, @@ -236,12 +239,21 @@ "description": "The altered data of the recommended VM/server group policy", "properties": { "enforcementMode": { + "description": "The enforcement mode of the group. Can also be defined per collection type by using ProtectionMode", + "required": false, "$ref": "#/definitions/EnforcementMode" }, + "protectionMode": { + "description": "The protection mode of the group per collection type. Can also be defined for all collection types by using EnforcementMode", + "required:" false, + "$ref": "#/definitions/ProtectionMode" + }, "vmRecommendations": { + "required": true, "$ref": "#/definitions/VmRecommendations" }, "pathRecommendations": { + "required": true, "$ref": "#/definitions/PathRecommendations" } } @@ -265,6 +277,12 @@ "Enforce" ] }, + "ProtectionMode": { + "type": "object", + "description": "The protection mode of the collection/file types", + "additionalProperties": + "$ref": "#/definitions/EnforcementMode" + }, "RecommendationStatus": { "type": "string", "description": "The recommendation status of the VM/server group or VM/server", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json index 39af7849aa4e..91a8051add52 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json @@ -15,6 +15,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "Audit", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", From 81325fdb0c69ad62ca53ced76750a7bcecb036f2 Mon Sep 17 00:00:00 2001 From: erelh Date: Wed, 18 Sep 2019 09:55:03 +0300 Subject: [PATCH 2/8] add protection mode examples --- ...ApplicationWhitelistingsGroup_example.json | 10 +- ...tionWhitelistingsSubscription_example.json | 180 ++---------------- .../PutApplicationWhitelistings_example.json | 10 + 3 files changed, 33 insertions(+), 167 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json index 91a8051add52..d6e1f0daa696 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json @@ -15,11 +15,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", - "protectionMode": { - "Exe": "Audit", - "Msi": "Audit", - "Script": "None" - }, + "protectionMode": { + "Exe": "Audit", + "Msi": "Audit", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json index aafa6fbedeb7..a9a14768a97e 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json @@ -17,6 +17,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "Audit", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", @@ -124,6 +129,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "None", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", @@ -169,6 +179,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "None", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", @@ -313,123 +328,6 @@ "sourceSystem": "Azure_AppLocker" } }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/centralus/applicationWhitelistings/GROUP2-RE", - "name": "GROUP2-RE", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "centralus", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/matanjittest/providers/microsoft.compute/virtualmachines/matansourcejit", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-dsc/providers/microsoft.compute/virtualmachines/erelh-14010", - "recommendationAction": "Recommended" - }, - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16091", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - }, - { - "path": "C:\\bla.exe", - "type": "File", - "common": true, - "action": "Add", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/BENJITGROUP13", - "name": "BENJITGROUP13", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "westeurope", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test3", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } - }, { "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP1", "name": "GROUP1", @@ -438,6 +336,9 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Executable": "Audit" + }, "vmRecommendations": [ { "configurationStatus": "Configured", @@ -1110,51 +1011,6 @@ ], "sourceSystem": "Azure_AuditD" } - }, - { - "id": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/providers/Microsoft.Security/locations/westeurope/applicationWhitelistings/GROUP2", - "name": "GROUP2", - "type": "Microsoft.Security/applicationWhitelistings", - "location": "westeurope", - "properties": { - "recommendationStatus": "Recommended", - "enforcementMode": "Audit", - "vmRecommendations": [ - { - "configurationStatus": "Configured", - "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/bengr-jit-test/providers/microsoft.compute/virtualmachines/bengr-jit-test1", - "recommendationAction": "Recommended" - } - ], - "pathRecommendations": [ - { - "path": "[Exe] O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\\*\\*\\0.0.0.0", - "type": "PublisherSignature", - "publisherInfo": { - "publisherName": "O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US", - "productName": "*", - "binaryName": "*", - "version": "0.0.0.0" - }, - "common": true, - "action": "Recommended", - "usernames": [ - { - "username": "Everyone", - "recommendationAction": "Recommended" - } - ], - "userSids": [ - "S-1-1-0" - ], - "fileType": "Exe", - "configurationStatus": "Configured" - } - ], - "configurationStatus": "Configured", - "issues": [], - "sourceSystem": "Azure_AppLocker" - } } ] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json index cc31d592b394..7e14b8b77804 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json @@ -10,6 +10,11 @@ "name": "ERELGROUP1", "properties": { "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "None", + "Script": "None" + }, "vmRecommendations": [ { "configurationStatus": "Configured", @@ -112,6 +117,11 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", + "protectionMode": { + "Exe": "Audit", + "Msi": "None", + "Script": "None" + }, "vmRecommendations": [ { "resourceId": "/subscriptions/3eeab341-f466-499c-a8be-85427e154baf/resourcegroups/erelh-stable/providers/microsoft.compute/virtualmachines/erelh-16090", From bf8dfb3c7f2eab1f7e94efa55f3e70086ea5bbb0 Mon Sep 17 00:00:00 2001 From: erelh Date: Wed, 18 Sep 2019 10:05:54 +0300 Subject: [PATCH 3/8] removing the required fields --- .../preview/2015-06-01-preview/applicationWhitelistings.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index d909ee4771a8..3d5b6723a3db 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -240,20 +240,16 @@ "properties": { "enforcementMode": { "description": "The enforcement mode of the group. Can also be defined per collection type by using ProtectionMode", - "required": false, "$ref": "#/definitions/EnforcementMode" }, "protectionMode": { "description": "The protection mode of the group per collection type. Can also be defined for all collection types by using EnforcementMode", - "required:" false, "$ref": "#/definitions/ProtectionMode" }, "vmRecommendations": { - "required": true, "$ref": "#/definitions/VmRecommendations" }, "pathRecommendations": { - "required": true, "$ref": "#/definitions/PathRecommendations" } } From 6b961a6c2cfb8d035d997c3a0cd9f5363261ba4a Mon Sep 17 00:00:00 2001 From: erelh Date: Wed, 18 Sep 2019 10:17:02 +0300 Subject: [PATCH 4/8] changing the additionalProperties to be of type string --- .../preview/2015-06-01-preview/applicationWhitelistings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index 3d5b6723a3db..855868fb14f5 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -276,8 +276,8 @@ "ProtectionMode": { "type": "object", "description": "The protection mode of the collection/file types", - "additionalProperties": - "$ref": "#/definitions/EnforcementMode" + "additionalProperties": { + "type": "string" }, "RecommendationStatus": { "type": "string", From 7d1509da39e3dd49747ea6dba919560dff0bdcbc Mon Sep 17 00:00:00 2001 From: erelh Date: Wed, 18 Sep 2019 10:58:07 +0300 Subject: [PATCH 5/8] fix missing } --- .../preview/2015-06-01-preview/applicationWhitelistings.json | 3 ++- .../GetApplicationWhitelistingsSubscription_example.json | 4 ++-- .../PutApplicationWhitelistings_example.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index 855868fb14f5..6f66cbf0b57f 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -212,7 +212,7 @@ "$ref": "#/definitions/EnforcementMode" }, "protectionMode": { - "$ref": "#/definitions/ProtectionMode" + "$ref": "#/definitions/ProtectionMode" }, "configurationStatus": { "$ref": "#/definitions/ConfigurationStatus" @@ -278,6 +278,7 @@ "description": "The protection mode of the collection/file types", "additionalProperties": { "type": "string" + } }, "RecommendationStatus": { "type": "string", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json index a9a14768a97e..84de6b9c6774 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json @@ -179,7 +179,7 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", - "protectionMode": { + "protectionMode": { "Exe": "Audit", "Msi": "None", "Script": "None" @@ -336,7 +336,7 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", - "protectionMode": { + "protectionMode": { "Executable": "Audit" }, "vmRecommendations": [ diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json index 7e14b8b77804..54a2a083e0d9 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json @@ -117,7 +117,7 @@ "properties": { "recommendationStatus": "Recommended", "enforcementMode": "Audit", - "protectionMode": { + "protectionMode": { "Exe": "Audit", "Msi": "None", "Script": "None" From 97b167628eb4b3d4766f863302c4e0d81b12ee83 Mon Sep 17 00:00:00 2001 From: erelh Date: Fri, 20 Sep 2019 09:03:54 +0300 Subject: [PATCH 6/8] change the ProtectionMode object --- .../applicationWhitelistings.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index 6f66cbf0b57f..a915abef7fd3 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -275,9 +275,20 @@ }, "ProtectionMode": { "type": "object", - "description": "The protection mode of the collection/file types", - "additionalProperties": { - "type": "string" + "description": "The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.", + "properties": { + "Exe": { + "$ref": "#/definitions/EnforcementMode" + }, + "Msi": { + "$ref": "#/definitions/EnforcementMode" + }, + "Script": { + "$ref": "#/definitions/EnforcementMode" + }, + "Executable": { + "$ref": "#/definitions/EnforcementMode" + } } }, "RecommendationStatus": { From a89fd1dbe6506be202e9272e4720506457ee577c Mon Sep 17 00:00:00 2001 From: erelh Date: Fri, 20 Sep 2019 09:11:52 +0300 Subject: [PATCH 7/8] add None to enforcement mode --- .../preview/2015-06-01-preview/applicationWhitelistings.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index a915abef7fd3..e2b12d717609 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -267,10 +267,11 @@ }, "EnforcementMode": { "type": "string", - "description": "The application control policy enforcement mode of the VM/server group", + "description": "The application control policy enforcement/protection mode of the VM/server group", "enum": [ "Audit", - "Enforce" + "Enforce", + "None" ] }, "ProtectionMode": { From 16c7d5f2a872e3b7cc01c7dd8af608a586776fe9 Mon Sep 17 00:00:00 2001 From: erelh Date: Sun, 22 Sep 2019 09:49:52 +0300 Subject: [PATCH 8/8] lowercase the collection types --- .../applicationWhitelistings.json | 8 ++++---- ...ApplicationWhitelistingsGroup_example.json | 6 +++--- ...tionWhitelistingsSubscription_example.json | 20 +++++++++---------- .../PutApplicationWhitelistings_example.json | 12 +++++------ 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json index e2b12d717609..aff771ab41ff 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json @@ -278,16 +278,16 @@ "type": "object", "description": "The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.", "properties": { - "Exe": { + "exe": { "$ref": "#/definitions/EnforcementMode" }, - "Msi": { + "msi": { "$ref": "#/definitions/EnforcementMode" }, - "Script": { + "script": { "$ref": "#/definitions/EnforcementMode" }, - "Executable": { + "executable": { "$ref": "#/definitions/EnforcementMode" } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json index d6e1f0daa696..2139161dea73 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsGroup_example.json @@ -16,9 +16,9 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "Audit", - "Script": "None" + "exe": "Audit", + "msi": "Audit", + "script": "None" }, "vmRecommendations": [ { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json index 84de6b9c6774..2434125dbc69 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/GetApplicationWhitelistingsSubscription_example.json @@ -18,9 +18,9 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "Audit", - "Script": "None" + "exe": "Audit", + "msi": "Audit", + "script": "None" }, "vmRecommendations": [ { @@ -130,9 +130,9 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "None", - "Script": "None" + "exe": "Audit", + "msi": "None", + "script": "None" }, "vmRecommendations": [ { @@ -180,9 +180,9 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "None", - "Script": "None" + "exe": "Audit", + "msi": "None", + "script": "None" }, "vmRecommendations": [ { @@ -337,7 +337,7 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Executable": "Audit" + "executable": "Audit" }, "vmRecommendations": [ { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json index 54a2a083e0d9..e9673ad953e8 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/ApplicationWhitelistings/PutApplicationWhitelistings_example.json @@ -11,9 +11,9 @@ "properties": { "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "None", - "Script": "None" + "exe": "Audit", + "msi": "None", + "script": "None" }, "vmRecommendations": [ { @@ -118,9 +118,9 @@ "recommendationStatus": "Recommended", "enforcementMode": "Audit", "protectionMode": { - "Exe": "Audit", - "Msi": "None", - "Script": "None" + "exe": "Audit", + "msi": "None", + "script": "None" }, "vmRecommendations": [ {