From c8e199e9886ad4e4f6088025486b87d7f5bbe597 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 29 Apr 2019 12:45:50 +0300 Subject: [PATCH 1/8] Added regultory compliance to package-composite-v3 --- specification/security/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 4fa9d76a500f..601f05061579 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -118,6 +118,7 @@ input-file: - Microsoft.Security/stable/2018-06-01/pricings.json - Microsoft.Security/stable/2019-01-01/alerts.json - Microsoft.Security/stable/2019-01-01/settings.json +- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json - Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json From 5b5b3ce322b228f26adda4110c78227ab3c45f62 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 29 Apr 2019 14:34:51 +0300 Subject: [PATCH 2/8] Added regultory compliance to package-composite-v3 --- specification/security/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 601f05061579..96da02c89fc8 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -118,7 +118,6 @@ input-file: - Microsoft.Security/stable/2018-06-01/pricings.json - Microsoft.Security/stable/2019-01-01/alerts.json - Microsoft.Security/stable/2019-01-01/settings.json -- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json - Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json - Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json - Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json @@ -133,6 +132,7 @@ input-file: - Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json - Microsoft.Security/preview/2017-08-01-preview/securityContacts.json - Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json +- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json # Needed when there is more than one input file override-info: From 222c35938d0eee7a8bfcbc3c8e59a4a4bf4d27b5 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 10:56:56 +0300 Subject: [PATCH 3/8] remove redundent resourceGroup scope --- .../2019-01-01-preview/regulatoryCompliance.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json index 4e35dba5fdde..5083ae80f577 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json @@ -26,7 +26,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards": { "get": { "x-ms-examples": { "Get all supported regulatory compliance standards details and state": { @@ -69,7 +69,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}": { "get": { "x-ms-examples": { "Get selected regulatory compliance standard details and state": { @@ -109,7 +109,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls": { "get": { "x-ms-examples": { "Get all regulatory compliance controls details and state for selected standard": { @@ -155,7 +155,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}": { "get": { "x-ms-examples": { "Get selected regulatory compliance control details and state": { @@ -198,7 +198,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments": { "get": { "x-ms-examples": { "Get all assessments mapped to selected regulatory compliance control": { @@ -247,7 +247,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}": { "get": { "x-ms-examples": { "Get selected regulatory compliance assessment details and state": { From 02ae45cc2520b0396866e8cc36a8f2bd905ffe7b Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 11:09:13 +0300 Subject: [PATCH 4/8] remove redundent resourceGroup scope --- .../regulatoryCompliance.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json index 5083ae80f577..18bf801876bb 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json @@ -42,9 +42,6 @@ }, { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" }, { "$ref": "../../../common/v1/types.json#/parameters/ODataFilter" @@ -86,9 +83,6 @@ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, { "$ref": "#/parameters/RegulatoryComplianceStandardName" } @@ -126,9 +120,6 @@ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, { "$ref": "#/parameters/RegulatoryComplianceStandardName" }, @@ -172,9 +163,6 @@ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, { "$ref": "#/parameters/RegulatoryComplianceStandardName" }, @@ -215,9 +203,6 @@ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, { "$ref": "#/parameters/RegulatoryComplianceStandardName" }, @@ -264,9 +249,6 @@ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" }, - { - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupName" - }, { "$ref": "#/parameters/RegulatoryComplianceStandardName" }, From 65d2ba41c011a15c250bdbcfc4d97516302c8781 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 11:17:16 +0300 Subject: [PATCH 5/8] remove redundent resourceGroup scope in examples --- .../getRegulatoryComplianceAssessmentList_example.json | 2 +- .../getRegulatoryComplianceAssessment_example.json | 2 +- .../getRegulatoryComplianceControlList_example.json | 2 +- .../getRegulatoryComplianceControl_example.json | 2 +- .../getRegulatoryComplianceStandardList_example.json | 2 +- .../getRegulatoryComplianceStandard_example.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json index c8b8c1708e43..da478cd64c18 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "regulatoryComplianceStandardName": "PCI-DSS-3.2", "regulatoryComplianceControlName": "1.1" }, diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json index 93b725c5b4c1..c05c9b38a1c3 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "regulatoryComplianceStandardName": "PCI-DSS-3.2", "regulatoryComplianceControlName": "1.1", "regulatoryComplianceAssessmentName": "968548cb-02b3-8cd2-11f8-0cf64ab1a347" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json index 6e9b54a5147a..876d46f3a124 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "regulatoryComplianceStandardName": "PCI-DSS-3.2" }, "responses": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json index c45483de043e..55df53b8af48 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "regulatoryComplianceStandardName": "PCI-DSS-3.2", "regulatoryComplianceControlName": "1.1" }, diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json index 9c97bb04e544..70fe086dc9c6 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23" + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23" }, "responses": { "200": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json index 462619d5bfd1..dd714f38f003 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2019-01-01", - "scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "regulatoryComplianceStandardName": "PCI-DSS-3.2" }, "responses": { From c7f40edfe91f44449cd9d0d75bb4c199eb57e5a6 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 11:40:19 +0300 Subject: [PATCH 6/8] remove redundent data in examples --- ...etRegulatoryComplianceAssessmentList_example.json | 9 +++------ .../getRegulatoryComplianceAssessment_example.json | 3 +-- .../getRegulatoryComplianceControlList_example.json | 12 +++--------- .../getRegulatoryComplianceControl_example.json | 3 +-- .../getRegulatoryComplianceStandardList_example.json | 8 ++++---- .../getRegulatoryComplianceStandard_example.json | 2 +- 6 files changed, 13 insertions(+), 24 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json index da478cd64c18..55b829b1d694 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json @@ -13,11 +13,10 @@ "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347", "type": "Microsoft.Security/regulatoryComplianceAssessment", "properties": { - "controlName": "1.1", "description": "Troubleshoot missing scan data on your machines", "assessmentType": "Assessment", "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347", - "state": "failed", + "state": "Failed", "passedResources": 7, "failedResources": 4, "skippedResources": 0 @@ -28,11 +27,10 @@ "name": "3bcd234d-c9c7-c2a2-89e0-c01f419c1a8a", "type": "Microsoft.Security/regulatoryComplianceAssessment", "properties": { - "controlName": "1.1", "description": "Resolve endpoint protection health issues on your machines", "assessmentType": "Assessment", "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/3bcd234d-c9c7-c2a2-89e0-c01f419c1a8a", - "state": "skipped", + "state": "Skipped", "passedResources": 0, "failedResources": 0, "skippedResources": 10 @@ -43,11 +41,10 @@ "name": "d1db3318-01ff-16de-29eb-28b344515626", "type": "Microsoft.Security/regulatoryComplianceAssessment", "properties": { - "controlName": "1.1", "description": "Install monitoring agent on your machines", "assessmentType": "Assessment", "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/d1db3318-01ff-16de-29eb-28b344515626", - "state": "passed", + "state": "Passed", "passedResources": 8, "failedResources": 0, "skippedResources": 0 diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json index c05c9b38a1c3..e340273c3c59 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -14,11 +14,10 @@ "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347", "type": "Microsoft.Security/regulatoryComplianceAssessment", "properties": { - "controlName": "1.1", "description": "Troubleshoot missing scan data on your machines", "assessmentType": "Assessment", "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347", - "state": "failed", + "state": "Failed", "passedResources": 7, "failedResources": 4, "skippedResources": 0 diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json index 876d46f3a124..30f6c74948a8 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json @@ -12,13 +12,11 @@ "name": "1.1", "type": "Microsoft.Security/regulatoryComplianceControl", "properties": { - "standardName": "PCI-DSS-3.2", "description": "Common Criteria Related to Organization and Management.", - "state": "failed", + "state": "Failed", "passedAssessments": 7, "failedAssessments": 4, "skippedAssessments": 0, - "unsupportedAssessments": 0 } }, { @@ -26,13 +24,11 @@ "name": "2", "type": "Microsoft.Security/regulatoryComplianceControl", "properties": { - "standardName": "PCI-DSS-3.2", "description": "Confidential information is protected during the system design, development, testing, implementation, and change processes in accordance with confidentiality commitments and requirements.", - "state": "skipped", + "state": "Skipped", "passedAssessments": 0, "failedAssessments": 0, "skippedAssessments": 10, - "unsupportedAssessments": 0 } }, { @@ -40,13 +36,11 @@ "name": "2.1", "type": "Microsoft.Security/regulatoryComplianceControl", "properties": { - "standardName": "PCI-DSS-3.2", "description": "Changes to confidentiality commitments and requirements are communicated to internal and external users, vendors, and other third parties whose products and services are included in the system.", - "state": "unsupported", + "state": "Unsupported", "passedAssessments": 0, "failedAssessments": 0, "skippedAssessments": 0, - "unsupportedAssessments": 0 } }] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json index 55df53b8af48..71c125d7521c 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -13,9 +13,8 @@ "name": "1.1", "type": "Microsoft.Security/regulatoryComplianceControl", "properties": { - "standardName": "PCI-DSS-3.2", "description": "Common Criteria Related to Organization and Management", - "state": "failed", + "state": "Failed", "passedAssessments": 7, "failedAssessments": 4, "skippedAssessments": 0, diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json index 70fe086dc9c6..42a64429cf99 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json @@ -11,7 +11,7 @@ "name": "PCI-DSS-3.2", "type": "Microsoft.Security/regulatoryComplianceStandard", "properties": { - "state": "failed", + "state": "Failed", "passedControls": 7, "failedControls": 4, "skippedControls": 0, @@ -23,7 +23,7 @@ "name": "ISO-27001", "type": "Microsoft.Security/regulatoryComplianceStandard", "properties": { - "state": "skipped", + "state": "Skipped", "passedControls": 0, "failedControls": 0, "skippedControls": 10, @@ -35,7 +35,7 @@ "name": "AZURE-CIS", "type": "Microsoft.Security/regulatoryComplianceStandard", "properties": { - "state": "unsupported", + "state": "Unsupported", "passedControls": 0, "failedControls": 0, "skippedControls": 0, @@ -47,7 +47,7 @@ "name": "SOC-TSP", "type": "Microsoft.Security/regulatoryComplianceStandard", "properties": { - "state": "passed", + "state": "Passed", "passedControls": 15, "failedControls": 0, "skippedControls": 0, diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json index dd714f38f003..6ef9d8adbe1a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -12,7 +12,7 @@ "name": "PCI-DSS-3.2", "type": "Microsoft.Security/regulatoryComplianceStandard", "properties": { - "state": "failed", + "state": "Failed", "passedControls": 7, "failedControls": 4, "skippedControls": 0, From 588fdf221311130b44da473b76f50bc363b1c406 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 11:50:42 +0300 Subject: [PATCH 7/8] remove redundent data in examples --- .../getRegulatoryComplianceControlList_example.json | 6 +++--- .../getRegulatoryComplianceControl_example.json | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json index 30f6c74948a8..7bbdbe4220ea 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json @@ -16,7 +16,7 @@ "state": "Failed", "passedAssessments": 7, "failedAssessments": 4, - "skippedAssessments": 0, + "skippedAssessments": 0 } }, { @@ -28,7 +28,7 @@ "state": "Skipped", "passedAssessments": 0, "failedAssessments": 0, - "skippedAssessments": 10, + "skippedAssessments": 10 } }, { @@ -40,7 +40,7 @@ "state": "Unsupported", "passedAssessments": 0, "failedAssessments": 0, - "skippedAssessments": 0, + "skippedAssessments": 0 } }] } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json index 71c125d7521c..dce8fe6af1ba 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -17,8 +17,7 @@ "state": "Failed", "passedAssessments": 7, "failedAssessments": 4, - "skippedAssessments": 0, - "unsupportedAssessments": 0 + "skippedAssessments": 0 } } } From 997d478267d7ad4aadf7ff44ebe07d075e9a6057 Mon Sep 17 00:00:00 2001 From: Hila Markovitch Date: Mon, 27 May 2019 12:00:52 +0300 Subject: [PATCH 8/8] remove redundent data in examples --- ...egulatoryComplianceAssessment_example.json | 24 +++++++++---------- ...etRegulatoryComplianceControl_example.json | 20 +++++++--------- ...tRegulatoryComplianceStandard_example.json | 20 +++++++--------- 3 files changed, 29 insertions(+), 35 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json index e340273c3c59..ad909db10220 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -9,19 +9,17 @@ "responses": { "200": { "body": { - "value": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347", - "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347", - "type": "Microsoft.Security/regulatoryComplianceAssessment", - "properties": { - "description": "Troubleshoot missing scan data on your machines", - "assessmentType": "Assessment", - "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347", - "state": "Failed", - "passedResources": 7, - "failedResources": 4, - "skippedResources": 0 - } + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347", + "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347", + "type": "Microsoft.Security/regulatoryComplianceAssessment", + "properties": { + "description": "Troubleshoot missing scan data on your machines", + "assessmentType": "Assessment", + "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347", + "state": "Failed", + "passedResources": 7, + "failedResources": 4, + "skippedResources": 0 } } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json index dce8fe6af1ba..7ca93cf79394 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -8,17 +8,15 @@ "responses": { "200": { "body": { - "value": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1", - "name": "1.1", - "type": "Microsoft.Security/regulatoryComplianceControl", - "properties": { - "description": "Common Criteria Related to Organization and Management", - "state": "Failed", - "passedAssessments": 7, - "failedAssessments": 4, - "skippedAssessments": 0 - } + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1", + "name": "1.1", + "type": "Microsoft.Security/regulatoryComplianceControl", + "properties": { + "description": "Common Criteria Related to Organization and Management", + "state": "Failed", + "passedAssessments": 7, + "failedAssessments": 4, + "skippedAssessments": 0 } } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json index 6ef9d8adbe1a..2003b2f03b86 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -7,17 +7,15 @@ "responses": { "200": { "body": { - "value": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2", - "name": "PCI-DSS-3.2", - "type": "Microsoft.Security/regulatoryComplianceStandard", - "properties": { - "state": "Failed", - "passedControls": 7, - "failedControls": 4, - "skippedControls": 0, - "unsupportedControls": 0 - } + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2", + "name": "PCI-DSS-3.2", + "type": "Microsoft.Security/regulatoryComplianceStandard", + "properties": { + "state": "Failed", + "passedControls": 7, + "failedControls": 4, + "skippedControls": 0, + "unsupportedControls": 0 } } }