Tenable Security Center API: StyleFamily

/styleFamily

Methods
GET

Gets all the Style Families available to the current user

Request Parameters
None
Example Response
Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
    "type":"regular",
    "response": [
        {
            "id":"1",
            "name":"Tenable, Letter",
            "description":"Default Tenable style, letter",
            "enabled":"true"        },
        ...
    ],
    "error_code":0,
    "error_msg":"",
    "warnings":[],
    "timestamp":1421273628
}

/styleFamily/{id}

Methods
GET

Gets the Style Familiy associated with {id}.

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
{
    "type" : "regular",
    "response" :  {
        "id" : "1",
        "name" : "Tenable, Letter",
        "description" : "Default Tenable style, letter",
        "enabled" : "true",
        "mappings" :  [
            {
                "styleFamilyID" : "1",
                "styleType" : "default",
                "styleID" : "27",
                "styleName" : "tenable-default-1"           },
            ...
        ]
    },
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1421273720
}