diff --git a/.gitignore b/.gitignore index e8a7ae6..dfd31be 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ markdownissues.txt node_modules package-lock.json Aligned.xlsx -test-gh.ps1 \ No newline at end of file +test-gh1.ps1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b76155..7d59b5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on and uses the types of changes according to [Keep a Change ### Added +- Added `Export-M365SecurityAuditTable` public function to export applicable audit results to a table format. +- Added `Remove-RowsWithEmptyCSVStatus` public function to remove rows with empty status from the CSV file. +- Added `Get-Action` private function to retrieve the action for the test 6.1.2 and 6.1.3 tests. + +## [0.1.11] - 2024-06-14 + +### Added + - Added Get-MFAStatus function to help with auditing mfa for conditional access controls. ### Fixed diff --git a/source/Private/Format-MissingAction.ps1 b/source/Private/Format-MissingAction.ps1 deleted file mode 100644 index 5440486..0000000 --- a/source/Private/Format-MissingAction.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -function Format-MissingAction { - [CmdletBinding()] - [OutputType([hashtable])] - param ( - [array]$missingActions - ) - - $actionGroups = @{ - "Admin" = @() - "Delegate" = @() - "Owner" = @() - } - - foreach ($action in $missingActions) { - if ($action -match "(Admin|Delegate|Owner) action '([^']+)' missing") { - $type = $matches[1] - $actionName = $matches[2] - $actionGroups[$type] += $actionName - } - } - - $formattedResults = @{ - Admin = $actionGroups["Admin"] -join ', ' - Delegate = $actionGroups["Delegate"] -join ', ' - Owner = $actionGroups["Owner"] -join ', ' - } - - return $formattedResults -}