Usage

In order to use this API you must obtain a Sysdig Monitor/Secure API token. You can get your user’s token in the Sysdig Monitor API section of the settings page for monitor or secure.

The library exports two classes, SdMonitorClient and SdSecureClient that are used to connect to Sysdig Monitor/Secure and execute actions.

They can be instantiated like this:

1from sdcclient import SdMonitorClient
2
3api_token = "MY_API_TOKEN"
4
5# Instantiate the Sysdig Monitor client
6client = SdMonitorClient(api_token)