Get Filters

Retrieve the available filters for assets in the project.

The return values are unfiltered so represents a "top-level" set of filter values, with the default filters being: asset_type, custom_tags, ip_owner, severity, open_port_number and certificate_expires_at. A custom set of filter can be requested by passing a comma-separated list of filter fields in the query string.

The return values are intended to be usable by UI-type components that may render dropdowns, so each filter has a name which can be used as a label for a field. Additionally for each filter, there are query and path fields which represent the query string parameter and JSON dotted path to use for the filter.

NOTE: The "dotted path" is intended for the POST /_search endpoint and assists in knowing where to put the value. For example exposure_properties.severity, indicates you would send it in { "exposure_properties": {"severity": { "eq": "value" } } }

Language
Credentials
Header
Click Try It! to start a request and see the response here!