<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Call Kolide API from Workflows
Workflows
Okta Classic Engine
Okta Identity Engine

Overview

This KB will show an example of calling Kolide API in Workflows. 

Applies To

  • Okta Workflows


 

Solution

How to make the following Kolide API call from 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'

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.
 

1.jpeg 
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.

 

2.jpeg

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.

 

Related References

Loading
How to Call Kolide API from Workflows