duplicated block id: 1 size: 120 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (48:186) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (48:186) duplicated block id: 2 size: 38 cleaned lines of code in 2 files: - Workflow automation/AzureSiteRecovery-RansomwareProtection/RansomwareDetector.ps1 (150:195) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (98:143) duplicated block id: 3 size: 38 cleaned lines of code in 2 files: - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (124:163) - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (216:255) duplicated block id: 4 size: 36 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (242:281) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (313:352) duplicated block id: 5 size: 35 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (173:210) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (243:281) duplicated block id: 6 size: 35 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (173:210) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (314:352) duplicated block id: 7 size: 28 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (1:32) - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (1:32) duplicated block id: 8 size: 28 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (1:32) - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (1:32) duplicated block id: 9 size: 28 cleaned lines of code in 2 files: - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (1:32) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (1:32) duplicated block id: 10 size: 28 cleaned lines of code in 2 files: - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (1:32) - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (1:32) duplicated block id: 11 size: 28 cleaned lines of code in 2 files: - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (1:32) - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (1:32) duplicated block id: 12 size: 28 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (1:32) - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (1:32) duplicated block id: 13 size: 28 cleaned lines of code in 2 files: - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (1:32) - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (1:32) duplicated block id: 14 size: 27 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (1:31) duplicated block id: 15 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (1:31) duplicated block id: 16 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (1:31) duplicated block id: 17 size: 27 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 (7:40) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIs-In-APIM-DefenderforAPIs-Onboarding.ps1 (9:42) duplicated block id: 18 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (1:31) duplicated block id: 19 size: 27 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (1:31) duplicated block id: 20 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (1:31) duplicated block id: 21 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (1:31) duplicated block id: 22 size: 27 cleaned lines of code in 2 files: - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (1:31) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (1:31) duplicated block id: 23 size: 25 cleaned lines of code in 2 files: - Remediation scripts/Install Monitring Agent on VMSS/PowerShell/Install_VMSS.ps1 (1:32) - Remediation scripts/Install monitoring agent on VMSS/PowerShell/Install_VMSS.ps1 (1:32) duplicated block id: 24 size: 24 cleaned lines of code in 2 files: - Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceCSV.ps1 (1:28) - Powershell scripts/Enable AI Threat protection plan/Powershell scripts with AI extension/PromptEvidenceTxt.ps1 (1:28) duplicated block id: 25 size: 21 cleaned lines of code in 2 files: - Pricing & Settings/Defender for Kubernetes/audit-policy.yaml (117:137) - Pricing & Settings/Defender for Kubernetes/audit-policy.yaml (140:160) duplicated block id: 26 size: 21 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 (7:31) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 (6:30) duplicated block id: 27 size: 21 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 (6:30) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIs-In-APIM-DefenderforAPIs-Onboarding.ps1 (9:33) duplicated block id: 28 size: 19 cleaned lines of code in 2 files: - Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 (19:40) - Policy/Configure-DCSPM-Extensions/Scripts/enableDCSPM-AllSubscriptions.ps1 (35:56) duplicated block id: 29 size: 19 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.cmd (18:41) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd (17:40) duplicated block id: 30 size: 18 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (25:44) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (25:44) duplicated block id: 31 size: 18 cleaned lines of code in 2 files: - Powershell scripts/MDE Integration/Enable MDE Integration for Linux/Enable-LinuxMDE.ps1 (8:25) - Powershell scripts/MDE Integration/Enable MDE Unified solution/Enable-UnifiedMDE.ps1 (9:26) duplicated block id: 32 size: 17 cleaned lines of code in 2 files: - Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 (13:32) - Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 (33:52) duplicated block id: 33 size: 17 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (243:260) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (247:264) duplicated block id: 34 size: 16 cleaned lines of code in 2 files: - Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage-Parallel.ps1 (20:35) - Powershell scripts/Storage Price Estimation Script/DefenderForStorage-CostEstimation-ResourceLevelVisibility.ps1 (33:48) duplicated block id: 35 size: 15 cleaned lines of code in 2 files: - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (98:127) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (35:63) duplicated block id: 36 size: 15 cleaned lines of code in 2 files: - Powershell scripts/Export a list of recommendations for all subscriptions/Get-All-ASC-Recommendations.ps1 (19:33) - Remediation scripts/Disk encryption should be applied on virtual machines/Powershell/Enable-AzureVMDiskEncryption.ps1 (2:16) duplicated block id: 37 size: 14 cleaned lines of code in 2 files: - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (55:70) - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (262:277) duplicated block id: 38 size: 14 cleaned lines of code in 2 files: - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (55:70) - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (286:301) duplicated block id: 39 size: 14 cleaned lines of code in 2 files: - Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension-AllSubscriptions.ps1 (1:19) - Policy/Configure-DCSPM-Extensions/Scripts/enableDCSPM-AllSubscriptions.ps1 (1:19) duplicated block id: 40 size: 14 cleaned lines of code in 2 files: - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (262:277) - Remediation scripts/Customize Endpoint Protection Recommendation/Modules/EndPointProtectionDSC/DSCResources/MSFT_EPAntivirusStatus/MSFT_EPAntivirusStatus.psm1 (286:301) duplicated block id: 41 size: 13 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 (44:60) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIs-In-APIM-DefenderforAPIs-Onboarding.ps1 (48:64) duplicated block id: 42 size: 13 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (214:227) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (220:233) duplicated block id: 43 size: 13 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (226:239) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (297:310) duplicated block id: 44 size: 12 cleaned lines of code in 2 files: - Workflow automation/Move Malicious Blob FunctionApp Defender for Storage/MoveMaliciousBlobEventTrigger.cs (97:112) - Workflow automation/Move Malicious Blob FunctionApp Defender for Storage/MoveMaliciousBlobEventTrigger.cs (128:143) duplicated block id: 45 size: 12 cleaned lines of code in 2 files: - Powershell scripts/MDE Integration/Enable MDE Integration for Linux/Enable-LinuxMDE.ps1 (32:43) - Powershell scripts/MDE Integration/Enable MDE Unified solution/Enable-UnifiedMDE.ps1 (33:44) duplicated block id: 46 size: 12 cleaned lines of code in 2 files: - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (145:169) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (85:108) duplicated block id: 47 size: 12 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Check-VA-VMExtension.ps1 (6:20) - Remediation scripts/Install monitoring agent on your machines/PowerShell/Check-MMA-VMExtension.ps1 (6:20) duplicated block id: 48 size: 12 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (226:237) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (368:379) duplicated block id: 49 size: 12 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (297:308) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (368:379) duplicated block id: 50 size: 11 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd (27:40) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (29:42) duplicated block id: 51 size: 11 cleaned lines of code in 2 files: - Powershell scripts/Export a list of recommendations for all subscriptions/Get-All-ASC-Recommendations.ps1 (35:45) - Remediation scripts/Disk encryption should be applied on virtual machines/Powershell/Enable-AzureVMDiskEncryption.ps1 (18:28) duplicated block id: 52 size: 11 cleaned lines of code in 2 files: - Powershell scripts/Subscription Management/AzASCSubCount.ps1 (3:23) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (39:59) duplicated block id: 53 size: 11 cleaned lines of code in 2 files: - Powershell scripts/Subscription Management/AzASCSubCount.ps1 (3:23) - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (103:123) duplicated block id: 54 size: 11 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.cmd (1:13) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (1:13) duplicated block id: 55 size: 11 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.cmd (28:41) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (29:42) duplicated block id: 56 size: 10 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd (1:12) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (1:12) duplicated block id: 57 size: 10 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.cmd (1:12) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd (1:12) duplicated block id: 58 size: 10 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (77:86) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (113:122) duplicated block id: 59 size: 10 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (45:54) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (70:79) duplicated block id: 60 size: 9 cleaned lines of code in 2 files: - Remediation scripts/Disk encryption should be applied on virtual machines/Powershell/Enable-AzureVMDiskEncryption.ps1 (46:57) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (41:52) duplicated block id: 61 size: 9 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (11:23) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (11:23) duplicated block id: 62 size: 9 cleaned lines of code in 2 files: - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (204:212) - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (259:267) duplicated block id: 63 size: 9 cleaned lines of code in 2 files: - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (104:112) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (32:40) duplicated block id: 64 size: 9 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Install-VA-VMExtention.ps1 (27:35) - Remediation scripts/Install monitoring agent on your machines/PowerShell/Install-MMA-VMExtension.ps1 (27:35) duplicated block id: 65 size: 9 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Install-VA-VMExtention.ps1 (15:24) - Remediation scripts/Install monitoring agent on your machines/PowerShell/Install-MMA-VMExtension.ps1 (15:24) duplicated block id: 66 size: 8 cleaned lines of code in 2 files: - Powershell scripts/Get Security Assessments (Recommendations)/Get-SecAssessment.ps1 (76:85) - Powershell scripts/Get Security Assessments (Recommendations)/Get-SecSubAssessment.ps1 (27:36) duplicated block id: 67 size: 8 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (23:30) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (56:63) duplicated block id: 68 size: 8 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines (powered by Qualys)/PowerShell/qualys-remediate-unhealthy-vms.ps1 (33:40) - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines (powered by Qualys)/PowerShell/qualys-remediate-unhealthy-vms.ps1 (48:55) duplicated block id: 69 size: 8 cleaned lines of code in 2 files: - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (88:95) - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (104:111) duplicated block id: 70 size: 8 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (23:30) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (81:88) duplicated block id: 71 size: 8 cleaned lines of code in 2 files: - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (88:95) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (32:39) duplicated block id: 72 size: 8 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (56:63) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (81:88) duplicated block id: 73 size: 7 cleaned lines of code in 2 files: - Pricing & Settings/Defender for Kubernetes/audit-policy.yaml (73:80) - Pricing & Settings/Defender for Kubernetes/audit-policy.yaml (82:89) duplicated block id: 74 size: 7 cleaned lines of code in 2 files: - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags.ps1 (192:199) - Powershell scripts/Remove Malware Scanning Index Tags/RemoveMalwareScanningIndexTags_Vrsions.ps1 (198:205) duplicated block id: 75 size: 7 cleaned lines of code in 2 files: - Workflow automation/AzureSiteRecovery-RansomwareProtection/RansomwareDetector.ps1 (129:135) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (77:83) duplicated block id: 76 size: 7 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (14:20) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (47:53) duplicated block id: 77 size: 7 cleaned lines of code in 2 files: - Policy/Configure API Security Posture Extension/Scripts/PowerShell - Enable DCSPM API Security Extension.ps1 (6:13) - Policy/Configure-DCSPM-Extensions/Scripts/PSEnableDCSPM.ps1 (10:17) duplicated block id: 78 size: 7 cleaned lines of code in 2 files: - Powershell scripts/Subscription Management/AzASCSubCount.ps1 (25:38) - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (127:141) duplicated block id: 79 size: 7 cleaned lines of code in 2 files: - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (14:20) - Labs/Files/On_Demand_Insomnia_2024-10-14.yaml (72:78) duplicated block id: 80 size: 7 cleaned lines of code in 2 files: - Powershell scripts/Generate exemption report/Generate-ExemptionReport.ps1 (13:20) - Powershell scripts/Vulnerability Solution/New-ASCVASolution.ps1 (54:61) duplicated block id: 81 size: 7 cleaned lines of code in 2 files: - Powershell scripts/Get Security Assessments (Recommendations)/Get-SecAssessment.ps1 (107:114) - Powershell scripts/Get Security Assessments (Recommendations)/Get-SecSubAssessment.ps1 (51:58) duplicated block id: 82 size: 7 cleaned lines of code in 2 files: - Secure Score/Get-SecureScoreData/Grant-SubscriptionPermissions.ps1 (1:9) - Secure Score/SecureScoreOverTimeReport/Grant-SubscriptionPermissions.ps1 (1:9) duplicated block id: 83 size: 7 cleaned lines of code in 2 files: - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (131:143) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (69:81) duplicated block id: 84 size: 7 cleaned lines of code in 2 files: - Powershell scripts/Storage Price Estimation Script/D4Storage-PricingEstimation-Per-Storage-Parallel.ps1 (2:8) - Powershell scripts/Storage Price Estimation Script/DefenderForStorage-CostEstimation-ResourceLevelVisibility.ps1 (6:12) duplicated block id: 85 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Subscription Management/AzASCSubCount.ps1 (5:15) - Remediation scripts/Remove External Accounts/PowerShell/Remove-external-accounts-from-your-subscription.ps1 (5:15) duplicated block id: 86 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (283:288) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (354:359) duplicated block id: 87 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Install-VA-VMExtention.ps1 (62:69) - Remediation scripts/Install monitoring agent on your machines/PowerShell/Install-MMA-VMExtension.ps1 (91:96) duplicated block id: 88 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (40:45) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (66:71) duplicated block id: 89 size: 6 cleaned lines of code in 2 files: - Terraform/Deploy Microsoft Defender for Cloud/main.tf (134:140) - Terraform/Deploy Microsoft Defender for Cloud/main.tf (148:154) duplicated block id: 90 size: 6 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.ps1 (33:40) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 (33:39) duplicated block id: 91 size: 6 cleaned lines of code in 2 files: - Remediation scripts/DDoS Protection Standard should be enabled/PowerShell/Enable-AzSecurityDDOSProtection.ps1 (9:15) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) duplicated block id: 92 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (219:224) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (361:366) duplicated block id: 93 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Disk encryption should be applied on virtual machines/Powershell/Enable-AzureVMDiskEncryption.ps1 (11:16) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (11:16) duplicated block id: 94 size: 6 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Subscription-DefenderforAPIs-Onboarding.cmd (19:25) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (20:26) duplicated block id: 95 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Enable the built-in vulnerability assessment solution on virtual machines/PowerShell/Windows/Check-VA-VMExtension.ps1 (61:68) - Remediation scripts/Install monitoring agent on your machines/PowerShell/Check-MMA-VMExtension.ps1 (59:66) duplicated block id: 96 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (185:190) - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (204:209) duplicated block id: 97 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (212:217) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (354:359) duplicated block id: 98 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Disable CSPM Plan/DisableCSPMAtScale.ps1 (6:11) - Powershell scripts/Disable CSPM Plan/DisableCSPMOneSub.ps1 (6:11) duplicated block id: 99 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (290:295) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (361:366) duplicated block id: 100 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Subscription Management/AzASCSubCount.ps1 (28:38) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (69:79) duplicated block id: 101 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (185:190) - Powershell scripts/Defender for SQL servers on machines status report/Get-SqlVMProtectionStatusReport.ps1 (259:264) duplicated block id: 102 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) - Remediation scripts/Require secure transfer to storage account/PowerShell/Enable-AzSecuritySecureTransfer.ps1 (9:15) duplicated block id: 103 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Export a list of recommendations for all subscriptions/Get-All-ASC-Recommendations.ps1 (28:33) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (11:16) duplicated block id: 104 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Enable auditing for the SQL server/PowerShell/Enable-AzSecuritySQLAuditing.ps1 (9:15) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) duplicated block id: 105 size: 6 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.cmd (18:24) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/CLI/All-APIs-In-APIM-DefenderforAPIs-Onboarding.cmd (20:26) duplicated block id: 106 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Remove External Accounts/PowerShell/Remove-external-accounts-from-your-subscription.ps1 (5:15) - Remediation scripts/Restrict access to App Services/PowerShell/Restrict-AzSecurityWebApps.ps1 (105:115) duplicated block id: 107 size: 6 cleaned lines of code in 2 files: - Workflow automation/AzureSiteRecovery-RansomwareProtection/RansomwareDetector.ps1 (197:202) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (146:151) duplicated block id: 108 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Enable AMA Auto Provisioning/enable-amaDefender4Servers.ps1 (40:45) - Powershell scripts/Storage Price Estimation Script/get-azStorageMetrics.ps1 (75:80) duplicated block id: 109 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) - Remediation scripts/Vulnerability assessment should be enabled on your SQL managed instances/PowerShell/Enable-AzSecuritySQLMIVA.ps1 (9:15) duplicated block id: 110 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Storage Price Estimation Script/get-azStorageMetrics.ps1 (75:80) - Workflow automation/AzureSiteRecovery-RansomwareProtection/SchedulerForRansomwareDetection.ps1 (66:71) duplicated block id: 111 size: 6 cleaned lines of code in 2 files: - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIMs-In-Tenant-DefenderforAPIs-Onboarding.ps1 (33:39) - Powershell scripts/DefenderforAPIs-onboardAPIM-at-scale/Powershell/All-APIs-In-APIM-DefenderforAPIs-Onboarding.ps1 (35:42) duplicated block id: 112 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (212:217) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (283:288) duplicated block id: 113 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Enable Network Security Groups on subnets/PowerShell/Enable-NSGinSubnet.ps1 (9:15) - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) duplicated block id: 114 size: 6 cleaned lines of code in 2 files: - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (219:224) - Powershell scripts/Defender for Servers on resource level/ResourceLevelPricingAtScale.ps1 (290:295) duplicated block id: 115 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Management ports of virtual machines should be protected with just-in-time network access control/PowerShell/Archive/Enable-JIT.ps1 (12:17) - Remediation scripts/Vulnerability assessment should be enabled on your SQL servers/PowerShell/Enable-AzSecuritySQLVA.ps1 (9:15) duplicated block id: 116 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Enable transparent data encryption on SQL databases/PowerShell/Set-Sql-Transparant-Data-Encryption.ps1 (1:6) - Remediation scripts/Provision an Azure AD Administrator on SQL Server/PowerShell/Add-ADadminToSql.ps1 (4:9) duplicated block id: 117 size: 6 cleaned lines of code in 2 files: - Powershell scripts/MalwareScanScript/MalwareScanScript.ps1 (46:51) - Powershell scripts/MalwareScanScript/MalwareScanScript.ps1 (65:70) duplicated block id: 118 size: 6 cleaned lines of code in 2 files: - Remediation scripts/Remove External Accounts/PowerShell/Remove-external-accounts-from-your-subscription.ps1 (5:15) - Remediation scripts/Restrict access to storage accounts with firewall and virtual network configurations/PowerShell/Restrict-AzSecurityStorageAccounts.ps1 (41:51)