azure / Microsoft-Defender-for-Cloud
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 42% | 20% | 37%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ps10% | 0% | 42% | 16% | 40%
psm10% | 0% | 100% | 0% | 0%
py0% | 0% | 68% | 31% | 0%
yaml0% | 0% | 0% | 100% | 0%
tf0% | 0% | 0% | 90% | 9%
cs0% | 0% | 0% | 100% | 0%
ts0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
psd10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Powershell scripts0% | 0% | 45% | 18% | 36%
Remediation scripts0% | 0% | 44% | 4% | 50%
Workflow automation0% | 0% | 67% | 19% | 12%
Onboarding0% | 0% | 68% | 31% | 0%
Terraform0% | 0% | 0% | 90% | 9%
Container Image Scan Vulnerability Assessment0% | 0% | 0% | 100% | 0%
Pricing & Settings0% | 0% | 0% | 100% | 0%
Labs0% | 0% | 0% | 100% | 0%
Policy0% | 0% | 0% | 43% | 56%
Legacy Log Analytics dashboards0% | 0% | 0% | 0% | 100%
Translate Recommendations0% | 0% | 0% | 0% | 100%
Secure Score0% | 0% | 0% | 0% | 100%
DemoAutomation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Create Azure RBAC Role based on CIEM access report.ps1
in Remediation scripts/Create Azure RBAC Role based on CIEM access report
496 -
ResourceLevelPricingAtScale.ps1
in Powershell scripts/Defender for Servers on resource level
374 -
MSFT_EPAntivirusStatus.psm1
in Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus
293 -
Read-AzStorageTransactions.ps1
in Powershell scripts/Read Azure Storage Transaction Metrics
258 -
257 25
Get-SqlVMProtectionStatusReport.ps1
in Powershell scripts/Defender for SQL servers on machines status report
256 -
AzureGuestPolicyHelper.psm1
in Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy
237 -
get-azStorageMetrics.ps1
in Powershell scripts/Storage Price Estimation Script
236 -
EnableAlertsStreamingTo3rdPartySiem.ps1
in Powershell scripts/3rd party SIEM integration
236 -
SchedulerForRansomwareDetection.ps1
in Workflow automation/AzureSiteRecovery-RansomwareProtection
227 -
RemoveMalwareScanningIndexTags_Vrsions.ps1
in Powershell scripts/Remove Malware Scanning Index Tags
225 -
RemoveMalwareScanningIndexTags.ps1
in Powershell scripts/Remove Malware Scanning Index Tags
224 -
MalwareScanScript.ps1
in Powershell scripts/MalwareScanScript
223 -
RansomwareDetector.ps1
in Workflow automation/AzureSiteRecovery-RansomwareProtection
216 -
EnableDefenderForSqlOnMachines.ps1
in Powershell scripts/Enable Defender for SQL servers on machines
207 -
list-notProtectedMachinesDefenderforSQL.ps1
in Powershell scripts/Machines Not Protected by Defender for SQL Extension
205 -
AddCmkPermissions.ps1
in Powershell scripts/Agentless Scanning CMK support
159 -
main.tf
in Terraform/Deploy Microsoft Defender for Cloud
155 -
ImageScanSummaryAssessmentGate.ps1
in Container Image Scan Vulnerability Assessment/Image Scan Automation Enrichment Security Gate
151 -
audit-policy.yaml
in Pricing & Settings/Defender for Kubernetes
145 -
Add-AMASecurityEventDCR.ps1
in Powershell scripts/Create AMA DCR for Security Events collection
139 -
MoveMaliciousBlobEventTrigger.cs
in Workflow automation/Move Malicious Blob FunctionApp Defender for Storage
130 3
129 -
New-JITPolicy.ps1
in Powershell scripts/JIT Scripts/New JIT Policy
125 -
OffboardTrustedIPsFromMDC.ps1
in Policy/Define MDC Trusted IPs/Scripts
119 -
Utils.py
in Onboarding/AWS
116 23
New-ASCVASolution.ps1
in Powershell scripts/Vulnerability Solution
112 -
enable-amaDefender4Servers.ps1
in Powershell scripts/Enable AMA Auto Provisioning
111 -
Get-All-ASC-Recommendations.ps1
in Powershell scripts/Export a list of recommendations for all subscriptions
111 -
enable-integration-settings.ps1
in Powershell scripts/Integration Settings
106 -
d4apis_cost_estimator_v1.ps1
in Powershell scripts/Defender APIs Cost Estimator
102 -
Enable-AzureVMDiskEncryption.ps1
in Remediation scripts/Disk encryption should be applied on virtual machines/Powershell
102 -
DismissAllAlerts.ps1
in Powershell scripts/Alerts
100 -
Migrate-GCCTenantFromPublic.ps1
in Powershell scripts/MDE Integration/Migrate GCC Tenant
98 -
Analyze-DefenderForStorageConfig.ps1
in Powershell scripts/Analyze Defender For Storage Configuration
97 -
Restrict-AzSecurityWebApps.ps1
in Remediation scripts/Restrict access to App Services/PowerShell
94 -
AzASCSubCount.ps1
in Powershell scripts/Subscription Management
92 -
Set-JitLeastPrivilegedRole.ps1
in Powershell scripts/JIT Scripts/JIT Custom Role
90 -
Get-SecAssessment.ps1
in Powershell scripts/Get Security Assessments (Recommendations)
88 -
Install-MMA-VMExtension.ps1
in Remediation scripts/Install monitoring agent on your machines/PowerShell
87 -
New-AzDefenderforCloudSubscription.ps1
in Powershell scripts/Enable MDC with a custom workspace
85 -
Translate-DfC-Recommendations.ps1
in Translate Recommendations
85 -
IdentityDashboard.ts
in Legacy Log Analytics dashboards
85 -
Remove-MDFCPolicyExemptions.ps1
in Powershell scripts/Exemptions
83 -
EndPointProtectionDSC.psd1
in Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC
80 -
Restrict-AzSecurityStorageAccounts.ps1
in Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell
79 -
Enable-JIT.ps1
in Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive
76 -
DefenderForStorage-CostEstimation-ResourceLevelVisibility.ps1
in Powershell scripts/Storage Price Estimation Script
73 -
MDEExtErrorReport.ps1
in Powershell scripts/MDE Integration/Enterprise Report on MDC - MDE VM Extension Failures
72 -
Enable-AzSecuritySQLAuditing.ps1
in Remediation scripts/Enable auditing for the SQL server/PowerShell
71 -
Files With Most Units (Top 3)
File# lines# units
257 25
Utils.py
in Onboarding/AWS
116 23
MoveMaliciousBlobEventTrigger.cs
in Workflow automation/Move Malicious Blob FunctionApp Defender for Storage
130 3
Files With Long Lines (Top 50)

