GEThttps://api.deepinfo.com/v1/easm/discovery/custom-rules/{rule_id}

Returns one custom discovery rule.

Authentication

Send your API key in the apikey request header.

Path Parameters

ParameterRequiredDescription
rule_idRequired
Id of the rule this folder manages, as the matching rule list or search endpoint returns it.
Example00000000000000000000000e8e040001

Response Fields

FieldTypeDescription
idstring
Id of the record; pass it to this folder's detail endpoint.
namestring
The record's name.
filtersobject
The filters saved on this record, in the same shape the search endpoint takes.
tagsarray of string
The tags set on the record.
auto_approvalboolean
Whether assets this rule discovers are added to your inventory without review.
enabledboolean
Whether the record is switched on.
create_datestring
When the record was created (UTC).
last_update_datestring
When the record was last changed (UTC).

Response Schema

FieldTypeExample
idstring"00000000000000000000000e8e040001"
namestring"Main domains"
filtersobject
filters.mustarray<object>
filters.must[].namestring"webdata.http.final_domain"
filters.must[].valuestring"acme.example"
filters.must[].typestring"eq"
filters.must_notarray
filters.shouldarray
tagsarray<string>"production"
auto_approvalbooleanfalse
enabledbooleantrue
create_datestring"2025-06-01T08:00:00Z"
last_update_datestring"2025-07-01T08:00:00Z"

Examples

Selecting one loads it into the request and response panels.

Reference updated