pliancy / occam

O365 Configuration Compliance Audit Manager
https://github.com/pliancy/occam
MIT License
32 stars 6 forks source link

Add support for MSOL Proxy, custom Rules, and $OCCAM environment variables #1

Closed CalebAlbers closed 3 years ago

CalebAlbers commented 3 years ago

Adds functionality that dynamically builds an MSOnline proxy module that wraps each MSOnline function, strips the -TenantId param, and auto-fills it so that rule evaluation can just use the Get-MsolUser or similar cmdlets and have it automatically scoped to the tenant ID

OCCAM now parses any files ending in .Rule.ps1 in the working directory while building the ruleset, rather than requiring you to place the rule in the module files

An $OCCAM PS Drive with custom environment variables is now available in the rule execution environment.