| ... |
... |
@@ -1,7 +1,9 @@ |
|
1 |
+{{aagon.floatingbox/}} |
|
2 |
+ |
| 1 |
1 |
= Linux Agent = |
| 2 |
2 |
|
| 3 |
3 |
{{apimacro title="JobLinuxAdd Request"}} |
| 4 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddRequest_V1"> |
|
6 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddRequest_V1"> |
| 5 |
5 |
<ACMP> |
| 6 |
6 |
<JobLinuxAdd ActionType="Request" version="1"> |
| 7 |
7 |
<TJobLinuxAddRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -14,11 +14,11 @@ |
| 14 |
14 |
</TJobLinuxAddRequest_V1> |
| 15 |
15 |
</JobLinuxAdd> |
| 16 |
16 |
</ACMP> |
| 17 |
|
-</ICQL> |
|
19 |
+</ICQL>}}} |
| 18 |
18 |
{{/apimacro}} |
| 19 |
19 |
|
| 20 |
20 |
{{apimacro title="JobLinuxAdd Response"}} |
| 21 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddResponse_V1"> |
|
23 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddResponse_V1"> |
| 22 |
22 |
<ACMP> |
| 23 |
23 |
<JobLinuxAdd ActionType="Response" version="1"> |
| 24 |
24 |
<TJobLinuxAddResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -27,11 +27,11 @@ |
| 27 |
27 |
</TJobLinuxAddResponse_V1> |
| 28 |
28 |
</JobLinuxAdd> |
| 29 |
29 |
</ACMP> |
| 30 |
|
-</ICQL> |
|
32 |
+</ICQL>}}} |
| 31 |
31 |
{{/apimacro}} |
| 32 |
32 |
|
| 33 |
33 |
{{apimacro title="JobLinuxUpdate Request"}} |
| 34 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateRequest_V1"> |
|
36 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateRequest_V1"> |
| 35 |
35 |
<ACMP> |
| 36 |
36 |
<JobLinuxUpdate ActionType="Request" version="1"> |
| 37 |
37 |
<TJobLinuxUpdateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -42,11 +42,11 @@ |
| 42 |
42 |
</TJobLinuxUpdateRequest_V1> |
| 43 |
43 |
</JobLinuxUpdate> |
| 44 |
44 |
</ACMP> |
| 45 |
|
-</ICQL> |
|
47 |
+</ICQL>}}} |
| 46 |
46 |
{{/apimacro}} |
| 47 |
47 |
|
| 48 |
48 |
{{apimacro title="JobLinuxUpdate Response"}} |
| 49 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateResponse_V1"> |
|
51 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateResponse_V1"> |
| 50 |
50 |
<ACMP> |
| 51 |
51 |
<JobLinuxUpdate ActionType="Response" version="1"> |
| 52 |
52 |
<TJobLinuxUpdateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -55,11 +55,11 @@ |
| 55 |
55 |
</TJobLinuxUpdateResponse_V1> |
| 56 |
56 |
</JobLinuxUpdate> |
| 57 |
57 |
</ACMP> |
| 58 |
|
-</ICQL> |
|
60 |
+</ICQL>}}} |
| 59 |
59 |
{{/apimacro}} |
| 60 |
60 |
|
| 61 |
61 |
{{apimacro title="JobLinuxExecResult Request"}} |
| 62 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultRequest_V1"> |
|
64 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultRequest_V1"> |
| 63 |
63 |
<ACMP> |
| 64 |
64 |
<JobLinuxExecResult ActionType="Request" version="1"> |
| 65 |
65 |
<TJobLinuxExecResultRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -70,11 +70,11 @@ |
| 70 |
70 |
</TJobLinuxExecResultRequest_V1> |
| 71 |
71 |
</JobLinuxExecResult> |
| 72 |
72 |
</ACMP> |
| 73 |
|
-</ICQL> |
|
75 |
+</ICQL>}}} |
| 74 |
74 |
{{/apimacro}} |
| 75 |
75 |
|
| 76 |
76 |
{{apimacro title="JobLinuxExecResult Response"}} |
| 77 |
|
-<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultResponse_V1"> |
|
79 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultResponse_V1"> |
| 78 |
78 |
<ACMP> |
| 79 |
79 |
<JobLinuxExecResult ActionType="Response" version="1"> |
| 80 |
80 |
<TJobLinuxExecResultResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| ... |
... |
@@ -83,17 +83,17 @@ |
| 83 |
83 |
</TJobLinuxExecResultResponse_V1> |
| 84 |
84 |
</JobLinuxExecResult> |
| 85 |
85 |
</ACMP> |
| 86 |
|
-</ICQL> |
|
88 |
+</ICQL>}}} |
| 87 |
87 |
{{/apimacro}} |
| 88 |
88 |
|
| 89 |
89 |
{{apimacro title="GetJobs Request"}} |
| 90 |
|
-<?xml version="1.0" encoding="utf-8"?> |
|
92 |
+{{{<?xml version="1.0" encoding="utf-8"?> |
| 91 |
91 |
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsRequest_V1"> |
| 92 |
92 |
<ACMP> |
| 93 |
93 |
<GetJobs ActionType="Request" version="1"> |
| 94 |
94 |
<TGetJobsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 95 |
95 |
<! |
| 96 |
|
--- JobTypes possible values: |
|
98 |
+ JobTypes possible values: |
| 97 |
97 |
jtCCScript |
| 98 |
98 |
jtAgentTask |
| 99 |
99 |
jtClient |
| ... |
... |
@@ -105,17 +105,17 @@ |
| 105 |
105 |
jtDefenderManagement |
| 106 |
106 |
jtGateway |
| 107 |
107 |
jtUnixScript |
| 108 |
|
- --> |
|
110 |
+ > |
| 109 |
109 |
<JobTypes/> |
| 110 |
110 |
<ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
| 111 |
111 |
</TGetJobsRequest_V1> |
| 112 |
112 |
</GetJobs> |
| 113 |
113 |
</ACMP> |
| 114 |
|
-</ICQL> |
|
116 |
+</ICQL>}}} |
| 115 |
115 |
{{/apimacro}} |
| 116 |
116 |
|
| 117 |
117 |
{{apimacro title="GetJobs Response"}} |
| 118 |
|
-<?xml version="1.0" encoding="utf-8"?> |
|
120 |
+{{{<?xml version="1.0" encoding="utf-8"?> |
| 119 |
119 |
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsResponse_V1"> |
| 120 |
120 |
<ACMP> |
| 121 |
121 |
<GetJobs ActionType="Response" version="1"> |
| ... |
... |
@@ -185,13 +185,155 @@ |
| 185 |
185 |
</TGetJobsResponse_V1> |
| 186 |
186 |
</GetJobs> |
| 187 |
187 |
</ACMP> |
| 188 |
|
-</ICQL> |
|
190 |
+</ICQL>}}} |
| 189 |
189 |
{{/apimacro}} |
| 190 |
190 |
|
|
193 |
+{{apimacro title="GetUnixScriptForExecution Request"}} |
|
194 |
+{{{<?xml version="1.0" encoding="utf-8"?> |
|
195 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionRequest_V1"> |
|
196 |
+ <ACMP> |
|
197 |
+ <GetUnixScriptForExecution ActionType="Request" version="1"> |
|
198 |
+ <TGetUnixScriptForExecutionRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
199 |
+ <ScriptId>{59387FFD-B171-47C5-B735-041FA132CA39}</ScriptId> |
|
200 |
+ <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId> |
|
201 |
+ <TestRing>0</TestRing> |
|
202 |
+ <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> |
|
203 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
204 |
+ </TGetUnixScriptForExecutionRequest_V1> |
|
205 |
+ </GetUnixScriptForExecution> |
|
206 |
+ </ACMP> |
|
207 |
+</ICQL>}}} |
|
208 |
+{{/apimacro}} |
| 191 |
191 |
|
|
210 |
+{{apimacro title="GetUnixScriptForExecution Response"}} |
|
211 |
+{{{<?xml version="1.0" encoding="utf-8"?> |
|
212 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionResponse_V1"> |
|
213 |
+ <ACMP> |
|
214 |
+ <GetUnixScriptForExecution ActionType="Response" version="1"> |
|
215 |
+ <TGetUnixScriptForExecutionResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
216 |
+ <Content>Content</Content> |
|
217 |
+ <! |
|
218 |
+ ScriptInterpreter possible values: |
|
219 |
+ siBash |
|
220 |
+ siZsh |
|
221 |
+ > |
|
222 |
+ <ScriptInterpreter>siBash</ScriptInterpreter> |
|
223 |
+ <ResultCode>0</ResultCode> |
|
224 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
225 |
+ </TGetUnixScriptForExecutionResponse_V1> |
|
226 |
+ </GetUnixScriptForExecution> |
|
227 |
+ </ACMP> |
|
228 |
+</ICQL>}}} |
|
229 |
+{{/apimacro}} |
| 192 |
192 |
|
|
231 |
+= Job Results = |
| 193 |
193 |
|
|
233 |
+{{apimacro title="SaveJobExecState_V1 Request"}} |
|
234 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V1"> |
|
235 |
+ <ACMP> |
|
236 |
+ <SaveJobExecState ActionType="Request" version="1"> |
|
237 |
+ <TSaveJobExecStateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
238 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
239 |
+ <! |
|
240 |
+ ExecState possible values: |
|
241 |
+ esSending |
|
242 |
+ esReceived |
|
243 |
+ esStarted |
|
244 |
+ esFinished |
|
245 |
+ esAborted |
|
246 |
+ esDelayed |
|
247 |
+ > |
|
248 |
+ <ExecState>esSending</ExecState> |
|
249 |
+ <! |
|
250 |
+ ExecResult possible values: |
|
251 |
+ jrNone |
|
252 |
+ jrSuccessful |
|
253 |
+ jrFailed |
|
254 |
+ jrSkipped |
|
255 |
+ jrNoLicense |
|
256 |
+ > |
|
257 |
+ <ExecResult>jrNone</ExecResult> |
|
258 |
+ <! Optional, some jobs uses constant GUIDs for ChildExecId > |
|
259 |
+ <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> |
|
260 |
+ <! Optional, only used for internal jobs > |
|
261 |
+ <MessageCode>0</MessageCode> |
|
262 |
+ <! Optional > |
|
263 |
+ <NativeMessage>NativeMessage</NativeMessage> |
|
264 |
+ </TSaveJobExecStateRequest_V1> |
|
265 |
+ </SaveJobExecState> |
|
266 |
+ </ACMP> |
|
267 |
+</ICQL>}}} |
|
268 |
+{{/apimacro}} |
| 194 |
194 |
|
|
270 |
+{{apimacro title="SaveJobExecState_V1 Response"}} |
|
271 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V1"> |
|
272 |
+ <ACMP> |
|
273 |
+ <SaveJobExecState ActionType="Response" version="1"> |
|
274 |
+ <TSaveJobExecStateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
275 |
+ <ResultCode>0</ResultCode> |
|
276 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
277 |
+ </TSaveJobExecStateResponse_V1> |
|
278 |
+ </SaveJobExecState> |
|
279 |
+ </ACMP> |
|
280 |
+</ICQL>}}} |
|
281 |
+{{/apimacro}} |
| 195 |
195 |
|
|
283 |
+{{apimacro title="SaveJobExecState_V2 Request"}} |
|
284 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V2"> |
|
285 |
+ <ACMP> |
|
286 |
+ <SaveJobExecState ActionType="Request" version="2"> |
|
287 |
+ <TSaveJobExecStateRequest_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
288 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
289 |
+ <! |
|
290 |
+ ExecState possible values: |
|
291 |
+ esSending |
|
292 |
+ esReceived |
|
293 |
+ esStarted |
|
294 |
+ esFinished |
|
295 |
+ esAborted |
|
296 |
+ esDelayed |
|
297 |
+ > |
|
298 |
+ <ExecState>esSending</ExecState> |
|
299 |
+ <! |
|
300 |
+ ExecResult possible values: |
|
301 |
+ jrNone |
|
302 |
+ jrSuccessful |
|
303 |
+ jrFailed |
|
304 |
+ jrSkipped |
|
305 |
+ jrNoLicense |
|
306 |
+ > |
|
307 |
+ <ExecResult>jrNone</ExecResult> |
|
308 |
+ <! Optional, some jobs uses constant GUIDs for ChildExecId > |
|
309 |
+ <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> |
|
310 |
+ <! Optional, only used for internal jobs > |
|
311 |
+ <MessageCode>0</MessageCode> |
|
312 |
+ <! Optional > |
|
313 |
+ <NativeMessage>NativeMessage</NativeMessage> |
|
314 |
+ <! Mandatory and should be a GUID > |
|
315 |
+ <JobId>{E3A3C524-7EEC-46DF-B72E-21267226ADAA}</JobId> |
|
316 |
+ </TSaveJobExecStateRequest_V2> |
|
317 |
+ </SaveJobExecState> |
|
318 |
+ </ACMP> |
|
319 |
+</ICQL>}}} |
|
320 |
+{{/apimacro}} |
| 196 |
196 |
|
|
322 |
+{{apimacro title="SaveJobExecState_V2 Response"}} |
|
323 |
+{{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V2"> |
|
324 |
+ <ACMP> |
|
325 |
+ <SaveJobExecState ActionType="Response" version="2"> |
|
326 |
+ <TSaveJobExecStateResponse_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
327 |
+ <! |
|
328 |
+ StartResult possible values: |
|
329 |
+ srAllowed |
|
330 |
+ srAborted |
|
331 |
+ > |
|
332 |
+ <StartResult>srAllowed</StartResult> |
|
333 |
+ <ResultCode>0</ResultCode> |
|
334 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
335 |
+ </TSaveJobExecStateResponse_V2> |
|
336 |
+ </SaveJobExecState> |
|
337 |
+ </ACMP> |
|
338 |
+</ICQL>}}} |
|
339 |
+{{/apimacro}} |
| 197 |
197 |
|
|
341 |
+ |