catocli 3.0.10__py3-none-any.whl → 3.0.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of catocli might be problematic. Click here for more details.
- catocli/Utils/clidriver.py +4 -4
- catocli/Utils/graphql_utils.py +15 -5
- catocli/Utils/help_formatter.py +62 -17
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/custom/customLib.py +3 -1
- catocli/parsers/mutation_groups_createGroup/README.md +39 -1
- catocli/parsers/mutation_groups_deleteGroup/README.md +39 -1
- catocli/parsers/mutation_groups_updateGroup/README.md +39 -1
- catocli/parsers/query_accountMetrics/README.md +29 -2
- catocli/parsers/query_accountSnapshot/README.md +16 -0
- catocli/parsers/query_appStats/README.md +11 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +16 -2
- catocli/parsers/query_auditFeed/README.md +3 -1
- catocli/parsers/query_catalogs/README.md +178 -0
- catocli/parsers/query_container/README.md +49 -0
- catocli/parsers/query_devices/README.md +728 -0
- catocli/parsers/query_enterpriseDirectory/README.md +83 -0
- catocli/parsers/query_events/README.md +5 -1
- catocli/parsers/query_eventsTimeSeries/README.md +10 -2
- catocli/parsers/query_groups_groupList/README.md +39 -1
- catocli/parsers/query_hardware/README.md +153 -0
- catocli/parsers/query_hardwareManagement/README.md +56 -0
- catocli/parsers/query_popLocations/README.md +63 -0
- catocli/parsers/query_sandbox/README.md +69 -0
- catocli/parsers/query_socketPortMetrics/README.md +5 -1
- catocli/parsers/query_socketPortMetricsTimeSeries/README.md +10 -2
- catocli/parsers/query_xdr_stories/README.md +7 -2
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/METADATA +1 -1
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/RECORD +59 -59
- models/mutation.accountManagement.disableAccount.json +2 -2
- models/mutation.accountManagement.removeAccount.json +2 -2
- models/mutation.groups.createGroup.json +810 -0
- models/mutation.groups.deleteGroup.json +810 -0
- models/mutation.groups.updateGroup.json +810 -0
- models/query.accountMetrics.json +333 -1
- models/query.accountSnapshot.json +50 -1
- models/query.appStats.json +38 -0
- models/query.appStatsTimeSeries.json +78 -1
- models/query.auditFeed.json +105 -0
- models/query.catalogs.json +2708 -1
- models/query.container.json +793 -1
- models/query.devices.json +10338 -1
- models/query.enterpriseDirectory.json +1315 -1
- models/query.events.json +38 -0
- models/query.eventsFeed.json +1587 -0
- models/query.eventsTimeSeries.json +78 -1
- models/query.groups.groupList.json +810 -0
- models/query.hardware.json +2333 -1
- models/query.hardwareManagement.json +1086 -1
- models/query.popLocations.json +1172 -1
- models/query.sandbox.json +825 -1
- models/query.socketPortMetrics.json +38 -0
- models/query.socketPortMetricsTimeSeries.json +78 -1
- schema/catolib.py +107 -37
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/WHEEL +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/entry_points.txt +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/licenses/LICENSE +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.13.dist-info}/top_level.txt +0 -0
|
@@ -11,6 +11,734 @@ catocli query devices <json>
|
|
|
11
11
|
|
|
12
12
|
catocli query devices "$(cat < query.devices.json)"
|
|
13
13
|
|
|
14
|
+
catocli query devices '{"deviceAttributeCatalogInput":{"pagingInput":{"from":1,"limit":1},"sortOrderInput":{"direction":"ASC","priority":1},"stringFilterInput":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"deviceCsvExportInput":{"deviceV2FilterInput":{"category":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"confidence":{"eq":"LOW","in":"LOW","neq":"LOW","nin":"LOW"},"firstSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"hw":{"manufacturer":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"model":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"type":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"ipAddress":{"between":["example1","example2"],"eq":"example_value","in":["example1","example2"],"neq":"example_value","nin":["example1","example2"],"nwithin":"example_value","within":"example_value"},"isManaged":{"eq":true,"neq":true},"lastSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"network":{"networkName":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"subnet":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"nic":{"macAddress":{"eq":"example_value","in":["example1","example2"],"neq":"example_value","nin":["example1","example2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"os":{"product":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"version":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"riskScore":{"between":[1,2],"eq":1,"gt":1,"gte":1,"in":[1,2],"lt":1,"lte":1,"neq":1,"nin":[1,2]},"site":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}},"user":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}}}},"deviceV2Input":{"deviceSortInput":{"category":{"direction":"ASC","priority":1},"confidence":{"direction":"ASC","priority":1},"firstSeen":{"direction":"ASC","priority":1},"hw":{"manufacturer":{"direction":"ASC","priority":1},"model":{"direction":"ASC","priority":1},"type":{"direction":"ASC","priority":1}},"id":{"direction":"ASC","priority":1},"ip":{"direction":"ASC","priority":1},"lastSeen":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1},"network":{"networkName":{"direction":"ASC","priority":1},"subnet":{"direction":"ASC","priority":1}},"nic":{"macAddress":{"direction":"ASC","priority":1},"vendor":{"direction":"ASC","priority":1}},"os":{"product":{"direction":"ASC","priority":1},"vendor":{"direction":"ASC","priority":1},"version":{"direction":"ASC","priority":1}},"riskScore":{"direction":"ASC","priority":1},"site":{"id":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1}},"user":{"id":{"direction":"ASC","priority":1},"name":{"direction":"ASC","priority":1}}},"deviceV2FilterInput":{"category":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"confidence":{"eq":"LOW","in":"LOW","neq":"LOW","nin":"LOW"},"firstSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"hw":{"manufacturer":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"model":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"type":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"id":{"eq":"id","in":["id1","id2"],"neq":"id","nin":["id1","id2"]},"ipAddress":{"between":["example1","example2"],"eq":"example_value","in":["example1","example2"],"neq":"example_value","nin":["example1","example2"],"nwithin":"example_value","within":"example_value"},"isManaged":{"eq":true,"neq":true},"lastSeen":{"between":["example1","example2"],"eq":"example_value","gt":"example_value","gte":"example_value","in":["example1","example2"],"lt":"example_value","lte":"example_value","neq":"example_value","nin":["example1","example2"]},"name":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"network":{"networkName":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"subnet":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"nic":{"macAddress":{"eq":"example_value","in":["example1","example2"],"neq":"example_value","nin":["example1","example2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"os":{"product":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"vendor":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]},"version":{"eq":"string","in":["string1","string2"],"neq":"string","nin":["string1","string2"]}},"riskScore":{"between":[1,2],"eq":1,"gt":1,"gte":1,"in":[1,2],"lt":1,"lte":1,"neq":1,"nin":[1,2]},"site":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}},"user":{"eq":{"by":"ID","input":"string"},"in":{"by":"ID","input":"string"},"neq":{"by":"ID","input":"string"},"nin":{"by":"ID","input":"string"}}},"pagingInput":{"from":1,"limit":1}},"jobId":"id","sortOrderInput":{"direction":"ASC","priority":1}}'
|
|
15
|
+
|
|
16
|
+
catocli query devices '{
|
|
17
|
+
"deviceAttributeCatalogInput": {
|
|
18
|
+
"pagingInput": {
|
|
19
|
+
"from": 1,
|
|
20
|
+
"limit": 1
|
|
21
|
+
},
|
|
22
|
+
"sortOrderInput": {
|
|
23
|
+
"direction": "ASC",
|
|
24
|
+
"priority": 1
|
|
25
|
+
},
|
|
26
|
+
"stringFilterInput": {
|
|
27
|
+
"eq": "string",
|
|
28
|
+
"in": [
|
|
29
|
+
"string1",
|
|
30
|
+
"string2"
|
|
31
|
+
],
|
|
32
|
+
"neq": "string",
|
|
33
|
+
"nin": [
|
|
34
|
+
"string1",
|
|
35
|
+
"string2"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"deviceCsvExportInput": {
|
|
40
|
+
"deviceV2FilterInput": {
|
|
41
|
+
"category": {
|
|
42
|
+
"eq": "string",
|
|
43
|
+
"in": [
|
|
44
|
+
"string1",
|
|
45
|
+
"string2"
|
|
46
|
+
],
|
|
47
|
+
"neq": "string",
|
|
48
|
+
"nin": [
|
|
49
|
+
"string1",
|
|
50
|
+
"string2"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"confidence": {
|
|
54
|
+
"eq": "LOW",
|
|
55
|
+
"in": "LOW",
|
|
56
|
+
"neq": "LOW",
|
|
57
|
+
"nin": "LOW"
|
|
58
|
+
},
|
|
59
|
+
"firstSeen": {
|
|
60
|
+
"between": [
|
|
61
|
+
"example1",
|
|
62
|
+
"example2"
|
|
63
|
+
],
|
|
64
|
+
"eq": "example_value",
|
|
65
|
+
"gt": "example_value",
|
|
66
|
+
"gte": "example_value",
|
|
67
|
+
"in": [
|
|
68
|
+
"example1",
|
|
69
|
+
"example2"
|
|
70
|
+
],
|
|
71
|
+
"lt": "example_value",
|
|
72
|
+
"lte": "example_value",
|
|
73
|
+
"neq": "example_value",
|
|
74
|
+
"nin": [
|
|
75
|
+
"example1",
|
|
76
|
+
"example2"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"hw": {
|
|
80
|
+
"manufacturer": {
|
|
81
|
+
"eq": "string",
|
|
82
|
+
"in": [
|
|
83
|
+
"string1",
|
|
84
|
+
"string2"
|
|
85
|
+
],
|
|
86
|
+
"neq": "string",
|
|
87
|
+
"nin": [
|
|
88
|
+
"string1",
|
|
89
|
+
"string2"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"model": {
|
|
93
|
+
"eq": "string",
|
|
94
|
+
"in": [
|
|
95
|
+
"string1",
|
|
96
|
+
"string2"
|
|
97
|
+
],
|
|
98
|
+
"neq": "string",
|
|
99
|
+
"nin": [
|
|
100
|
+
"string1",
|
|
101
|
+
"string2"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"type": {
|
|
105
|
+
"eq": "string",
|
|
106
|
+
"in": [
|
|
107
|
+
"string1",
|
|
108
|
+
"string2"
|
|
109
|
+
],
|
|
110
|
+
"neq": "string",
|
|
111
|
+
"nin": [
|
|
112
|
+
"string1",
|
|
113
|
+
"string2"
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"id": {
|
|
118
|
+
"eq": "id",
|
|
119
|
+
"in": [
|
|
120
|
+
"id1",
|
|
121
|
+
"id2"
|
|
122
|
+
],
|
|
123
|
+
"neq": "id",
|
|
124
|
+
"nin": [
|
|
125
|
+
"id1",
|
|
126
|
+
"id2"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"ipAddress": {
|
|
130
|
+
"between": [
|
|
131
|
+
"example1",
|
|
132
|
+
"example2"
|
|
133
|
+
],
|
|
134
|
+
"eq": "example_value",
|
|
135
|
+
"in": [
|
|
136
|
+
"example1",
|
|
137
|
+
"example2"
|
|
138
|
+
],
|
|
139
|
+
"neq": "example_value",
|
|
140
|
+
"nin": [
|
|
141
|
+
"example1",
|
|
142
|
+
"example2"
|
|
143
|
+
],
|
|
144
|
+
"nwithin": "example_value",
|
|
145
|
+
"within": "example_value"
|
|
146
|
+
},
|
|
147
|
+
"isManaged": {
|
|
148
|
+
"eq": true,
|
|
149
|
+
"neq": true
|
|
150
|
+
},
|
|
151
|
+
"lastSeen": {
|
|
152
|
+
"between": [
|
|
153
|
+
"example1",
|
|
154
|
+
"example2"
|
|
155
|
+
],
|
|
156
|
+
"eq": "example_value",
|
|
157
|
+
"gt": "example_value",
|
|
158
|
+
"gte": "example_value",
|
|
159
|
+
"in": [
|
|
160
|
+
"example1",
|
|
161
|
+
"example2"
|
|
162
|
+
],
|
|
163
|
+
"lt": "example_value",
|
|
164
|
+
"lte": "example_value",
|
|
165
|
+
"neq": "example_value",
|
|
166
|
+
"nin": [
|
|
167
|
+
"example1",
|
|
168
|
+
"example2"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"name": {
|
|
172
|
+
"eq": "string",
|
|
173
|
+
"in": [
|
|
174
|
+
"string1",
|
|
175
|
+
"string2"
|
|
176
|
+
],
|
|
177
|
+
"neq": "string",
|
|
178
|
+
"nin": [
|
|
179
|
+
"string1",
|
|
180
|
+
"string2"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"network": {
|
|
184
|
+
"networkName": {
|
|
185
|
+
"eq": "string",
|
|
186
|
+
"in": [
|
|
187
|
+
"string1",
|
|
188
|
+
"string2"
|
|
189
|
+
],
|
|
190
|
+
"neq": "string",
|
|
191
|
+
"nin": [
|
|
192
|
+
"string1",
|
|
193
|
+
"string2"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"subnet": {
|
|
197
|
+
"eq": "string",
|
|
198
|
+
"in": [
|
|
199
|
+
"string1",
|
|
200
|
+
"string2"
|
|
201
|
+
],
|
|
202
|
+
"neq": "string",
|
|
203
|
+
"nin": [
|
|
204
|
+
"string1",
|
|
205
|
+
"string2"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"nic": {
|
|
210
|
+
"macAddress": {
|
|
211
|
+
"eq": "example_value",
|
|
212
|
+
"in": [
|
|
213
|
+
"example1",
|
|
214
|
+
"example2"
|
|
215
|
+
],
|
|
216
|
+
"neq": "example_value",
|
|
217
|
+
"nin": [
|
|
218
|
+
"example1",
|
|
219
|
+
"example2"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"vendor": {
|
|
223
|
+
"eq": "string",
|
|
224
|
+
"in": [
|
|
225
|
+
"string1",
|
|
226
|
+
"string2"
|
|
227
|
+
],
|
|
228
|
+
"neq": "string",
|
|
229
|
+
"nin": [
|
|
230
|
+
"string1",
|
|
231
|
+
"string2"
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"os": {
|
|
236
|
+
"product": {
|
|
237
|
+
"eq": "string",
|
|
238
|
+
"in": [
|
|
239
|
+
"string1",
|
|
240
|
+
"string2"
|
|
241
|
+
],
|
|
242
|
+
"neq": "string",
|
|
243
|
+
"nin": [
|
|
244
|
+
"string1",
|
|
245
|
+
"string2"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"vendor": {
|
|
249
|
+
"eq": "string",
|
|
250
|
+
"in": [
|
|
251
|
+
"string1",
|
|
252
|
+
"string2"
|
|
253
|
+
],
|
|
254
|
+
"neq": "string",
|
|
255
|
+
"nin": [
|
|
256
|
+
"string1",
|
|
257
|
+
"string2"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"version": {
|
|
261
|
+
"eq": "string",
|
|
262
|
+
"in": [
|
|
263
|
+
"string1",
|
|
264
|
+
"string2"
|
|
265
|
+
],
|
|
266
|
+
"neq": "string",
|
|
267
|
+
"nin": [
|
|
268
|
+
"string1",
|
|
269
|
+
"string2"
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"riskScore": {
|
|
274
|
+
"between": [
|
|
275
|
+
1,
|
|
276
|
+
2
|
|
277
|
+
],
|
|
278
|
+
"eq": 1,
|
|
279
|
+
"gt": 1,
|
|
280
|
+
"gte": 1,
|
|
281
|
+
"in": [
|
|
282
|
+
1,
|
|
283
|
+
2
|
|
284
|
+
],
|
|
285
|
+
"lt": 1,
|
|
286
|
+
"lte": 1,
|
|
287
|
+
"neq": 1,
|
|
288
|
+
"nin": [
|
|
289
|
+
1,
|
|
290
|
+
2
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"site": {
|
|
294
|
+
"eq": {
|
|
295
|
+
"by": "ID",
|
|
296
|
+
"input": "string"
|
|
297
|
+
},
|
|
298
|
+
"in": {
|
|
299
|
+
"by": "ID",
|
|
300
|
+
"input": "string"
|
|
301
|
+
},
|
|
302
|
+
"neq": {
|
|
303
|
+
"by": "ID",
|
|
304
|
+
"input": "string"
|
|
305
|
+
},
|
|
306
|
+
"nin": {
|
|
307
|
+
"by": "ID",
|
|
308
|
+
"input": "string"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"user": {
|
|
312
|
+
"eq": {
|
|
313
|
+
"by": "ID",
|
|
314
|
+
"input": "string"
|
|
315
|
+
},
|
|
316
|
+
"in": {
|
|
317
|
+
"by": "ID",
|
|
318
|
+
"input": "string"
|
|
319
|
+
},
|
|
320
|
+
"neq": {
|
|
321
|
+
"by": "ID",
|
|
322
|
+
"input": "string"
|
|
323
|
+
},
|
|
324
|
+
"nin": {
|
|
325
|
+
"by": "ID",
|
|
326
|
+
"input": "string"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"deviceV2Input": {
|
|
332
|
+
"deviceSortInput": {
|
|
333
|
+
"category": {
|
|
334
|
+
"direction": "ASC",
|
|
335
|
+
"priority": 1
|
|
336
|
+
},
|
|
337
|
+
"confidence": {
|
|
338
|
+
"direction": "ASC",
|
|
339
|
+
"priority": 1
|
|
340
|
+
},
|
|
341
|
+
"firstSeen": {
|
|
342
|
+
"direction": "ASC",
|
|
343
|
+
"priority": 1
|
|
344
|
+
},
|
|
345
|
+
"hw": {
|
|
346
|
+
"manufacturer": {
|
|
347
|
+
"direction": "ASC",
|
|
348
|
+
"priority": 1
|
|
349
|
+
},
|
|
350
|
+
"model": {
|
|
351
|
+
"direction": "ASC",
|
|
352
|
+
"priority": 1
|
|
353
|
+
},
|
|
354
|
+
"type": {
|
|
355
|
+
"direction": "ASC",
|
|
356
|
+
"priority": 1
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"id": {
|
|
360
|
+
"direction": "ASC",
|
|
361
|
+
"priority": 1
|
|
362
|
+
},
|
|
363
|
+
"ip": {
|
|
364
|
+
"direction": "ASC",
|
|
365
|
+
"priority": 1
|
|
366
|
+
},
|
|
367
|
+
"lastSeen": {
|
|
368
|
+
"direction": "ASC",
|
|
369
|
+
"priority": 1
|
|
370
|
+
},
|
|
371
|
+
"name": {
|
|
372
|
+
"direction": "ASC",
|
|
373
|
+
"priority": 1
|
|
374
|
+
},
|
|
375
|
+
"network": {
|
|
376
|
+
"networkName": {
|
|
377
|
+
"direction": "ASC",
|
|
378
|
+
"priority": 1
|
|
379
|
+
},
|
|
380
|
+
"subnet": {
|
|
381
|
+
"direction": "ASC",
|
|
382
|
+
"priority": 1
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"nic": {
|
|
386
|
+
"macAddress": {
|
|
387
|
+
"direction": "ASC",
|
|
388
|
+
"priority": 1
|
|
389
|
+
},
|
|
390
|
+
"vendor": {
|
|
391
|
+
"direction": "ASC",
|
|
392
|
+
"priority": 1
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"os": {
|
|
396
|
+
"product": {
|
|
397
|
+
"direction": "ASC",
|
|
398
|
+
"priority": 1
|
|
399
|
+
},
|
|
400
|
+
"vendor": {
|
|
401
|
+
"direction": "ASC",
|
|
402
|
+
"priority": 1
|
|
403
|
+
},
|
|
404
|
+
"version": {
|
|
405
|
+
"direction": "ASC",
|
|
406
|
+
"priority": 1
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"riskScore": {
|
|
410
|
+
"direction": "ASC",
|
|
411
|
+
"priority": 1
|
|
412
|
+
},
|
|
413
|
+
"site": {
|
|
414
|
+
"id": {
|
|
415
|
+
"direction": "ASC",
|
|
416
|
+
"priority": 1
|
|
417
|
+
},
|
|
418
|
+
"name": {
|
|
419
|
+
"direction": "ASC",
|
|
420
|
+
"priority": 1
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"user": {
|
|
424
|
+
"id": {
|
|
425
|
+
"direction": "ASC",
|
|
426
|
+
"priority": 1
|
|
427
|
+
},
|
|
428
|
+
"name": {
|
|
429
|
+
"direction": "ASC",
|
|
430
|
+
"priority": 1
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"deviceV2FilterInput": {
|
|
435
|
+
"category": {
|
|
436
|
+
"eq": "string",
|
|
437
|
+
"in": [
|
|
438
|
+
"string1",
|
|
439
|
+
"string2"
|
|
440
|
+
],
|
|
441
|
+
"neq": "string",
|
|
442
|
+
"nin": [
|
|
443
|
+
"string1",
|
|
444
|
+
"string2"
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
"confidence": {
|
|
448
|
+
"eq": "LOW",
|
|
449
|
+
"in": "LOW",
|
|
450
|
+
"neq": "LOW",
|
|
451
|
+
"nin": "LOW"
|
|
452
|
+
},
|
|
453
|
+
"firstSeen": {
|
|
454
|
+
"between": [
|
|
455
|
+
"example1",
|
|
456
|
+
"example2"
|
|
457
|
+
],
|
|
458
|
+
"eq": "example_value",
|
|
459
|
+
"gt": "example_value",
|
|
460
|
+
"gte": "example_value",
|
|
461
|
+
"in": [
|
|
462
|
+
"example1",
|
|
463
|
+
"example2"
|
|
464
|
+
],
|
|
465
|
+
"lt": "example_value",
|
|
466
|
+
"lte": "example_value",
|
|
467
|
+
"neq": "example_value",
|
|
468
|
+
"nin": [
|
|
469
|
+
"example1",
|
|
470
|
+
"example2"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
"hw": {
|
|
474
|
+
"manufacturer": {
|
|
475
|
+
"eq": "string",
|
|
476
|
+
"in": [
|
|
477
|
+
"string1",
|
|
478
|
+
"string2"
|
|
479
|
+
],
|
|
480
|
+
"neq": "string",
|
|
481
|
+
"nin": [
|
|
482
|
+
"string1",
|
|
483
|
+
"string2"
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
"model": {
|
|
487
|
+
"eq": "string",
|
|
488
|
+
"in": [
|
|
489
|
+
"string1",
|
|
490
|
+
"string2"
|
|
491
|
+
],
|
|
492
|
+
"neq": "string",
|
|
493
|
+
"nin": [
|
|
494
|
+
"string1",
|
|
495
|
+
"string2"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
"type": {
|
|
499
|
+
"eq": "string",
|
|
500
|
+
"in": [
|
|
501
|
+
"string1",
|
|
502
|
+
"string2"
|
|
503
|
+
],
|
|
504
|
+
"neq": "string",
|
|
505
|
+
"nin": [
|
|
506
|
+
"string1",
|
|
507
|
+
"string2"
|
|
508
|
+
]
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"id": {
|
|
512
|
+
"eq": "id",
|
|
513
|
+
"in": [
|
|
514
|
+
"id1",
|
|
515
|
+
"id2"
|
|
516
|
+
],
|
|
517
|
+
"neq": "id",
|
|
518
|
+
"nin": [
|
|
519
|
+
"id1",
|
|
520
|
+
"id2"
|
|
521
|
+
]
|
|
522
|
+
},
|
|
523
|
+
"ipAddress": {
|
|
524
|
+
"between": [
|
|
525
|
+
"example1",
|
|
526
|
+
"example2"
|
|
527
|
+
],
|
|
528
|
+
"eq": "example_value",
|
|
529
|
+
"in": [
|
|
530
|
+
"example1",
|
|
531
|
+
"example2"
|
|
532
|
+
],
|
|
533
|
+
"neq": "example_value",
|
|
534
|
+
"nin": [
|
|
535
|
+
"example1",
|
|
536
|
+
"example2"
|
|
537
|
+
],
|
|
538
|
+
"nwithin": "example_value",
|
|
539
|
+
"within": "example_value"
|
|
540
|
+
},
|
|
541
|
+
"isManaged": {
|
|
542
|
+
"eq": true,
|
|
543
|
+
"neq": true
|
|
544
|
+
},
|
|
545
|
+
"lastSeen": {
|
|
546
|
+
"between": [
|
|
547
|
+
"example1",
|
|
548
|
+
"example2"
|
|
549
|
+
],
|
|
550
|
+
"eq": "example_value",
|
|
551
|
+
"gt": "example_value",
|
|
552
|
+
"gte": "example_value",
|
|
553
|
+
"in": [
|
|
554
|
+
"example1",
|
|
555
|
+
"example2"
|
|
556
|
+
],
|
|
557
|
+
"lt": "example_value",
|
|
558
|
+
"lte": "example_value",
|
|
559
|
+
"neq": "example_value",
|
|
560
|
+
"nin": [
|
|
561
|
+
"example1",
|
|
562
|
+
"example2"
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
"name": {
|
|
566
|
+
"eq": "string",
|
|
567
|
+
"in": [
|
|
568
|
+
"string1",
|
|
569
|
+
"string2"
|
|
570
|
+
],
|
|
571
|
+
"neq": "string",
|
|
572
|
+
"nin": [
|
|
573
|
+
"string1",
|
|
574
|
+
"string2"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"network": {
|
|
578
|
+
"networkName": {
|
|
579
|
+
"eq": "string",
|
|
580
|
+
"in": [
|
|
581
|
+
"string1",
|
|
582
|
+
"string2"
|
|
583
|
+
],
|
|
584
|
+
"neq": "string",
|
|
585
|
+
"nin": [
|
|
586
|
+
"string1",
|
|
587
|
+
"string2"
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
"subnet": {
|
|
591
|
+
"eq": "string",
|
|
592
|
+
"in": [
|
|
593
|
+
"string1",
|
|
594
|
+
"string2"
|
|
595
|
+
],
|
|
596
|
+
"neq": "string",
|
|
597
|
+
"nin": [
|
|
598
|
+
"string1",
|
|
599
|
+
"string2"
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"nic": {
|
|
604
|
+
"macAddress": {
|
|
605
|
+
"eq": "example_value",
|
|
606
|
+
"in": [
|
|
607
|
+
"example1",
|
|
608
|
+
"example2"
|
|
609
|
+
],
|
|
610
|
+
"neq": "example_value",
|
|
611
|
+
"nin": [
|
|
612
|
+
"example1",
|
|
613
|
+
"example2"
|
|
614
|
+
]
|
|
615
|
+
},
|
|
616
|
+
"vendor": {
|
|
617
|
+
"eq": "string",
|
|
618
|
+
"in": [
|
|
619
|
+
"string1",
|
|
620
|
+
"string2"
|
|
621
|
+
],
|
|
622
|
+
"neq": "string",
|
|
623
|
+
"nin": [
|
|
624
|
+
"string1",
|
|
625
|
+
"string2"
|
|
626
|
+
]
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"os": {
|
|
630
|
+
"product": {
|
|
631
|
+
"eq": "string",
|
|
632
|
+
"in": [
|
|
633
|
+
"string1",
|
|
634
|
+
"string2"
|
|
635
|
+
],
|
|
636
|
+
"neq": "string",
|
|
637
|
+
"nin": [
|
|
638
|
+
"string1",
|
|
639
|
+
"string2"
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"vendor": {
|
|
643
|
+
"eq": "string",
|
|
644
|
+
"in": [
|
|
645
|
+
"string1",
|
|
646
|
+
"string2"
|
|
647
|
+
],
|
|
648
|
+
"neq": "string",
|
|
649
|
+
"nin": [
|
|
650
|
+
"string1",
|
|
651
|
+
"string2"
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
"version": {
|
|
655
|
+
"eq": "string",
|
|
656
|
+
"in": [
|
|
657
|
+
"string1",
|
|
658
|
+
"string2"
|
|
659
|
+
],
|
|
660
|
+
"neq": "string",
|
|
661
|
+
"nin": [
|
|
662
|
+
"string1",
|
|
663
|
+
"string2"
|
|
664
|
+
]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"riskScore": {
|
|
668
|
+
"between": [
|
|
669
|
+
1,
|
|
670
|
+
2
|
|
671
|
+
],
|
|
672
|
+
"eq": 1,
|
|
673
|
+
"gt": 1,
|
|
674
|
+
"gte": 1,
|
|
675
|
+
"in": [
|
|
676
|
+
1,
|
|
677
|
+
2
|
|
678
|
+
],
|
|
679
|
+
"lt": 1,
|
|
680
|
+
"lte": 1,
|
|
681
|
+
"neq": 1,
|
|
682
|
+
"nin": [
|
|
683
|
+
1,
|
|
684
|
+
2
|
|
685
|
+
]
|
|
686
|
+
},
|
|
687
|
+
"site": {
|
|
688
|
+
"eq": {
|
|
689
|
+
"by": "ID",
|
|
690
|
+
"input": "string"
|
|
691
|
+
},
|
|
692
|
+
"in": {
|
|
693
|
+
"by": "ID",
|
|
694
|
+
"input": "string"
|
|
695
|
+
},
|
|
696
|
+
"neq": {
|
|
697
|
+
"by": "ID",
|
|
698
|
+
"input": "string"
|
|
699
|
+
},
|
|
700
|
+
"nin": {
|
|
701
|
+
"by": "ID",
|
|
702
|
+
"input": "string"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"user": {
|
|
706
|
+
"eq": {
|
|
707
|
+
"by": "ID",
|
|
708
|
+
"input": "string"
|
|
709
|
+
},
|
|
710
|
+
"in": {
|
|
711
|
+
"by": "ID",
|
|
712
|
+
"input": "string"
|
|
713
|
+
},
|
|
714
|
+
"neq": {
|
|
715
|
+
"by": "ID",
|
|
716
|
+
"input": "string"
|
|
717
|
+
},
|
|
718
|
+
"nin": {
|
|
719
|
+
"by": "ID",
|
|
720
|
+
"input": "string"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"pagingInput": {
|
|
725
|
+
"from": 1,
|
|
726
|
+
"limit": 1
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"jobId": "id",
|
|
730
|
+
"sortOrderInput": {
|
|
731
|
+
"direction": "ASC",
|
|
732
|
+
"priority": 1
|
|
733
|
+
}
|
|
734
|
+
}'
|
|
735
|
+
```
|
|
736
|
+
|
|
14
737
|
#### Operation Arguments for query.devices ####
|
|
15
738
|
|
|
16
739
|
`accountId` [ID] - (required) N/A
|
|
740
|
+
`deviceAttributeCatalogInput` [DeviceAttributeCatalogInput] - (required) N/A
|
|
741
|
+
`deviceCsvExportInput` [DeviceCsvExportInput] - (required) N/A
|
|
742
|
+
`deviceV2Input` [DeviceV2Input] - (required) N/A
|
|
743
|
+
`jobId` [ID] - (required) N/A
|
|
744
|
+
`sortOrderInput` [SortOrderInput] - (required) N/A
|