Skip to main content

Python interface to the Crowdstrike API

Project description

  • THIS IS NO LONGER UPDATED *

Crowdstrike API

Implements some of the functions to interface with the Crowdstrike APIs.

Want to contribute? Log an issue or PR on the Repo.

To enable logging, use loguru and run logger.enable("crowdstrike") in your script.

Checking that all the endpoints are covered

validate_api_endpoints.py needs the swagger.json file from the documentation page on crowdstrike.com, then you can check everything has an actionable method.

Eg:

2020-10-14 18:56:57.801 | INFO     | __main__:<module>:60 - [OK] create_rtr_session() implements /real-time-response/entities/sessions/v1 : post
2020-10-14 18:56:57.801 | INFO     | __main__:<module>:60 - [OK] delete_rtr_session() implements /real-time-response/entities/sessions/v1 : delete
2020-10-14 18:56:57.802 | ERROR    | __main__:<module>:64 - Path not found /real-time-response/queries/put-files/v1 : get
2020-10-14 18:56:57.802 | INFO     | __main__:<module>:60 - [OK] search_rtr_scripts() implements /real-time-response/queries/scripts/v1 : get
2020-10-14 18:56:57.802 | INFO     | __main__:<module>:60 - [OK] list_rtr_session_ids() implements /real-time-response/queries/sessions/v1 : get
2020-10-14 18:56:57.802 | ERROR    | __main__:<module>:64 - Path not found /samples/entities/samples/v2 : post
2020-10-14 18:56:57.802 | ERROR    | __main__:<module>:64 - Path not found /sensors/combined/installers/v1 : get
2020-10-14 18:56:57.802 | ERROR    | __main__:<module>:64 - Path not found /sensors/entities/datafeed-actions/v1/{partition} : post
2020-10-14 18:56:57.803 | ERROR    | __main__:<module>:64 - Path not found /sensors/entities/datafeed/v2 : get
2020-10-14 18:56:57.803 | ERROR    | __main__:<module>:64 - Path not found /sensors/entities/download-installer/v1 : get

... lots to do.

Project details


Download files

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

Source Distribution

crowdstrike-0.0.5.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

crowdstrike-0.0.5-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file crowdstrike-0.0.5.tar.gz.

File metadata

  • Download URL: crowdstrike-0.0.5.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.4 Darwin/21.1.0

File hashes

Hashes for crowdstrike-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e048160547d75024921b1cc006a367dd89663011f4e6c30c42eaa2d85397c038
MD5 68ea13051a908a5e8843a6fb4b3232d7
BLAKE2b-256 f5d82930b29e4bfe718b79715917b412bdf3a7542177e29e2df5269a63ae9bea

See more details on using hashes here.

File details

Details for the file crowdstrike-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: crowdstrike-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.4 Darwin/21.1.0

File hashes

Hashes for crowdstrike-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bdb9d50204be0c15f55487c05dfc70676df398d939b29a78fc2207b9434885d9
MD5 e71aee36a060b4354d323267df4ce169
BLAKE2b-256 4b273131f70e8bc06bb5755e91bb340a888fc250f87207f38da6dca3f1f0d0f7

See more details on using hashes here.

Supported by

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