Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.42 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.42 KB

MCAS Toolbox

PowerShell scripts for managing Microsoft Cloud App Security

This repository contains scripts for managing Microsoft Cloud App Security.


Get Started

  1. First you must register an API token within the Microsoft Cloud App Security Console. You find instructions for this here Managing API tokens

  2. The MCAS Toolbox functions have a dependency on the MCAS PowerShell module

Install-Module -Name "MCAS" -Scope CurrentUser
  1. Before you can run the MCAS Toolbox functions you must first connect with MCAS
    $mcastoken = "<YOUR TOKEN GOES HERE>"
    $mcasurl = "eCorp.eu2.portal.cloudappsecurity.com"
    .\Connect-MCASApi.ps1 -MCASToken $MCASToken -MCASUrl $mcasurl

If the previous steps completed successfully, you can run the following function to get a list of registered IP ranges in MCAS.

   .\Get-MCIPRange -IPRangeName AlexHome

Functions

  • Add-MCASIPRange
  • Compare-MCASIPSubnet
  • Connect-MCASApi
  • Export-MCASIpRange
  • Find-MCASIPSubnet
  • Get-MCASIPRange

Release Notes

Version Date Notes
1.0.0 09.04.2021 Initial Release

TODO

  • Import-MCASIpRange