Okta Data Source
The Okta Data Source allows you to expose your Okta users, groups, roles, and applications to Styra DAS as a Data Source.
Creating or Configuring the Data Source through the Styra DAS UI
Prerequisites:
Before you configure Styra DAS, configure Okta and have the following information accessible:
- In your Okta tenant under Settings > Features > Early Access, enable API Service Integrations
- On the Styra DAS Okta integration page, install and authorize Styra DAS Okta integration and copy your client secret, which is used in the following procedure.
- Okta Client ID
- Okta Domain (used to configure Okta tenant)
Create or configure the Data Source through the Styra DAS UI.
- Login to the Styra DAS UI.
- Select the System to add the Data Source.
- Click the kebab icon (three dots ⋮) to the right of the System and select Add Data Source. The Add Data Source dialog box appears.
- Select Okta.
- In Path type a new or existing path separated by
/
. For example,datasourcetypes
. - In Data Source name (required) type the name for the Data Source.
- (Optional) Type in a Description.
- In Client ID (required) type the Client ID.
- In Client secret (required) type the Client Secret.
- In Okta tenant (required) type the path to the Okta tenant.
- In Okta data type, select at least one Okta data type from the following options:
- Users
- Groups
- Roles
- Applications
- In Refresh interval type a refresh interval which is the amount of time between polling intervals. Default is
s
. - Click the arrow to expand the Advanced field.
- In Data transform specify a policy and write a query that allows you to apply Rego transformations before it is persisted as data. For example, Select Custom and fill in the following fields:
- In Policy type an existing policy separated by /. For example,
transform/transform.rego
. - In Rego query type the Rego rule to evaluate. For example,
data.transform.query
.
- In Policy type an existing policy separated by /. For example,
- Leave the Enable on-premises data source agent switch off. Enable on-premises data source agent shows how and where to run the data source. If set to
true
thendatasource-agent
will run on-premises setup. - Preview the Data Source in the right pane. If the data is over 1 MB, the Preview will display an error.
- Click Add.