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.
Have you ever come across a picture on the internet and wondered where it came…
Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…
Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…
Efficient disk space management is vital in Linux, especially for system administrators who manage servers…
Knowing how to check directory sizes in Linux is essential for managing disk space and…
Managing user accounts is a core responsibility for any Linux administrator. Whether you’re securing a…