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 | Required | Description |
|---|---|---|---|
filters | object | Optional | See Filtering below |
sort | object | Optional | 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 | |
name | string | |
discovered_ | integer | |
tags | array of string | |
enabled | boolean | |
create_ | string | date-time |
last_ | string | date-time |
Response Schema
Inferred from examples Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract. 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.