Tenable Security Center API: LCE Policy

 

/lce/{id}/policy

Methods
GET

Gets the list of LCE Policies associated with LCE Server {id}.

Request Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" : [
		{
			"filename" : "TNS-MSExchangeServer_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-MSExchangeServer"
		},
		{
			"filename" : "TNS-MSSQLServer_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-MSSQLServer"
		},
		{
			"filename" : "TNS-MalwareDetectionOnly_osx_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "osx",
			"name" : "TNS-MalwareDetectionOnly"
		},
		{
			"filename" : "TNS-MalwareDetectionOnly_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-MalwareDetectionOnly"
		},
		{
			"filename" : "TNS-MalwareDetectionOnly_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-MalwareDetectionOnly"
		},
		{
			"filename" : "TNS-NTevents-FileSysMon_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-NTevents-FileSysMon"
		},
		{
			"filename" : "TNS-NTevents_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-NTevents"
		},
		{
			"filename" : "TNS-ProcessExecutionOnly_osx_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "osx",
			"name" : "TNS-ProcessExecutionOnly"
		},
		{
			"filename" : "TNS-ProcessExecutionOnly_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-ProcessExecutionOnly"
		},
		{
			"filename" : "TNS-ProcessExecutionOnly_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-ProcessExecutionOnly"
		},
		{
			"filename" : "TNS-TenableProducts-LCE_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-TenableProducts-LCE"
		},
		{
			"filename" : "TNS-TenableProducts-Nessus_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-TenableProducts-Nessus"
		},
		{
			"filename" : "TNS-TenableProducts-Nessus_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-TenableProducts-Nessus"
		},
		{
			"filename" : "TNS-TenableProducts-PVS_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-TenableProducts-PVS"
		},
		{
			"filename" : "TNS-TenableProducts-SC_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-TenableProducts-SC"
		},
		{
			"filename" : "TNS-TenableProducts_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "TNS-TenableProducts"
		},
		{
			"filename" : "TNS-WinDesktop_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "TNS-WinDesktop"
		},
		{
			"filename" : "default_aix_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "aix",
			"name" : "default"
		},
		{
			"filename" : "default_appliance_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "appliance",
			"name" : "default"
		},
		{
			"filename" : "default_appliance_netflowclient.lcp",
			"clientType" : "netflowclient",
			"osType" : "appliance",
			"name" : "default"
		},
		{
			"filename" : "default_appliance_networkmonitor.lcp",
			"clientType" : "networkmonitor",
			"osType" : "appliance",
			"name" : "default"
		},
		{
			"filename" : "default_debian_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "debian",
			"name" : "default"
		},
		{
			"filename" : "default_dragon_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "dragon",
			"name" : "default"
		},
		{
			"filename" : "default_fedora_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "fedora",
			"name" : "default"
		},
		{
			"filename" : "default_freebsd_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "freebsd",
			"name" : "default"
		},
		{
			"filename" : "default_hpux_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "hpux",
			"name" : "default"
		},
		{
			"filename" : "default_osx_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "osx",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_lcesplunk.lcp",
			"clientType" : "lcesplunk",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_netflowclient.lcp",
			"clientType" : "netflowclient",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_networkmonitor.lcp",
			"clientType" : "networkmonitor",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_opsec.lcp",
			"clientType" : "opsec",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_rdep.lcp",
			"clientType" : "rdep",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_sdee.lcp",
			"clientType" : "sdee",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_rhel_wmimonitor.lcp",
			"clientType" : "wmimonitor",
			"osType" : "rhel",
			"name" : "default"
		},
		{
			"filename" : "default_solaris_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "solaris",
			"name" : "default"
		},
		{
			"filename" : "default_suse_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "suse",
			"name" : "default"
		},
		{
			"filename" : "default_ubuntu_lceclient.lcp",
			"clientType" : "lceclient",
			"osType" : "ubuntu",
			"name" : "default"
		},
		{
			"filename" : "default_windows_tenableclient.lcp",
			"clientType" : "tenableclient",
			"osType" : "windows",
			"name" : "default"
		}
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1409778749
}

PUT

Adds an LCE Client to an exiting LCE.

Request Parameters
Expand
{
	"overwrite" : <string> "false" | "true" DEFAULT "false",
	"content" : <string>,
	"filePrefix" : <string>,
	"clientType" : <string> "networkmonitor" | "opsec" | "netflowclient" | "sdee" | "lceclient" | "wmimonitor" | "rdep" | "lcesplunk" | "tenableclient",
	"osType" : <string> "rhel" | "freebsd" | "debian" | "osx" | "windows" | "aix" | "solaris" | "hpux" | "dragon" | "fedora" | "ubuntu" | "suse"
}
Example Response
Expand
{
	"type" : "regular",
	"response" : {
		"filename" : "file_rhel_networkmonitor.lcp",
		"clientType" : "networkmonitor",
		"osType" : "rhel",
		"name" : "file",
		"content" : "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<options xmlns : xi=\"http : \/\/www.w3.org\/2003\/XInclude\">\n<example>\n<one>File<\/one>\n<body>Content<\/body>\n<\/example>\n<\/options>"
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1409933333
}

DELETE

Deletes the LCE Policy associated with {id}.

Request Parameters
Expand
{
	"filename" : <string>
}
Example Response
Expand
{
    "type" : "regular",
    "response" : "",
    "error_code" : 0,
    "error_msg" : "",
    "warnings" : [],
    "timestamp" : 1409932735
}