There are 92 files with lines longer than 120 characters. In total, there are 647 long lines.

File# lines# units# long lines
get-azStorageMetrics.ps1
in Powershell scripts/Storage Price Estimation Script
236 - 38
ResourceLevelPricingAtScale.ps1
in Powershell scripts/Defender for Servers on resource level
374 - 33
RemoveMalwareScanningIndexTags_Vrsions.ps1
in Powershell scripts/Remove Malware Scanning Index Tags
225 - 24
257 25 23
EnableAlertsStreamingTo3rdPartySiem.ps1
in Powershell scripts/3rd party SIEM integration
236 - 21
RemoveMalwareScanningIndexTags.ps1
in Powershell scripts/Remove Malware Scanning Index Tags
224 - 18
Restrict-AzSecurityStorageAccounts.ps1
in Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell
79 - 18
enable-integration-settings.ps1
in Powershell scripts/Integration Settings
106 - 17
Create Azure RBAC Role based on CIEM access report.ps1
in Remediation scripts/Create Azure RBAC Role based on CIEM access report
496 - 17
Add-AMASecurityEventDCR.ps1
in Powershell scripts/Create AMA DCR for Security Events collection
139 - 16
SchedulerForRansomwareDetection.ps1
in Workflow automation/AzureSiteRecovery-RansomwareProtection
227 - 16
Remove-ASCDefaultPolicyAssignment.ps1
in Powershell scripts/Remove ASC Default policy assignment
69 - 14
ImageScanSummaryAssessmentGate.ps1
in Container Image Scan Vulnerability Assessment/Image Scan Automation Enrichment Security Gate
151 - 13
ThreatIntelligenceDashboard.ts
in Legacy Log Analytics dashboards
46 - 13
list-notProtectedMachinesDefenderforSQL.ps1
in Powershell scripts/Machines Not Protected by Defender for SQL Extension
205 - 12
Translate-DfC-Recommendations.ps1
in Translate Recommendations
85 - 12
enable-amaDefender4Servers.ps1
in Powershell scripts/Enable AMA Auto Provisioning
111 - 11
EnableDefenderForSqlOnMachines.ps1
in Powershell scripts/Enable Defender for SQL servers on machines
207 - 11
Enable-UnifiedMDE.ps1
in Powershell scripts/MDE Integration/Enable MDE Unified solution
44 - 10
AddCmkPermissions.ps1
in Powershell scripts/Agentless Scanning CMK support
159 - 10
Remove-MDFCPolicyExemptions.ps1
in Powershell scripts/Exemptions
83 - 9
AzASCSubCount.ps1
in Powershell scripts/Subscription Management
92 - 9
Enable-LinuxMDE.ps1
in Powershell scripts/MDE Integration/Enable MDE Integration for Linux
43 - 9
New-ASCVASolution.ps1
in Powershell scripts/Vulnerability Solution
112 - 9
Analyze-DefenderForStorageConfig.ps1
in Powershell scripts/Analyze Defender For Storage Configuration
97 - 9
AzureGuestPolicyHelper.psm1
in Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy
237 - 9
New-JITPolicy.ps1
in Powershell scripts/JIT Scripts/New JIT Policy
125 - 8
Enable-AzSecuritySQLAuditing.ps1
in Remediation scripts/Enable auditing for the SQL server/PowerShell
71 - 8
Generate-ExemptionReport.ps1
in Powershell scripts/Generate exemption report
68 - 7
Read-AzStorageTransactions.ps1
in Powershell scripts/Read Azure Storage Transaction Metrics
258 - 7
DisableCSPMAtScale.ps1
in Powershell scripts/Disable CSPM Plan
33 - 7
DisableCSPMOneSub.ps1
in Powershell scripts/Disable CSPM Plan
31 - 7
Get-SqlVMProtectionStatusReport.ps1
in Powershell scripts/Defender for SQL servers on machines status report
256 - 7
get-integration-report.ps1
in Powershell scripts/Integration Settings
54 - 7
OffboardTrustedIPsFromMDC.ps1
in Policy/Define MDC Trusted IPs/Scripts
119 - 7
All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1
in Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell
49 - 6
DFC_AffectedCmp.ps1
in Powershell scripts/Export Containers Affected Components
61 - 6
Migrate-GCCTenantFromPublic.ps1
in Powershell scripts/MDE Integration/Migrate GCC Tenant
98 - 6
Utils.py
in Onboarding/AWS
116 23 6
Restrict-AzSecurityWebApps.ps1
in Remediation scripts/Restrict access to App Services/PowerShell
94 - 6
SecurityAndAuditDashboard.ts
in Legacy Log Analytics dashboards
60 - 6
IdentityDashboard.ts
in Legacy Log Analytics dashboards
85 - 6
All-APIs-In-APIM-DefenderforAPIs-Onboarding.ps1
in Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell
49 - 5
All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1
in Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell
46 - 5
MalwareScanScript.ps1
in Powershell scripts/MalwareScanScript
223 - 5
D4Storage-PricingEstimation-Per-Storage-Parallel.ps1
in Powershell scripts/Storage Price Estimation Script
63 - 5
prePolpulateAttackPathTable.ps1
in Workflow automation/Notify-NewAttackPath
58 - 5
MoveMaliciousBlobEventTrigger.cs
in Workflow automation/Move Malicious Blob FunctionApp Defender for Storage
130 3 5
RansomwareDetector.ps1
in Workflow automation/AzureSiteRecovery-RansomwareProtection
216 - 5
MSFT_EPAntivirusStatus.psm1
in Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus
293 - 5
Correlations

