You are here: Alert

/alert

Methods

GET

Gets the list of Alerts.

Fields Parameter

The fields parameter should be specified along the query string, and it takes the syntax

?fields=<field>,...

Allowed Fields

*id

**name

**description

**status

owner

ownerGroup

triggerName

triggerOperator

triggerValue

modifiedTime

createdTime

lastTriggered

lastEvaluated

executeOnEveryTrigger

didTriggerLastEvaluation

schedule

action

query

canUse

canManage

Legend

* = always comes back

** = comes back if fields list not specified on GET all

Filter Parameters

usable - The response will be an object containing an array of usable Alerts. By default, both usable and manageable objects are returned.

manageable - The response will be an object containing all manageable Alerts. By default, both usable and manageable objects are returned.

Request Query Parameters

None

Example Response

{

"type" : "regular",

"response" : {

"usable" : [

{

"id" : "1",

"name" : "Test Alert 1",

"description" : "All Action Types, vuln query",

"status" : "0"

}

],

"manageable" : [

{

"id" : "1",

"name" : "Test Alert 1",

"description" : "All Action Types, vuln query",

"status" : "0"

}

]

},

"error_code" : 0,

"error_msg" : "",

"warnings" : [],

"timestamp" : 1424975381

}

Copyright © 2016. Tenable Network Security, Inc. All rights reserved. Tenable Network Security and Nessus are registered trademarks of Tenable Network Security, Inc. SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.