Table: okta_application - Query Okta Applications using SQL
Okta Applications are integral components of the Okta identity management service. These applications represent the software applications that are linked to Okta for single sign-on, provisioning, or API access management. They enable seamless and secure access to all the applications your users need, from Microsoft Office 365 to custom applications built in-house.
Table Usage Guide
The okta_application
table provides insights into applications configured within an Okta organization. As a Security Analyst, explore application-specific details through this table, including application type, status, and associated metadata. Utilize it to uncover information about applications, such as those with specific accessibility, the users assigned to each application, and the verification of application settings.
Important Notes
- This table supports an optional
filter
column to query results based on Okta supported filters.
Examples
Basic info
Explore which applications are currently active in your system by identifying their status and creation dates. This can help in managing the applications effectively and ensuring timely updates.
select name, id, label, created, status, sign_on_modefrom okta_application;
select name, id, label, created, status, sign_on_modefrom okta_application;
List SAML 2.0 apps
Identify applications that use SAML 2.0 as their sign-on mode. This can be useful in understanding the security protocols of your applications.
select name, id, label, created, status, sign_on_modefrom okta_applicationwhere sign_on_mode = 'SAML_2_0';
select name, id, label, created, status, sign_on_modefrom okta_applicationwhere sign_on_mode = 'SAML_2_0';
List apps assigned to a specific user using a filter
Explore which applications are assigned to a specific user by filtering based on user ID. This is useful for understanding the scope of access and permissions granted to individual users within your system.
select id, label, name, sign_on_mode, statusfrom okta_application as appwhere filter = 'user.id eq "00u1e5eizrjQKTWMA5d7"';
select id, label, name, sign_on_mode, statusfrom okta_application as appwhere filter = 'user.id eq "00u1e5eizrjQKTWMA5d7"';
List apps assigned to a specific group using a filter
Explore which applications are assigned to a specific group, useful for understanding application accessibility and managing group permissions. This can aid in maintaining security protocols and ensuring appropriate access rights.
select id, label, name, sign_on_mode, statusfrom okta_applicationwhere filter = 'group.id eq "00u1e5eizrjQKTWMA5d7"';
select id, label, name, sign_on_mode, statusfrom okta_applicationwhere filter = 'group.id eq "00u1e5eizrjQKTWMA5d7"';
Schema for okta_application
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
accessibility | jsonb | Access settings for app. | |
created | timestamp with time zone | Timestamp when user was created. | |
credentials | jsonb | Credentials for the specified signOnMode. | |
domain | text | =, !=, ~~, ~~*, !~~, !~~* | The okta domain name. |
filter | text | = | Filter string to [filter](https://developer.okta.com/docs/reference/api/users/#list-users-with-a-filter) users. Input filter query should not be encoded. |
id | text | = | Unique key for app. |
label | text | User-defined display name for app. | |
last_updated | timestamp with time zone | Timestamp when app was last updated. | |
name | text | = | Unique key for app definition. |
settings | jsonb | Settings for app. | |
sign_on_mode | text | Authentication mode of app. Can be one of AUTO_LOGIN, BASIC_AUTH, BOOKMARK, BROWSER_PLUGIN, Custom, OPENID_CONNECT, SAML_1_1, SAML_2_0, SECURE_PASSWORD_STORE and WS_FEDERATION. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | = | Current status of app. Valid values are ACTIVE or INACTIVE. |
title | text | The title of the resource. | |
visibility | jsonb | Visibility settings for app. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- okta
You can pass the configuration to the command with the --config
argument:
steampipe_export_okta --config '<your_config>' okta_application