File Size vs. Commits (all time): 108 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 3 commits (all time) y: 119 lines of code Powershell scripts/Agentless Scanning CMK support/AddCmkPermissions.ps1 x: 23 commits (all time) y: 159 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 x: 2 commits (all time) y: 32 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 x: 2 commits (all time) y: 27 lines of code Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 x: 6 commits (all time) y: 47 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 x: 6 commits (all time) y: 224 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 x: 3 commits (all time) y: 225 lines of code Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 x: 10 commits (all time) y: 256 lines of code Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 x: 9 commits (all time) y: 374 lines of code Workflow automation/Move Malicious Blob FunctionApp Defender for Storage/MoveMaliciousBlobEventTrigger.cs x: 3 commits (all time) y: 130 lines of code Powershell scripts/MalwareScanScript/MalwareScanScript.ps1 x: 1 commits (all time) y: 223 lines of code Labs/Files/On_Demand_Insomnia_2024-10-14.yaml x: 1 commits (all time) y: 129 lines of code Powershell scripts/Analyze Defender For Storage Configuration/Analyze-DefenderForStorageConfig.ps1 x: 2 commits (all time) y: 97 lines of code Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceCSV.ps1 x: 3 commits (all time) y: 60 lines of code Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceTxt.ps1 x: 3 commits (all time) y: 48 lines of code Powershell scripts/Enable Defender for SQL servers on machines/EnableDefenderForSqlOnMachines.ps1 x: 13 commits (all time) y: 207 lines of code Powershell scripts/Machines Not Protected by Defender for SQL Extension/list-notProtectedMachinesDefenderforSQL.ps1 x: 7 commits (all time) y: 205 lines of code Powershell scripts/MDE Integration/Enable MDE Unified solution/Enable-UnifiedMDE.ps1 x: 2 commits (all time) y: 44 lines of code Powershell scripts/Storage Price Estimation Script/get-azStorageMetrics.ps1 x: 3 commits (all time) y: 236 lines of code Onboarding/AWS/GrantAccessToEksClusters.py x: 12 commits (all time) y: 257 lines of code Onboarding/AWS/Utils.py x: 12 commits (all time) y: 116 lines of code Powershell scripts/Agentless Container Posture/Onboarding.ps1 x: 7 commits (all time) y: 50 lines of code Powershell scripts/Create AMA DCR for Security Events collection/Add-AMASecurityEventDCR.ps1 x: 5 commits (all time) y: 139 lines of code Powershell scripts/Defender APIs Cost Estimator/d4apis_cost_estimator_v1.ps1 x: 3 commits (all time) y: 102 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd x: 2 commits (all time) y: 31 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 x: 2 commits (all time) y: 46 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 x: 2 commits (all time) y: 49 lines of code Powershell scripts/Disable CSPM Plan/DisableCSPMAtScale.ps1 x: 6 commits (all time) y: 33 lines of code Powershell scripts/Disable CSPM Plan/DisableCSPMOneSub.ps1 x: 6 commits (all time) y: 31 lines of code Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 x: 7 commits (all time) y: 111 lines of code Powershell scripts/Export Containers Affected Components/DFC_AffectedCmp.ps1 x: 6 commits (all time) y: 61 lines of code Powershell scripts/Integration Settings/enable-integration-settings.ps1 x: 3 commits (all time) y: 106 lines of code Powershell scripts/Integration Settings/get-integration-report.ps1 x: 3 commits (all time) y: 54 lines of code Powershell scripts/JIT Scripts/JIT Custom Role/Set-JitLeastPrivilegedRole.ps1 x: 14 commits (all time) y: 90 lines of code Powershell scripts/MDE Integration/Enable MDE Integration for Linux/Enable-LinuxMDE.ps1 x: 4 commits (all time) y: 43 lines of code Powershell scripts/MDE Integration/Enterprise Report on MDC - MDE VM Extension Failures/MDEExtErrorReport.ps1 x: 4 commits (all time) y: 72 lines of code Powershell scripts/MDE Integration/MDE VM Extension Single VM Onboard/MDESingleOnboard.ps1 x: 4 commits (all time) y: 18 lines of code Powershell scripts/MDE Integration/Migrate GCC Tenant/Migrate-GCCTenantFromPublic.ps1 x: 5 commits (all time) y: 98 lines of code Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage-Parallel.ps1 x: 10 commits (all time) y: 63 lines of code Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage.ps1 x: 10 commits (all time) y: 65 lines of code Powershell scripts/Storage Price Estimation Script/DefenderForStorage-CostEstimation-ResourceLevelVisibility.ps1 x: 2 commits (all time) y: 73 lines of code Remediation scripts/Create Azure RBAC Role based on CIEM access report/Create Azure RBAC Role based on CIEM access report.ps1 x: 2 commits (all time) y: 496 lines of code Terraform/Deploy Microsoft Defender for Cloud/main.tf x: 7 commits (all time) y: 155 lines of code Terraform/Deploy Microsoft Defender for Cloud/providers.tf x: 7 commits (all time) y: 16 lines of code Translate Recommendations/Translate-DfC-Recommendations.ps1 x: 3 commits (all time) y: 85 lines of code Workflow automation/AzureSiteRecovery-RansomwareProtection/RansomwareDetector.ps1 x: 6 commits (all time) y: 216 lines of code Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 x: 6 commits (all time) y: 227 lines of code Workflow automation/Notify-NewAttackPath/prePolpulateAttackPathTable.ps1 x: 5 commits (all time) y: 58 lines of code DemoAutomation/config.ps1 x: 3 commits (all time) y: 10 lines of code Powershell scripts/Alerts/DismissAllAlerts.ps1 x: 12 commits (all time) y: 100 lines of code Powershell scripts/Enable MDC with a custom workspace/New-AzDefenderforCloudSubscription.ps1 x: 6 commits (all time) y: 85 lines of code Powershell scripts/Get Security Assessments (Recommendations)/Get-SecAssessment.ps1 x: 3 commits (all time) y: 88 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/EndPointProtectionDSC.psd1 x: 13 commits (all time) y: 80 lines of code Powershell scripts/3rd party SIEM integration/EnableAlertsStreamingTo3rdPartySiem.ps1 x: 4 commits (all time) y: 236 lines of code Container Image Scan Vulnerability Assessment/Image Scan Automation Enrichment Security Gate/ImageScanSummaryAssessmentGate.ps1 x: 17 commits (all time) y: 151 lines of code Powershell scripts/Security Event collection tier/WorkspaceDatasourcesSecurityEventList.ps1 x: 2 commits (all time) y: 38 lines of code Powershell scripts/Exemptions/Remove-MDFCPolicyExemptions.ps1 x: 2 commits (all time) y: 83 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/AzureGuestPolicyHelper.psm1 x: 25 commits (all time) y: 237 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 x: 12 commits (all time) y: 293 lines of code Powershell scripts/JIT Scripts/New JIT Policy/New-JITPolicy.ps1 x: 2 commits (all time) y: 125 lines of code Powershell scripts/Generate exemption report/Generate-ExemptionReport.ps1 x: 4 commits (all time) y: 68 lines of code Powershell scripts/Read Azure Storage Transaction Metrics/Read-AzStorageTransactions.ps1 x: 11 commits (all time) y: 258 lines of code Powershell scripts/Remove ASC Default policy assignment/Remove-ASCDefaultPolicyAssignment.ps1 x: 2 commits (all time) y: 69 lines of code Powershell scripts/Vulnerability Solution/New-ASCVASolution.ps1 x: 38 commits (all time) y: 112 lines of code Pricing & Settings/Defender for Kubernetes/audit-policy.yaml x: 12 commits (all time) y: 145 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines (powered by Qualys)/PowerShell/qualys-remediate-unhealthy-vms.ps1 x: 14 commits (all time) y: 52 lines of code Remediation scripts/Install monitoring agent on VMSS/PowerShell/Install_VMSS.ps1 x: 2 commits (all time) y: 25 lines of code Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 x: 5 commits (all time) y: 76 lines of code Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Enable-JITVM.ps1 x: 5 commits (all time) y: 42 lines of code Secure Score/SecureScoreOverTimeReport/Grant-SubscriptionPermissions.ps1 x: 4 commits (all time) y: 7 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/Configurations/MonitorAntivirus.ps1 x: 4 commits (all time) y: 15 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/ParameterFiles/EPAntivirusStatus.Params.psd1 x: 4 commits (all time) y: 12 lines of code Workflow automation/Export-ASCDataToEventHub/Grant-SubscriptionPermissions.ps1 x: 2 commits (all time) y: 7 lines of code Workflow automation/Send-WeeklyComplianceReport/Grant-SubscriptionPermissions.ps1 x: 3 commits (all time) y: 7 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Check-VA-VMExtension.ps1 x: 6 commits (all time) y: 63 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Install-VA-VMExtention.ps1 x: 6 commits (all time) y: 59 lines of code Powershell scripts/Export a list of recommendations for all subscriptions/Get-All-ASC-Recommendations.ps1 x: 3 commits (all time) y: 111 lines of code Powershell scripts/Subscription Management/AzASCSubCount.ps1 x: 2 commits (all time) y: 92 lines of code Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 x: 3 commits (all time) y: 50 lines of code Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 x: 3 commits (all time) y: 42 lines of code Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 x: 3 commits (all time) y: 71 lines of code Remediation scripts/Enable transparent data encryption on SQL databases/PowerShell/Set-Sql-Transparant-Data-Encryption.ps1 x: 3 commits (all time) y: 13 lines of code Remediation scripts/Function App should only be accessible over HTTPs/PowerShell/Set-FunctionAppHttpsOnly.ps1 x: 3 commits (all time) y: 5 lines of code Remediation scripts/Install Monitring Agent on VMSS/PowerShell/Install_VMSS.ps1 x: 3 commits (all time) y: 25 lines of code Remediation scripts/Install monitoring agent on your machines/PowerShell/Check-MMA-VMExtension.ps1 x: 3 commits (all time) y: 61 lines of code Remediation scripts/Install monitoring agent on your machines/PowerShell/Install-MMA-VMExtension.ps1 x: 3 commits (all time) y: 87 lines of code Remediation scripts/Remove deprecated accounts from subscriptions/PowerShell/Remove-deprecated-accounts-from-subscriptions.ps1 x: 3 commits (all time) y: 26 lines of code Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 x: 3 commits (all time) y: 35 lines of code Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 x: 3 commits (all time) y: 94 lines of code Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 x: 3 commits (all time) y: 79 lines of code Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 x: 3 commits (all time) y: 36 lines of code Legacy Log Analytics dashboards/IdentityDashboard.ts x: 4 commits (all time) y: 85 lines of code Legacy Log Analytics dashboards/SecurityAndAuditDashboard.ts x: 4 commits (all time) y: 60 lines of code Legacy Log Analytics dashboards/ThreatIntelligenceDashboard.ts x: 4 commits (all time) y: 46 lines of code
496.0
lines of code
  min: 5.0
  average: 90.86
  25th percentile: 35.25
  median: 63.0
  75th percentile: 111.75
  max: 496.0
