Python interface to the Crowdstrike API
Project description
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.4.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for crowdstrike-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b97b114e504e63cb3aa3a48f2138e430a46bbbda3c33f21f8f570fd6802d8c |
|
MD5 | 6cf0b257bbad4a41b08dd83eee1912c7 |
|
BLAKE2b-256 | ad1d4227a45e68c35a818e951972a7f673e26004d6679bd7a7833c49afc84019 |