Tenable Security Center API: Feed

/feed

Methods
GET

Gets the status of feed uploads.

Request Parameters

None

Example Response
Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
    "type" : "regular",
    "response" : {
        "sc" : {
            "updateTime" : "1418977807",
            "stale" : "true",
            "updateRunning" : "false"       },
        "active" : {
            "updateTime" : "1419269875",
            "stale" : "false",
            "updateRunning" : "false"       },
        "passive" : {
            "updateTime" : "1373297113",
            "stale" : "true",
            "updateRunning" : "false"       },
        "lce" : {
            "updateTime" : "0",
            "stale" : "true",
            "updateRunning" : "false"       }
    },
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1419270370
}

/feed/{type}

Methods
GET

Gets the status of feed the upload associated with <type>

NOTE: {type} can be one of "active", "passive", "lce", "sc", or "all"

Request Parameters

None

Example Response
Expand
1
2
3
4
5
6
7
8
9
10
11
{
    "type" : "regular",
    "response" : {
        "updateTime" : "0",
        "stale" : "true",
        "updateRunning" : "false"   },
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1419270370
}

/feed/{type}/update

Methods
POST

Sends a job to update the Feed type associated with <type>

NOTE: {type} can be one of "active", "passive", "lce", "sc", or "all"

Request Parameters

None

Example Response
Expand
1
2
3
4
5
6
7
8
{
    "type" : "regular",
    "response" : "",
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1419269719
}

/feed/{type}/process

Methods
POST

Processes an uploaded feed update file and sends a job to update the Feed type associated with <type>

NOTE: {type} can be one of "active", "passive", "lce", or "sc"

Request Parameters
Expand
1
2
{
    "filename" : <string>}
Example Response
Expand
1
2
3
4
5
6
7
8
{
    "type" : "regular",
    "response" : "",
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1419269719
}