0 38.0
commits (all time)
min: 1.0 | average: 5.45 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 6.0 | max: 38.0

File Size vs. Contributors (all time): 108 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 2 contributors (all time) y: 119 lines of code Powershell scripts/Agentless Scanning CMK support/AddCmkPermissions.ps1 x: 4 contributors (all time) y: 159 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 x: 2 contributors (all time) y: 32 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 x: 2 contributors (all time) y: 27 lines of code Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 x: 6 contributors (all time) y: 47 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 x: 4 contributors (all time) y: 224 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 x: 2 contributors (all time) y: 225 lines of code Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 x: 3 contributors (all time) y: 256 lines of code Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 x: 5 contributors (all time) y: 374 lines of code Workflow automation/Move Malicious Blob FunctionApp Defender for Storage/MoveMaliciousBlobEventTrigger.cs x: 2 contributors (all time) y: 130 lines of code Powershell scripts/MalwareScanScript/MalwareScanScript.ps1 x: 1 contributors (all time) y: 223 lines of code Labs/Files/On_Demand_Insomnia_2024-10-14.yaml x: 1 contributors (all time) y: 129 lines of code Powershell scripts/Analyze Defender For Storage Configuration/Analyze-DefenderForStorageConfig.ps1 x: 2 contributors (all time) y: 97 lines of code Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceCSV.ps1 x: 3 contributors (all time) y: 60 lines of code Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceTxt.ps1 x: 3 contributors (all time) y: 48 lines of code Powershell scripts/Enable Defender for SQL servers on machines/EnableDefenderForSqlOnMachines.ps1 x: 5 contributors (all time) y: 207 lines of code Powershell scripts/Machines Not Protected by Defender for SQL Extension/list-notProtectedMachinesDefenderforSQL.ps1 x: 3 contributors (all time) y: 205 lines of code Powershell scripts/MDE Integration/Enable MDE Unified solution/Enable-UnifiedMDE.ps1 x: 2 contributors (all time) y: 44 lines of code Powershell scripts/Storage Price Estimation Script/get-azStorageMetrics.ps1 x: 3 contributors (all time) y: 236 lines of code Onboarding/AWS/GrantAccessToEksClusters.py x: 5 contributors (all time) y: 257 lines of code Onboarding/AWS/Utils.py x: 5 contributors (all time) y: 116 lines of code Powershell scripts/Agentless Container Posture/Onboarding.ps1 x: 6 contributors (all time) y: 50 lines of code Powershell scripts/Create AMA DCR for Security Events collection/Add-AMASecurityEventDCR.ps1 x: 5 contributors (all time) y: 139 lines of code Powershell scripts/Defender APIs Cost Estimator/d4apis_cost_estimator_v1.ps1 x: 3 contributors (all time) y: 102 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd x: 2 contributors (all time) y: 31 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 x: 2 contributors (all time) y: 46 lines of code Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 x: 2 contributors (all time) y: 49 lines of code Powershell scripts/Disable CSPM Plan/DisableCSPMAtScale.ps1 x: 6 contributors (all time) y: 33 lines of code Powershell scripts/Disable CSPM Plan/DisableCSPMOneSub.ps1 x: 6 contributors (all time) y: 31 lines of code Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 x: 5 contributors (all time) y: 111 lines of code Powershell scripts/Export Containers Affected Components/DFC_AffectedCmp.ps1 x: 5 contributors (all time) y: 61 lines of code Powershell scripts/Integration Settings/enable-integration-settings.ps1 x: 3 contributors (all time) y: 106 lines of code Powershell scripts/Integration Settings/get-integration-report.ps1 x: 3 contributors (all time) y: 54 lines of code Powershell scripts/JIT Scripts/JIT Custom Role/Set-JitLeastPrivilegedRole.ps1 x: 7 contributors (all time) y: 90 lines of code Powershell scripts/MDE Integration/Enable MDE Integration for Linux/Enable-LinuxMDE.ps1 x: 4 contributors (all time) y: 43 lines of code Powershell scripts/MDE Integration/Enterprise Report on MDC - MDE VM Extension Failures/MDEExtErrorReport.ps1 x: 4 contributors (all time) y: 72 lines of code Powershell scripts/MDE Integration/MDE VM Extension Single VM Onboard/MDESingleOnboard.ps1 x: 4 contributors (all time) y: 18 lines of code Powershell scripts/MDE Integration/Migrate GCC Tenant/Migrate-GCCTenantFromPublic.ps1 x: 4 contributors (all time) y: 98 lines of code Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage-Parallel.ps1 x: 8 contributors (all time) y: 63 lines of code Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage.ps1 x: 4 contributors (all time) y: 65 lines of code Powershell scripts/Storage Price Estimation Script/DefenderForStorage-CostEstimation-ResourceLevelVisibility.ps1 x: 1 contributors (all time) y: 73 lines of code Remediation scripts/Create Azure RBAC Role based on CIEM access report/Create Azure RBAC Role based on CIEM access report.ps1 x: 2 contributors (all time) y: 496 lines of code Terraform/Deploy Microsoft Defender for Cloud/main.tf x: 6 contributors (all time) y: 155 lines of code Terraform/Deploy Microsoft Defender for Cloud/providers.tf x: 6 contributors (all time) y: 16 lines of code Translate Recommendations/Translate-DfC-Recommendations.ps1 x: 3 contributors (all time) y: 85 lines of code Workflow automation/AzureSiteRecovery-RansomwareProtection/RansomwareDetector.ps1 x: 5 contributors (all time) y: 216 lines of code Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 x: 5 contributors (all time) y: 227 lines of code Workflow automation/Notify-NewAttackPath/prePolpulateAttackPathTable.ps1 x: 5 contributors (all time) y: 58 lines of code DemoAutomation/config.ps1 x: 3 contributors (all time) y: 10 lines of code Powershell scripts/Alerts/DismissAllAlerts.ps1 x: 7 contributors (all time) y: 100 lines of code Powershell scripts/Enable MDC with a custom workspace/New-AzDefenderforCloudSubscription.ps1 x: 5 contributors (all time) y: 85 lines of code Powershell scripts/Get Security Assessments (Recommendations)/Get-SecAssessment.ps1 x: 3 contributors (all time) y: 88 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/EndPointProtectionDSC.psd1 x: 8 contributors (all time) y: 80 lines of code Container Image Scan Vulnerability Assessment/Image Scan Automation Enrichment Security Gate/ImageScanSummaryAssessmentGate.ps1 x: 7 contributors (all time) y: 151 lines of code Powershell scripts/Security Event collection tier/WorkspaceDatasourcesSecurityEventList.ps1 x: 2 contributors (all time) y: 38 lines of code Powershell scripts/Exemptions/Remove-MDFCPolicyExemptions.ps1 x: 2 contributors (all time) y: 83 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/AzureGuestPolicyHelper.psm1 x: 5 contributors (all time) y: 237 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 x: 7 contributors (all time) y: 293 lines of code Powershell scripts/JIT Scripts/New JIT Policy/New-JITPolicy.ps1 x: 2 contributors (all time) y: 125 lines of code Powershell scripts/Generate exemption report/Generate-ExemptionReport.ps1 x: 3 contributors (all time) y: 68 lines of code Powershell scripts/Read Azure Storage Transaction Metrics/Read-AzStorageTransactions.ps1 x: 6 contributors (all time) y: 258 lines of code Powershell scripts/Remove ASC Default policy assignment/Remove-ASCDefaultPolicyAssignment.ps1 x: 2 contributors (all time) y: 69 lines of code Powershell scripts/Vulnerability Solution/New-ASCVASolution.ps1 x: 12 contributors (all time) y: 112 lines of code Pricing & Settings/Defender for Kubernetes/audit-policy.yaml x: 7 contributors (all time) y: 145 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines (powered by Qualys)/PowerShell/qualys-remediate-unhealthy-vms.ps1 x: 9 contributors (all time) y: 52 lines of code Remediation scripts/Install monitoring agent on VMSS/PowerShell/Install_VMSS.ps1 x: 2 contributors (all time) y: 25 lines of code Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 x: 3 contributors (all time) y: 76 lines of code Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Enable-JITVM.ps1 x: 3 contributors (all time) y: 42 lines of code Secure Score/SecureScoreOverTimeReport/Grant-SubscriptionPermissions.ps1 x: 2 contributors (all time) y: 7 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/Configurations/MonitorAntivirus.ps1 x: 3 contributors (all time) y: 15 lines of code Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/AzureGuestConfigurationPolicy/ParameterFiles/EPAntivirusStatus.Params.psd1 x: 3 contributors (all time) y: 12 lines of code Workflow automation/Export-ComplianceData/Grant-SubscriptionPermissions.ps1 x: 4 contributors (all time) y: 7 lines of code Workflow automation/Send-WeeklyComplianceReport/Grant-SubscriptionPermissions.ps1 x: 3 contributors (all time) y: 7 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Check-VA-VMExtension.ps1 x: 4 contributors (all time) y: 63 lines of code Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Install-VA-VMExtention.ps1 x: 4 contributors (all time) y: 59 lines of code Powershell scripts/Export a list of recommendations for all subscriptions/Get-All-ASC-Recommendations.ps1 x: 3 contributors (all time) y: 111 lines of code Powershell scripts/Subscription Management/AzASCSubCount.ps1 x: 2 contributors (all time) y: 92 lines of code Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 x: 3 contributors (all time) y: 50 lines of code Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 x: 3 contributors (all time) y: 71 lines of code Remediation scripts/Function App should only be accessible over HTTPs/PowerShell/Set-FunctionAppHttpsOnly.ps1 x: 3 contributors (all time) y: 5 lines of code Remediation scripts/Install Monitring Agent on VMSS/PowerShell/Install_VMSS.ps1 x: 3 contributors (all time) y: 25 lines of code Remediation scripts/Install monitoring agent on your machines/PowerShell/Check-MMA-VMExtension.ps1 x: 3 contributors (all time) y: 61 lines of code Remediation scripts/Install monitoring agent on your machines/PowerShell/Install-MMA-VMExtension.ps1 x: 3 contributors (all time) y: 87 lines of code Remediation scripts/Remove deprecated accounts from subscriptions/PowerShell/Remove-deprecated-accounts-from-subscriptions.ps1 x: 3 contributors (all time) y: 26 lines of code Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 x: 3 contributors (all time) y: 35 lines of code Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 x: 3 contributors (all time) y: 94 lines of code Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 x: 3 contributors (all time) y: 79 lines of code Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 x: 3 contributors (all time) y: 36 lines of code Legacy Log Analytics dashboards/IdentityDashboard.ts x: 4 contributors (all time) y: 85 lines of code Legacy Log Analytics dashboards/ThreatIntelligenceDashboard.ts x: 4 contributors (all time) y: 46 lines of code
496.0
lines of code
  min: 5.0
  average: 90.86
  25th percentile: 35.25
  median: 63.0
  75th percentile: 111.75
  max: 496.0
