diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/AzSdk.RP.props b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/AzSdk.RP.props
index a244123e64e6..98fdb6736861 100644
--- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/AzSdk.RP.props
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/AzSdk.RP.props
@@ -1,7 +1,7 @@
- Security_2015-06-01-preview;Security_2019-01-01;Security_2019-01-01-preview;Security_2017-08-01-preview;Security_2017-08-01;Security_2019-08-01;Security_2018-06-01;Security_2020-01-01;
+ Security_2015-06-01-preview;Security_2019-01-01;Security_2019-01-01-preview;Security_2017-08-01-preview;Security_2017-08-01;Security_2019-08-01;Security_2018-06-01;Security_2020-01-01-preview;Security_2020-01-01;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj
index df9e91e0b8a1..956de418ecd9 100644
--- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj
@@ -6,10 +6,10 @@
Microsoft.Azure.Management.SecurityCenter
Provides developers with libraries for the updated Azure Security Center platform under Azure Resource manager to view and manage security posture in and outside Azure.
- 2.1.1
+ 2.2.0
Microsoft.Azure.Management.SecurityCenter
management;security center;security;IoT security;
- Updated SDK client. General bugfixes
+ Updated SDK client. Added Secure score
$(SdkTargetFx)
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs
index e384e01da379..ea870d396b99 100644
--- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs
@@ -7,8 +7,8 @@
[assembly: AssemblyTitle("Microsoft Azure Security Center Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Security Center Resources.")]
-[assembly: AssemblyVersion("2.1.1.0")]
-[assembly: AssemblyFileVersion("2.1.1.0")]
+[assembly: AssemblyVersion("2.2.0.0")]
+[assembly: AssemblyFileVersion("2.2.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/Alerts/SecurityAlertsTests.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/Alerts/SecurityAlertsTests.cs
index 4a5f1bf448de..58edcf43cd52 100644
--- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/Alerts/SecurityAlertsTests.cs
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/Alerts/SecurityAlertsTests.cs
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
+using System.IO;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
@@ -37,11 +38,20 @@ private static SecurityCenterClient GetSecurityCenterClient(MockContext context)
? context.GetServiceClient(TestEnvironment, handlers: handler)
: context.GetServiceClient(handlers: handler);
- securityCenterClient.AscLocation = "centralus";
+ securityCenterClient.AscLocation = "westeurope";
return securityCenterClient;
}
+ private static SecurityCenterClient GetSecurityCenterClientWithLocation(MockContext context, string location)
+ {
+ var client = GetSecurityCenterClient(context);
+
+ client.AscLocation = location;
+
+ return client;
+ }
+
#endregion
#region Alerts
@@ -64,16 +74,16 @@ public async Task SecurityAlerts_GetResourceGroupLevelAlerts()
{
var securityCenterClient = GetSecurityCenterClient(context);
- securityCenterClient.AscLocation = "centralus"; // Alert is in central us
-
var alerts = await securityCenterClient.Alerts.ListAsync();
ValidateAlerts(alerts);
-
+
var firstAlert = alerts.First();
+ var alertLocation = GetAlertLocation(firstAlert.Id);
+ var clientWithLocation = GetSecurityCenterClientWithLocation(context, alertLocation);
var alertName = firstAlert.Name;
var resourceGroupName = Regex.Match(firstAlert.Id, @"(?<=resourceGroups/)[^/]+?(?=/)").Value;
- var foundAlert = await securityCenterClient.Alerts.GetResourceGroupLevelAlertsAsync(alertName, resourceGroupName);
+ var foundAlert = await clientWithLocation.Alerts.GetResourceGroupLevelAlertsAsync(alertName, resourceGroupName);
ValidateAlert(foundAlert);
}
}
@@ -88,12 +98,20 @@ public async Task SecurityAlerts_GetSubscriptionLevelAlert()
var alerts = await securityCenterClient.Alerts.ListAsync();
ValidateAlerts(alerts);
- var alert = await securityCenterClient.Alerts.GetSubscriptionLevelAlertAsync(alerts.First().Name);
+ var firstAlert = alerts.First();
+ var alertLocation = GetAlertLocation(firstAlert.Id);
+ var clientWithLocation = GetSecurityCenterClientWithLocation(context, alertLocation);
+ var alert = clientWithLocation.Alerts.GetSubscriptionLevelAlert(firstAlert.Name);
ValidateAlert(alert);
}
}
+ private string GetAlertLocation(string id)
+ {
+ return Regex.Match(id, @"(?<=locations/)[^/]+?(?=/)").Value;
+ }
+
[Fact]
public async Task SecurityAlerts_ListByResourceGroup()
{
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlDefinitionsTests.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlDefinitionsTests.cs
new file mode 100644
index 000000000000..e2bfb9396bf5
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlDefinitionsTests.cs
@@ -0,0 +1,86 @@
+using Microsoft.Azure.Management.Security;
+using Microsoft.Azure.Management.Security.Models;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.Rest.Azure;
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using SecurityCenter.Tests.Helpers;
+using System.Net;
+using Xunit;
+
+namespace Microsoft.Azure.Management.SecurityCenter.Tests.SecureScores
+{
+ public class SecureScoreControlDefinitionsTests : TestBase
+ {
+ #region Test setup
+ private static readonly string AscLocation = "centralus";
+ private static TestEnvironment TestEnvironment { get; set; }
+ #endregion
+
+ private static SecurityCenterClient GetSecurityCenterClient(MockContext context)
+ {
+ if (TestEnvironment == null && HttpMockServer.Mode == HttpRecorderMode.Record)
+ {
+ TestEnvironment = TestEnvironmentFactory.GetTestEnvironment();
+ }
+
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK, IsPassThrough = true };
+
+ var securityCenterClient = HttpMockServer.Mode == HttpRecorderMode.Record
+ ? context.GetServiceClient(TestEnvironment, handlers: handler)
+ : context.GetServiceClient(handlers: handler);
+
+ securityCenterClient.AscLocation = AscLocation;
+
+ return securityCenterClient;
+ }
+
+ #region Tests
+ [Fact]
+ public void SecureScoreControlDefinitions_ListAll()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ Assert.Throws(() => securityCenterClient.SecureScoreControlDefinitions.List());
+ }
+ }
+
+ [Fact]
+ public void SecureScoreControlDefinitions_ListBySubscription()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScoreControlDefinitions.ListBySubscription();
+ ValidateSecureScoreControlDefinitionsList(ret);
+ }
+ }
+
+ #endregion
+
+ #region Validations
+ private static void ValidateSecureScoreControlDefinitionsList(IPage ret)
+ {
+ Assert.True(ret.IsAny(), "Got empty list");
+ foreach (var item in ret)
+ {
+ ValidateSecureScoreControlItem(item);
+ }
+ }
+
+ private static void ValidateSecureScoreControlItem(SecureScoreControlDefinitionItem item)
+ {
+ Assert.NotNull(item);
+ Assert.NotNull(item.DisplayName);
+ Assert.NotNull(item.Id);
+ Assert.NotNull(item.Type);
+ Assert.NotNull(item.AssessmentDefinitions);
+ Assert.NotNull(item.MaxScore);
+ Assert.NotNull(item.Name);
+ Assert.NotNull(item.Source);
+ Assert.Equal("Microsoft.Security/secureScoreControlDefinitions", item.Type);
+ Assert.NotEmpty(item.AssessmentDefinitions);
+ }
+ #endregion
+ }
+}
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlTests.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlTests.cs
new file mode 100644
index 000000000000..5e07e292d2f0
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreControlTests.cs
@@ -0,0 +1,112 @@
+using Microsoft.Azure.Management.Security;
+using Microsoft.Azure.Management.Security.Models;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.Rest.Azure;
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using SecurityCenter.Tests.Helpers;
+using System.Net;
+using Xunit;
+
+namespace Microsoft.Azure.Management.SecurityCenter.Tests.SecureScores
+{
+ public class SecureScoreControlTests : TestBase
+ {
+ #region Test setup
+ private static readonly string AscLocation = "centralus";
+ private static TestEnvironment TestEnvironment { get; set; }
+ #endregion
+
+ private static SecurityCenterClient GetSecurityCenterClient(MockContext context)
+ {
+ if (TestEnvironment == null && HttpMockServer.Mode == HttpRecorderMode.Record)
+ {
+ TestEnvironment = TestEnvironmentFactory.GetTestEnvironment();
+ }
+
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK, IsPassThrough = true };
+
+ var securityCenterClient = HttpMockServer.Mode == HttpRecorderMode.Record
+ ? context.GetServiceClient(TestEnvironment, handlers: handler)
+ : context.GetServiceClient(handlers: handler);
+
+ securityCenterClient.AscLocation = AscLocation;
+
+ return securityCenterClient;
+ }
+
+ #region Tests
+ [Fact]
+ public void SecureScoreControls_ListAll()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScoreControls.List(expand: "definitions");
+ ValidateSecureScoreControlsList(ret, false);
+ }
+ }
+
+ [Fact]
+ public void SecureScoreControls_ListAllWithDefinitions()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScoreControls.List(expand: "definition");
+ ValidateSecureScoreControlsList(ret, true);
+ }
+ }
+
+ [Fact]
+ public void SecureScores_Get()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScoreControls.ListBySecureScore("ascScore");
+ ValidateSecureScoreControlsList(ret, false);
+ }
+ }
+
+ [Fact]
+ public void SecureScores_Get_Unknown()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var a = securityCenterClient.SecureScoreControls.ListBySecureScore("unknown");
+ Assert.Empty(a);
+ }
+ }
+ #endregion
+
+ #region Validations
+ private static void ValidateSecureScoreControlsList(IPage ret, bool expectedMetadata)
+ {
+ Assert.True(ret.IsAny(), "Got empty list");
+ foreach (var item in ret)
+ {
+ ValidateSecureScoreControlItem(item, expectedMetadata);
+ }
+ }
+
+ private static void ValidateSecureScoreControlItem(SecureScoreControlDetails item, bool expectedMetadata)
+ {
+ Assert.NotNull(item);
+ Assert.NotNull(item.DisplayName);
+ Assert.NotNull(item.Id);
+ Assert.NotNull(item.Type);
+ Assert.NotNull(item.Current);
+ Assert.NotNull(item.Max);
+ Assert.NotNull(item.Weight);
+ Assert.NotNull(item.Percentage);
+ Assert.Equal(expectedMetadata, item.Definition != null);
+ Assert.True(item.Max >= 0);
+ Assert.Equal("Microsoft.Security/secureScores/secureScoreControls", item.Type);
+ Assert.True(item.Current >= 0.00 && item.Current <= item.Max);
+ Assert.True(item.Weight >= 0);
+ Assert.True(item.Percentage >= 0.00 && item.Percentage <= 1.00);
+ }
+ #endregion
+ }
+}
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreTests.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreTests.cs
new file mode 100644
index 000000000000..6d1cb293d08e
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SecureScores/SecureScoreTests.cs
@@ -0,0 +1,99 @@
+using Microsoft.Azure.Management.Security;
+using Microsoft.Azure.Management.Security.Models;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.Rest.Azure;
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using SecurityCenter.Tests.Helpers;
+using System.Net;
+using Xunit;
+
+namespace Microsoft.Azure.Management.SecurityCenter.Tests.SecureScores
+{
+ public class SecureScoreTests : TestBase
+ {
+ #region Test setup
+ private static readonly string AscLocation = "centralus";
+ private static TestEnvironment TestEnvironment { get; set; }
+ #endregion
+
+ private static SecurityCenterClient GetSecurityCenterClient(MockContext context)
+ {
+ if (TestEnvironment == null && HttpMockServer.Mode == HttpRecorderMode.Record)
+ {
+ TestEnvironment = TestEnvironmentFactory.GetTestEnvironment();
+ }
+
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK, IsPassThrough = true };
+
+ var securityCenterClient = HttpMockServer.Mode == HttpRecorderMode.Record
+ ? context.GetServiceClient(TestEnvironment, handlers: handler)
+ : context.GetServiceClient(handlers: handler);
+
+ securityCenterClient.AscLocation = AscLocation;
+
+ return securityCenterClient;
+ }
+
+ #region Tests
+ [Fact]
+ public void SecureScores_ListAll()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScores.List();
+ ValidateSecureScoreList(ret);
+ }
+ }
+
+ [Fact]
+ public void SecureScores_Get()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ var ret = securityCenterClient.SecureScores.Get("ascScore");
+ ValidateSecureScoreItem(ret);
+ }
+ }
+
+ [Fact]
+ public void SecureScores_Get_Unknown()
+ {
+ using (var context = MockContext.Start(GetType()))
+ {
+ var securityCenterClient = GetSecurityCenterClient(context);
+ Assert.Throws(()=> securityCenterClient.SecureScores.Get("unknown"));
+ }
+ }
+ #endregion
+
+ #region Validations
+ private static void ValidateSecureScoreList(IPage ret)
+ {
+ Assert.True(ret.IsAny(), "Got empty list");
+ foreach (var item in ret)
+ {
+ ValidateSecureScoreItem(item);
+ }
+ }
+
+ private static void ValidateSecureScoreItem(SecureScoreItem item)
+ {
+ Assert.NotNull(item);
+ Assert.NotNull(item.DisplayName);
+ Assert.NotNull(item.Id);
+ Assert.NotNull(item.Type);
+ Assert.NotNull(item.Current);
+ Assert.NotNull(item.Max);
+ Assert.NotNull(item.Weight);
+ Assert.NotNull(item.Percentage);
+ Assert.True(item.Max >= 0);
+ Assert.Equal("Microsoft.Security/secureScores", item.Type);
+ Assert.True(item.Current >= 0.00 && item.Current <= item.Max);
+ Assert.True(item.Weight >= 0);
+ Assert.True(item.Percentage >= 0.00 && item.Percentage <= 1.00);
+ }
+ #endregion
+ }
+}
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListAll.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListAll.json
new file mode 100644
index 000000000000..fd674472f2e6
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListAll.json
@@ -0,0 +1,69 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/providers/Microsoft.Security/secureScoreControlDefinitions?api-version=2020-01-01",
+ "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVDb250cm9sRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAyMC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5213794c-95de-4f17-a15d-fdc835f5d547"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:21:40 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "47cd45e7-9492-4cbf-beb7-192ea625467c"
+ ],
+ "x-ms-correlation-request-id": [
+ "47cd45e7-9492-4cbf-beb7-192ea625467c"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142141Z:47cd45e7-9492-4cbf-beb7-192ea625467c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "391"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AuthorizationFailed\",\r\n \"message\": \"The client '77fa80cc-7824-4bcb-bb3f-17ae8436c1b6' with object id '77fa80cc-7824-4bcb-bb3f-17ae8436c1b6' does not have authorization to perform action 'Microsoft.Security/secureScoreControlDefinitions/read' over scope '/providers/Microsoft.Security' or the scope is invalid. If access was recently granted, please refresh your credentials.\"\r\n }\r\n}",
+ "StatusCode": 403
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListBySubscription.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListBySubscription.json
new file mode 100644
index 000000000000..72788ab57bec
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlDefinitionsTests/SecureScoreControlDefinitions_ListBySubscription.json
@@ -0,0 +1,68 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScoreControlDefinitions?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVDb250cm9sRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAyMC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fe5a4852-87b1-4543-8c38-30db6dd47841"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:21:40 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "44fd3af8-955b-4b86-a88f-4c44e4c22226"
+ ],
+ "x-ms-correlation-request-id": [
+ "44fd3af8-955b-4b86-a88f-4c44e4c22226"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142140Z:44fd3af8-955b-4b86-a88f-4c44e4c22226"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "31050"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"name\": \"a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Protect applications against DDoS attacks\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e3de1cc0-f4dd-3b34-e496-8b5381ba2d70\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/405c9ae6-49f9-46c4-8873-a86690f27818\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"name\": \"34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable MFA\",\r\n \"maxScore\": 10,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/94290b00-4d0c-d7b4-7cea-064a9554e681\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/57e98606-6b1e-6193-0e3d-fe621387c16b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1f24d55a-df0f-4772-9090-4629c2d6bfff\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e3d9ac0-a248-4276-a437-304c6cd1443b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8d7a6128-c8f2-43df-b422-7877346f9ddb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4a946e22-47e8-443d-8761-b25620b4a1e1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/0e55495e-034f-4abc-8293-767229250176\",\r\n \"name\": \"0e55495e-034f-4abc-8293-767229250176\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Encrypt data in transit\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1b351b29-41ca-6df5-946c-c190a56be5fe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cb0acdc6-0846-fd48-debe-9905af151b6d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bf82a334-13b6-ca57-ea75-096fc2ffce50\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/35b25be2-d08a-e340-45ed-f08a95d804fc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1c5de8e1-f68d-6a17-e0d2-ec259c42768c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a3ebc80a-847b-46d5-a37d-8dca5e6947df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c28a89d9-7cf4-439b-a8c4-ad4e769f68ee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2acc27c6-5fdb-405e-9080-cb66b850c8f5\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"name\": \"f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Restrict unauthorized network access\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/483f12ed-ae23-447e-a2de-a67a10db4353\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3b20e985-f71f-483b-b078-f30d73936d43\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f9f0eed0-f143-47bf-b856-671ea2eeed62\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1a2b5b4c-f80d-46e7-ac81-b51a9fb363de\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c3b51c94-588b-426b-a892-24696f9e54cc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e40df93c-7a7c-1b0a-c787-9987ceb98e54\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7b3d4796-9400-2904-692b-4a5ede7f0a1e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/df4d1739-47f0-60c7-1706-3731fea6ab03\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1a36f14a-8bd8-45f5-abe5-eef88d76ab5b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/beb62be3-5e78-49bd-ac5f-099250ef3c7c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ba975338-f956-41e7-a9f2-7614832d382d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d5a8d84a-9ad0-42e2-80e0-d38e3d46028a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5a3d6cdd-8eb3-46d2-ba11-d24a0d47fe65\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d8326952-60bb-40fb-b33f-51e662708a88\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5f88450f-9546-4b78-a181-a2d9162bb441\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/add45209-73f6-4fa5-a5a5-74a451b07fbe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b3473ed6-78c0-40d5-b5f0-674e98924952\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9dd55566-33b9-4c07-a959-14794ce02355\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ad0b04b9-eaf9-49f8-b85e-724f9520e760\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ece6ec5d-a862-4e22-a8db-271661216018\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e40b679a-f44e-4366-87dd-7693e16a2128\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0bdcd23c-4ff2-4077-aa14-eb6950bfbdd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1f386f4e-449e-41e8-b829-a2fe01086ae1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2f6c8a5a-9407-467c-8082-0ad4ab915d77\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3b1713ec-feb3-4b32-b5b0-251acff0a84a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/049f1551-438b-444e-8904-a3c3afbcb43e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/684307e9-62a8-4f2a-887a-4b90de5e4b98\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0327f9da-f758-4d69-8903-55448b8cf70e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cc637123-c11e-40ee-adf8-93c0876481f4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ebc68898-5c0f-4353-a426-4a5f1e737b12\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f67fb4ed-d481-44d7-91e5-efadf504f74a\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"name\": \"76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Implement security best practices\",\r\n \"maxScore\": 0,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/151e82c5-5341-a74b-1eb0-bc38d2c84bb5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a8c6a4ad-d51e-88fe-2979-d3ee3c864f8b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6f90a6d6-d4d6-0794-0ec1-98fa77878c2e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9341235-9389-42f0-a0bf-9bfb57960d44\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45d313c3-3fca-5040-035f-d61928366d31\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0553104-cfdb-65e6-759c-002812e38500\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/47bb383c-8e25-95f0-c2aa-437add1d87d3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/12018f4f-3d10-999b-e4c4-86ec25be08a1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/eade5b56-eefd-444f-95c8-23f29e5d93cb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ebe970fe-9c27-4dd7-a165-1e943d565e10\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f7010359-8d21-4598-a9f2-c3e81a17141e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/24d8af06-d441-40b4-a49c-311421aa9f58\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3e93d3-0276-4d06-b20a-9a9f3012742c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9172da4e-9571-6e33-2b5b-d742847f3be7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/093c685b-56dd-13a3-8ed5-887a001837a2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/64b8637e-4e1d-76a9-0fc9-c1e487a97ed8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fe02b3b7-a722-d4d6-6731-6493776203a6\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/57f36d21-69e3-4b0f-a66c-18629d1b736d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6c99f570-2ce7-46bc-8175-cde013df43bc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22489c48-27d1-4e40-9420-4303ad9cffef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fc84abc0-eee6-4758-8372-a7681965ca44\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/726cde3e-02f8-4041-8935-727f2be19ba7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a2bb3a1b-4a09-4cf7-9e79-c438687e2c2f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/664c6a0b-5cd2-4140-aaff-a94241c07afd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3af5de46-fda8-4b6e-90f1-6565187d7c48\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9a59ebb-5d6f-42f5-92a1-036fd0fd1879\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f2f595ec-5dc6-68b4-82ef-b63563e9c610\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"name\": \"a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply adaptive application control\",\r\n \"maxScore\": 3,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/35f45c95-27cf-4e52-891f-8390d1de5828\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1234abcd-1b53-4fd4-9835-2c2fa3935313\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"name\": \"2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply data classification\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b0df6f56-862d-4730-8597-38c0fd4ebd59\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"name\": \"27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable auditing and logging\",\r\n \"maxScore\": 1,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/94208a8b-16e8-4e5b-abbd-4e81c9d02bee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c6dad669-efd7-cd72-61c5-289935607791\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/77785808-ce86-4e40-b45f-19110a547397\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/32771b45-220c-1a8b-584e-fdd5a2584a66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f11b27f2-8c49-5bb4-eff5-e1e5384bf95e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f19ab7d9-5ff2-f8fd-ab3b-0bf95dcb6889\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ad5bbaeb-7632-5edf-f1c2-752075831ce8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dea5192e-1bb3-101b-b70c-4646546f5e1e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1597605a-0faf-5860-eb74-462ae2e9fc21\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/91387f44-7e43-4ecc-55f0-46f5adee3dd5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/961eb649-3ea9-f8c2-6595-88e9a3aeedeb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/88bbc99c-e5af-ddd7-6105-6150b2bfa519\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22438e3c-73c8-40af-a083-10c980c63aa2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5720f1a6-6061-4768-9c0d-2000a6041744\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/30c69b23-a9a2-4729-aca6-f21adacfff66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9ac48d8-8dd7-42b9-9752-b1fa70ea5dd9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/00261067-76a8-4ebb-b5fc-becc81067bee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/83ca4867-58c1-45d6-b6b6-dbf226512891\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a269cbdb-86e8-431c-9ff2-f0ea491174d8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5ea59e47-093b-446f-9765-5b0ec4c9da61\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/011397ca-1366-4bcc-b85a-7a5e3df2e80b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c62371bc-f6a7-4915-b5b5-14288682cf79\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/293ba336-7312-42fc-a59d-836e4e678b17\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0b547a38-2c0d-47e1-b9a2-a59fccc140db\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7d0ad86f-f43b-4889-b2f7-09d91bd1407b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b20558b6-de31-480c-8aa0-e920d62b9764\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/022efc2d-5119-480b-a203-e151b6b2645c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3ee7608e-f0e7-4c26-8921-5ae46c4e99df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/33765629-073d-49eb-bab4-64bdf8ac90da\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9c054f50-823f-45ab-839e-9df4eb7c2f11\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f61e15f3-4bcf-4d2e-8f06-32237cabe0a0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cdb3af55-2abf-476b-aac7-5cfec366a4dd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc26b0d4-a1d7-4665-9d44-efc205ae73f0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3812e247-34f2-4f06-a312-89a8fe51fa37\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0f8405a-5ecc-4314-808e-083e030d6163\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c23e0eec-eee4-4632-b1c2-6c884c3c963b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7ce5a01f-e94b-438a-8b72-fa02c076f11a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/46e4e0ed-106d-405e-b1a9-ca34c8f7d31f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b1294b0d-9b2e-4e1b-9f67-77a75fb10a65\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0b86a67f-bde5-4c91-b10c-4102033b8692\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3d55e4b1-ecdb-4eaf-9e3f-b00a764182bd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"name\": \"8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable encryption at rest\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d57a4221-a804-52ca-3dea-768284f06bb7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/651967bf-044e-4bde-8376-3e08e0600105\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b12bc79e-4f12-44db-acda-571820191ddc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7f04fc0c-4a3d-5c7e-ce19-666cb871b510\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c01fab9f-bde1-4ba5-9d35-7de51f31c2d3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/23b514bd-2afc-4a3e-8d3d-f4327118eee9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3053474d-4fab-4603-8d18-2a6dfd09f782\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6be98232-0100-474a-b33d-ba9c1a747f70\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"name\": \"12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable endpoint protection\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/83f577bd-a1b6-b7e1-0891-12ca19d1e6df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4fb67663-9ab9-475d-b026-8c544cced439\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/383cf3bc-fdf9-4a02-120a-3e7e36c6bfee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3bcd234d-c9c7-c2a2-89e0-c01f419c1a8a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/37a3689a-818e-4a0e-82ac-b1392b9bb000\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e71020c2-860c-3235-cd39-04f3f8c936d2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"name\": \"61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply system updates\",\r\n \"maxScore\": 6,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4ab6e3c5-74dd-8b35-9ab9-f61b30875b27\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/071393f9-b2ef-4dc2-bd58-ef0b07ed12d2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c0f5316d-5ac5-9218-b77a-b96e16ccfd66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bd20bd91-aaf1-7f14-b6e4-866de2f43146\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8bc390da-9eb6-938d-25ed-44a35d9bcc9d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22e18b64-4576-41e6-8972-0eb28c9af0c8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"name\": \"2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Manage access and permissions\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c3b6ae71-f1f0-31b4-e6c1-d5951285d03d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/04e7147b-0deb-9796-2e5c-0336343ceb3d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e52064aa-6853-e252-a11e-dffc675689c2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/00c6d40b-e990-6acf-d4f3-471e747a27c4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2c79b4af-f830-b61e-92b9-63dfa30f16e4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b0fdc63a-38e7-4bab-a7c4-2c2665abbaa9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/03afeb6f-7634-adb3-0a01-803b0b9cb611\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9d07b7e6-2986-4964-a76c-b2689604e212\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5d90913f-a1c5-4429-ad54-2c6c17fb3c73\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/582c14e9-48c1-4b25-ab93-91bdeaf9120c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8a10942a-02ca-483f-81ae-2260ea7808cc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9b8eac17-6b11-4b94-9bb4-18c81aee7123\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/554ba13c-d7d4-4530-88ce-94cf11a670ce\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/66a1d478-4d24-42d4-8eca-dcdab6532a18\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b396f112-a462-4813-a93f-80bc90041e4d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5425052d-cc0d-4424-af71-050311f99634\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/09cb7d54-db05-4d31-97f3-9bbfe1dff610\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/01fb1ad4-303b-4789-abf2-c024c4a76523\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0de072b9-6515-4985-842e-0318047bb85b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3f474a-234e-442f-92b3-2a45e37f7eee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c55461af-4923-4fbb-b270-40d5e5f4c0ff\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bbdc4999-1462-4d46-853b-2f8c6ca1c682\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9e1f12d0-cb3d-4e1c-a468-6bc3d934c99d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fd5d38f6-340e-4bd2-88f2-e1314c3c07a9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0384d5b7-5def-4130-b7b5-db7da7e63276\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0ad39832-f031-4fdd-885e-c6cce85ac77c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/90191798-da1b-40dd-aa9c-1c0eafb1ba87\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ddced3c8-a5e2-4dc4-b0fe-1331c77fc9c4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/52f83ea2-6871-45c3-8b26-13566e966638\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/79b4eb34-c06e-49bf-883d-5352a21a962f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5723400d-5b2a-45f1-99ee-837986866318\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/76e8881d-f18e-4e1b-b01d-376d0260e066\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0eaf40a8-5673-4b33-8457-a31d85882233\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5a235918-41a2-4bd0-8ab0-00a596e9d6a8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3ff38dcd-92e2-4b67-8765-35bb0174a4c7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1ff4501b-2109-4ef6-ba9d-e824a96d63d0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f493084a-d3c4-4886-8cf2-3c815aeef901\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/11c95609-3553-430d-b788-fd41cde8b2db\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27d6f0e9-b4d5-468b-ae7e-03d5473fd864\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0debc84-981c-4a0d-924d-aa4bd7d55fef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9b795646-9130-41a4-90b7-df9eae2437c8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/802c0637-5a8c-4c98-abd7-7c96d89d6010\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/43dc2a2e-ce69-4d42-923e-ab7d136f2cfe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2acd365d-e8b5-4094-bce4-244b7c51d67c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/51fd8bb1-0db4-bbf1-7e2b-cfcba7eb66a6\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"name\": \"99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Remediate security configurations\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/181ac480-f7c4-544b-9865-11b8ffe87f47\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3d9ad0-3639-4686-9cd2-2b2ab2609bda\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0677209d-e675-2c6f-e91a-54cef2878663\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a3eee263-aa01-4b52-a7c0-0094578ef48f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8941d121-f740-35f6-952c-6561d2b38d36\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0396b18c-41aa-489c-affd-4ee5d1714a59\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fa924a53-0837-4296-9bf7-18ce7dd68593\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9e1789cd-7b61-42db-ba12-7268283ba466\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/233da9cd-11bf-463a-8aa7-4c81b9e788d1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c4131c22-1ecc-4beb-9961-d90108bd975f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d74d2738-2485-4103-9919-69c7e63776ec\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5f65e47f-7a00-4bf3-acae-90ee441ee876\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/86f91051-9d6a-47c3-a07f-bd14cb214b45\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"name\": \"52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Secure management ports\",\r\n \"maxScore\": 8,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/483f12ed-ae23-447e-a2de-a67a10db4353\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/805651bc-6ecd-4c73-9b55-97a19d0582d0\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"name\": \"05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Remediate vulnerabilities\",\r\n \"maxScore\": 6,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/400a6682-992c-4726-9549-629fbc3b988f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1db4f204-cb5a-4c9c-9254-7556403ce51c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ff6dbca8-d93c-49fc-92af-dc25da7faccd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c42fc28d-1703-45fc-aaa5-39797f570513\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/82e20e14-edc5-4373-bfc4-f13121257c37\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f97aa83c-9b63-4f9a-99f6-b22c4398f936\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/01b1ed4c-b733-4fee-b145-f23236e70cf3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/71992a2a-d168-42e0-b10e-6b45fa2ecddb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ffff0522-1e88-47fc-8382-2a80ba848f5d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/550e890b-e652-4d22-8274-60b3bdb24c63\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1195afff-c881-495e-9bc5-1486211ae03f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbd0cb49-b563-45e7-9724-889e799fa648\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8405ef57-2a26-46a5-8880-e45fb91bb406\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8d244d29-fa00-4332-b935-c3a51d525417\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"name\": \"4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable Advanced Threat Protection\",\r\n \"maxScore\": 0,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/56a6e81f-7413-4f72-9a1b-aaeeaa87c872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0876ef51-fee7-449d-ba1e-f2662c7e43c6\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/58d72d9d-0310-4792-9a3b-6dd111093cdb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6ac66a74-761f-4a59-928a-d373eea3f028\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1be22853-8ed1-4005-9907-ddad64cb1417\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/86ea1a79-29d3-4eac-a9f4-3541ace4e718\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/53572822-d3fc-4363-bfb9-248645841612\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b1af52e4-e968-4e2b-b6d0-6736c9651f0a\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "487bb485-b5b0-471e-9c0d-10717612f869"
+ }
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAll.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAll.json
new file mode 100644
index 000000000000..a67dc8b6bf56
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAll.json
@@ -0,0 +1,68 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScoreControls?api-version=2020-01-01&$expand=definitions",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVDb250cm9scz9hcGktdmVyc2lvbj0yMDIwLTAxLTAxJiRleHBhbmQ9ZGVmaW5pdGlvbnM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4b9b14ef-a483-48e6-a9d2-e09a4a9bef11"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:37 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "c6eb939c-d92e-4118-9d34-41c8c7b3b624"
+ ],
+ "x-ms-correlation-request-id": [
+ "c6eb939c-d92e-4118-9d34-41c8c7b3b624"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142237Z:c6eb939c-d92e-4118-9d34-41c8c7b3b624"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "7682"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"name\": \"a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Protect applications against DDoS attacks\",\r\n \"healthyResourceCount\": 0,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 4,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"name\": \"34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable MFA\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 10,\r\n \"current\": 10.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/0e55495e-034f-4abc-8293-767229250176\",\r\n \"name\": \"0e55495e-034f-4abc-8293-767229250176\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Encrypt data in transit\",\r\n \"healthyResourceCount\": 8,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 8\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"name\": \"f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Restrict unauthorized network access\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 3.0,\r\n \"percentage\": 0.75\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"name\": \"76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Implement security best practices\",\r\n \"healthyResourceCount\": 13,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 5,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 14\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"name\": \"2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply data classification\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 2.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"name\": \"27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable auditing and logging\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 1,\r\n \"current\": 0.25,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"name\": \"2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Manage access and permissions\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"name\": \"52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Secure management ports\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 8,\r\n \"current\": 6.0,\r\n \"percentage\": 0.75\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"name\": \"05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate vulnerabilities\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 4,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.2,\r\n \"percentage\": 0.2\r\n },\r\n \"weight\": 5\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"name\": \"4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable Advanced Threat Protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"name\": \"8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable encryption at rest\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"name\": \"61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply system updates\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.5,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"name\": \"12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable endpoint protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.5,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"name\": \"99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate security configurations\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"name\": \"a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply adaptive application control\",\r\n \"healthyResourceCount\": 2,\r\n \"unhealthyResourceCount\": 2,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 3,\r\n \"current\": 1.5,\r\n \"percentage\": 0.5\r\n },\r\n \"weight\": 4\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "487bb485-b5b0-471e-9c0d-10717612f869"
+ }
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAllWithDefinitions.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAllWithDefinitions.json
new file mode 100644
index 000000000000..6699a977af35
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScoreControls_ListAllWithDefinitions.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScoreControls?api-version=2020-01-01&$expand=definition",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVDb250cm9scz9hcGktdmVyc2lvbj0yMDIwLTAxLTAxJiRleHBhbmQ9ZGVmaW5pdGlvbg==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "79b79f63-20ba-47dd-80f3-05bb74bf5a8c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:37 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "36ce2e0e-0519-4f19-ba43-e1caa204f822"
+ ],
+ "x-ms-correlation-request-id": [
+ "36ce2e0e-0519-4f19-ba43-e1caa204f822"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142238Z:36ce2e0e-0519-4f19-ba43-e1caa204f822"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "38929"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"name\": \"a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Protect applications against DDoS attacks\",\r\n \"healthyResourceCount\": 0,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 4,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"name\": \"a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Protect applications against DDoS attacks\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e3de1cc0-f4dd-3b34-e496-8b5381ba2d70\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/405c9ae6-49f9-46c4-8873-a86690f27818\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"name\": \"34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable MFA\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 10,\r\n \"current\": 10.0,\r\n \"percentage\": 1.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"name\": \"34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable MFA\",\r\n \"maxScore\": 10,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/94290b00-4d0c-d7b4-7cea-064a9554e681\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/57e98606-6b1e-6193-0e3d-fe621387c16b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1f24d55a-df0f-4772-9090-4629c2d6bfff\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e3d9ac0-a248-4276-a437-304c6cd1443b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8d7a6128-c8f2-43df-b422-7877346f9ddb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4a946e22-47e8-443d-8761-b25620b4a1e1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/0e55495e-034f-4abc-8293-767229250176\",\r\n \"name\": \"0e55495e-034f-4abc-8293-767229250176\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Encrypt data in transit\",\r\n \"healthyResourceCount\": 8,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/0e55495e-034f-4abc-8293-767229250176\",\r\n \"name\": \"0e55495e-034f-4abc-8293-767229250176\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Encrypt data in transit\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1b351b29-41ca-6df5-946c-c190a56be5fe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cb0acdc6-0846-fd48-debe-9905af151b6d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bf82a334-13b6-ca57-ea75-096fc2ffce50\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/35b25be2-d08a-e340-45ed-f08a95d804fc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1c5de8e1-f68d-6a17-e0d2-ec259c42768c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a3ebc80a-847b-46d5-a37d-8dca5e6947df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c28a89d9-7cf4-439b-a8c4-ad4e769f68ee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2acc27c6-5fdb-405e-9080-cb66b850c8f5\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 8\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"name\": \"f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Restrict unauthorized network access\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 3.0,\r\n \"percentage\": 0.75\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"name\": \"f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Restrict unauthorized network access\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/483f12ed-ae23-447e-a2de-a67a10db4353\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3b20e985-f71f-483b-b078-f30d73936d43\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f9f0eed0-f143-47bf-b856-671ea2eeed62\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1a2b5b4c-f80d-46e7-ac81-b51a9fb363de\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c3b51c94-588b-426b-a892-24696f9e54cc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e40df93c-7a7c-1b0a-c787-9987ceb98e54\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7b3d4796-9400-2904-692b-4a5ede7f0a1e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/df4d1739-47f0-60c7-1706-3731fea6ab03\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1a36f14a-8bd8-45f5-abe5-eef88d76ab5b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/beb62be3-5e78-49bd-ac5f-099250ef3c7c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ba975338-f956-41e7-a9f2-7614832d382d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d5a8d84a-9ad0-42e2-80e0-d38e3d46028a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5a3d6cdd-8eb3-46d2-ba11-d24a0d47fe65\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d8326952-60bb-40fb-b33f-51e662708a88\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5f88450f-9546-4b78-a181-a2d9162bb441\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/add45209-73f6-4fa5-a5a5-74a451b07fbe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b3473ed6-78c0-40d5-b5f0-674e98924952\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9dd55566-33b9-4c07-a959-14794ce02355\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ad0b04b9-eaf9-49f8-b85e-724f9520e760\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ece6ec5d-a862-4e22-a8db-271661216018\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e40b679a-f44e-4366-87dd-7693e16a2128\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0bdcd23c-4ff2-4077-aa14-eb6950bfbdd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1f386f4e-449e-41e8-b829-a2fe01086ae1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2f6c8a5a-9407-467c-8082-0ad4ab915d77\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3b1713ec-feb3-4b32-b5b0-251acff0a84a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/049f1551-438b-444e-8904-a3c3afbcb43e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/684307e9-62a8-4f2a-887a-4b90de5e4b98\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0327f9da-f758-4d69-8903-55448b8cf70e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cc637123-c11e-40ee-adf8-93c0876481f4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ebc68898-5c0f-4353-a426-4a5f1e737b12\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f67fb4ed-d481-44d7-91e5-efadf504f74a\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"name\": \"76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Implement security best practices\",\r\n \"healthyResourceCount\": 13,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 5,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"name\": \"76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Implement security best practices\",\r\n \"maxScore\": 0,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/151e82c5-5341-a74b-1eb0-bc38d2c84bb5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a8c6a4ad-d51e-88fe-2979-d3ee3c864f8b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6f90a6d6-d4d6-0794-0ec1-98fa77878c2e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9341235-9389-42f0-a0bf-9bfb57960d44\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45d313c3-3fca-5040-035f-d61928366d31\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0553104-cfdb-65e6-759c-002812e38500\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/47bb383c-8e25-95f0-c2aa-437add1d87d3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/12018f4f-3d10-999b-e4c4-86ec25be08a1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/eade5b56-eefd-444f-95c8-23f29e5d93cb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ebe970fe-9c27-4dd7-a165-1e943d565e10\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f7010359-8d21-4598-a9f2-c3e81a17141e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/24d8af06-d441-40b4-a49c-311421aa9f58\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3e93d3-0276-4d06-b20a-9a9f3012742c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9172da4e-9571-6e33-2b5b-d742847f3be7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/093c685b-56dd-13a3-8ed5-887a001837a2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/64b8637e-4e1d-76a9-0fc9-c1e487a97ed8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fe02b3b7-a722-d4d6-6731-6493776203a6\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/57f36d21-69e3-4b0f-a66c-18629d1b736d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6c99f570-2ce7-46bc-8175-cde013df43bc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22489c48-27d1-4e40-9420-4303ad9cffef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fc84abc0-eee6-4758-8372-a7681965ca44\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/726cde3e-02f8-4041-8935-727f2be19ba7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a2bb3a1b-4a09-4cf7-9e79-c438687e2c2f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/664c6a0b-5cd2-4140-aaff-a94241c07afd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3af5de46-fda8-4b6e-90f1-6565187d7c48\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9a59ebb-5d6f-42f5-92a1-036fd0fd1879\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f2f595ec-5dc6-68b4-82ef-b63563e9c610\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 14\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"name\": \"2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply data classification\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 2.0,\r\n \"percentage\": 1.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"name\": \"2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply data classification\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b0df6f56-862d-4730-8597-38c0fd4ebd59\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"name\": \"27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable auditing and logging\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 1,\r\n \"current\": 0.25,\r\n \"percentage\": 0.25\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"name\": \"27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable auditing and logging\",\r\n \"maxScore\": 1,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/94208a8b-16e8-4e5b-abbd-4e81c9d02bee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c6dad669-efd7-cd72-61c5-289935607791\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/77785808-ce86-4e40-b45f-19110a547397\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/32771b45-220c-1a8b-584e-fdd5a2584a66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f11b27f2-8c49-5bb4-eff5-e1e5384bf95e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f19ab7d9-5ff2-f8fd-ab3b-0bf95dcb6889\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ad5bbaeb-7632-5edf-f1c2-752075831ce8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dea5192e-1bb3-101b-b70c-4646546f5e1e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1597605a-0faf-5860-eb74-462ae2e9fc21\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/91387f44-7e43-4ecc-55f0-46f5adee3dd5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/961eb649-3ea9-f8c2-6595-88e9a3aeedeb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/88bbc99c-e5af-ddd7-6105-6150b2bfa519\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22438e3c-73c8-40af-a083-10c980c63aa2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5720f1a6-6061-4768-9c0d-2000a6041744\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/30c69b23-a9a2-4729-aca6-f21adacfff66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a9ac48d8-8dd7-42b9-9752-b1fa70ea5dd9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/00261067-76a8-4ebb-b5fc-becc81067bee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/83ca4867-58c1-45d6-b6b6-dbf226512891\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a269cbdb-86e8-431c-9ff2-f0ea491174d8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5ea59e47-093b-446f-9765-5b0ec4c9da61\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/011397ca-1366-4bcc-b85a-7a5e3df2e80b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c62371bc-f6a7-4915-b5b5-14288682cf79\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/293ba336-7312-42fc-a59d-836e4e678b17\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0b547a38-2c0d-47e1-b9a2-a59fccc140db\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7d0ad86f-f43b-4889-b2f7-09d91bd1407b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b20558b6-de31-480c-8aa0-e920d62b9764\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/022efc2d-5119-480b-a203-e151b6b2645c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3ee7608e-f0e7-4c26-8921-5ae46c4e99df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/33765629-073d-49eb-bab4-64bdf8ac90da\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9c054f50-823f-45ab-839e-9df4eb7c2f11\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f61e15f3-4bcf-4d2e-8f06-32237cabe0a0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/cdb3af55-2abf-476b-aac7-5cfec366a4dd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc26b0d4-a1d7-4665-9d44-efc205ae73f0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3812e247-34f2-4f06-a312-89a8fe51fa37\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0f8405a-5ecc-4314-808e-083e030d6163\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c23e0eec-eee4-4632-b1c2-6c884c3c963b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7ce5a01f-e94b-438a-8b72-fa02c076f11a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/46e4e0ed-106d-405e-b1a9-ca34c8f7d31f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b1294b0d-9b2e-4e1b-9f67-77a75fb10a65\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0b86a67f-bde5-4c91-b10c-4102033b8692\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3d55e4b1-ecdb-4eaf-9e3f-b00a764182bd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"name\": \"2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Manage access and permissions\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"name\": \"2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Manage access and permissions\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c3b6ae71-f1f0-31b4-e6c1-d5951285d03d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/04e7147b-0deb-9796-2e5c-0336343ceb3d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e52064aa-6853-e252-a11e-dffc675689c2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/00c6d40b-e990-6acf-d4f3-471e747a27c4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2c79b4af-f830-b61e-92b9-63dfa30f16e4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b0fdc63a-38e7-4bab-a7c4-2c2665abbaa9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/03afeb6f-7634-adb3-0a01-803b0b9cb611\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9d07b7e6-2986-4964-a76c-b2689604e212\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5d90913f-a1c5-4429-ad54-2c6c17fb3c73\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/582c14e9-48c1-4b25-ab93-91bdeaf9120c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8a10942a-02ca-483f-81ae-2260ea7808cc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9b8eac17-6b11-4b94-9bb4-18c81aee7123\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/554ba13c-d7d4-4530-88ce-94cf11a670ce\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/66a1d478-4d24-42d4-8eca-dcdab6532a18\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b396f112-a462-4813-a93f-80bc90041e4d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5425052d-cc0d-4424-af71-050311f99634\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/09cb7d54-db05-4d31-97f3-9bbfe1dff610\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/01fb1ad4-303b-4789-abf2-c024c4a76523\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0de072b9-6515-4985-842e-0318047bb85b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3f474a-234e-442f-92b3-2a45e37f7eee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c55461af-4923-4fbb-b270-40d5e5f4c0ff\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bbdc4999-1462-4d46-853b-2f8c6ca1c682\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9e1f12d0-cb3d-4e1c-a468-6bc3d934c99d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fd5d38f6-340e-4bd2-88f2-e1314c3c07a9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0384d5b7-5def-4130-b7b5-db7da7e63276\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0ad39832-f031-4fdd-885e-c6cce85ac77c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/90191798-da1b-40dd-aa9c-1c0eafb1ba87\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ddced3c8-a5e2-4dc4-b0fe-1331c77fc9c4\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/52f83ea2-6871-45c3-8b26-13566e966638\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/79b4eb34-c06e-49bf-883d-5352a21a962f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5723400d-5b2a-45f1-99ee-837986866318\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/76e8881d-f18e-4e1b-b01d-376d0260e066\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0eaf40a8-5673-4b33-8457-a31d85882233\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5a235918-41a2-4bd0-8ab0-00a596e9d6a8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3ff38dcd-92e2-4b67-8765-35bb0174a4c7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1ff4501b-2109-4ef6-ba9d-e824a96d63d0\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f493084a-d3c4-4886-8cf2-3c815aeef901\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/11c95609-3553-430d-b788-fd41cde8b2db\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27d6f0e9-b4d5-468b-ae7e-03d5473fd864\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f0debc84-981c-4a0d-924d-aa4bd7d55fef\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9b795646-9130-41a4-90b7-df9eae2437c8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/802c0637-5a8c-4c98-abd7-7c96d89d6010\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/43dc2a2e-ce69-4d42-923e-ab7d136f2cfe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/2acd365d-e8b5-4094-bce4-244b7c51d67c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/51fd8bb1-0db4-bbf1-7e2b-cfcba7eb66a6\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"name\": \"52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Secure management ports\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 8,\r\n \"current\": 6.0,\r\n \"percentage\": 0.75\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"name\": \"52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Secure management ports\",\r\n \"maxScore\": 8,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/483f12ed-ae23-447e-a2de-a67a10db4353\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc303248-3d14-44c2-96a0-55f5c326b5fe\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/805651bc-6ecd-4c73-9b55-97a19d0582d0\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"name\": \"05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate vulnerabilities\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 4,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.2,\r\n \"percentage\": 0.2\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"name\": \"05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Remediate vulnerabilities\",\r\n \"maxScore\": 6,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/400a6682-992c-4726-9549-629fbc3b988f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1db4f204-cb5a-4c9c-9254-7556403ce51c\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ff6dbca8-d93c-49fc-92af-dc25da7faccd\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c42fc28d-1703-45fc-aaa5-39797f570513\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/82e20e14-edc5-4373-bfc4-f13121257c37\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/f97aa83c-9b63-4f9a-99f6-b22c4398f936\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/01b1ed4c-b733-4fee-b145-f23236e70cf3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/71992a2a-d168-42e0-b10e-6b45fa2ecddb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/ffff0522-1e88-47fc-8382-2a80ba848f5d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/550e890b-e652-4d22-8274-60b3bdb24c63\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1195afff-c881-495e-9bc5-1486211ae03f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbd0cb49-b563-45e7-9724-889e799fa648\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8405ef57-2a26-46a5-8880-e45fb91bb406\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8d244d29-fa00-4332-b935-c3a51d525417\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 5\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"name\": \"4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable Advanced Threat Protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"name\": \"4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable Advanced Threat Protection\",\r\n \"maxScore\": 0,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/56a6e81f-7413-4f72-9a1b-aaeeaa87c872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0876ef51-fee7-449d-ba1e-f2662c7e43c6\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/58d72d9d-0310-4792-9a3b-6dd111093cdb\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6ac66a74-761f-4a59-928a-d373eea3f028\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1be22853-8ed1-4005-9907-ddad64cb1417\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/86ea1a79-29d3-4eac-a9f4-3541ace4e718\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/53572822-d3fc-4363-bfb9-248645841612\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b1af52e4-e968-4e2b-b6d0-6736c9651f0a\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"name\": \"8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable encryption at rest\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"name\": \"8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable encryption at rest\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d57a4221-a804-52ca-3dea-768284f06bb7\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/651967bf-044e-4bde-8376-3e08e0600105\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/b12bc79e-4f12-44db-acda-571820191ddc\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/7f04fc0c-4a3d-5c7e-ce19-666cb871b510\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/dbfc99e3-e648-4c3b-bd32-995e6268430d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c01fab9f-bde1-4ba5-9d35-7de51f31c2d3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/23b514bd-2afc-4a3e-8d3d-f4327118eee9\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3053474d-4fab-4603-8d18-2a6dfd09f782\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/6be98232-0100-474a-b33d-ba9c1a747f70\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a7c8fa46-526d-4bf6-b8b3-17fa01310fd8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/20f6c761-4dd7-4f27-9e37-6db8471486ef\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"name\": \"61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply system updates\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.5,\r\n \"percentage\": 0.25\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"name\": \"61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply system updates\",\r\n \"maxScore\": 6,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4ab6e3c5-74dd-8b35-9ab9-f61b30875b27\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/071393f9-b2ef-4dc2-bd58-ef0b07ed12d2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c0f5316d-5ac5-9218-b77a-b96e16ccfd66\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bd20bd91-aaf1-7f14-b6e4-866de2f43146\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8bc390da-9eb6-938d-25ed-44a35d9bcc9d\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/22e18b64-4576-41e6-8972-0eb28c9af0c8\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"name\": \"12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable endpoint protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.5,\r\n \"percentage\": 0.25\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"name\": \"12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Enable endpoint protection\",\r\n \"maxScore\": 2,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/83f577bd-a1b6-b7e1-0891-12ca19d1e6df\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/4fb67663-9ab9-475d-b026-8c544cced439\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/383cf3bc-fdf9-4a02-120a-3e7e36c6bfee\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/3bcd234d-c9c7-c2a2-89e0-c01f419c1a8a\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/37a3689a-818e-4a0e-82ac-b1392b9bb000\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/21300918-b2e3-0346-785f-c77ff57d243b\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e71020c2-860c-3235-cd39-04f3f8c936d2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"name\": \"99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate security configurations\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"name\": \"99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Remediate security configurations\",\r\n \"maxScore\": 4,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/181ac480-f7c4-544b-9865-11b8ffe87f47\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8c3d9ad0-3639-4686-9cd2-2b2ab2609bda\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0677209d-e675-2c6f-e91a-54cef2878663\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/a3eee263-aa01-4b52-a7c0-0094578ef48f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/45cfe080-ceb1-a91e-9743-71551ed24e94\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8941d121-f740-35f6-952c-6561d2b38d36\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/0396b18c-41aa-489c-affd-4ee5d1714a59\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/fa924a53-0837-4296-9bf7-18ce7dd68593\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/9e1789cd-7b61-42db-ba12-7268283ba466\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/233da9cd-11bf-463a-8aa7-4c81b9e788d1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/c4131c22-1ecc-4beb-9961-d90108bd975f\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d74d2738-2485-4103-9919-69c7e63776ec\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/5f65e47f-7a00-4bf3-acae-90ee441ee876\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/08e628db-e2ed-4793-bc91-d13e684401c3\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/86f91051-9d6a-47c3-a07f-bd14cb214b45\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"name\": \"a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply adaptive application control\",\r\n \"healthyResourceCount\": 2,\r\n \"unhealthyResourceCount\": 2,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 3,\r\n \"current\": 1.5,\r\n \"percentage\": 0.5\r\n },\r\n \"definition\": {\r\n \"id\": \"/providers/Microsoft.Security/secureScoreControlDefinitions/a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"name\": \"a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"type\": \"Microsoft.Security/secureScoreControlDefinitions\",\r\n \"properties\": {\r\n \"source\": {\r\n \"sourceType\": \"BuiltIn\"\r\n },\r\n \"displayName\": \"Apply adaptive application control\",\r\n \"maxScore\": 3,\r\n \"assessmentDefinitions\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/27ac71b1-75c5-41c2-adc2-858f5db45b08\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/720a3e77-0b9a-4fa9-98b6-ddf0fd7e32c1\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/35f45c95-27cf-4e52-891f-8390d1de5828\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/1234abcd-1b53-4fd4-9835-2c2fa3935313\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Security/assessmentMetadata/bc85a7ee-7f43-47ab-8736-4faaec9346b5\"\r\n }\r\n ]\r\n }\r\n },\r\n \"weight\": 4\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get.json
new file mode 100644
index 000000000000..957614fda93d
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVzL2FzY1Njb3JlL3NlY3VyZVNjb3JlQ29udHJvbHM/YXBpLXZlcnNpb249MjAyMC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "77c3591f-0a3b-4b28-a10b-57789d46aeb8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:38 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "e5c7ff14-2065-4c3d-80fc-62177094d7a1"
+ ],
+ "x-ms-correlation-request-id": [
+ "e5c7ff14-2065-4c3d-80fc-62177094d7a1"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142239Z:e5c7ff14-2065-4c3d-80fc-62177094d7a1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "7682"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"name\": \"a9909064-42b4-4d34-8143-275477afe18b\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Protect applications against DDoS attacks\",\r\n \"healthyResourceCount\": 0,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 4,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"name\": \"34a42fb3-e6db-409c-b56b-7b1db6b8aee0\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable MFA\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 10,\r\n \"current\": 10.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/0e55495e-034f-4abc-8293-767229250176\",\r\n \"name\": \"0e55495e-034f-4abc-8293-767229250176\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Encrypt data in transit\",\r\n \"healthyResourceCount\": 8,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 8\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"name\": \"f9d5432b-8f7b-45e9-b90c-e214a30f6a02\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Restrict unauthorized network access\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 3.0,\r\n \"percentage\": 0.75\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"name\": \"76763537-9feb-42d3-b4f4-78c01117be80\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Implement security best practices\",\r\n \"healthyResourceCount\": 13,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 5,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 14\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"name\": \"2d63c496-0d49-4288-9a1b-e65cd9ac0e1e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply data classification\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 2.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"name\": \"27b24961-75ba-4fe4-8909-97286d5dd5ee\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable auditing and logging\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 1,\r\n \"current\": 0.25,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"name\": \"2d85f639-0bea-4a4a-b6c6-608952a1414a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Manage access and permissions\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 4.0,\r\n \"percentage\": 1.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"name\": \"52901099-235c-4971-b9d5-a33fca3a936e\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Secure management ports\",\r\n \"healthyResourceCount\": 3,\r\n \"unhealthyResourceCount\": 1,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 8,\r\n \"current\": 6.0,\r\n \"percentage\": 0.75\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"name\": \"05daab2e-f074-4601-ac10-aadf5c9c50f6\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate vulnerabilities\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 4,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.2,\r\n \"percentage\": 0.2\r\n },\r\n \"weight\": 5\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"name\": \"4db8d6cf-075b-4149-a813-da09ca2ae120\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable Advanced Threat Protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 0,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 0,\r\n \"current\": 0.0,\r\n \"percentage\": 0.0\r\n },\r\n \"weight\": 1\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"name\": \"8fd574ec-43cf-426e-a439-a67cbaf2d564\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable encryption at rest\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 1,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"name\": \"61702b76-1fab-41f2-bcbc-50b7870dcf38\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply system updates\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 6,\r\n \"current\": 1.5,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"name\": \"12136bd9-dc24-44f2-9587-7be3af6aac14\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Enable endpoint protection\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 2,\r\n \"current\": 0.5,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"name\": \"99fc8df2-e0f5-40f8-9415-a7f7ca948b5a\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Remediate security configurations\",\r\n \"healthyResourceCount\": 1,\r\n \"unhealthyResourceCount\": 3,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 4,\r\n \"current\": 1.0,\r\n \"percentage\": 0.25\r\n },\r\n \"weight\": 4\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore/secureScoreControls/a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"name\": \"a000c66f-6da2-4f9d-826d-2364347d2588\",\r\n \"type\": \"Microsoft.Security/secureScores/secureScoreControls\",\r\n \"properties\": {\r\n \"displayName\": \"Apply adaptive application control\",\r\n \"healthyResourceCount\": 2,\r\n \"unhealthyResourceCount\": 2,\r\n \"notApplicableResourceCount\": 0,\r\n \"score\": {\r\n \"max\": 3,\r\n \"current\": 1.5,\r\n \"percentage\": 0.5\r\n },\r\n \"weight\": 4\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get_Unknown.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get_Unknown.json
new file mode 100644
index 000000000000..c77316057bd6
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreControlTests/SecureScores_Get_Unknown.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/unknown/secureScoreControls?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVzL3Vua25vd24vc2VjdXJlU2NvcmVDb250cm9scz9hcGktdmVyc2lvbj0yMDIwLTAxLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7699b2be-a3dc-410d-adfd-e54dcab96da6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:37 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "1879572d-89dd-4e69-a42b-c2bcc9859998"
+ ],
+ "x-ms-correlation-request-id": [
+ "1879572d-89dd-4e69-a42b-c2bcc9859998"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142238Z:1879572d-89dd-4e69-a42b-c2bcc9859998"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "12"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": []\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get.json
new file mode 100644
index 000000000000..9ebb5d774262
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVzL2FzY1Njb3JlP2FwaS12ZXJzaW9uPTIwMjAtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2b192d04-9de1-4763-80c8-71277dc04aa8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:31 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "07dfb73a-754e-4499-a1a6-3e0f3385feb0"
+ ],
+ "x-ms-correlation-request-id": [
+ "07dfb73a-754e-4499-a1a6-3e0f3385feb0"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142232Z:07dfb73a-754e-4499-a1a6-3e0f3385feb0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "279"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore\",\r\n \"name\": \"ascScore\",\r\n \"type\": \"Microsoft.Security/secureScores\",\r\n \"properties\": {\r\n \"displayName\": \"ASC score\",\r\n \"score\": {\r\n \"max\": 60,\r\n \"current\": 35.95,\r\n \"percentage\": 0.5992\r\n },\r\n \"weight\": 208\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get_Unknown.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get_Unknown.json
new file mode 100644
index 000000000000..514927c8ce81
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_Get_Unknown.json
@@ -0,0 +1,68 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/unknown?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVzL3Vua25vd24/YXBpLXZlcnNpb249MjAyMC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1b61ce06-ba67-4f2b-8f0c-7582b68bd3cd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:31 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "748"
+ ],
+ "x-ms-request-id": [
+ "2579a1e4-6e89-4015-9506-e1975f47801d"
+ ],
+ "x-ms-correlation-request-id": [
+ "2579a1e4-6e89-4015-9506-e1975f47801d"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142231Z:2579a1e4-6e89-4015-9506-e1975f47801d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "135"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Error\": {\r\n \"Code\": \"ResourceNotFound\",\r\n \"Message\": \"Secure score 'unknown' does not exist in scope '487bb485-b5b0-471e-9c0d-10717612f869'\"\r\n }\r\n}",
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "487bb485-b5b0-471e-9c0d-10717612f869"
+ }
+}
\ No newline at end of file
diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_ListAll.json b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_ListAll.json
new file mode 100644
index 000000000000..070be74098c3
--- /dev/null
+++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/tests/SessionRecords/SecureScoreTests/SecureScores_ListAll.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores?api-version=2020-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDg3YmI0ODUtYjViMC00NzFlLTljMGQtMTA3MTc2MTJmODY5L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VjdXJpdHkvc2VjdXJlU2NvcmVzP2FwaS12ZXJzaW9uPTIwMjAtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "89288845-d74d-42ee-8d42-0ba66f837958"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19042.",
+ "Microsoft.Azure.Management.Security.SecurityCenterClient/2.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sun, 25 Oct 2020 14:22:36 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-resource-requests": [
+ "749"
+ ],
+ "x-ms-request-id": [
+ "ff3296bd-589b-4adf-a2f3-111e0a437046"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff3296bd-589b-4adf-a2f3-111e0a437046"
+ ],
+ "x-ms-routing-request-id": [
+ "UKSOUTH:20201025T142236Z:ff3296bd-589b-4adf-a2f3-111e0a437046"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "291"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/secureScores/ascScore\",\r\n \"name\": \"ascScore\",\r\n \"type\": \"Microsoft.Security/secureScores\",\r\n \"properties\": {\r\n \"displayName\": \"ASC score\",\r\n \"score\": {\r\n \"max\": 60,\r\n \"current\": 35.95,\r\n \"percentage\": 0.5992\r\n },\r\n \"weight\": 208\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file