You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bash/containers/falcon-container-sensor-pull/README.md
+44-30
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Falcon Container Sensor pull script
2
2
3
-
Use this bash script to pull the latest **Falcon Container** sensor, **Node DaemonSet** sensor, **Kubernetes Admission Controller** or **Kubernetes Protection Agent** from the CrowdStrike container registry and push it to your local Docker registry or remote registries.
3
+
A bash script for managing CrowdStrike Falcon container images. Pull from the official registry, copy to local/remote registries, generate Kubernetes pull tokens, retrieve image paths, manage credentials and more.
4
4
5
5
## Deprecation Warning :warning:
6
6
@@ -46,7 +46,7 @@ To check your version of cURL, run the following command: `curl --version`
46
46
> [!IMPORTANT]
47
47
> The following API scopes are the minimum required to retrieve the images. If you need to perform other operations post-retrieval, please refer to the CrowdStrike documentation to identify any additional scopes that may be required.
|`-f`, `--cid <FALCON_CID>`|`$FALCON_CID`|`None` (Optional) | CrowdStrike Customer ID (CID). *If not provided, CID will be auto-detected.*|
110
-
|`-u`, `--client-id <FALCON_CLIENT_ID>`|`$FALCON_CLIENT_ID`|`None` (Required) | CrowdStrike API Client ID |
111
-
|`-s`, `--client-secret <FALCON_CLIENT_SECRET>`|`$FALCON_CLIENT_SECRET`|`None` (Required) | CrowdStrike API Client Secret |
112
-
|`-r`, `--region <FALCON_CLOUD>`|`$FALCON_CLOUD`|`us-1` (Optional) | CrowdStrike Region. \**Auto-discovery is only available for [`us-1, us-2, eu-1`] regions.*|
113
-
|`-c`, `--copy <REGISTRY/NAMESPACE>`|`$COPY`|`None` (Optional) | Registry you want to copy the sensor image to. Example: `myregistry.com/mynamespace`|
114
-
|`-v`, `--version <SENSOR_VERSION>`|`$SENSOR_VERSION`|`None` (Optional) | Specify sensor version to retrieve from the registry |
115
-
|`-p`, `--platform <SENSOR_PLATFORM>`|`$SENSOR_PLATFORM`|`None` (Optional) | Specify sensor platform to retrieve from the registry |
116
-
|`-t`, `--type <SENSOR_TYPE>`|`$SENSOR_TYPE`|`falcon-container` (Optional) | Specify which sensor to download [`falcon-container`, `falcon-sensor`, `falcon-kac`, `falcon-snapshot`, `falcon-imageanalyzer`, `kpagent`, `fcs`] ([see more details below](#sensor-types)) |
117
-
|`--runtime`|`$CONTAINER_TOOL`|`docker` (Optional) | Use a different container runtime [docker, podman, skopeo]. **Default is Docker**. |
118
-
|`--dump-credentials`|`$CREDS`|`False` (Optional) | Print registry credentials to stdout to copy/paste into container tools |
119
-
|`--get-image-path`| N/A |`None`| Get the full image path including the registry, repository, and latest tag for the specified `SENSOR_TYPE`. |
120
-
|`--get-pull-token`| N/A |`None`| Get the pull token of the selected `SENSOR_TYPE` for Kubernetes. |
121
-
|`--get-cid`| N/A |`None`| Get the CID assigned to the API Credentials. |
122
-
|`--list-tags`|`$LISTTAGS`|`False` (Optional) | List all tags available for the selected sensor |
123
-
|`--allow-legacy-curl`|`$ALLOW_LEGACY_CURL`|`False` (Optional) | Allow the script to run with an older version of cURL |
124
-
|`-h`, `--help`| N/A |`None`| Display help message |
|`-f`, `--cid <FALCON_CID>`|`$FALCON_CID`|`None` (Optional) | CrowdStrike Customer ID (CID). *If not provided, CID will be auto-detected.*|
122
+
|`-u`, `--client-id <FALCON_CLIENT_ID>`|`$FALCON_CLIENT_ID`|`None` (Required) | CrowdStrike API Client ID |
123
+
|`-s`, `--client-secret <FALCON_CLIENT_SECRET>`|`$FALCON_CLIENT_SECRET`|`None` (Required) | CrowdStrike API Client Secret |
124
+
|`-r`, `--region <FALCON_CLOUD>`|`$FALCON_CLOUD`|`us-1` (Optional) | CrowdStrike Region. \**Auto-discovery is only available for [`us-1, us-2, eu-1`] regions.*|
125
+
|`-c`, `--copy <REGISTRY/NAMESPACE>`|`$COPY`|`None` (Optional) | Registry you want to copy the sensor image to. Example: `myregistry.com/mynamespace`|
126
+
|`-v`, `--version <SENSOR_VERSION>`|`$SENSOR_VERSION`|`None` (Optional) | Specify sensor version to retrieve from the registry |
127
+
|`-p`, `--platform <SENSOR_PLATFORM>`|`$SENSOR_PLATFORM`|`None` (Optional) | Specify sensor platform to retrieve from the registry |
128
+
|`-t`, `--type <SENSOR_TYPE>`|`$SENSOR_TYPE`|`falcon-container` (Optional) | Specify which sensor to download [`falcon-container`, `falcon-sensor`, `falcon-kac`, `falcon-snapshot`, `falcon-imageanalyzer`, `kpagent`, `fcs`, `falcon-jobcontroller`, `falcon-registryassessmentexecutor`] ([see more details below](#sensor-types)) |
129
+
|`--runtime`|`$CONTAINER_TOOL`|`docker` (Optional) | Use a different container runtime [docker, podman, skopeo]. **Default is Docker**. |
130
+
|`--dump-credentials`|`$CREDS`|`False` (Optional) | Print registry credentials to stdout to copy/paste into container tools |
131
+
|`--get-image-path`| N/A |`None`| Get the full image path including the registry, repository, and latest tag for the specified `SENSOR_TYPE`. |
132
+
|`--get-pull-token`| N/A |`None`| Get the pull token of the selected `SENSOR_TYPE` for Kubernetes. |
133
+
|`--get-cid`| N/A |`None`| Get the CID assigned to the API Credentials. |
134
+
|`--list-tags`|`$LISTTAGS`|`False` (Optional) | List all tags available for the selected sensor |
135
+
|`--allow-legacy-curl`|`$ALLOW_LEGACY_CURL`|`False` (Optional) | Allow the script to run with an older version of cURL |
136
+
|`-h`, `--help`| N/A |`None`| Display help message |
125
137
126
138
---
127
139
> **Note**: **Internal flags are for CrowdStrike internal use only. Internal flags do not provide any functionality to end customers.**
@@ -136,15 +148,17 @@ Help Options:
136
148
137
149
The following sensor types are available to download:
0 commit comments