0 12.0
contributors (all time)
min: 1.0 | average: 3.71 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 5.0 | max: 12.0

File Size vs. Commits (30 days): 1 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 3 commits (30d) y: 119 lines of code
119.0
lines of code
  min: 119.0
  average: 119.0
  25th percentile: 119.0
  median: 119.0
  75th percentile: 119.0
  max: 119.0
0 3.0
commits (30d)
min: 3.0 | average: 3.0 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 3.0

File Size vs. Contributors (30 days): 1 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 2 contributors (30d) y: 119 lines of code
119.0
lines of code
  min: 119.0
  average: 119.0
  25th percentile: 119.0
  median: 119.0
  75th percentile: 119.0
  max: 119.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 9 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 3 commits (90d) y: 119 lines of code Powershell scripts/Agentless Scanning CMK support/AddCmkPermissions.ps1 x: 19 commits (90d) y: 159 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 x: 2 commits (90d) y: 32 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 x: 2 commits (90d) y: 27 lines of code Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 x: 2 commits (90d) y: 47 lines of code Policy/Configure-DCSPM-Extensions/Scripts/enableDCSPM-AllSubscriptions.ps1 x: 2 commits (90d) y: 48 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 x: 4 commits (90d) y: 224 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 x: 3 commits (90d) y: 225 lines of code Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 x: 10 commits (90d) y: 256 lines of code
