Files
sailpoint-cli/cmd/search

Search

The search command makes it easy to search in identitynow using the SailPoint CLI.

Query

Command

Run the following command to search with manually provided search attributes.

sail search query <search query string> -indicies <indicie to search on>

Flags

Indicies

Specifies the indicies to run the search operation on

sail search query "name:a*" -indicies identities

You can search multiple indicies by added additional flags

sail search query "name:a*" -indicies identities -indicies accessprofiles

Sort

Specified the sort strings used for the search query

sail search query "name:a*" -indicies identities -sort name -sort "-created"

Output Types

Specify the output data format currently json and csv are the only supported types

sail search query "name:a*" -indicies identities -outputTypes json

Folder Path

Specify the folder path to save the search results in

sail search query "name:a*" -indicies identities -folderPath ./local/folder/path

Template

Command

Run the following command to search with a predefined template.

sail search template all-provisioning-events-90-days

Flags

Output Types

Specify the output data format currently json and csv are the only supported types

sail search query "name:a*" -indicies identities -outputTypes json

Folder Path

Specify the folder path to save the search results in

sail search query "name:a*" -indicies identities -folderPath ./local/folder/path