azure / Microsoft-Defender-for-Cloud
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system20% (2,041 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ps121% (1,693 lines)
psm122% (118 lines)
yaml39% (107 lines)
cmd90% (87 lines)
cs28% (24 lines)
tf7% (12 lines)
Duplication per Component (primary)
Powershell scripts20% (1,082 lines)
Remediation scripts25% (573 lines)
Workflow automation23% (141 lines)
Policy41% (112 lines)
Pricing & Settings38% (56 lines)
Labs39% (51 lines)
Secure Score100% (14 lines)
Terraform7% (12 lines)
Translate Recommendations0% (0 lines)
Container Image Scan Vulnerability Assessment0% (0 lines)
Onboarding0% (0 lines)
Legacy Log Analytics dashboards0% (0 lines)
DemoAutomation0% (0 lines)

Duplication Between Components (50+ lines)

G Powershell scripts Powershell scripts Remediation scripts Remediation scripts Powershell scripts--Remediation scripts 117

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 118 duplicates...
Size#FoldersFilesLinesCode
120 x 2 Powershell scripts/...ng Index Tags
Powershell scripts/...ng Index Tags
48:186 (53%)
48:186 (53%)
view
38 x 2 Workflow automation...ry-RansomwareProtection
Workflow automation...ry-RansomwareProtection
150:195 (17%)
98:143 (16%)
view
38 x 2 Remediation scripts.../MSFT_EPAntivirusStatus
Remediation scripts.../MSFT_EPAntivirusStatus
124:163 (12%)
216:255 (12%)
view
36 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
242:281 (9%)
313:352 (9%)
view
35 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
173:210 (9%)
243:281 (9%)
view
35 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
173:210 (9%)
314:352 (9%)
view
28 x 2 Remediation scripts...nbsp;enabled/PowerShell
Remediation scripts...nbsp;subnets/PowerShell
1:32 (56%)
1:32 (66%)
view
28 x 2 Remediation scripts...nbsp;enabled/PowerShell
Remediation scripts...nbsp;account/PowerShell
1:32 (56%)
1:32 (80%)
view
28 x 2 Remediation scripts...sp;instances/PowerShell
Remediation scripts...nbsp;servers/PowerShell
1:32 (77%)
1:32 (77%)
view
28 x 2 Remediation scripts... server/PowerShell
Remediation scripts...nbsp;account/PowerShell
1:32 (39%)
1:32 (80%)
view
28 x 2 Remediation scripts...nbsp;subnets/PowerShell
Remediation scripts...nbsp;account/PowerShell
1:32 (66%)
1:32 (80%)
view
28 x 2 Remediation scripts...nbsp;enabled/PowerShell
Remediation scripts... server/PowerShell
1:32 (56%)
1:32 (39%)
view
28 x 2 Remediation scripts...nbsp;subnets/PowerShell
Remediation scripts... server/PowerShell
1:32 (66%)
1:32 (39%)
view
27 x 2 Remediation scripts...nbsp;enabled/PowerShell
Remediation scripts...nbsp;servers/PowerShell
1:31 (54%)
1:31 (75%)
view
27 x 2 Remediation scripts... server/PowerShell
Remediation scripts...sp;instances/PowerShell
1:31 (38%)
1:31 (75%)
view
27 x 2 Remediation scripts...nbsp;subnets/PowerShell
Remediation scripts...sp;instances/PowerShell
1:31 (64%)
1:31 (75%)
view
27 x 2 Powershell scripts/...PIM-at-scale/Powershell
Powershell scripts/...PIM-at-scale/Powershell
7:40 (58%)
9:42 (55%)
view
27 x 2 Remediation scripts...nbsp;account/PowerShell
Remediation scripts...nbsp;servers/PowerShell
1:31 (77%)
1:31 (75%)
view
27 x 2 Remediation scripts...nbsp;enabled/PowerShell
Remediation scripts...sp;instances/PowerShell
1:31 (54%)
1:31 (75%)
view
27 x 2 Remediation scripts...nbsp;account/PowerShell
Remediation scripts...sp;instances/PowerShell
1:31 (77%)
1:31 (75%)
view
27 x 2 Remediation scripts...nbsp;subnets/PowerShell
Remediation scripts...nbsp;servers/PowerShell
1:31 (64%)
1:31 (75%)
view
27 x 2 Remediation scripts... server/PowerShell
Remediation scripts...nbsp;servers/PowerShell
1:31 (38%)
1:31 (75%)
view
25 x 2 Remediation scripts...on VMSS/PowerShell
Remediation scripts...on VMSS/PowerShell
1:32 (100%)
1:32 (100%)
view
24 x 2 Powershell scripts/... AI extension
Powershell scripts/... AI extension
1:28 (40%)
1:28 (50%)
view
21 x 2 Pricing & Sett...bsp;for Kubernetes
Pricing & Sett...bsp;for Kubernetes
117:137 (14%)
140:160 (14%)
view
21 x 2 Powershell scripts/...PIM-at-scale/Powershell
Powershell scripts/...PIM-at-scale/Powershell
7:31 (45%)
6:30 (42%)
view
21 x 2 Powershell scripts/...PIM-at-scale/Powershell
Powershell scripts/...PIM-at-scale/Powershell
6:30 (42%)
9:33 (42%)
view
19 x 2 Policy/Configure AP... Extension/Scripts
Policy/Configure-DCSPM-Extensions/Scripts
19:40 (59%)
35:56 (39%)
view
19 x 2 Powershell scripts/...nboardAPIM-at-scale/CLI
Powershell scripts/...nboardAPIM-at-scale/CLI
18:41 (59%)
17:40 (61%)
view
18 x 2 Powershell scripts/...ng Index Tags
Powershell scripts/...ng Index Tags
25:44 (8%)
25:44 (8%)
view
18 x 2 Powershell scripts/...ion for Linux
Powershell scripts/...p;Unified solution
8:25 (41%)
9:26 (40%)
view
17 x 2 Policy/Configure AP... Extension/Scripts
Policy/Configure-DCSPM-Extensions/Scripts
13:32 (62%)
33:52 (36%)
view
17 x 2 Powershell scripts/...ng Index Tags
Powershell scripts/...ng Index Tags
243:260 (7%)
247:264 (7%)
view
16 x 2 Powershell scripts/...;Estimation Script
Powershell scripts/...;Estimation Script
20:35 (25%)
33:48 (21%)
view
15 x 2 Remediation scripts...bsp;Services/PowerShell
Remediation scripts...nfigurations/PowerShell
98:127 (15%)
35:63 (18%)
view
15 x 2 Powershell scripts/...;all subscriptions
Remediation scripts...bsp;machines/Powershell
19:33 (13%)
2:16 (14%)
view
14 x 2 Remediation scripts.../MSFT_EPAntivirusStatus
Remediation scripts.../MSFT_EPAntivirusStatus
55:70 (4%)
262:277 (4%)
view
14 x 2 Remediation scripts.../MSFT_EPAntivirusStatus
Remediation scripts.../MSFT_EPAntivirusStatus
55:70 (4%)
286:301 (4%)
view
14 x 2 Policy/Configure AP... Extension/Scripts
Policy/Configure-DCSPM-Extensions/Scripts
1:19 (43%)
1:19 (29%)
view
14 x 2 Remediation scripts.../MSFT_EPAntivirusStatus
Remediation scripts.../MSFT_EPAntivirusStatus
262:277 (4%)
286:301 (4%)
view
13 x 2 Powershell scripts/...PIM-at-scale/Powershell
Powershell scripts/...PIM-at-scale/Powershell
44:60 (28%)
48:64 (26%)
view
13 x 2 Powershell scripts/...ng Index Tags
Powershell scripts/...ng Index Tags
214:227 (5%)
220:233 (5%)
view
13 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
226:239 (3%)
297:310 (3%)
view
12 x 2 Workflow automation...r for Storage
Workflow automation...r for Storage
97:112 (14%)
128:143 (14%)
view
12 x 2 Powershell scripts/...ion for Linux
Powershell scripts/...p;Unified solution
32:43 (27%)
33:44 (27%)
view
12 x 2 Remediation scripts...bsp;Services/PowerShell
Remediation scripts...nfigurations/PowerShell
145:169 (12%)
85:108 (15%)
view
12 x 2 Remediation scripts...ines/PowerShell/Windows
Remediation scripts...bsp;machines/PowerShell
6:20 (19%)
6:20 (19%)
view
12 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
226:237 (3%)
368:379 (3%)
view
12 x 2 Powershell scripts/...bsp;resource level
Powershell scripts/...bsp;resource level
297:308 (3%)
368:379 (3%)
view
11 x 2 Powershell scripts/...nboardAPIM-at-scale/CLI
Powershell scripts/...nboardAPIM-at-scale/CLI
27:40 (35%)
29:42 (33%)
view