diff --git a/DFIR-O365RC/Get-O365.ps1 b/DFIR-O365RC/Get-O365.ps1 index b086dd4..461ca7c 100755 --- a/DFIR-O365RC/Get-O365.ps1 +++ b/DFIR-O365RC/Get-O365.ps1 @@ -322,8 +322,8 @@ function Get-O365 { $adminAuditLogConfig = Get-AdminAuditLogConfig $isIngestionEnabled = $adminAuditLogConfig.UnifiedAuditLogIngestionEnabled if (-not $isIngestionEnabled){ - Write-Error "Log ingestion is not enabled. This means that the unified audit log is disabled. This is not the default setting, please check https://learn.microsoft.com/en-us/purview/audit-log-enable-disable for more information. Exiting" - "Log ingestion is not enabled. This means that the unified audit log is disabled. This is not the default setting, please check https://learn.microsoft.com/en-us/purview/audit-log-enable-disable for more information. Exiting" | Write-Log -LogPath $logFile -LogLevel "Error" + Write-Error "Log ingestion is not enabled. This means that the unified audit log is disabled. This is not the default setting, please check https://learn.microsoft.com/en-us/purview/audit-log-enable-disable for more information" + "Log ingestion is not enabled. This means that the unified audit log is disabled. This is not the default setting, please check https://learn.microsoft.com/en-us/purview/audit-log-enable-disable for more information" | Write-Log -LogPath $logFile -LogLevel "Error" $adminAuditLogConfig | Write-Log -LogPath $logFile -LogLevel "Error" } else { diff --git a/README.md b/README.md index ad09e57..1d936a6 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ ![DFIR-O365RC](./logo.png) -[![Docker Image CI](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/docker-image.yml/badge.svg)](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/docker-image.yml) +[![Publish Docker image to Dockerhub](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/dockerhub.yml/badge.svg)](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/dockerhub.yml/badge.svg) +[![Publish module to PowerShell Gallery](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/psgallery.yml/badge.svg)](https://github.com/ANSSI-FR/DFIR-O365RC/actions/workflows/psgallery.yml/badge.svg) + --- ## Table of contents: