Skip to content

Simple example on how to authenticate and call Crowdstrike oauth2 apis

Notifications You must be signed in to change notification settings

chooka888/Crowdstrike_python_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Crowdstrike_python_example

Simple example on how to authenticate and call Crowdstrike oauth2 apis

I made this script because I couldn't find a simple example showing how to call Crowdstrike in python and thought it might be give people getting started a head start.

###################################################################################################

This script is a simple example showing how to authenticate to and call Crowdstrike's Oauth2 APIs.

Details of the API can be found in Crowdstrike Docs and https://assets.falcon.crowdstrike.com/support/api/swagger.html#

Example flows is made up of 3 sections:

1. Authenticate by posting a Crowdstrike API Client ID and Client Secret to the authentication URL - https://api.crowdstrike.com/oauth2/token

2. Capturing the authentication token from the response

3. Calling the IoC search domain API and including the bearer authentication token as a "authorization" header

NOTE you may need to install the requests and json libraries.

###################################################################################################

About

Simple example on how to authenticate and call Crowdstrike oauth2 apis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages