Snooze Unmanaged Assets
POST/asm/api/v1/asset/snooze
You can temporarily or permanently snooze the notifications from your unmanaged (internet-exposed) assets.
Request
- application/json
Body
assets string[]
List of asset ids
temporarySnooze boolean
True to snooze the notifications temporarily and false to snooze the notifications permanently. To snooze notifications temporarily, you must also specify the snoozeTimeRange.
snoozeTimeRange object
Snooze time range config
value object
unit string
Possible values: [minute
, hour
, day
, week
, month
, year
, epoch
, login
]
amount int32
A value for the time unit.
type string
Value must be relative to indicate relative time range model.
reason string
Reason for snooze.
regex string
Regular expression to filter the assets. The snooze setting will be applied to all the assets that match this regular expression.
Responses
- 200
- 404
Ok
- application/json
- Schema
Schema
- any
Asset not found
- application/json
- Schema
- Example (from schema)
Schema
timestamp int64
status int32
message string
path string
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}
Loading...