From f2f52604c21b4e60c5d564e56ea2b2be553ef740 Mon Sep 17 00:00:00 2001 From: Snozz Date: Sat, 6 Jul 2024 21:20:40 -0700 Subject: [PATCH 1/4] Init docs --- website/docs/tests/orca/readme.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 website/docs/tests/orca/readme.md diff --git a/website/docs/tests/orca/readme.md b/website/docs/tests/orca/readme.md new file mode 100644 index 00000000..fe171019 --- /dev/null +++ b/website/docs/tests/orca/readme.md @@ -0,0 +1,24 @@ +--- +id: overview +title: ORCA Tests +sidebar_label: 🐳 ORCA Overview +description: Implementation of ORCA Controls +--- + +# ORCA Controls + +## Overview + +The Microsoft Defender for [Office 365 Recommended Configuration Analyzer (ORCA)](https://github.com/cammurray/orca) tool is an implementation of Microsoft's [Recommended settings for EOP and Microsoft Defender for Office 365 security](https://learn.microsoft.com/en-us/defender-office-365/recommended-settings-for-eop-and-office365). The tests in this section align with this intent. + +## Connecting to Azure, Exchange and other services + +In order to run all the ORCA tests, you need to install and connect to the Azure and Exchange Online modules. + +See the [Installation guide](/docs/installation#optional-modules-and-permissions) for more information. + +## Tests + +| Cmdlet Name | Microsoft Reference Link | +|- | - | +| | | From bd16b90f57fc9d42f95f16e8682342caab1c9738 Mon Sep 17 00:00:00 2001 From: Snozz Date: Thu, 11 Jul 2024 19:38:02 -0700 Subject: [PATCH 2/4] SCC Connect logic --- powershell/public/Connect-Maester.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/public/Connect-Maester.ps1 b/powershell/public/Connect-Maester.ps1 index 90e55c65..82ae11e6 100644 --- a/powershell/public/Connect-Maester.ps1 +++ b/powershell/public/Connect-Maester.ps1 @@ -140,7 +140,7 @@ Function Connect-Maester { } } Write-Verbose "Connecting to Microsoft Security & Complaince PowerShell" - if ($Service -notcontains "ExchangeOnline" -or $Service -notcontains "All"){ + if ($Service -notcontains "ExchangeOnline" -and $Service -notcontains "All"){ Write-Host "`nThe Security & Complaince module is dependent on the Exchange Online module. Please include ExchangeOnline when specifying the services.`nFor more information see https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell" -ForegroundColor Red }else{ if ($UseDeviceCode){ From bc80f82ffe04bf0223eef9fce6513b5e037268dc Mon Sep 17 00:00:00 2001 From: Snozz Date: Thu, 11 Jul 2024 19:51:00 -0700 Subject: [PATCH 3/4] Bad rename --- .../{Test-MtCisaDlp.Tests copy.ps1 => Test-MtCisaDlp.Tests.ps1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/CISA/exchange/{Test-MtCisaDlp.Tests copy.ps1 => Test-MtCisaDlp.Tests.ps1} (100%) diff --git a/tests/CISA/exchange/Test-MtCisaDlp.Tests copy.ps1 b/tests/CISA/exchange/Test-MtCisaDlp.Tests.ps1 similarity index 100% rename from tests/CISA/exchange/Test-MtCisaDlp.Tests copy.ps1 rename to tests/CISA/exchange/Test-MtCisaDlp.Tests.ps1 From e8801f7e3f2aef88fab6aecabeb349841cb110ce Mon Sep 17 00:00:00 2001 From: Snozz Date: Thu, 11 Jul 2024 20:05:02 -0700 Subject: [PATCH 4/4] Clean up --- website/docs/tests/orca/readme.md | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 website/docs/tests/orca/readme.md diff --git a/website/docs/tests/orca/readme.md b/website/docs/tests/orca/readme.md deleted file mode 100644 index fe171019..00000000 --- a/website/docs/tests/orca/readme.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -id: overview -title: ORCA Tests -sidebar_label: 🐳 ORCA Overview -description: Implementation of ORCA Controls ---- - -# ORCA Controls - -## Overview - -The Microsoft Defender for [Office 365 Recommended Configuration Analyzer (ORCA)](https://github.com/cammurray/orca) tool is an implementation of Microsoft's [Recommended settings for EOP and Microsoft Defender for Office 365 security](https://learn.microsoft.com/en-us/defender-office-365/recommended-settings-for-eop-and-office365). The tests in this section align with this intent. - -## Connecting to Azure, Exchange and other services - -In order to run all the ORCA tests, you need to install and connect to the Azure and Exchange Online modules. - -See the [Installation guide](/docs/installation#optional-modules-and-permissions) for more information. - -## Tests - -| Cmdlet Name | Microsoft Reference Link | -|- | - | -| | |