The Defender-for-Cloud-Apps Toolbox is a robust collection of PowerShell functions designed to streamline and automate the management of Microsoft Cloud App Security (MCAS).
By leveraging these tools, administrators can efficiently handle tasks such as managing blocklists, configuring IP ranges, and more. Below is a detailed overview of its features, functions, requirements, and usage.
The toolbox offers the following key functionalities:
To use the toolbox:
Discovery.manage, Settings.read, and Settings.manage.To install, clone the repository:
git clone https://github.com/alexverboon/Defender-for-Cloud-Apps-Toolbox.git Import the desired functions into your PowerShell session:
Import-Module .\FunctionName.ps1 Export All IP Ranges
.\Export-MCASIpRange.ps1 -McasPortalAPI "https://yourmcasapi.com" -Token "your_token" -OutputCsvFilePath "c:\Sampledata\mcas_export.csv" Add a New IP Range
New-MCASIpRange -CsvFilePath "c:\sampledata\mcasip_new.csv" -McasPortalAPI "https://yourmcasapi.com" -Token $token Remove an IP Range
Remove-MCASIPRange -CsvFilePath "C:\sampledata\mcasip_remove.csv" -McasPortalAPI "https://yourmcasapi.com" -Token $token This toolbox simplifies administrative tasks in Microsoft Defender for Cloud Apps, enabling efficient management of security configurations through automation.
General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…
How to Send POST Requests Using curl in Linux If you work with APIs, servers,…
If you are a Linux user, you have probably seen commands like chmod 777 while…
Vim and Vi are among the most powerful text editors in the Linux world. They…
Working with compressed files is a common task for any Linux user. Whether you are…
In the digital era, an email address can reveal much more than just a contact…