Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump v1.7.2 #394

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bash/containers/falcon-container-sensor-pull/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.1
Version: 1.7.2

Required Flags:
-u, --client-id <FALCON_CLIENT_ID> Falcon API OAUTH Client ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description: Bash script to copy Falcon DaemonSet Sensor, Container Sensor, Kube

set -e

VERSION="1.7.1"
VERSION="1.7.2"

usage() {
echo "Usage: $0 [options]
Expand Down
24 changes: 12 additions & 12 deletions bash/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Ensure the following API scopes are enabled:
> :warning:
> It is recommended to use Host Retention Policies in the Falcon console instead.



## Configuration

Expand Down Expand Up @@ -99,7 +99,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.7.1
Version: 1.7.2

This script recognizes the following environmental variables:

Expand Down Expand Up @@ -196,15 +196,15 @@ 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.7.1/bash/install/falcon-linux-install.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh | bash
```

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.7.1/bash/install/falcon-linux-install.sh
curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh
bash falcon-linux-install.sh
```

Expand All @@ -221,7 +221,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.7.1/bash/install/falcon-linux-install.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh | bash
```

#### Install the Falcon Sensor with the previous version (n-1)
Expand All @@ -230,7 +230,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/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.7.1/bash/install/falcon-linux-install.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh | bash
```

#### Create a Golden Image
Expand All @@ -239,7 +239,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/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.7.1/bash/install/falcon-linux-install.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh | bash
```

## Uninstall Script
Expand All @@ -248,7 +248,7 @@ curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/bash
Usage: falcon-linux-uninstall.sh [-h|--help]

Uninstalls the CrowdStrike Falcon Sensor from Linux operating systems.
Version: 1.7.1
Version: 1.7.2

The script recognizes the following environmental variables:

Expand Down Expand Up @@ -296,13 +296,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.7.1/bash/install/falcon-linux-uninstall.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/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.7.1/bash/install/falcon-linux-uninstall.sh
curl -O https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-uninstall.sh
bash falcon-linux-uninstall.sh
```

Expand All @@ -311,7 +311,7 @@ bash falcon-linux-uninstall.sh
#### Uninstall the Falcon Sensor

```bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/bash/install/falcon-linux-uninstall.sh | bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-uninstall.sh | bash
```

## Troubleshooting
Expand All @@ -325,5 +325,5 @@ bash -x falcon-linux-install.sh
or

```bash
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/bash/install/falcon-linux-install.sh | bash -x
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/bash/install/falcon-linux-install.sh | bash -x
```
2 changes: 1 addition & 1 deletion bash/install/falcon-linux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This script recognizes the following argument:
EOF
}

VERSION="1.7.1"
VERSION="1.7.2"

# If -h or --help is passed, print the usage and exit
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
Expand Down
2 changes: 1 addition & 1 deletion bash/install/falcon-linux-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This script recognizes the following argument:
EOF
}

VERSION="1.7.1"
VERSION="1.7.2"

# If -h or --help is passed, print the usage and exit
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
Expand Down
4 changes: 2 additions & 2 deletions powershell/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Enable verbose logging
To download the script:

```pwsh
Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/powershell/install/falcon_windows_install.ps1 -OutFile falcon_windows_install.ps1
Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/powershell/install/falcon_windows_install.ps1 -OutFile falcon_windows_install.ps1
```

Basic example that will install the sensor with the provided provisioning token
Expand Down Expand Up @@ -175,7 +175,7 @@ Enable verbose logging
To download the script:

```pwsh
Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.1/powershell/install/falcon_windows_uninstall.ps1 -OutFile falcon_windows_uninstall.ps1
Invoke-WebRequest -Uri https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/powershell/install/falcon_windows_uninstall.ps1 -OutFile falcon_windows_uninstall.ps1
```

Basic example that will uninstall the sensor with the provided maintenance token
Expand Down
4 changes: 2 additions & 2 deletions powershell/install/falcon_windows_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.1')
$Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.2')
if ($FalconAccessToken) {
$Headers.Add('Authorization', "bearer $($FalconAccessToken)")
}
Expand Down Expand Up @@ -395,7 +395,7 @@ process {
throw $message
}
}

if (!$GetAccessToken) {
if (([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole]::Administrator) -eq $false) {
Expand Down
2 changes: 1 addition & 1 deletion powershell/install/falcon_windows_uninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.1')
$Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.2')
if ($FalconAccessToken) {
$Headers.Add('Authorization', "bearer $($FalconAccessToken)")
}
Expand Down
2 changes: 1 addition & 1 deletion powershell/migrate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.1/powershell/migrate/falcon_windows_migrate.ps1" -OutFile "falcon_windows_migrate.ps1"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/crowdstrike/falcon-scripts/v1.7.2/powershell/migrate/falcon_windows_migrate.ps1" -OutFile "falcon_windows_migrate.ps1"
```

### Example 1
Expand Down
2 changes: 1 addition & 1 deletion powershell/migrate/falcon_windows_migrate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.1')
$Headers.Add('User-Agent', 'crowdstrike-falcon-scripts/1.7.2')
try {
$response = Invoke-WebRequest @WebRequestParams -Uri "$($BaseUrl)/oauth2/token" -UseBasicParsing -Method 'POST' -Headers $Headers -Body $Body
$content = ConvertFrom-Json -InputObject $response.Content
Expand Down
Loading