Skip to content

Commit 91ba9b6

Browse files
committed
Add policy assignment for Microsoft Defender for Cloud with enhanced parameters
1 parent f229c50 commit 91ba9b6

1 file changed

Lines changed: 166 additions & 0 deletions

File tree

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
{
2+
"$schema": "../policyAssignment.schema.json",
3+
"policyAssignment": {
4+
"name": "pa-p-mdc",
5+
"displayName": "Microsoft Defender for Cloud Policies Prod",
6+
"description": "Policy Assignment for Microsoft Defender for Cloud - Prod",
7+
"metadata": {
8+
"category": "Defender for Cloud"
9+
},
10+
"policyDefinitionId": "{policyLocationResourceId}/providers/Microsoft.Authorization/policySetDefinitions/polset-mdc",
11+
"identity": "SystemAssigned",
12+
"parameters": {
13+
"MDC-001_Effect": {
14+
"value": "DeployIfNotExists"
15+
},
16+
"MDC-002_Effect": {
17+
"value": "DeployIfNotExists"
18+
},
19+
"MDC-002_subPlan": {
20+
"value": "P2"
21+
},
22+
"MDC-003_Effect": {
23+
"value": "DeployIfNotExists"
24+
},
25+
"MDC-004_Effect": {
26+
"value": "DeployIfNotExists"
27+
},
28+
"MDC-004_subPlan": {
29+
"value": "PerTransaction"
30+
},
31+
"MDC-005_Effect": {
32+
"value": "DeployIfNotExists"
33+
},
34+
"MDC-005_subPlan": {
35+
"value": "PerApiCall"
36+
},
37+
"MDC-006_Effect": {
38+
"value": "DeployIfNotExists"
39+
},
40+
"MDC-007_Effect": {
41+
"value": "DeployIfNotExists"
42+
},
43+
"MDC-008_Effect": {
44+
"value": "DeployIfNotExists"
45+
},
46+
"MDC-009_Effect": {
47+
"value": "DeployIfNotExists"
48+
},
49+
"MDC-010_Effect": {
50+
"value": "DeployIfNotExists"
51+
},
52+
"MDC-011_Effect": {
53+
"value": "DeployIfNotExists"
54+
},
55+
"MDC-012_Effect": {
56+
"value": "DeployIfNotExists"
57+
},
58+
"MDC-013_Effect": {
59+
"value": "Disabled"
60+
},
61+
"MDC-013_subPlan": {
62+
"value": "P1"
63+
},
64+
"evaluationDelay": {
65+
"value": "AfterProvisioning"
66+
},
67+
"isSensitiveDataDiscoveryEnabled": {
68+
"value": "true"
69+
},
70+
"isContainerRegistriesVulnerabilityAssessmentsEnabled": {
71+
"value": "true"
72+
},
73+
"isAgentlessDiscoveryForKubernetesEnabled": {
74+
"value": "true"
75+
},
76+
"isAgentlessVmScanningEnabled": {
77+
"value": "true"
78+
},
79+
"isEntraPermissionsManagementEnabled": {
80+
"value": "true"
81+
},
82+
"isApiPostureEnabled": {
83+
"value": "true"
84+
},
85+
"isAgentlessServerlessPostureEnabled": {
86+
"value": "true"
87+
},
88+
"isMdeDesignatedSubscriptionEnabled": {
89+
"value": "true"
90+
},
91+
"isFileIntegrityMonitoringEnabled": {
92+
"value": "true"
93+
},
94+
"fileIntegrityMonitoringDefaultWorkspaceId": {
95+
"value": "/subscriptions/fca82a86-9abc-4ef3-8628-cd6e3e426325/resourceGroups/rg-ae-p-monitor/providers/Microsoft.OperationalInsights/workspaces/law-ae-p-mgmt-01"
96+
},
97+
"fileIntegrityMonitoringRules": {
98+
"value": [
99+
{
100+
"RuleName": "Sample Rule",
101+
"RuleDescription": "This is a sample File Integrity Monitoring rule.",
102+
"ChangeType": "CDMR",
103+
"IsEnabled": true,
104+
"MonitoredEntities": {
105+
"WindowsFiles": [
106+
{
107+
"Path": "C:\\Windows\\System32\\drivers\\etc\\hosts",
108+
"IncludeSubPaths": false
109+
}
110+
],
111+
"LinuxFiles": [
112+
{
113+
"Path": "/etc/passwd",
114+
"IncludeSubPaths": false
115+
}
116+
],
117+
"Registries": [
118+
{
119+
"Path": "hklm\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"
120+
}
121+
]
122+
}
123+
}
124+
]
125+
},
126+
"isContainerSensorEnabled": {
127+
"value": "true"
128+
},
129+
"isSecurityGatingEnabled": {
130+
"value": "true"
131+
},
132+
"isContainerIntegrityContributionEnabled": {
133+
"value": "true"
134+
},
135+
"isAIPromptEvidenceEnabled": {
136+
"value": "true"
137+
},
138+
"isAIPromptSharingWithPurviewEnabled": {
139+
"value": "true"
140+
},
141+
"isAIModelScannerEnabled": {
142+
"value": "true"
143+
},
144+
"isOnUploadMalwareScanningEnabled": {
145+
"value": "true"
146+
},
147+
"capGBPerMonthPerStorageAccount": {
148+
"value": -1
149+
},
150+
"blobScanResultsOptions": {
151+
"value": "None"
152+
},
153+
"automatedResponse": {
154+
"value": "None"
155+
}
156+
},
157+
"nonComplianceMessages": [],
158+
"roleDefinitionIds": [
159+
"/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
160+
"/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd",
161+
"/providers/microsoft.authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293"
162+
]
163+
},
164+
"definitionSourceManagementGroupId": "/providers/Microsoft.Management/managementGroups/CONTOSO",
165+
"managementGroupId": "CONTOSO"
166+
}

0 commit comments

Comments
 (0)