forked from Shuffle/openapi-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwazuh.yaml
9851 lines (9851 loc) · 311 KB
/
wazuh.yaml
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: Wazuh
description: "Initialize with CURL request towards:
https://10.0.3.141:55000/security/user/authenticate?raw=true with basic auth
using the HTTP app. The Wazuh API is an open source RESTful API that allows
for interaction with the Wazuh manager from a web browser,command line tool
like cURL or any script or program that can make web requests. The Wazuh WUI
relies on thisheavily and Wazuhs goal is to accommodate complete remote
management of the Wazuh infrastructure via the Wazuh WUI.Use the Wazuh API
to easily perform everyday actions like adding an agent, restarting the
manager(s) or agent(s)or looking up syscheck details.# AuthenticationWazuh
API endpoints require authentication in order to be used. Therefore, all
calls must include a JSON Web Token.JWT is an open standard (RFC 7519) that
defines a compact and self-contained way for securely
transmittinginformation between parties as a JSON object. Perform a call
with `basicAuth` to `GET /security/user/authenticate`and obtain a JWT token
in order to run any endpoint.JWT tokens have a default duration of 900
seconds. To change this value, you must perform a call with a validJWT token
to `PUT /security/config`. After this change, you will need to get a new JWT
token as all previouslyissued tokens are revoked when any change is
performed on security configuration.Login with USER and PASSWORD:`curl -u
<USER>:<PASSWORD> -k -X GET
\"https://<HOST_IP>:55000/security/user/authenticate\"````json{ \"data\":
{ \"token\": \"<YOUR_JWT_TOKEN>\" }, \"error\": 0}```Use the
token from previous response to perform any endpoint request:`curl -k -X
<METHOD> \"https://<HOST_IP>:55000/<ENDPOINT>\" -H \"Authorization: Bearer
<YOUR_JWT_TOKEN>\"`Change the token base duration:`curl -k -X PUT
\"https://<HOST_IP>:55000/security/config\" -H \"Authorization: Bearer
<YOUR_JWT_TOKEN>\"-d
'{\"auth_token_exp_timeout\":<NEW_EXPIRE_TIME_IN_SECONDS>}'`<SecurityDefini\
tions />"
version: "1.0"
x-logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACuCAYAAACvDDbuAAAgAElEQVR4Xu19d3xUVfr+M5PJTNq0FLr0TuiEEkAQcAXFAvaOvWPHVdd1Lbui/lAUy1dBXbGhIqu7UkQUBAkBQj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YFg6Ohvnd0y8eglCmZcErgBOLS5z4fYSK8zUJ1jqhwH90pXYOrV1UrcNweskcAUAkU7dwu+q8At1Mpf6CTC8M0SP23vFX1M9MVmXBK5Abr6z2447t9skv6S11yjxv7NzMDhpAgspmSRwBQLX6uXQ5ZuTMFM+pVROCQbc3DEd8woMSU8Zj1ySwBUIXBo2b5cNM3dKZxozKoH5QxO7XoJQcSSBK5RTAI44Ayj4rgrVZBqT4NQdmpmCVefmwZBMzeGVShK4vCz6fUBdgOHxrVbM3e8UH7hUxG6QHjP7acOgKHGHJoEbpuyPOgPYb/WF+Sthw4fnaaBN8HoJwjgF/H/DzoXJiXD50AAAAABJRU5ErkJggg==
contact:
name: "@frikkylikeme"
url: https://twitter.com/frikkylikeme
email: [email protected]
x-categories:
- SIEM
servers:
- url: https://localhost:55000
host: localhost:55000
basePath: /
schemes:
- "https:"
paths:
/:
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: |-
{
"api_version": "API version in the manager",
"hostname": "Server hostname",
"license_name": "API license name",
"license_url": "API license url",
"revision": 0,
"timestamp": "",
"title": "API title name"
}
summary: Get API info
operationId: Get_API_info
description: Return basic information about the API
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
requestBody:
content: {}
/active-response:
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Run command
operationId: Run_command
description: Run an Active Response command on all agents or a list of them
parameters:
- in: query
name: agents_list
description: List of agent IDs (separated by comma), all agents selected by
default if not specified
required: false
schema:
type: string
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: body
name: body
multiline: true
description: Generated by shuffler.io OpenAPI
required: false
example: |-
{
"alert": "${alert}",
"arguments": "${arguments}",
"command": "${command}",
"custom": "${custom}"
}
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
description: Generated by Shuffler.io
required: false
content:
example:
example: |-
{
"alert": "${alert}",
"arguments": "${arguments}",
"command": "${command}",
"custom": "${custom}"
}
/agents:
delete:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Delete agents
operationId: Delete_agents
description: Delete all agents or a list of them based on optional criteria
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agents_list
description: List of agent IDs (separated by comma), use the keyword `all` to
select all agents
required: true
schema:
type: string
- in: query
name: purge
description: Permanently delete an agent from the key store
required: false
schema:
type: string
- in: query
name: status
description: Filter by agent status (use commas to enter multiple statuses)
required: true
schema:
type: string
- in: query
name: older_than
description: Consider only agents whose last keep alive is older than the
specified time frame. For never_connected agents, register date is
considered instead of last keep alive. For example, `7d`, `10s` and
`10` are valid values. When no time unit is specified, seconds are
assumed. Use 0s to select all agents
required: false
schema:
type: string
- in: query
name: q
description: Query to filter results by. For example q="status=active"
required: false
schema:
type: string
- in: query
name: os.platform
description: Filter by OS platform
required: false
schema:
type: string
- in: query
name: os.version
description: Filter by OS version
required: false
schema:
type: string
- in: query
name: os.name
description: Filter by OS name
required: false
schema:
type: string
- in: query
name: manager
description: Filter by manager hostname where agents are connected to
required: false
schema:
type: string
- in: query
name: version
description: Filter by agents version
required: false
schema:
type: string
- in: query
name: group
description: Filter by group of agents
required: false
schema:
type: string
- in: query
name: node_name
description: Filter by node name
required: false
schema:
type: string
- in: query
name: name
description: Filter by name
required: false
schema:
type: string
- in: query
name: ip
description: Filter by the IP used by the agent to communicate with the manager.
If it's not available, it will have the same value as registerIP
required: false
schema:
type: string
- in: query
name: registerIP
description: Filter by the IP used when registering the agent
required: false
schema:
type: string
requestBody:
content: {}
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: List agents
operationId: List_agents
description: Return information about all available agents or a list of them
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agents_list
description: List of agent IDs (separated by comma), all agents selected by
default if not specified
required: false
schema:
type: string
- in: query
name: offset
description: First element to return in the collection
required: false
schema:
type: string
- in: query
name: limit
description: "Maximum number of elements to return. Although up to 100.000 can
be specified, it is recommended not to exceed 500 elements.
Responses may be slower the more this number is exceeded. "
required: false
schema:
type: string
- in: query
name: select
description: "Select which fields to return (separated by comma). Use '.' for
nested fields. For example, '{field1: field2}' may be selected with
'field1.field2'"
required: false
schema:
type: string
- in: query
name: sort
description: "Sort the collection by a field or fields (separated by comma). Use
+/- at the beggining to list in ascending or descending order. Use
'.' for nested fields. For example, '{field1: field2}' may be
selected with 'field1.field2'"
required: false
schema:
type: string
- in: query
name: search
description: Look for elements containing the specified string. To obtain a
complementary search, use '-' at the beggining
required: false
schema:
type: string
- in: query
name: status
description: Filter by agent status (use commas to enter multiple statuses)
required: false
schema:
type: string
- in: query
name: q
description: Query to filter results by. For example q="status=active"
required: false
schema:
type: string
- in: query
name: older_than
description: Filter out agents whose time lapse from last keep alive signal is
longer than specified. Time in seconds, [n_days]d, [n_hours]h,
[n_minutes]m or [n_seconds]s. For never_connected agents, uses the
register date. For example, `7d`, `10s` and `10` are valid values.
If no time unit is specified, seconds are used
required: false
schema:
type: string
- in: query
name: os.platform
description: Filter by OS platform
required: false
schema:
type: string
- in: query
name: os.version
description: Filter by OS version
required: false
schema:
type: string
- in: query
name: os.name
description: Filter by OS name
required: false
schema:
type: string
- in: query
name: manager
description: Filter by manager hostname where agents are connected to
required: false
schema:
type: string
- in: query
name: version
description: Filter by agents version
required: false
schema:
type: string
- in: query
name: group
description: Filter by group of agents
required: false
schema:
type: string
- in: query
name: node_name
description: Filter by node name
required: false
schema:
type: string
- in: query
name: name
description: Filter by name
required: false
schema:
type: string
- in: query
name: ip
description: Filter by the IP used by the agent to communicate with the manager.
If it's not available, it will have the same value as registerIP
required: false
schema:
type: string
- in: query
name: registerIP
description: Filter by the IP used when registering the agent
required: false
schema:
type: string
requestBody:
content: {}
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Add agent
operationId: Add_agent
description: Add a new agent
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: body
name: body
multiline: true
description: Generated by shuffler.io OpenAPI
required: false
example: |-
{
"force_time": "${force_time}",
"ip": "${ip}",
"name": "${name}"
}
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
description: Generated by Shuffler.io
required: false
content:
example:
example: |-
{
"force_time": "${force_time}",
"ip": "${ip}",
"name": "${name}"
}
/agents/group:
delete:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Remove agents from group
operationId: Remove_agents_from_group
description: Remove all agents assignment or a list of them from the specified group
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agents_list
description: List of agent IDs (separated by comma), use the keyword `all` to
select all agents
required: true
schema:
type: string
- in: query
name: group_id
description: Group ID. (Name of the group)
required: true
schema:
type: string
requestBody:
content: {}
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Assign agents to group
operationId: Assign_agents_to_group
description: Assign all agents or a list of them to the specified group
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agents_list
description: List of agent IDs (separated by comma), all agents selected by
default if not specified
required: false
schema:
type: string
- in: query
name: group_id
description: Group ID. (Name of the group)
required: true
schema:
type: string
- in: query
name: force_single_group
description: Whether to append the new group to current agent's multigroup or
replace it
required: false
schema:
type: string
requestBody:
content: {}
"/agents/group/{group_id}/restart":
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Restart agents in group
operationId: Restart_agents_in_group
description: Restart all agents which belong to a given group
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: path
name: group_id
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
requestBody:
content: {}
/agents/insert:
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Add agent full
operationId: Add_agent_full
description: Add an agent specifying its name, ID and IP. If an agent with the
same ID already exists, replace it using `force` parameter
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: body
name: body
multiline: true
description: Generated by shuffler.io OpenAPI
required: false
example: |-
{
"force_time": "${force_time}",
"id": "${id}",
"ip": "${ip}",
"key": "${key}",
"name": "${name}"
}
schema:
type: string
- in: header
name: Content-Type
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
- in: header
name: Accept
multiline: false
description: Header generated by shuffler.io OpenAPI
required: false
example: application/json
schema:
type: string
requestBody:
description: Generated by Shuffler.io
required: false
content:
example:
example: |-
{
"force_time": "${force_time}",
"id": "${id}",
"ip": "${ip}",
"key": "${key}",
"name": "${name}"
}
/agents/insert/quick:
post:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Add agent quick
operationId: Add_agent_quick
description: Add a new agent with name `agent_name`. This agent will use `any` as IP
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agent_name
description: Agent name
required: true
schema:
type: string
requestBody:
content: {}
/agents/no_group:
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: List agents without group
operationId: List_agents_without_group
description: Return a list with all the available agents without an assigned group
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: offset
description: First element to return in the collection
required: false
schema:
type: string
- in: query
name: limit
description: "Maximum number of elements to return. Although up to 100.000 can
be specified, it is recommended not to exceed 500 elements.
Responses may be slower the more this number is exceeded. "
required: false
schema:
type: string
- in: query
name: select
description: "Select which fields to return (separated by comma). Use '.' for
nested fields. For example, '{field1: field2}' may be selected with
'field1.field2'"
required: false
schema:
type: string
- in: query
name: sort
description: "Sort the collection by a field or fields (separated by comma). Use
+/- at the beggining to list in ascending or descending order. Use
'.' for nested fields. For example, '{field1: field2}' may be
selected with 'field1.field2'"
required: false
schema:
type: string
- in: query
name: search
description: Look for elements containing the specified string. To obtain a
complementary search, use '-' at the beggining
required: false
schema:
type: string
- in: query
name: q
description: Query to filter results by. For example q="status=active"
required: false
schema:
type: string
requestBody:
content: {}
"/agents/node/{node_id}/restart":
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Restart agents in node
operationId: Restart_agents_in_node
description: Restart all agents which belong to a specific given node
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: path
name: node_id
description: Generated by shuffler.io OpenAPI
required: true
schema:
type: string
requestBody:
content: {}
/agents/outdated:
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: List outdated agents
operationId: List_outdated_agents
description: Return the list of outdated agents
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: offset
description: First element to return in the collection
required: false
schema:
type: string
- in: query
name: limit
description: "Maximum number of elements to return. Although up to 100.000 can
be specified, it is recommended not to exceed 500 elements.
Responses may be slower the more this number is exceeded. "
required: false
schema:
type: string
- in: query
name: sort
description: "Sort the collection by a field or fields (separated by comma). Use
+/- at the beggining to list in ascending or descending order. Use
'.' for nested fields. For example, '{field1: field2}' may be
selected with 'field1.field2'"
required: false
schema:
type: string
- in: query
name: search
description: Look for elements containing the specified string. To obtain a
complementary search, use '-' at the beggining
required: false
schema:
type: string
- in: query
name: q
description: Query to filter results by. For example q="status=active"
required: false
schema:
type: string
requestBody:
content: {}
/agents/restart:
put:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: Restart agents
operationId: Restart_agents
description: Restart all agents or a list of them
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query
name: agents_list
description: List of agent IDs (separated by comma), all agents selected by
default if not specified
required: false
schema:
type: string
requestBody:
content: {}
/agents/stats/distinct:
get:
responses:
default:
description: default
content:
text/plain:
schema:
type: string
example: >-
{
"message": "Human readable description to explain the result of the request"
}
summary: List agents distinct
operationId: List_agents_distinct
description: Return all the different combinations that agents have for the
selected fields. It also indicates the total number of agents that have
each combination
parameters:
- in: query
name: pretty
description: Show results in human-readable format
required: false
schema:
type: string
- in: query
name: wait_for_complete
description: Disable timeout response
required: false
schema:
type: string
- in: query