Skip to main content

CreateSavedSearchRequest

Properties

NameTypeDescriptionNotes
namestrThe name of the saved search.[optional]
descriptionstrThe description of the saved search.[optional]
createddatetimeA date-time in ISO-8601 format[optional]
modifieddatetimeA date-time in ISO-8601 format[optional]
indices[]IndexThe names of the Elasticsearch indices in which to search.[required]
columnsmap[string]List[Column]The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: accessprofile, accountactivity, account, aggregation, entitlement, event, identity, and role.[optional]
querystrThe search query using Elasticsearch Query String Query syntax from the Query DSL.[required]
fields[]strThe fields to be searched against in a multi-field query.[optional]
order_bymap[string]List[str]Sort by index. This takes precedence over the sort property.[optional]
sort[]strThe fields to be used to sort the search results.[optional]
filtersSavedSearchDetailFilters[optional]
}

Example

from sailpoint.v3.models.create_saved_search_request import CreateSavedSearchRequest

create_saved_search_request = CreateSavedSearchRequest(
name='Disabled accounts',
description='Disabled accounts',
created='2018-06-25T20:22:28.104Z',
modified='2018-06-25T20:22:28.104Z',
indices=[identities],
columns={identity=[{field=displayName, header=Display Name}, {field=e-mail, header=Work Email}]},
query='@accounts(disabled:true)',
fields=[disabled],
order_by={identity=[lastName, firstName], role=[name]},
sort=[displayName],
filters=
)

[Back to top]