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
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
{
    "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
1
2
3
4
5
6
{
    "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
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "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
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" : 1409932735
}