Skip to content

Commit

Permalink
Module requirements updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpan Sarkar committed Jul 31, 2023
1 parent 22d30c3 commit 1f6391f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Library/Basic_Functions.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
###Basic functions
function RequiredModules {
###This function checks for required modules by MAAD and Installs them if unavailable. Some modules have specific version requirements specified in the dictionary values
$RequiredModules=@{"Az" = "10.0.0";"AzureAd" = "";"MSOnline" = "";"ExchangeOnlineManagement" = "";"MicrosoftTeams" = "";"AADInternals" = "";"Microsoft.Online.SharePoint.PowerShell" = "";"PnP.PowerShell" = "1.12.0";"Microsoft.Graph.Identity.SignIns" = "";"Microsoft.Graph.Applications" = "";"Microsoft.Graph.Users" = "";"Microsoft.Graph.Groups" = ""}
$RequiredModules=@{"Az.Accounts" = "";"Az.Resources" = ""; "AzureAd" = "";"MSOnline" = "";"ExchangeOnlineManagement" = "";"MicrosoftTeams" = "";"AADInternals" = "";"Microsoft.Online.SharePoint.PowerShell" = "";"PnP.PowerShell" = "1.12.0";"Microsoft.Graph.Identity.SignIns" = "";"Microsoft.Graph.Applications" = "";"Microsoft.Graph.Users" = "";"Microsoft.Graph.Groups" = ""}
$missing_modules = @{}
$installed_modules = @{}

#Check for available modules
Write-Host "Checking dependencies..."
Write-Host "`nChecking dependencies..."
$installed_modules_count = 0
foreach ($module in $RequiredModules.Keys) {
try {
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ MAAD-AF is designed to make cloud security testing simple, fast and effective. T
1. Internet accessible Windows host
2. PowerShell (version 5 or later) terminal as Administrator
3. The following PowerShell modules are required and will be installed automatically:
- [Az](https://www.powershellgallery.com/packages/Az/)
- [Az.Accounts](https://www.powershellgallery.com/packages/Az.Accounts/2.12.4)
- [Az.Resources](https://www.powershellgallery.com/packages/Az.Resources/6.8.0)
- [AzureAd](https://www.powershellgallery.com/packages/AzureAD/)
- [MSOnline](https://www.powershellgallery.com/packages/MSOnline/)
- [ExchangeOnlineManagement](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/)
Expand All @@ -64,9 +65,6 @@ MAAD-AF is designed to make cloud security testing simple, fast and effective. T
- [Microsoft.Graph.Users](https://www.powershellgallery.com/packages/Microsoft.Graph.Users/2.0.0-rc3)
- [Microsoft.Graph.Groups](https://www.powershellgallery.com/packages/Microsoft.Graph.Groups/2.0.0-rc3)

### Limitations
- MAAD-AF is currently only fully supported on Windows OS

## Contribute
- Thank you for considering contributing to MAAD-AF!
- Your contributions will help make MAAD-AF better.
Expand Down

0 comments on commit 1f6391f

Please sign in to comment.