Tenable Security Center API: Report Image

/report/image

Methods
GET

Gets the list of Report Images

Fields Parameter
Expand

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

    ?fields=<field>,...

Allowed Fields

*id
**name
**description
creator
type
filename
originalFilename
createdTime
modifiedTime
image

Legend

* = always comes back

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

None

Example Response
Expand
{
	"type" : "regular",
	"response" : [
		{
			"id" : "1",
			"name" : "Fake",
			"description" : "faked from SQLite Manager"		}
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1418679112
}

POST

Adds an Report Image.

Request Parameters
Expand

NOTE: The 'image' field is for GET only. It cannot be added or modified directly

{
	"name" : <string>,
	"description" : <string> DEFAULT "",
	"type" : <string> "Logo" | "Watermark",
	"filename" : <string>,
	"originalFilename" : <string> DEFAULT (filename)
}
Example Response
Expand
{
	"type" : "regular",
	"response" : {
		"id" : "3",
		"name" : "reportImage",
		"description" : "Example for Documentation",
		"type" : "Logo",
		"filename" : "scfile_jtiiVb",
		"originalFilename" : "fake.png",
		"createdTime" : "1418746737",
		"modifiedTime" : "1418746737",
		"image" : "iVBORw0KGgoAAAANSUhEUgAAAbQAAAEECAIAAADPnFZkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAT8SURBVHhe7dndbeM4GEDRqSsFTT2pZppJMVls1rJl6+rHhjErgOe8RSI\/6umCRn59A7AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAj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xBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4CF7+9\/AL01WNsOCEiAAAAAAElFTkSuQmCC",
		"creator" : {
			"id" : "1",
			"username" : "head",
			"firstname" : "Security Manager",
			"lastname" : "",
            "uuid": "2E2B70F2-3471-428F-82AF-A6905090EAA9"		}
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1418746737
}

/report/image/{id}

Methods
GET

Gets the Report Image associated with {id}.

Fields Parameter
Expand

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

    ?fields=<field>,...

Allowed Fields

*id
**name
**description
creator
type
filename
originalFilename
createdTime
modifiedTime
image

Legend

* = always comes back

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

None

Example Response
Expand
{
	"type" : "regular",
	"response" : {
		"id" : "1",
		"name" : "Fake",
		"description" : "faked from SQLite Manager",
		"type" : "watermark",
		"filename" : "fake.png",
		"originalFilename" : "fake",
		"createdTime" : "1",
		"modifiedTime" : "1",
		"image" : "iVBORw0KGgoAAAANSUhEUgAAAbQAAAEECAIAAADPnFZkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAT8SURBVHhe7dndbeM4GEDRqSsFTT2pZppJMVls1rJl6+rHhjErgOe8RSI\/6umCRn59A7AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI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MQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4AgjgBBHAGCOAIEcQQI4ggQxBEgiCNAEEeAII4AQRwBgjgCBHEECOIIEMQRIIgjQBBHgCCOAEEcAYI4AgRxBAjiCBDEESCII0AQR4CF7+9\/AL01WNsOCEiAAAAAAElFTkSuQmCC",
		"creator" : {
			"id" : "1",
			"username" : "head",
			"firstname" : "Security Manager",
			"lastname" : "",
            "uuid": "2E2B70F2-3471-428F-82AF-A6905090EAA9"		}
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1418679161
}
PATCH

Edits the Report Image associated with {id}, changing only the passed in fields.

Request Parameters

(All fields are optional)

See /report/image::POST for parameters.

Example Response
See /report/image/{id}::GET
DELETE

Deletes the Report Image associated with {id}, depending on access and permissions.

Request Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" : "",
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1418744408
}