From 80409de09f9b6495f325f492f541071500fcd3a2 Mon Sep 17 00:00:00 2001 From: kerend Date: Tue, 2 Nov 2021 11:17:43 +0200 Subject: [PATCH] [Hub Generated] Review request for Microsoft.Security to add version preview/2021-07-01-preview (#16550) * . * . --- .../customAssessmentAutomation.json | 60 ++----------------- ...tomAssessmentAutomationCreate_example.json | 11 ++-- ...customAssessmentAutomationGet_example.json | 3 +- ...AutomationListByResourceGroup_example.json | 6 +- ...tAutomationListBySubscription_example.json | 6 +- 5 files changed, 15 insertions(+), 71 deletions(-) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json index 979a6048845c..54d71c5a4386 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/customAssessmentAutomation.json @@ -343,33 +343,9 @@ }, "x-ms-client-default": "Low" }, - "userImpact": { - "description": "The user impact to relate to the assessments generated by this assessment automation.", - "type": "string", - "enum": [ - "High", - "Moderate", - "Low" - ], - "x-ms-enum": { - "name": "userImpactEnum", - "modelAsString": true - }, - "x-ms-client-default": "Low" - }, - "implementationEffort": { - "description": "The implementation effort to relate to the assessments generated by this assessment automation.", - "type": "string", - "enum": [ - "High", - "Moderate", - "Low" - ], - "x-ms-enum": { - "name": "implementationEffortEnum", - "modelAsString": true - }, - "x-ms-client-default": "Low" + "displayName": { + "description": "The display name of the assessments generated by this assessment automation.", + "type": "string" }, "description": { "description": "The description to relate to the assessments generated by this assessment automation.", @@ -419,33 +395,9 @@ }, "x-ms-client-default": "Low" }, - "userImpact": { - "description": "The user impact to relate to the assessments generated by this assessment automation.", - "type": "string", - "enum": [ - "High", - "Moderate", - "Low" - ], - "x-ms-enum": { - "name": "userImpactEnum", - "modelAsString": true - }, - "x-ms-client-default": "Low" - }, - "implementationEffort": { - "description": "The implementation effort to relate to the assessments generated by this assessment automation.", - "type": "string", - "enum": [ - "High", - "Moderate", - "Low" - ], - "x-ms-enum": { - "name": "implementationEffortEnum", - "modelAsString": true - }, - "x-ms-client-default": "Low" + "displayName": { + "description": "The display name of the assessments generated by this assessment automation.", + "type": "string" }, "description": { "description": "The description to relate to the assessments generated by this assessment automation.", diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json index eb9f5dd87657..322b0df8d380 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json @@ -6,11 +6,10 @@ "customAssessmentAutomationName": "MyCustomAssessmentAutomation", "customAssessmentAutomationBody": { "properties": { - "compressedQuery": "H4sIAAAAAAAAAwtILC4uzy9KCcjPyUyu5OWqUShJzE5VMAQAlMJzABgAAAA=", + "compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=", "supportedCloud": "AWS", "severity": "Medium", - "userImpact": "Moderate", - "implementationEffort": "High", + "displayName": "Password Policy", "description": "Data should be encrypted", "remediationDescription": "Encrypt store by..." } @@ -34,8 +33,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=", "supportedCloud": "AWS", "severity": "Medium", - "userImpact": "Moderate", - "implementationEffort": "High", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb" @@ -59,8 +57,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA", "supportedCloud": "AWS", "severity": "Medium", - "userImpact": "Moderate", - "implementationEffort": "High", + "displayName": "Customized Encryption Rules", "description": "Data should be encrypted", "remediationDescription": "Encrypt store by...", "assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json index 2e88c71e335c..189b4c7b96ae 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json @@ -23,8 +23,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=", "supportedCloud": "AWS", "severity": "Low", - "userImpact": "Low", - "implementationEffort": "Low", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json index 55eb700b0c0e..89aed1afb5df 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json @@ -24,8 +24,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=", "supportedCloud": "AWS", "severity": "Medium", - "userImpact": "Moderate", - "implementationEffort": "High", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb" @@ -47,8 +46,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA", "supportedCloud": "AWS", "severity": "Low", - "userImpact": "Low", - "implementationEffort": "Low", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56" diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json index c42826394b7c..d0e70788c1e5 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json @@ -23,8 +23,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8ARwByAG8AdQBwAA0ACgB8ACAAZQB4AHQAZQBuAGQAIABIAGUAYQBsAHQAaABTAHQAYQB0AHUAcwAgAD0AIABpAGYAZgAoAHQAbwBzAHQAcgBpAG4AZwAoAFIAZQBjAG8AcgBkAC4AVQBzAGUAcgBOAGEAbQBlACkAIABjAG8AbgB0AGEAaQBuAHMAIAAnAHUAcwBlAHIAJwAsACAAJwBVAE4ASABFAEEATABUAEgAWQAnACwAIAAnAEgARQBBAEwAVABIAFkAJwApAA0ACgA=", "supportedCloud": "AWS", "severity": "Medium", - "userImpact": "Moderate", - "implementationEffort": "High", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "d5f442f7-7e77-4bcf-a450-a9c1b9a94eeb" @@ -46,8 +45,7 @@ "compressedQuery": "DQAKAEkAYQBtAF8AUABhAHMAcwB3AG8AcgBkAFAAbwBsAGkAYwB5ACAADQAKAHwAIABlAHgAdABlAG4AZAAgAEgAZQBhAGwAdABoAFMAdABhAHQAdQBzACAAPQAgAGkAZgBmACgAdABvAGkAbgB0ACgAUgBlAGMAbwByAGQALgBNAGkAbgBpAG0AdQBtAFAAYQBzAHMAdwBvAHIAZABMAGUAbgBnAHQAaAApACAAPAAgADgALAAgACcAVQBOAEgARQBBAEwAVABIAFkAJwAsACAAJwBIAEUAQQBMAFQASABZACcAKQANAAoA", "supportedCloud": "AWS", "severity": "Low", - "userImpact": "Low", - "implementationEffort": "Low", + "displayName": "Password Policy", "description": "organization passwords policy", "remediationDescription": "Change password policy to...", "assessmentKey": "fc1dbcd0-502c-4eab-9312-4014cfc8ea56"