Asset Discovery Custom Discovery Rule Search
POST
https://api.deepinfo.com/v1/easm/discovery/custom-rules/searchLists your custom discovery rules.
Authentication
Send your API key in the apikey request header.
Request Body
| Parameter | Type | Description |
|---|---|---|
filters | object | See Filtering below |
sort | object | One {field, order} object |
application/json
{}
Filtering
This search takes filters as an object with one key per field, not as a must list. Each field takes the operators of its filter type as keys, and fields combine with AND. sort is one {field, order} object, not a list. Example body:
JSON
{
"filters": {
"name": {
"equals": [
"<value>"
]
}
},
"sort": {
"field": "name",
"order": "desc"
}
}
Operators by field:
| Field | Operators |
|---|---|
name | equals, not_equals, contains, not_contains, startswith, endswith; each takes a list of values |
discovered_ | gt, gte, lt, lte |
tags | equals, not_equals, contains, not_contains, startswith, endswith; each takes a list of values |
enabled | a plain boolean value |
create_ | gt, gte, lt, lte |
last_ | gt, gte, lt, lte |
Searchable Fields
| Field | Description |
|---|---|
name | The custom discovery rule's name, as you gave it. Matching is case-insensitive. |
discovered_ | How many assets the rule has discovered. |
tags | The tags on the rule. |
enabled | true for rules that are switched on, false for rules that are switched off. |
create_ | When the rule was created (ISO 8601 date-time). |
last_ | When the rule was last changed (ISO 8601 date-time). |
Sortable Fields
| Field | Description |
|---|---|
name | The custom discovery rule's name, as you gave it. Matching is case-insensitive. |
discovered_ | How many assets the rule has discovered. |
tags | The tags on the rule. |
enabled | true for rules that are switched on, false for rules that are switched off. |
create_ | When the rule was created (ISO 8601 date-time). |
last_ | When the rule was last changed (ISO 8601 date-time). |
Response Fields
An array of objects:
| Field | Type | Description |
|---|---|---|
id | string | Id of the record; pass it to this folder's detail endpoint. |
name | string | The record's name. |
discovered_ | integer | How many assets the rule has discovered. |
tags | array of string | The tags set on the record. |
enabled | boolean | Whether the record is switched on. |
create_ | string | When the record was created (UTC). |
last_ | string | When the record was last changed (UTC). |
Response Schema
The response body is an array; [] marks its elements.
| Field | Type | Example |
|---|---|---|
[]. | string | "00000000000000000000000e8e040001" |
[]. | string | "Main domains" |
[]. | number | 25 |
[]. | array< | "production" |
[]. | boolean | true |
[]. | string | "2025-06-01T08:00:00Z" |
[]. | string | "2025-07-01T08:00:00Z" |
Examples
Selecting one loads it into the request and response panels.