quarantine

CrowdStrike FalconPy
CrowdStrike FalconPy

Falcon Quarantine samples

The examples within this folder focus on leveraging CrowdStrike's Falcon Quarantine API.

Get Quarantined Files

Retrieves all quarantined files within your environment and stores them to a subfolder. Files can be downloaded raw, or archived with a password (infected).

Dependencies

This solution supports debugging the quarantine file list responses from the API. Developers may install the click library if they wish these debug displays to paginate. This is not a required dependency.

Installing tabulate

Click can be installed using the Python Package Index:

Running the program

In order to run this demonstration, you you will need access to CrowdStrike API keys with the following scopes:

Service Collection
Scope

Quarantine

READ

Execution syntax

This application leverages easy to use command line arguments for demonstrating functionality. Arguments may be mixed as necessary.

Basic usage

Download all quarantined files within your environment.

Download quarantined files individually archived with the password infected.

Debug quarantine file responses from the API.

Leverage a proxy for API requests.

Execute the sample within GovCloud.

Command-line help

Command-line help is available via the -h argument.

Example source code

The source code for this example can be found here.

Last updated

Was this helpful?