Settings API - Details screen filtering schema table
Details screen filtering (builtin:ua.filtering
)
Define filters on the entity screen.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:ua.filtering |
| ua-screen |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
relationships | Entity relationships list | set | To filter related entities you need to define relationship between them.
For example to filter processes of a host you need to add entity selector with relationship like this: | required |
entityFilters | Entity filters list | list | - | required |
Request body objects
The SplittingChartConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
displayChart | Display splitting chart | boolean | When true, splitting chart for this filter will be displayed | required |
The EntityFilterDefinition
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
type | Type | text | - | required |
entityTypes | Entity types list | set | List of entity types that are filtered by this filter. All of them must have defined relationship to entity. | required |
displayName | Display name | text | - | required |
freeText | Is free text filter | boolean | When true, user can type any text value. When false, user can only select one of the suggestions. | required |
modifier | Text filter modifier | enum | Specifies the behavior of free text filter's value | required |
defaultSearch | Is default search | boolean | When true, as user is typing it will suggest this key as default for searching. There can be only 1 default search filter in filtering. | required |
distinct | Is distinct | boolean | When true, there can be only a single instance of this filter. | required |
hidden | Is hidden | boolean | When true, this filter will be hidden. | optional |
splittingChart | Splitting chart | SplittingChartConfig | Configure splitting chart for this filter. | optional |
The EntityFilterGroupDefinition
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
displayName | Group display name | text | - | required |
filters | Filters | list | Define entity filters. | required |