Skip to content

Commit

Permalink
minor update on README and log
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilienCourt authored and EmilienCourt committed Oct 30, 2024
1 parent 4a3b560 commit 690eeee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DFIR-O365RC/Get-O365.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down

0 comments on commit 690eeee

Please sign in to comment.