You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/security-center/custom-security-policies.md
+73-4Lines changed: 73 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ manager: rkarlin
7
7
8
8
ms.service: security-center
9
9
ms.topic: conceptual
10
-
ms.date: 03/25/2020
10
+
ms.date: 04/22/2020
11
11
ms.author: memildin
12
12
---
13
13
@@ -17,9 +17,9 @@ ms.author: memildin
17
17
18
18
To help secure your systems and environment, Azure Security Center generates security recommendations. These recommendations are based on industry best practices, which are incorporated into the generic, default security policy supplied to all customers. They can also come from Security Center's knowledge of industry and regulatory standards.
19
19
20
-
With this feature, you can add your own *custom* initiatives. You'll then receive recommendations if your environment doesn't follow the policies you create. Any custom initiatives you create will appear alongside the built-in initiatives in the regulatory compliance dashboard described in the tutorial [Improve your regulatory compliance](security-center-compliance-dashboard.md).
20
+
With this feature, you can add your own *custom* initiatives. You'll then receive recommendations if your environment doesn't follow the policies you create. Any custom initiatives you create will appear alongside the built-in initiatives in the regulatory compliance dashboard, as described in the tutorial [Improve your regulatory compliance](security-center-compliance-dashboard.md).
21
21
22
-
As discussed [here](https://docs.microsoft.com/azure/governance/policy/concepts/definition-structure#definition-location) in the Azure Policy documentation, when you specify a location for your custom initiative, it must be a management group or a subscription.
22
+
As discussed in [the Azure Policy documentation](https://docs.microsoft.com/azure/governance/policy/concepts/definition-structure#definition-location), when you specify a location for your custom initiative, it must be a management group or a subscription.
23
23
24
24
## To add a custom initiative to your subscription
25
25
@@ -51,7 +51,7 @@ As discussed [here](https://docs.microsoft.com/azure/governance/policy/concepts/
51
51
1. Select the policies to include and click **Add**.
52
52
1. Enter any desired parameters.
53
53
1. Click **Save**.
54
-
1. In the Add custom initiatives page, click refresh and your new initiative will be shown as available.
54
+
1. In the Add custom initiatives page, click refresh. Your new initiative will be shown as available.
55
55
1. Click **Add** and assign it to your subscription.
56
56
57
57
> [!NOTE]
@@ -67,6 +67,75 @@ As discussed [here](https://docs.microsoft.com/azure/governance/policy/concepts/
## Enhancing your custom recommendations with detailed information
71
+
72
+
The built-in recommendations supplied with Azure Security Center include details such as severity levels and remediation instructions. If you want to add this type of information to your custom recommendations so that it appears in the Azure portal or wherever you access your recommendations, you'll need to use the REST API.
73
+
74
+
The two types of information you can add are:
75
+
76
+
-**RemediationDescription** – String
77
+
-**Severity** – Enum [Low, Medium, High]
78
+
79
+
The metadata should be added to the policy definition for a policy that is part of the custom initiative. It should be in the ‘securityCenter’ property, as shown:
For another example of using the securityCenter property, see [this section of the REST API documentation](https://docs.microsoft.com/rest/api/securitycenter/assessmentsmetadata/createinsubscription#examples).
0 commit comments