From 72d1f4d4af322e1ddf021e888791f1b9e74e9a63 Mon Sep 17 00:00:00 2001 From: Carlos Matos Date: Mon, 4 Nov 2024 18:15:45 -0500 Subject: [PATCH] chore: bump v1.7.0 (#381) --- .../falcon-container-sensor-pull/README.md | 2 +- .../falcon-container-sensor-pull.sh | 2 +- bash/install/README.md | 24 +++++++++---------- bash/install/falcon-linux-install.sh | 2 +- bash/install/falcon-linux-uninstall.sh | 2 +- powershell/install/README.md | 4 ++-- powershell/install/falcon_windows_install.ps1 | 2 +- .../install/falcon_windows_uninstall.ps1 | 2 +- powershell/migrate/README.md | 2 +- powershell/migrate/falcon_windows_migrate.ps1 | 2 +- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/bash/containers/falcon-container-sensor-pull/README.md b/bash/containers/falcon-container-sensor-pull/README.md index 10c4e48..2a312d0 100644 --- a/bash/containers/falcon-container-sensor-pull/README.md +++ b/bash/containers/falcon-container-sensor-pull/README.md @@ -71,7 +71,7 @@ The script supports auto-discovery of the Falcon cloud region. If the cloud regi ```terminal Usage: falcon-container-sensor-pull.sh [options] -Version: 1.6.0 +Version: 1.7.0 Required Flags: -u, --client-id Falcon API OAUTH Client ID diff --git a/bash/containers/falcon-container-sensor-pull/falcon-container-sensor-pull.sh b/bash/containers/falcon-container-sensor-pull/falcon-container-sensor-pull.sh index e920eac..3aa43bd 100755 --- a/bash/containers/falcon-container-sensor-pull/falcon-container-sensor-pull.sh +++ b/bash/containers/falcon-container-sensor-pull/falcon-container-sensor-pull.sh @@ -6,7 +6,7 @@ Description: Bash script to copy Falcon DaemonSet Sensor, Container Sensor, Kube set -e -VERSION="1.6.0" +VERSION="1.7.0" usage() { echo "Usage: $0 [options] diff --git a/bash/install/README.md b/bash/install/README.md index 41d0fb6..083f62f 100644 --- a/bash/install/README.md +++ b/bash/install/README.md @@ -94,7 +94,7 @@ The installer is AWS SSM aware, if `FALCON_CLIENT_ID` and `FALCON_CLIENT_SECRET` Usage: falcon-linux-install.sh [-h|--help] Installs and configures the CrowdStrike Falcon Sensor for Linux. -Version: 1.6.0 +Version: 1.7.0 This script recognizes the following environmental variables: @@ -191,7 +191,7 @@ To download and run the script directly: ```bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh | bash ``` Alternatively, download the script and run it locally: @@ -199,7 +199,7 @@ Alternatively, download the script and run it locally: ```bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" -curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh +curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh bash falcon-linux-install.sh ``` @@ -216,7 +216,7 @@ FALCON_CLIENT_ID="XXXXXXX" FALCON_CLIENT_SECRET="YYYYYYYYY" bash falcon-linux-in ```bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh | bash ``` #### Install the Falcon Sensor with the previous version (n-1) @@ -225,7 +225,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" export FALCON_SENSOR_VERSION_DECREMENT=1 -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh | bash ``` #### Create a Golden Image @@ -234,7 +234,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" export PREP_GOLDEN_IMAGE="true" -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh | bash ``` ## Uninstall Script @@ -243,7 +243,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash Usage: falcon-linux-uninstall.sh [-h|--help] Uninstalls the CrowdStrike Falcon Sensor from Linux operating systems. -Version: 1.6.0 +Version: 1.7.0 The script recognizes the following environmental variables: @@ -290,13 +290,13 @@ This script recognizes the following argument: To download and run the script directly ```bash -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-uninstall.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-uninstall.sh | bash ``` Alternatively, download the script and run it locally ```bash -curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-uninstall.sh +curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-uninstall.sh bash falcon-linux-uninstall.sh ``` @@ -305,7 +305,7 @@ bash falcon-linux-uninstall.sh #### Uninstall the Falcon Sensor ```bash -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-uninstall.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-uninstall.sh | bash ``` #### Uninstall and remove the host from the Falcon console @@ -314,7 +314,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash export FALCON_CLIENT_ID="XXXXXXX" export FALCON_CLIENT_SECRET="YYYYYYYYY" export FALCON_REMOVE_HOST="true" -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-uninstall.sh | bash +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-uninstall.sh | bash ``` ## Troubleshooting @@ -328,5 +328,5 @@ bash -x falcon-linux-install.sh or ```bash -curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/bash/install/falcon-linux-install.sh | bash -x +curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/bash/install/falcon-linux-install.sh | bash -x ``` diff --git a/bash/install/falcon-linux-install.sh b/bash/install/falcon-linux-install.sh index 95767aa..eacd8f1 100755 --- a/bash/install/falcon-linux-install.sh +++ b/bash/install/falcon-linux-install.sh @@ -98,7 +98,7 @@ This script recognizes the following argument: EOF } -VERSION="1.6.0" +VERSION="1.7.0" # If -h or --help is passed, print the usage and exit if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then diff --git a/bash/install/falcon-linux-uninstall.sh b/bash/install/falcon-linux-uninstall.sh index 45b78c5..c5b3f00 100755 --- a/bash/install/falcon-linux-uninstall.sh +++ b/bash/install/falcon-linux-uninstall.sh @@ -50,7 +50,7 @@ This script recognizes the following argument: EOF } -VERSION="1.6.0" +VERSION="1.7.0" # If -h or --help is passed, print the usage and exit if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then diff --git a/powershell/install/README.md b/powershell/install/README.md index a684330..524785f 100644 --- a/powershell/install/README.md +++ b/powershell/install/README.md @@ -113,7 +113,7 @@ Enable verbose logging To download the script: ```pwsh -Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/powershell/install/falcon_windows_install.ps1 -OutFile falcon_windows_install.ps1 +Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/powershell/install/falcon_windows_install.ps1 -OutFile falcon_windows_install.ps1 ``` Basic example that will install the sensor with the provided provisioning token @@ -175,7 +175,7 @@ Enable verbose logging To download the script: ```pwsh -Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/powershell/install/falcon_windows_uninstall.ps1 -OutFile falcon_windows_uninstall.ps1 +Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/powershell/install/falcon_windows_uninstall.ps1 -OutFile falcon_windows_uninstall.ps1 ``` Basic example that will uninstall the sensor with the provided maintenance token diff --git a/powershell/install/falcon_windows_install.ps1 b/powershell/install/falcon_windows_install.ps1 index c6bbccc..bb6c4f0 100755 --- a/powershell/install/falcon_windows_install.ps1 +++ b/powershell/install/falcon_windows_install.ps1 @@ -192,7 +192,7 @@ begin { function Invoke-FalconAuth([hashtable] $WebRequestParams, [string] $BaseUrl, [hashtable] $Body, [string] $FalconCloud) { $Headers = @{'Accept' = 'application/json'; 'Content-Type' = 'application/x-www-form-urlencoded'; 'charset' = 'utf-8' } - $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.6.0') + $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.0') if ($FalconAccessToken){ $Headers.Add('Authorization', "bearer $($FalconAccessToken)") } diff --git a/powershell/install/falcon_windows_uninstall.ps1 b/powershell/install/falcon_windows_uninstall.ps1 index 93f3985..9deb56d 100755 --- a/powershell/install/falcon_windows_uninstall.ps1 +++ b/powershell/install/falcon_windows_uninstall.ps1 @@ -177,7 +177,7 @@ begin { function Invoke-FalconAuth([hashtable] $WebRequestParams, [string] $BaseUrl, [hashtable] $Body, [string] $FalconCloud) { $Headers = @{'Accept' = 'application/json'; 'Content-Type' = 'application/x-www-form-urlencoded'; 'charset' = 'utf-8' } - $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.6.0') + $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.0') if ($FalconAccessToken){ $Headers.Add('Authorization', "bearer $($FalconAccessToken)") } diff --git a/powershell/migrate/README.md b/powershell/migrate/README.md index 9635280..2e139d1 100644 --- a/powershell/migrate/README.md +++ b/powershell/migrate/README.md @@ -101,7 +101,7 @@ Enable verbose logging To download the script, run the following command: ```pwsh -Invoke-WebRequest -Uri "https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.6.0/powershell/migrate/falcon_windows_migrate.ps1" -OutFile "falcon_windows_migrate.ps1" +Invoke-WebRequest -Uri "https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.0/powershell/migrate/falcon_windows_migrate.ps1" -OutFile "falcon_windows_migrate.ps1" ``` ### Example 1 diff --git a/powershell/migrate/falcon_windows_migrate.ps1 b/powershell/migrate/falcon_windows_migrate.ps1 index 0abfc69..f022ba0 100644 --- a/powershell/migrate/falcon_windows_migrate.ps1 +++ b/powershell/migrate/falcon_windows_migrate.ps1 @@ -985,7 +985,7 @@ function Get-FalconCloud ([string] $xCsRegion) { function Invoke-FalconAuth([hashtable] $WebRequestParams, [string] $BaseUrl, [hashtable] $Body, [string] $FalconCloud) { $Headers = @{'Accept' = 'application/json'; 'Content-Type' = 'application/x-www-form-urlencoded'; 'charset' = 'utf-8' } - $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.6.0') + $Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.0') try { $response = Invoke-WebRequest @WebRequestParams -Uri "$($BaseUrl)/oauth2/token" -UseBasicParsing -Method 'POST' -Headers $Headers -Body $Body $content = ConvertFrom-Json -InputObject $response.Content