Skip to main content

The CrowdStrike Falcon API SDK for Python 3

Project description

PyPI - Status PyPI - Implementation PyPI - Python Version PyPI - Wheel
PyPI PyPI - Downloads CI Tests CI Test Coverage
Twitter URL

FalconPy

The FalconPy SDK contains a collection of Python classes that abstract CrowdStrike Falcon OAuth2 API interaction, removing duplicative code and allowing developers to focus on just the logic of their solution requirements.

This SDK provides two distinct methods for interacting with CrowdStrike's Falcon OAuth2 APIs:

  • Service classes, representing a single service collection, with methods defined for every available operation.
  • The Uber class, which provides a single harness for interacting with the entire API, covering every available operation within every service collection.

Quick Install / Uninstall

Stable releases of FalconPy are available on PyPI:

$ python -m pip install crowdstrike-falconpy

If you'd like to try the absolute bleeding edge, an automated GitHub action releases a test package with every merged pull request. To install the testing version:

$ python -m pip install -i https://test.pypi.org/simple crowdstrike-falconpy

To uninstall/remove FalconPy:

$ python -m pip uninstall crowdstrike-falconpy

Service classes

OAuth2-Based API
(CrowdStrike documentation, requires CrowdStrike customer login)
Code Location
CrowdStrike Device Control API ./src/falconpy/device_control_policies.py
CrowdStrike Falcon Sandbox API ./src/falconpy/falconx_sandbox.py
CrowdStrike Sensor Policy Management API ./src/falconpy/sensor_update_policy.py
CrowdStrike Custom Indicators of Compromose (IOCs) APIs ./src/falconpy/iocs.py
CrowdStrike Detections APIs ./src/falconpy/detects.py
CrowdStrike Event Streams API ./src/falconpy/event_streams.py
CrowdStrike Falcon Horizon APIs Coming Soon
CrowdStrike Falon X APIs Coming Soon
CrowdStrike Firewall Management API ./src/falconpy/firewall_management.py
CrowdStrike Firewall Policy Management ./src/falconpy/firewall_policies.py
CrowdStrike Host Groups API ./src/falconpy/host_group.py
CrowdStrike Hosts API ./src/falconpy/hosts.py
CrowdStrike Incident and Detection Monitoring APIs ./src/falconpy/incidents.py
CrowdStrike Installation Token APIs Coming Soon
CrowdStrike Intel API ./src/falconpy/intel.py
CrowdStrike MalQuery API Coming Soon
CrowdStrike OAuth2 Auth Token APIs ./src/falconpy/oauth2.py
CrowdStrike Prevention Policy APIs ./src/falconpy/prevention_policy.py
CrowdStrike Real Time Response (RTR) APIs ./src/falconpy/real_time_response.py
CrowdStrike Realtime Response (RTR) Administration API ./src/falconpy/real_time_response_admin.py
CrowdStrike Sensor Download APIs Coming Soon
CrowdStrike Spotlight APIs ./src/falconpy/spotlight_vulnerabilities.py
CrowdStrike User and Roles API ./src/falconpy/user_management.py
Falcon Discover for Cloud and Containers - AWS Accounts APIs ./src/falconpy/cloud_connect_aws.py
Falcon Discover for Cloud and Containers - Azure Subscriptions APIs Coming Soon
Falcon Discover for Cloud and Containers - GCP Projects APIs Coming Soon

Uber class

Contributing

There are many ways you can contribute to the FalconPy project!

  • Providing feedback by opening a GitHub ticket. Even a fly-by "Hey, this worked!" is appreciated and helps validate approaches. Ideas on improving the project are most welcome.
  • Documenting, blogging, or creating videos, of how you've used FalconPy! This type of content is invaluable and helps communities grow. Open a pull request for inclusion in the Documentation and Collateral section.
  • Fix a bug or implement a new feature. Check out our open issues on GitHub for inspiration.
  • Review pull requests by going through the queue of open pull requests on GitHub and giving feedback to the authors

Open to do something else but not sure where to start? Try opening an issue and introducing yourself and your interests. We look forward to chatting with you!

Support & Community Forums

FalconPy is an open source project, not a formal CrowdStrike product, to assist developers implement CrowdStrike's APIs within their applications. As such it carries no formal support, express or implied.

:fire: Is something going wrong? :fire:
GitHub Issues are used to report bugs. Submit a ticket here:
https://github.com/CrowdStrike/falconpy/issues/new/choose

GitHub Discussions provide the community with means to communicate. There are four discussion categories:

  • :speech_balloon: General : Catch all for general discussions.
  • :bulb: Ideas: Have a suggestion for a feature request? Is there something the community or project could improve upon? Let us know here.
  • :pray: Q&A: Have a question about how to accomplish something? A usability question? Submit them here!
  • :raised_hands: Show and Tell: Share with the community what you're up to! Perhaps this is letting everyone know about your upcoming conference talk, share a project that has embedded FalconPy, or your recent blog.

Documentation & Collateral

Official Project Documentation

See the wiki for extended documentation: https://github.com/CrowdStrike/falconpy/wiki.

Videos (Tutorials, Trainings, Overviews)

Coming soon.

Conference Presentations

Coming soon.

Blogs/Articles/Prose

Coming soon.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowdstrike-falconpy-0.2.2.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crowdstrike_falconpy-0.2.2-py3-none-any.whl (54.5 kB view details)

Uploaded Python 3

File details

Details for the file crowdstrike-falconpy-0.2.2.tar.gz.

File metadata

  • Download URL: crowdstrike-falconpy-0.2.2.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for crowdstrike-falconpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0d0825867691d325c0cd8910542b8c7cf9271faa0c98536521516f4025436dca
MD5 d58af47442092eac675953b9b272b950
BLAKE2b-256 ed252831ecaa5c5bd72131c3730d14afb36e87e93958ba98c734f2fd7b8e8f63

See more details on using hashes here.

File details

Details for the file crowdstrike_falconpy-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: crowdstrike_falconpy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 54.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for crowdstrike_falconpy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e814418d72b6d01cd817b8438e5cd9dc5430d119c8aacc15eb64f079206a53f
MD5 b4f4e42c9e315434da21c5c08f4bc31f
BLAKE2b-256 ca370022774c43cde59dd44866d6ff2a2bb54e96057f05817bec39776c6c4146

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page