From bfea5271190af091930641396e5b771037fb35dd Mon Sep 17 00:00:00 2001 From: Or Avital Date: Sun, 30 Jan 2022 13:07:07 +0200 Subject: [PATCH] Adding supported clouds param --- .../Standards/GetStandard_example.json | 3 +++ .../ListBySubscriptionStandards_example.json | 3 +++ .../Standards/ListStandards_example.json | 3 +++ .../Standards/PutStandard_example.json | 9 +++++++++ .../preview/2021-08-01-preview/standards.json | 19 +++++++++++++++++++ 5 files changed, 37 insertions(+) diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/GetStandard_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/GetStandard_example.json index b21f0cff101e..6c65ccb156ee 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/GetStandard_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/GetStandard_example.json @@ -25,6 +25,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] }, "systemData": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListBySubscriptionStandards_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListBySubscriptionStandards_example.json index ab68d16db797..322d3404664c 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListBySubscriptionStandards_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListBySubscriptionStandards_example.json @@ -54,6 +54,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] }, "systemData": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListStandards_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListStandards_example.json index 333264a9acdd..488dd52e9e03 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListStandards_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListStandards_example.json @@ -26,6 +26,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] }, "systemData": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/PutStandard_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/PutStandard_example.json index f5f1c7edb385..8ff091e9ec8a 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/PutStandard_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/PutStandard_example.json @@ -16,6 +16,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] } } @@ -40,6 +43,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] }, "systemData": { @@ -71,6 +77,9 @@ { "key": "dbd0cb49-b563-45e7-9724-889e799fa648" } + ], + "supportedClouds": [ + "GCP" ] }, "systemData": { diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/standards.json b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/standards.json index 4c4a5203cba0..e7c045869a9e 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/standards.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/standards.json @@ -316,6 +316,13 @@ "items": { "$ref": "#/definitions/StandardComponentProperties" } + }, + "supportedClouds": { + "description": "List of all standard supported clouds.", + "type": "array", + "items": { + "$ref": "#/definitions/StandardSupportedClouds" + } } } }, @@ -328,6 +335,18 @@ "type": "string" } } + }, + "StandardSupportedClouds": { + "type": "string", + "description": "The cloud that the standard is supported on.", + "enum": [ + "AWS", + "GCP" + ], + "x-ms-enum": { + "name": "StandardSupportedClouds", + "modelAsString": false + } } }, "parameters": {