| ... |
... |
@@ -1,1 +1,339 @@ |
|
1 |
+= Linux Agent = |
|
2 |
+ |
|
3 |
+{{apimacro title="JobLinuxAdd Request"}} |
|
4 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddRequest_V1"> |
|
5 |
+ <ACMP> |
|
6 |
+ <JobLinuxAdd ActionType="Request" version="1"> |
|
7 |
+ <TJobLinuxAddRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
8 |
+ <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> |
|
9 |
+ <JobName>JobName</JobName> |
|
10 |
+ <CreatorName>CreatorName</CreatorName> |
|
11 |
+ <ContainerPath>ContainerPath</ContainerPath> |
|
12 |
+ <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
|
13 |
+ <ContentId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContentId> |
|
14 |
+ </TJobLinuxAddRequest_V1> |
|
15 |
+ </JobLinuxAdd> |
|
16 |
+ </ACMP> |
|
17 |
+</ICQL> |
|
18 |
+{{/apimacro}} |
|
19 |
+ |
|
20 |
+{{apimacro title="JobLinuxAdd Response"}} |
|
21 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddResponse_V1"> |
|
22 |
+ <ACMP> |
|
23 |
+ <JobLinuxAdd ActionType="Response" version="1"> |
|
24 |
+ <TJobLinuxAddResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
25 |
+ <ResultCode>0</ResultCode> |
|
26 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
27 |
+ </TJobLinuxAddResponse_V1> |
|
28 |
+ </JobLinuxAdd> |
|
29 |
+ </ACMP> |
|
30 |
+</ICQL> |
|
31 |
+{{/apimacro}} |
|
32 |
+ |
|
33 |
+{{apimacro title="JobLinuxUpdate Request"}} |
|
34 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateRequest_V1"> |
|
35 |
+ <ACMP> |
|
36 |
+ <JobLinuxUpdate ActionType="Request" version="1"> |
|
37 |
+ <TJobLinuxUpdateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
38 |
+ <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> |
|
39 |
+ <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
|
40 |
+ <NewState>0</NewState> |
|
41 |
+ <Result>0</Result> |
|
42 |
+ </TJobLinuxUpdateRequest_V1> |
|
43 |
+ </JobLinuxUpdate> |
|
44 |
+ </ACMP> |
|
45 |
+</ICQL> |
|
46 |
+{{/apimacro}} |
|
47 |
+ |
|
48 |
+{{apimacro title="JobLinuxUpdate Response"}} |
|
49 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateResponse_V1"> |
|
50 |
+ <ACMP> |
|
51 |
+ <JobLinuxUpdate ActionType="Response" version="1"> |
|
52 |
+ <TJobLinuxUpdateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
53 |
+ <ResultCode>0</ResultCode> |
|
54 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
55 |
+ </TJobLinuxUpdateResponse_V1> |
|
56 |
+ </JobLinuxUpdate> |
|
57 |
+ </ACMP> |
|
58 |
+</ICQL> |
|
59 |
+{{/apimacro}} |
|
60 |
+ |
|
61 |
+{{apimacro title="JobLinuxExecResult Request"}} |
|
62 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultRequest_V1"> |
|
63 |
+ <ACMP> |
|
64 |
+ <JobLinuxExecResult ActionType="Request" version="1"> |
|
65 |
+ <TJobLinuxExecResultRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
66 |
+ <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> |
|
67 |
+ <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
|
68 |
+ <XmlLogFile>XmlLogFile</XmlLogFile> |
|
69 |
+ <ExecResult>0</ExecResult> |
|
70 |
+ </TJobLinuxExecResultRequest_V1> |
|
71 |
+ </JobLinuxExecResult> |
|
72 |
+ </ACMP> |
|
73 |
+</ICQL> |
|
74 |
+{{/apimacro}} |
|
75 |
+ |
|
76 |
+{{apimacro title="JobLinuxExecResult Response"}} |
|
77 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultResponse_V1"> |
|
78 |
+ <ACMP> |
|
79 |
+ <JobLinuxExecResult ActionType="Response" version="1"> |
|
80 |
+ <TJobLinuxExecResultResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
81 |
+ <ResultCode>0</ResultCode> |
|
82 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
83 |
+ </TJobLinuxExecResultResponse_V1> |
|
84 |
+ </JobLinuxExecResult> |
|
85 |
+ </ACMP> |
|
86 |
+</ICQL> |
|
87 |
+{{/apimacro}} |
|
88 |
+ |
|
89 |
+{{apimacro title="GetJobs Request"}} |
|
90 |
+<?xml version="1.0" encoding="utf-8"?> |
|
91 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsRequest_V1"> |
|
92 |
+ <ACMP> |
|
93 |
+ <GetJobs ActionType="Request" version="1"> |
|
94 |
+ <TGetJobsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
95 |
+ <! |
|
96 |
+-- JobTypes possible values: |
|
97 |
+ jtCCScript |
|
98 |
+ jtAgentTask |
|
99 |
+ jtClient |
|
100 |
+ jtWUM |
|
101 |
+ jtRolloutTemplate |
|
102 |
+ jtJobTemplate |
|
103 |
+ jtWumCollection |
|
104 |
+ jtManagedSoftware |
|
105 |
+ jtDefenderManagement |
|
106 |
+ jtGateway |
|
107 |
+ jtUnixScript |
|
108 |
+ --> |
|
109 |
+ <JobTypes/> |
|
110 |
+ <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
|
111 |
+ </TGetJobsRequest_V1> |
|
112 |
+ </GetJobs> |
|
113 |
+ </ACMP> |
|
114 |
+</ICQL> |
|
115 |
+{{/apimacro}} |
|
116 |
+ |
|
117 |
+{{apimacro title="GetJobs Response"}} |
|
118 |
+<?xml version="1.0" encoding="utf-8"?> |
|
119 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsResponse_V1"> |
|
120 |
+ <ACMP> |
|
121 |
+ <GetJobs ActionType="Response" version="1"> |
|
122 |
+ <TGetJobsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
123 |
+ <Jobs> |
|
124 |
+ <TJob_V1 xsi:type="TJob_V1"> |
|
125 |
+ <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id> |
|
126 |
+ <Name>Name</Name> |
|
127 |
+ <Description>Description</Description> |
|
128 |
+ <Priority>0</Priority> |
|
129 |
+ <Conditions> |
|
130 |
+ <TStartCondition_V1 xsi:type="TStartCondition_V1"> |
|
131 |
+ <Id>Id</Id> |
|
132 |
+ <ConditionType>coStartUp</ConditionType> |
|
133 |
+ <RunOnce>false</RunOnce> |
|
134 |
+ <Enabled>false</Enabled> |
|
135 |
+ <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> |
|
136 |
+ </TStartCondition_V1> |
|
137 |
+ <TStartCondition_V1 xsi:type="TStartCondition_V1"> |
|
138 |
+ <Id>Id</Id> |
|
139 |
+ <ConditionType>coStartUp</ConditionType> |
|
140 |
+ <RunOnce>false</RunOnce> |
|
141 |
+ <Enabled>false</Enabled> |
|
142 |
+ <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> |
|
143 |
+ </TStartCondition_V1> |
|
144 |
+ </Conditions> |
|
145 |
+ <JobAction/> |
|
146 |
+ <CanRunParallel>false</CanRunParallel> |
|
147 |
+ <ContentId>ContentId</ContentId> |
|
148 |
+ <JobKind>aiHDQuery</JobKind> |
|
149 |
+ <IsManualJob>false</IsManualJob> |
|
150 |
+ <Origin>joContainer</Origin> |
|
151 |
+ <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId> |
|
152 |
+ </TJob_V1> |
|
153 |
+ <TJob_V1 xsi:type="TJob_V1"> |
|
154 |
+ <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id> |
|
155 |
+ <Name>Name</Name> |
|
156 |
+ <Description>Description</Description> |
|
157 |
+ <Priority>0</Priority> |
|
158 |
+ <Conditions> |
|
159 |
+ <TStartCondition_V1 xsi:type="TStartCondition_V1"> |
|
160 |
+ <Id>Id</Id> |
|
161 |
+ <ConditionType>coStartUp</ConditionType> |
|
162 |
+ <RunOnce>false</RunOnce> |
|
163 |
+ <Enabled>false</Enabled> |
|
164 |
+ <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> |
|
165 |
+ </TStartCondition_V1> |
|
166 |
+ <TStartCondition_V1 xsi:type="TStartCondition_V1"> |
|
167 |
+ <Id>Id</Id> |
|
168 |
+ <ConditionType>coStartUp</ConditionType> |
|
169 |
+ <RunOnce>false</RunOnce> |
|
170 |
+ <Enabled>false</Enabled> |
|
171 |
+ <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> |
|
172 |
+ </TStartCondition_V1> |
|
173 |
+ </Conditions> |
|
174 |
+ <JobAction/> |
|
175 |
+ <CanRunParallel>false</CanRunParallel> |
|
176 |
+ <ContentId>ContentId</ContentId> |
|
177 |
+ <JobKind>aiHDQuery</JobKind> |
|
178 |
+ <IsManualJob>true</IsManualJob> |
|
179 |
+ <Origin>joPushed</Origin> |
|
180 |
+ <ContainerId/> |
|
181 |
+ </TJob_V1> |
|
182 |
+ </Jobs> |
|
183 |
+ <ResultCode>0</ResultCode> |
|
184 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
185 |
+ </TGetJobsResponse_V1> |
|
186 |
+ </GetJobs> |
|
187 |
+ </ACMP> |
|
188 |
+</ICQL> |
|
189 |
+{{/apimacro}} |
|
190 |
+ |
|
191 |
+{{apimacro title="GetUnixScriptForExecution Request"}} |
|
192 |
+<?xml version="1.0" encoding="utf-8"?> |
|
193 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionRequest_V1"> |
|
194 |
+ <ACMP> |
|
195 |
+ <GetUnixScriptForExecution ActionType="Request" version="1"> |
|
196 |
+ <TGetUnixScriptForExecutionRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
197 |
+ <ScriptId>{59387FFD-B171-47C5-B735-041FA132CA39}</ScriptId> |
|
198 |
+ <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId> |
|
199 |
+ <TestRing>0</TestRing> |
|
200 |
+ <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> |
|
201 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
202 |
+ </TGetUnixScriptForExecutionRequest_V1> |
|
203 |
+ </GetUnixScriptForExecution> |
|
204 |
+ </ACMP> |
|
205 |
+</ICQL> |
|
206 |
+{{/apimacro}} |
|
207 |
+ |
|
208 |
+{{apimacro title="GetUnixScriptForExecution Response"}} |
|
209 |
+<?xml version="1.0" encoding="utf-8"?> |
|
210 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionResponse_V1"> |
|
211 |
+ <ACMP> |
|
212 |
+ <GetUnixScriptForExecution ActionType="Response" version="1"> |
|
213 |
+ <TGetUnixScriptForExecutionResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
214 |
+ <Content>Content</Content> |
|
215 |
+ <! |
|
216 |
+-- ScriptInterpreter possible values: |
|
217 |
+ siBash |
|
218 |
+ siZsh |
|
219 |
+ --> |
|
220 |
+ <ScriptInterpreter>siBash</ScriptInterpreter> |
|
221 |
+ <ResultCode>0</ResultCode> |
|
222 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
223 |
+ </TGetUnixScriptForExecutionResponse_V1> |
|
224 |
+ </GetUnixScriptForExecution> |
|
225 |
+ </ACMP> |
|
226 |
+</ICQL> |
|
227 |
+{{/apimacro}} |
|
228 |
+ |
|
229 |
+= Job Results = |
|
230 |
+ |
|
231 |
+{{apimacro title="SaveJobExecState_V1 Request"}} |
|
232 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V1"> |
|
233 |
+ <ACMP> |
|
234 |
+ <SaveJobExecState ActionType="Request" version="1"> |
|
235 |
+ <TSaveJobExecStateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
236 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
237 |
+ <! |
|
238 |
+-- ExecState possible values: |
|
239 |
+ esSending |
|
240 |
+ esReceived |
|
241 |
+ esStarted |
|
242 |
+ esFinished |
|
243 |
+ esAborted |
|
244 |
+ esDelayed |
|
245 |
+ --> |
|
246 |
+ <ExecState>esSending</ExecState> |
|
247 |
+ <! |
|
248 |
+-- ExecResult possible values: |
|
249 |
+ jrNone |
|
250 |
+ jrSuccessful |
|
251 |
+ jrFailed |
|
252 |
+ jrSkipped |
|
253 |
+ jrNoLicense |
|
254 |
+ --> |
|
255 |
+ <ExecResult>jrNone</ExecResult> |
|
256 |
+ <!-- Optional, some jobs uses constant GUIDs for ChildExecId --> |
|
257 |
+ <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> |
|
258 |
+ <!-- Optional, only used for internal jobs --> |
|
259 |
+ <MessageCode>0</MessageCode> |
|
260 |
+ <!-- Optional --> |
|
261 |
+ <NativeMessage>NativeMessage</NativeMessage> |
|
262 |
+ </TSaveJobExecStateRequest_V1> |
|
263 |
+ </SaveJobExecState> |
|
264 |
+ </ACMP> |
|
265 |
+</ICQL> |
|
266 |
+{{/apimacro}} |
|
267 |
+ |
|
268 |
+{{apimacro title="SaveJobExecState_V1 Response"}} |
|
269 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V1"> |
|
270 |
+ <ACMP> |
|
271 |
+ <SaveJobExecState ActionType="Response" version="1"> |
|
272 |
+ <TSaveJobExecStateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
273 |
+ <ResultCode>0</ResultCode> |
|
274 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
275 |
+ </TSaveJobExecStateResponse_V1> |
|
276 |
+ </SaveJobExecState> |
|
277 |
+ </ACMP> |
|
278 |
+</ICQL> |
|
279 |
+{{/apimacro}} |
|
280 |
+ |
|
281 |
+{{apimacro title="SaveJobExecState_V2 Request"}} |
|
282 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V2"> |
|
283 |
+ <ACMP> |
|
284 |
+ <SaveJobExecState ActionType="Request" version="2"> |
|
285 |
+ <TSaveJobExecStateRequest_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
286 |
+ <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> |
|
287 |
+ <! |
|
288 |
+-- ExecState possible values: |
|
289 |
+ esSending |
|
290 |
+ esReceived |
|
291 |
+ esStarted |
|
292 |
+ esFinished |
|
293 |
+ esAborted |
|
294 |
+ esDelayed |
|
295 |
+ --> |
|
296 |
+ <ExecState>esSending</ExecState> |
|
297 |
+ <! |
|
298 |
+-- ExecResult possible values: |
|
299 |
+ jrNone |
|
300 |
+ jrSuccessful |
|
301 |
+ jrFailed |
|
302 |
+ jrSkipped |
|
303 |
+ jrNoLicense |
|
304 |
+ --> |
|
305 |
+ <ExecResult>jrNone</ExecResult> |
|
306 |
+ <!-- Optional, some jobs uses constant GUIDs for ChildExecId --> |
|
307 |
+ <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> |
|
308 |
+ <!-- Optional, only used for internal jobs --> |
|
309 |
+ <MessageCode>0</MessageCode> |
|
310 |
+ <!-- Optional --> |
|
311 |
+ <NativeMessage>NativeMessage</NativeMessage> |
|
312 |
+ <!-- Mandatory and should be a GUID --> |
|
313 |
+ <JobId>{E3A3C524-7EEC-46DF-B72E-21267226ADAA}</JobId> |
|
314 |
+ </TSaveJobExecStateRequest_V2> |
|
315 |
+ </SaveJobExecState> |
|
316 |
+ </ACMP> |
|
317 |
+</ICQL> |
|
318 |
+{{/apimacro}} |
|
319 |
+ |
|
320 |
+{{apimacro title="SaveJobExecState_V2 Response"}} |
|
321 |
+<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V2"> |
|
322 |
+ <ACMP> |
|
323 |
+ <SaveJobExecState ActionType="Response" version="2"> |
|
324 |
+ <TSaveJobExecStateResponse_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
325 |
+ <! |
|
326 |
+-- StartResult possible values: |
|
327 |
+ srAllowed |
|
328 |
+ srAborted |
|
329 |
+ --> |
|
330 |
+ <StartResult>srAllowed</StartResult> |
|
331 |
+ <ResultCode>0</ResultCode> |
|
332 |
+ <ResultMessage>ResultMessage</ResultMessage> |
|
333 |
+ </TSaveJobExecStateResponse_V2> |
|
334 |
+ </SaveJobExecState> |
|
335 |
+ </ACMP> |
|
336 |
+</ICQL> |
|
337 |
+{{/apimacro}} |
|
338 |
+ |
| 1 |
1 |
|