Skip to content

Support absolute path for logFolder#223

Merged
clr2of8 merged 1 commit intoredcanaryco:masterfrom
hazemkya:support-absolute-path
May 21, 2025
Merged

Support absolute path for logFolder#223
clr2of8 merged 1 commit intoredcanaryco:masterfrom
hazemkya:support-absolute-path

Conversation

@hazemkya
Copy link
Copy Markdown
Contributor

When setting up the following configurations:

@'
$artConfig | Add-Member -Force -NotePropertyMembers @{
  LoggingModule = 'Attire-ExecutionLogger'
  logFileName = 'timestamp_atomic_output.json'
  logFolder = 'C:\AtomicRedTeam\AtomicRunner-Logs'
}
'@ | Out-File -FilePath "C:\AtomicRedTeam\privateConfig.ps1" -Encoding utf8 -Force

I get malformed file path.

This simple change is meant to support logFolder absolute path, if no absolute path is given then the behavior will be the same, so this is not a breaking change.

@clr2of8 clr2of8 merged commit 2903f87 into redcanaryco:master May 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants