Commit b5a755f
[Entity Analytics] Add missing OpenAPI descriptions and examples to p… (#264778)
Closes: elastic/security-team#16463
Adds operation-level descriptions and request/response examples to 19
OpenAPI schema files across the entity analytics public API surface to
improve documentation quality and developer experience.
- **risk_engine:** add response examples to CleanUpRiskEngine,
ScheduleRiskEngineNow; add request + response examples to
ConfigureRiskEngineSavedObject
- **monitoring/engine:** add descriptions and response examples to
InitMonitoringEngine, DisableMonitoringEngine, DeleteMonitoringEngine,
ScheduleMonitoringEngine
- **monitoring/health:** add description and response example to
PrivMonHealth
- **monitoring/users:** add descriptions, request examples, and response
examples to CreatePrivMonUser, DeletePrivMonUser, UpdatePrivMonUser,
ListPrivMonUsers; add description to PrivmonBulkUploadUsersCSV
- **monitoring/privileged_access_detection:** add descriptions and
response examples to InstallPrivilegedAccessDetectionPackage and
GetPrivilegedAccessDetectionPackageStatus
- **watchlists:** add descriptions to CreateWatchlist, GetWatchlist,
UpdateWatchlist, ListWatchlists
- [x] `CleanUpRiskEngine` — response example
- [x] `ConfigureRiskEngineSavedObject` — request example, response
example
- [x] `ScheduleRiskEngineNow` — response example
- [x] `InitMonitoringEngine` — description, response example
- [x] `DisableMonitoringEngine` — description, response example
- [x] `DeleteMonitoringEngine` — description, response example
- [x] `ScheduleMonitoringEngine` — description, response example
- [x] `PrivMonHealth` — description, response example
- [x] `CreatePrivMonUser` — description, request example, response
example
- [x] `DeletePrivMonUser` — description, response example
- [x] `UpdatePrivMonUser` — description, request example, response
example
- [x] `ListPrivMonUsers` — description, response example
- [x] `PrivmonBulkUploadUsersCSV` — description
- [x] `InstallPrivilegedAccessDetectionPackage` — description, response
example
- [x] `GetPrivilegedAccessDetectionPackageStatus` — description,
response example
- [x] `CreateWatchlist` — description
- [x] `GetWatchlist` — description
- [x] `UpdateWatchlist` — description
- [x] `ListWatchlists` — description
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit fda4179)1 parent 1a66d6e commit b5a755f
23 files changed
Lines changed: 705 additions & 0 deletions
File tree
- x-pack/solutions/security
- packages/test-api-clients/supertest
- plugins/security_solution
- common/api
- entity_analytics
- monitoring
- engine
- privileged_access_detection
- users
- risk_engine
- watchlists/management
- docs/openapi
- ess
- serverless
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
| |||
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| |||
318 | 324 | | |
319 | 325 | | |
320 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
321 | 330 | | |
322 | 331 | | |
323 | 332 | | |
| |||
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
329 | 341 | | |
330 | 342 | | |
331 | 343 | | |
| |||
388 | 400 | | |
389 | 401 | | |
390 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
391 | 406 | | |
392 | 407 | | |
393 | 408 | | |
| |||
500 | 515 | | |
501 | 516 | | |
502 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
503 | 521 | | |
504 | 522 | | |
505 | 523 | | |
| |||
522 | 540 | | |
523 | 541 | | |
524 | 542 | | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
525 | 546 | | |
526 | 547 | | |
527 | 548 | | |
| |||
576 | 597 | | |
577 | 598 | | |
578 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
579 | 603 | | |
580 | 604 | | |
581 | 605 | | |
| |||
593 | 617 | | |
594 | 618 | | |
595 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
596 | 623 | | |
597 | 624 | | |
598 | 625 | | |
| |||
649 | 676 | | |
650 | 677 | | |
651 | 678 | | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
652 | 682 | | |
653 | 683 | | |
654 | 684 | | |
| |||
676 | 706 | | |
677 | 707 | | |
678 | 708 | | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
679 | 712 | | |
680 | 713 | | |
681 | 714 | | |
| |||
694 | 727 | | |
695 | 728 | | |
696 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
697 | 733 | | |
698 | 734 | | |
699 | 735 | | |
700 | 736 | | |
701 | 737 | | |
702 | 738 | | |
703 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
704 | 743 | | |
705 | 744 | | |
706 | 745 | | |
| |||
741 | 780 | | |
742 | 781 | | |
743 | 782 | | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
744 | 786 | | |
745 | 787 | | |
746 | 788 | | |
| |||
863 | 905 | | |
864 | 906 | | |
865 | 907 | | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
866 | 911 | | |
867 | 912 | | |
868 | 913 | | |
| |||
876 | 921 | | |
877 | 922 | | |
878 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
879 | 927 | | |
880 | 928 | | |
881 | 929 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
| |||
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments