How to Call Kolide API from Okta Workflows

In this guide:

  1. Okta Workflows guides
  2. Calling Kolide API from Okta Workflows
  3. Related Okta Workflows guides
  4. Okta Workflows resources

Okta Workflows guides

Okta Workflows guides are questions and answers from the community office hours, the #okta-workflows channel on MacAdmins Slack, and other places. Read all the other how-to guides

How to call Kolide API from Okta Workflows?

How do you make the following Kolide API call from Okta Workflow?

curl --request GET \
     --url 'https://api.kolide.com/audit_logs?per_page=25' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer faux_token_here' \
     --header 'x-kolide-api-version: 2023-05-26'

Calling Kolide API from Okta Workflows

The Kolide API passes the authorization information in the header. To prevent storing the token in plain text in the flow itself, create a connection to Kolide in Workflows.

Kolide connection.

To call the Kolide API, set up any additional parameters and then use the API Connector – Get card with the Kolide connection to make the call.

Calling Kolide API.

The flow above passes the API version (x-kolide-api-version) in the header and results per page (per_page) in the query.

Okta Workflows resources

🍫 Get help from Workflows specialists during weekly community office hours.

πŸ“Ί Learn from Workflows videos.

πŸ›Ÿ Ask questions and share your flows on the Okta Workflows community forum.

πŸ™‹πŸ»β€β™€οΈ Get help from the community: join the #okta-workflows channel on MacAdmins Slack.

Leave a comment