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.
If you’re learning Bash scripting, one of the most useful features you’ll come across is…
If you are new to Bash scripting or Linux shell scripting, one of the most…
How Does a Firewall Work Step by Step? What Is a Firewall and How Does…
ROADTools is a powerful framework designed for exploring and interacting with Microsoft Azure Active Directory…
Microsoft 365 Groups (also known as M365 Groups or Unified Groups) are at the heart…
SeamlessPass is a specialized tool designed to leverage on-premises Active Directory Kerberos tickets to obtain…