PUThttps://api.deepinfo.com/v1/easm/discovery/smart-monitoring-rules/{rule_id}

Tunes a smart monitoring rule with the settings in the request body.

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

Request Body

ParameterTypeRequired
excluded_seed_assetsarrayOptional
auto_approvalbooleanRequired
global_blocklistbooleanRequired
enabledbooleanRequired
application/json
{
  "excluded_seed_assets": [],
  "auto_approval": false,
  "global_blocklist": true,
  "enabled": true
}

Response Fields

FieldTypeDescription
idstring
Id of the record; pass it to this folder's detail endpoint.
namestring
The record's name.
descriptionstring
The record's description.
excluded_seed_assetsarray of string
Assets this rule must not use as a seed.
auto_approvalboolean
Whether assets this rule discovers are added to your inventory without review.
global_blocklistboolean
Whether Deepinfo's shared blocklist is applied, so known-irrelevant names are skipped.
enabledboolean
Whether the record is switched on.

Response Schema

FieldTypeExample
idstring"00000000000000000000000e8e040001"
namestring"Main domains"
descriptionnull
excluded_seed_assetsarray
auto_approvalbooleanfalse
global_blocklistbooleantrue
enabledbooleantrue

Examples

Selecting one loads it into the request and response panels.

Reference updated