Tenable.sc API: StyleFamily

/styleFamily

Methods
GET

Gets all the Style Families available to the current user

Request Parameters
None
Example Response
Expand
{
	"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
{
	"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
}