Skip to content

Commit

Permalink
Fixed XML config pathing due to change in System.Xml.XmlDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
Xorlent authored Dec 20, 2023
1 parent e850eb0 commit f9b8283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FalconContain.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ if ([System.Environment]::OSVersion.Platform -ne 'Win32NT'){

# API connection ID and secret encrypted with the Windows Data Protection API.
###### NOTE: Encrypted config file is not portable between users/machines. ######
$ConfigFile = 'FalconContain-Config.xml'
$ConfigFile = "$PSScriptRoot\FalconContain-Config.xml"

# The host AIDs in the Protected AIDs file will never be contained/lifted, even if in a selected Host Group or a result from a host query.
# Contain/lift by AID will STILL be allowed for these hosts though.
$AIDFile = 'ProtectedAIDs.txt'
$AIDFile = '.\ProtectedAIDs.txt'
$DefaultAPIURL = 'api.crowdstrike.com'

#Configure logging
Expand Down

0 comments on commit f9b8283

Please sign in to comment.