Asset Discovery Smart Discovery Rule Update
PUT
https://api.deepinfo.com/v1/easm/discovery/smart-discovery-rules/{rule_id}Tunes a smart discovery rule with the settings in the request body.
Authentication
Send your API key in the apikey request header.
Path Parameters
| Parameter | Required | Description |
|---|---|---|
rule_ | Required | Example 00000000000000000000000e8e040001 |
Request Body
| Parameter | Type | Required |
|---|---|---|
excluded_ | array | Optional |
excluded_ | array | Optional |
auto_ | boolean | Required |
global_ | boolean | Required |
enabled | boolean | Required |
application/json
{
"excluded_seed_assets": [],
"excluded_seed_values": [],
"auto_approval": false,
"global_blocklist": true,
"enabled": true
}
Response Fields
| Field | Type |
|---|---|
id | string |
name | string |
description | string |
excluded_ | array of string |
excluded_ | array of string |
auto_ | boolean |
global_ | boolean |
enabled | boolean |
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.
| Field | Type | Example |
|---|---|---|
id | string | "00000000000000000000000e8e040001" |
name | string | "Main domains" |
description | null | |
excluded_seed_assets | array | |
excluded_seed_values | array | |
auto_approval | boolean | false |
global_blocklist | boolean | true |
enabled | boolean | true |
Examples
Selecting one loads it into the request and response panels.