Skip to content

Commit

Permalink
fix(windows_install): remove tolower() from update policy name (#324)
Browse files Browse the repository at this point in the history
This was a regression from a previous commit.

Fixes #322
  • Loading branch information
carlosmmatos authored Jun 20, 2024
1 parent e9d1e17 commit 7928620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/install/falcon_windows_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ process {
# Get sensor version from policy
$message = "Retrieving sensor policy details for '$($SensorUpdatePolicyName)'"
Write-FalconLog 'GetPolicy' $message
$filter = "platform_name:'Windows'+name.raw:'$($SensorUpdatePolicyName.ToLower())'"
$filter = "platform_name:'Windows'+name.raw:'$($SensorUpdatePolicyName)'"
$url = "${BaseUrl}/policy/combined/sensor-update/v2?filter=$([System.Web.HttpUtility]::UrlEncode($filter)))"
$policy_scope = @{
'Sensor update policies' = @('Read')
Expand Down

0 comments on commit 7928620

Please sign in to comment.