<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
Exporting Okta Users Based on Specific Attributes Using the Rockstar Browser Extension
Lifecycle Management
Okta Classic Engine
Okta Identity Engine
Overview

This article clarifies how to leverage the Rockstar browser extension to export a report based on specific Okta user attributes. The Rockstar browser extension creates an overlay on the Okta dashboard when an administrator accesses the Okta Administration (Admin) application. This tool provides options for pre-programmed Application Programming Interface (API) calls and allows customized API calls via the API Explorer.

 

Rockstar Browser Extension

 

Applies To
  • Rockstar
  • Users
  • Attributes
  • API
  • Universal Directory
Solution
  1. Navigate to Directory > People while the Rockstar browser extension is loaded.

Export Users

  1. Click Export Users on the Rockstar user interface (UI).

Export Users

  1. Enter a search query in the provided window.

    NOTE: If the export is run with a blank search query, the system downloads all users whose status is not deactivated.

  2. Focus the search query on the userName variable under the Profile section.

    Query


    Query examples for the underlined attributes:
    search=id eq "<user id>"
    search=type.id eq "<type id>"

     

    The ID refers to the Okta user type (Okta user profile). To view this profile, Admins may add it after:

    {{org url}}//admin/universaldirectory#okta/{{type.id}}
    search=profile.firstName eq "Test"

     

  3. Searches support the following attribute operators:

Operator 

Description

Behavior

andLogical ANDThe filter is only a match if both expressions are evaluated to true.
notLogical NOTThe filter is a match if the expression evaluates to false.
orLogical ORThe filter is a match if either expression evaluates to true.

 

Operator DescriptionBehavior
eqequalThe attribute and operand values must be identical for a match.
gegreater than or equalIf the attribute value is greater than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.
gtgreater thanIf the attribute value is greater than operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.
leless than or equalIf the attribute value is less than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.
ltless thanIf the attribute value is less than operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.
nenot equalIf the attribute value does not match the operand value, there is a match.
prpresent (has value)If the attribute has a non-empty value or if it contains a non-empty node for complex attributes, there is a match.
swstarts withThe entire operand value must be a substring of the attribute value that starts at the beginning of the attribute value. This criterion is satisfied if the two strings are identical.
 

Example query to export users with a specific subdomain: search=profile.login co "@example.com".

Users

 

Example query using the and operator: search=profile.firstName eq "Test" and profile.email sw "test".

query with the "and" operator

NOTE: The Rockstar extension appears in the top left corner of the Okta Admin application. This extension is an unofficial tool created and supported by the community, not Okta. If the extension does not work correctly, Okta Support cannot provide troubleshooting. The JavaScript source is available on GitHub to open an issue or a pull request.

Related References

Loading
Exporting Okta Users Based on Specific Attributes Using the Rockstar Browser Extension