256.0
lines of code
  min: 27.0
  average: 126.33
  25th percentile: 39.5
  median: 119.0
  75th percentile: 224.5
  max: 256.0
0 19.0
commits (90d)
min: 2.0 | average: 5.22 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.0 | max: 19.0

File Size vs. Contributors (90 days): 9 points

Policy/Define MDC Trusted IPs/Scripts/OffboardTrustedIPsFromMDC.ps1 x: 2 contributors (90d) y: 119 lines of code Powershell scripts/Agentless Scanning CMK support/AddCmkPermissions.ps1 x: 2 contributors (90d) y: 159 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 x: 2 contributors (90d) y: 32 lines of code Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 x: 2 contributors (90d) y: 27 lines of code Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 x: 2 contributors (90d) y: 47 lines of code Policy/Configure-DCSPM-Extensions/Scripts/enableDCSPM-AllSubscriptions.ps1 x: 2 contributors (90d) y: 48 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 x: 2 contributors (90d) y: 224 lines of code Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 x: 2 contributors (90d) y: 225 lines of code Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 x: 3 contributors (90d) y: 256 lines of code
256.0
lines of code
  min: 27.0
  average: 126.33
  25th percentile: 39.5
  median: 119.0
  75th percentile: 224.5
  max: 256.0
0 3.0
contributors (90d)
min: 2.0 | average: 2.11 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0