Sample Code and Scripts

Python sample code for each API can be found in the Overview page of the respective API reference guide:

In addition to the above code samples, the CiscoSecurity repository on GitHub has scripts to get you started.

SDK

See Cisco XDR SDK for the API Python module.

Code Exchange

Download community shared and DevNet curated GitHub sample code through DevNet Code Exchange.