@celigo/api-specs 0.2.256 → 0.2.258
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.
- package/dist/alert.yml +69 -19
- package/dist/audit.yml +137 -127
- package/dist/editransaction.yml +177 -38
- package/dist/environment.yml +19 -6
- package/dist/filestorage.yml +47 -44
- package/dist/networkpolicy.yml +68 -19
- package/dist/processor.yml +112 -6
- package/dist/recyclebin.yml +6 -0
- package/dist/script.yml +68 -19
- package/dist/stack.yml +68 -19
- package/dist/subscription.yml +5 -1
- package/dist/sync.yml +68 -19
- package/dist/topic.yml +68 -36
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/alert.yml
CHANGED
|
@@ -549,24 +549,8 @@ paths:
|
|
|
549
549
|
type: string
|
|
550
550
|
examples:
|
|
551
551
|
- W3siJGRhdGUiOiIyMDI2LTA1LTAxVDAwOjAwOjAwLjAwMFoifSwiNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIl0
|
|
552
|
-
-
|
|
553
|
-
|
|
554
|
-
required: false
|
|
555
|
-
description: Only return entries at or after this timestamp.
|
|
556
|
-
schema:
|
|
557
|
-
type: string
|
|
558
|
-
format: date-time
|
|
559
|
-
examples:
|
|
560
|
-
- '2026-05-01T00:00:00.000Z'
|
|
561
|
-
- name: to
|
|
562
|
-
in: query
|
|
563
|
-
required: false
|
|
564
|
-
description: Only return entries at or before this timestamp.
|
|
565
|
-
schema:
|
|
566
|
-
type: string
|
|
567
|
-
format: date-time
|
|
568
|
-
examples:
|
|
569
|
-
- '2026-06-01T00:00:00.000Z'
|
|
552
|
+
- $ref: '#/components/parameters/From'
|
|
553
|
+
- $ref: '#/components/parameters/To'
|
|
570
554
|
responses:
|
|
571
555
|
'200':
|
|
572
556
|
description: Audit entries for the alert.
|
|
@@ -735,7 +719,7 @@ paths:
|
|
|
735
719
|
'404':
|
|
736
720
|
$ref: '#/components/responses/404-not-found'
|
|
737
721
|
'422':
|
|
738
|
-
$ref: '#/components/responses/422-
|
|
722
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
739
723
|
components:
|
|
740
724
|
securitySchemes:
|
|
741
725
|
bearerAuth:
|
|
@@ -1255,5 +1239,71 @@ components:
|
|
|
1255
1239
|
errors:
|
|
1256
1240
|
- code: not_found
|
|
1257
1241
|
message: The requested resource was not found.
|
|
1242
|
+
422-invalid-audit-query:
|
|
1243
|
+
description: |-
|
|
1244
|
+
A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
|
|
1245
|
+
`from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
|
|
1246
|
+
older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
|
|
1247
|
+
(`invalid_time_range`).
|
|
1248
|
+
content:
|
|
1249
|
+
application/json:
|
|
1250
|
+
schema:
|
|
1251
|
+
$ref: '#/components/schemas/Error'
|
|
1252
|
+
examples:
|
|
1253
|
+
invalid_source:
|
|
1254
|
+
value:
|
|
1255
|
+
errors:
|
|
1256
|
+
- code: invalid_audit_field
|
|
1257
|
+
message: zzz is not a valid audit source.
|
|
1258
|
+
to_before_window:
|
|
1259
|
+
summary: A `to` older than a three-year audit window
|
|
1260
|
+
value:
|
|
1261
|
+
errors:
|
|
1262
|
+
- code: invalid_time_period
|
|
1263
|
+
message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
|
|
1264
|
+
from_in_future:
|
|
1265
|
+
value:
|
|
1266
|
+
errors:
|
|
1267
|
+
- code: invalid_time_period
|
|
1268
|
+
message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
|
|
1269
|
+
from_after_to:
|
|
1270
|
+
value:
|
|
1271
|
+
errors:
|
|
1272
|
+
- code: invalid_time_range
|
|
1273
|
+
message: Please make sure "from" time should not be greater than "to" time.
|
|
1274
|
+
not_iso_8601:
|
|
1275
|
+
value:
|
|
1276
|
+
errors:
|
|
1277
|
+
- code: invalid_timestamp_format
|
|
1278
|
+
message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
|
|
1279
|
+
parameters:
|
|
1280
|
+
From:
|
|
1281
|
+
name: from
|
|
1282
|
+
in: query
|
|
1283
|
+
required: false
|
|
1284
|
+
description: |-
|
|
1285
|
+
Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
|
|
1286
|
+
the range to the year before `to` (or the last year when `to` is omitted too), and a value older
|
|
1287
|
+
than the audit window — the license's `auditLogRetentionYears` — starts the range at the
|
|
1288
|
+
window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
|
|
1289
|
+
schema:
|
|
1290
|
+
type: string
|
|
1291
|
+
format: date-time
|
|
1292
|
+
examples:
|
|
1293
|
+
- '2026-05-01T00:00:00.000Z'
|
|
1294
|
+
To:
|
|
1295
|
+
name: to
|
|
1296
|
+
in: query
|
|
1297
|
+
required: false
|
|
1298
|
+
description: |-
|
|
1299
|
+
Only return entries at or before this timestamp. A future value, or one older than the
|
|
1300
|
+
account's audit window, fails with 422 `invalid_time_period`; the message names the window in
|
|
1301
|
+
years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
|
|
1302
|
+
`from` fails with 422 `invalid_time_range`.
|
|
1303
|
+
schema:
|
|
1304
|
+
type: string
|
|
1305
|
+
format: date-time
|
|
1306
|
+
examples:
|
|
1307
|
+
- '2026-05-31T23:59:59.999Z'
|
|
1258
1308
|
x-enable-proxy: true
|
|
1259
1309
|
x-internal: false
|
package/dist/audit.yml
CHANGED
|
@@ -24,7 +24,7 @@ tags:
|
|
|
24
24
|
tracking, and troubleshooting.
|
|
25
25
|
|
|
26
26
|
Notes:
|
|
27
|
-
-
|
|
27
|
+
- On a `platform` license, queries reach back as many years as the license's `auditLogRetentionYears`, but a query without `from` or `to` returns only the last year.
|
|
28
28
|
- Sensitive values (tokens, passwords) appear masked as `******`.
|
|
29
29
|
- CSV downloads are capped at ~20,000 rows per file; use `hasMore` to paginate.
|
|
30
30
|
- `byUser` is populated at read time — it reflects the user's current name and email, not the values at the time of the action.
|
|
@@ -85,6 +85,7 @@ paths:
|
|
|
85
85
|
enum:
|
|
86
86
|
- accesstoken
|
|
87
87
|
- agent
|
|
88
|
+
- agentgroup
|
|
88
89
|
- alert
|
|
89
90
|
- api
|
|
90
91
|
- ashare
|
|
@@ -122,6 +123,7 @@ paths:
|
|
|
122
123
|
x-enumDescriptions:
|
|
123
124
|
accesstoken: API access token resource.
|
|
124
125
|
agent: On-premise agent resource.
|
|
126
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
125
127
|
alert: Proactive alert resource.
|
|
126
128
|
api: Custom API endpoint resource.
|
|
127
129
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -264,24 +266,8 @@ paths:
|
|
|
264
266
|
signout: A user signed out of the account.
|
|
265
267
|
purgelogs: Execution logs were purged for a resource.
|
|
266
268
|
description: Filter by action/event.
|
|
267
|
-
-
|
|
268
|
-
|
|
269
|
-
required: false
|
|
270
|
-
schema:
|
|
271
|
-
type: string
|
|
272
|
-
format: date-time
|
|
273
|
-
examples:
|
|
274
|
-
- '2025-01-01T00:00:00.000Z'
|
|
275
|
-
description: Start timestamp (ISO-8601).
|
|
276
|
-
- name: to
|
|
277
|
-
in: query
|
|
278
|
-
required: false
|
|
279
|
-
schema:
|
|
280
|
-
type: string
|
|
281
|
-
format: date-time
|
|
282
|
-
examples:
|
|
283
|
-
- '2025-12-31T23:59:59.999Z'
|
|
284
|
-
description: End timestamp (ISO-8601).
|
|
269
|
+
- $ref: '#/components/parameters/From'
|
|
270
|
+
- $ref: '#/components/parameters/To'
|
|
285
271
|
responses:
|
|
286
272
|
'200':
|
|
287
273
|
description: Audit entries
|
|
@@ -337,7 +323,7 @@ paths:
|
|
|
337
323
|
'403':
|
|
338
324
|
$ref: '#/components/responses/403-administrator-only'
|
|
339
325
|
'422':
|
|
340
|
-
$ref: '#/components/responses/422-
|
|
326
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
341
327
|
post:
|
|
342
328
|
x-internal: false
|
|
343
329
|
summary: Query audit logs with multi-select filters
|
|
@@ -409,24 +395,8 @@ paths:
|
|
|
409
395
|
x-enumDescriptions:
|
|
410
396
|
asc: Oldest entries first.
|
|
411
397
|
desc: Newest entries first.
|
|
412
|
-
-
|
|
413
|
-
|
|
414
|
-
required: false
|
|
415
|
-
schema:
|
|
416
|
-
type: string
|
|
417
|
-
format: date-time
|
|
418
|
-
examples:
|
|
419
|
-
- '2025-01-01T00:00:00.000Z'
|
|
420
|
-
description: Start timestamp (ISO-8601).
|
|
421
|
-
- name: to
|
|
422
|
-
in: query
|
|
423
|
-
required: false
|
|
424
|
-
schema:
|
|
425
|
-
type: string
|
|
426
|
-
format: date-time
|
|
427
|
-
examples:
|
|
428
|
-
- '2025-12-31T23:59:59.999Z'
|
|
429
|
-
description: End timestamp (ISO-8601).
|
|
398
|
+
- $ref: '#/components/parameters/From'
|
|
399
|
+
- $ref: '#/components/parameters/To'
|
|
430
400
|
requestBody:
|
|
431
401
|
required: true
|
|
432
402
|
content:
|
|
@@ -503,7 +473,9 @@ paths:
|
|
|
503
473
|
'422':
|
|
504
474
|
description: |-
|
|
505
475
|
A filter value is invalid, a filter that must be an array was sent as
|
|
506
|
-
another type,
|
|
476
|
+
another type, the `after`/`before` cursor is malformed, or a time bound is
|
|
477
|
+
outside the account's audit window (`invalid_time_period`) or reversed
|
|
478
|
+
(`invalid_time_range`).
|
|
507
479
|
content:
|
|
508
480
|
application/json:
|
|
509
481
|
schema:
|
|
@@ -519,6 +491,17 @@ paths:
|
|
|
519
491
|
errors:
|
|
520
492
|
- code: invalid_field_type
|
|
521
493
|
message: The "source" field must be an array when provided in the request body.
|
|
494
|
+
to_before_window:
|
|
495
|
+
summary: A `to` older than a three-year audit window
|
|
496
|
+
value:
|
|
497
|
+
errors:
|
|
498
|
+
- code: invalid_time_period
|
|
499
|
+
message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
|
|
500
|
+
from_after_to:
|
|
501
|
+
value:
|
|
502
|
+
errors:
|
|
503
|
+
- code: invalid_time_range
|
|
504
|
+
message: Please make sure "from" time should not be greater than "to" time.
|
|
522
505
|
/v1/audit/signedURL:
|
|
523
506
|
get:
|
|
524
507
|
x-internal: false
|
|
@@ -534,7 +517,8 @@ paths:
|
|
|
534
517
|
account-wide log.
|
|
535
518
|
|
|
536
519
|
The signed URL expires after 15 minutes. When `hasMore` is true, pass
|
|
537
|
-
the last CSV row's timestamp as `to` to fetch the next batch
|
|
520
|
+
the last CSV row's timestamp as `to` to fetch the next batch, keeping the
|
|
521
|
+
same `from`: without one, the batch covers only the year before `to`.
|
|
538
522
|
parameters:
|
|
539
523
|
- name: resourceType
|
|
540
524
|
in: query
|
|
@@ -544,6 +528,7 @@ paths:
|
|
|
544
528
|
enum:
|
|
545
529
|
- accesstoken
|
|
546
530
|
- agent
|
|
531
|
+
- agentgroup
|
|
547
532
|
- alert
|
|
548
533
|
- api
|
|
549
534
|
- ashare
|
|
@@ -578,6 +563,7 @@ paths:
|
|
|
578
563
|
x-enumDescriptions:
|
|
579
564
|
accesstoken: API access token resource.
|
|
580
565
|
agent: On-premise agent resource.
|
|
566
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
581
567
|
alert: Proactive alert resource.
|
|
582
568
|
api: Custom API endpoint resource.
|
|
583
569
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -628,24 +614,8 @@ paths:
|
|
|
628
614
|
examples:
|
|
629
615
|
- 60a2c4e6f321d800129a1a3c
|
|
630
616
|
description: Optional filter by resource id.
|
|
631
|
-
-
|
|
632
|
-
|
|
633
|
-
required: false
|
|
634
|
-
schema:
|
|
635
|
-
type: string
|
|
636
|
-
format: date-time
|
|
637
|
-
examples:
|
|
638
|
-
- '2025-01-01T00:00:00.000Z'
|
|
639
|
-
description: Start timestamp (ISO-8601).
|
|
640
|
-
- name: to
|
|
641
|
-
in: query
|
|
642
|
-
required: false
|
|
643
|
-
schema:
|
|
644
|
-
type: string
|
|
645
|
-
format: date-time
|
|
646
|
-
examples:
|
|
647
|
-
- '2025-12-31T23:59:59.999Z'
|
|
648
|
-
description: End timestamp (ISO-8601).
|
|
617
|
+
- $ref: '#/components/parameters/From'
|
|
618
|
+
- $ref: '#/components/parameters/To'
|
|
649
619
|
- name: action
|
|
650
620
|
in: query
|
|
651
621
|
required: false
|
|
@@ -717,7 +687,7 @@ paths:
|
|
|
717
687
|
'403':
|
|
718
688
|
$ref: '#/components/responses/403-administrator-only'
|
|
719
689
|
'422':
|
|
720
|
-
$ref: '#/components/responses/422-
|
|
690
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
721
691
|
post:
|
|
722
692
|
x-internal: false
|
|
723
693
|
summary: Get signed URL for audit CSV with multi-select filters
|
|
@@ -746,24 +716,8 @@ paths:
|
|
|
746
716
|
x-enumDescriptions:
|
|
747
717
|
asc: Oldest entries first.
|
|
748
718
|
desc: Newest entries first.
|
|
749
|
-
-
|
|
750
|
-
|
|
751
|
-
required: false
|
|
752
|
-
schema:
|
|
753
|
-
type: string
|
|
754
|
-
format: date-time
|
|
755
|
-
examples:
|
|
756
|
-
- '2025-01-01T00:00:00.000Z'
|
|
757
|
-
description: Start timestamp (ISO-8601).
|
|
758
|
-
- name: to
|
|
759
|
-
in: query
|
|
760
|
-
required: false
|
|
761
|
-
schema:
|
|
762
|
-
type: string
|
|
763
|
-
format: date-time
|
|
764
|
-
examples:
|
|
765
|
-
- '2025-12-31T23:59:59.999Z'
|
|
766
|
-
description: End timestamp (ISO-8601).
|
|
719
|
+
- $ref: '#/components/parameters/From'
|
|
720
|
+
- $ref: '#/components/parameters/To'
|
|
767
721
|
requestBody:
|
|
768
722
|
required: true
|
|
769
723
|
content:
|
|
@@ -799,7 +753,7 @@ paths:
|
|
|
799
753
|
'403':
|
|
800
754
|
$ref: '#/components/responses/403-administrator-only'
|
|
801
755
|
'422':
|
|
802
|
-
$ref: '#/components/responses/422-
|
|
756
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
803
757
|
/v1/{resourceType}/{_id}/audit:
|
|
804
758
|
get:
|
|
805
759
|
x-internal: false
|
|
@@ -810,7 +764,8 @@ paths:
|
|
|
810
764
|
description: |-
|
|
811
765
|
Returns audit log entries for a specific resource and its descendants. For example,
|
|
812
766
|
querying an integration returns changes to the integration, its flows, exports,
|
|
813
|
-
imports, and connections
|
|
767
|
+
imports, and connections, and querying a flow returns changes to the flow, its exports
|
|
768
|
+
and imports, their connections, and the scripts those steps reference.
|
|
814
769
|
|
|
815
770
|
For account-wide searches, use `GET /v1/audit` instead.
|
|
816
771
|
parameters:
|
|
@@ -822,6 +777,7 @@ paths:
|
|
|
822
777
|
enum:
|
|
823
778
|
- accesstokens
|
|
824
779
|
- agents
|
|
780
|
+
- agentgroups
|
|
825
781
|
- alerts
|
|
826
782
|
- apis
|
|
827
783
|
- asynchelpers
|
|
@@ -851,6 +807,7 @@ paths:
|
|
|
851
807
|
x-enumDescriptions:
|
|
852
808
|
accesstokens: API access token resources.
|
|
853
809
|
agents: On-premise agent resources.
|
|
810
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
854
811
|
alerts: Proactive alert resources.
|
|
855
812
|
apis: Custom API endpoint resources.
|
|
856
813
|
asynchelpers: Async helper resources.
|
|
@@ -906,24 +863,8 @@ paths:
|
|
|
906
863
|
type: string
|
|
907
864
|
examples:
|
|
908
865
|
- W3siJGRhdGUiOiIyMDI2LTA1LTAxVDAwOjAwOjAwLjAwMFoifSwiNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIl0
|
|
909
|
-
-
|
|
910
|
-
|
|
911
|
-
required: false
|
|
912
|
-
schema:
|
|
913
|
-
type: string
|
|
914
|
-
format: date-time
|
|
915
|
-
examples:
|
|
916
|
-
- '2025-01-01T00:00:00.000Z'
|
|
917
|
-
description: Start timestamp (ISO-8601).
|
|
918
|
-
- name: to
|
|
919
|
-
in: query
|
|
920
|
-
required: false
|
|
921
|
-
schema:
|
|
922
|
-
type: string
|
|
923
|
-
format: date-time
|
|
924
|
-
examples:
|
|
925
|
-
- '2025-12-31T23:59:59.999Z'
|
|
926
|
-
description: End timestamp (ISO-8601).
|
|
866
|
+
- $ref: '#/components/parameters/From'
|
|
867
|
+
- $ref: '#/components/parameters/To'
|
|
927
868
|
- name: action
|
|
928
869
|
in: query
|
|
929
870
|
required: false
|
|
@@ -1033,7 +974,7 @@ paths:
|
|
|
1033
974
|
'404':
|
|
1034
975
|
$ref: '#/components/responses/404-not-found'
|
|
1035
976
|
'422':
|
|
1036
|
-
$ref: '#/components/responses/422-
|
|
977
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
1037
978
|
post:
|
|
1038
979
|
x-internal: false
|
|
1039
980
|
summary: Query a resource's audit log with multi-select filters
|
|
@@ -1058,6 +999,7 @@ paths:
|
|
|
1058
999
|
enum:
|
|
1059
1000
|
- accesstokens
|
|
1060
1001
|
- agents
|
|
1002
|
+
- agentgroups
|
|
1061
1003
|
- alerts
|
|
1062
1004
|
- apis
|
|
1063
1005
|
- asynchelpers
|
|
@@ -1087,6 +1029,7 @@ paths:
|
|
|
1087
1029
|
x-enumDescriptions:
|
|
1088
1030
|
accesstokens: API access token resources.
|
|
1089
1031
|
agents: On-premise agent resources.
|
|
1032
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
1090
1033
|
alerts: Proactive alert resources.
|
|
1091
1034
|
apis: Custom API endpoint resources.
|
|
1092
1035
|
asynchelpers: Async helper resources.
|
|
@@ -1173,24 +1116,8 @@ paths:
|
|
|
1173
1116
|
x-enumDescriptions:
|
|
1174
1117
|
asc: Oldest entries first.
|
|
1175
1118
|
desc: Newest entries first.
|
|
1176
|
-
-
|
|
1177
|
-
|
|
1178
|
-
required: false
|
|
1179
|
-
schema:
|
|
1180
|
-
type: string
|
|
1181
|
-
format: date-time
|
|
1182
|
-
examples:
|
|
1183
|
-
- '2025-01-01T00:00:00.000Z'
|
|
1184
|
-
description: Start timestamp (ISO-8601).
|
|
1185
|
-
- name: to
|
|
1186
|
-
in: query
|
|
1187
|
-
required: false
|
|
1188
|
-
schema:
|
|
1189
|
-
type: string
|
|
1190
|
-
format: date-time
|
|
1191
|
-
examples:
|
|
1192
|
-
- '2025-12-31T23:59:59.999Z'
|
|
1193
|
-
description: End timestamp (ISO-8601).
|
|
1119
|
+
- $ref: '#/components/parameters/From'
|
|
1120
|
+
- $ref: '#/components/parameters/To'
|
|
1194
1121
|
requestBody:
|
|
1195
1122
|
required: true
|
|
1196
1123
|
content:
|
|
@@ -1254,11 +1181,25 @@ paths:
|
|
|
1254
1181
|
'422':
|
|
1255
1182
|
description: |-
|
|
1256
1183
|
A filter value is invalid, a filter that must be an array was sent as
|
|
1257
|
-
another type,
|
|
1184
|
+
another type, the `after`/`before` cursor is malformed, or a time bound is
|
|
1185
|
+
outside the account's audit window (`invalid_time_period`) or reversed
|
|
1186
|
+
(`invalid_time_range`).
|
|
1258
1187
|
content:
|
|
1259
1188
|
application/json:
|
|
1260
1189
|
schema:
|
|
1261
1190
|
$ref: '#/components/schemas/Error'
|
|
1191
|
+
examples:
|
|
1192
|
+
to_before_window:
|
|
1193
|
+
summary: A `to` older than a three-year audit window
|
|
1194
|
+
value:
|
|
1195
|
+
errors:
|
|
1196
|
+
- code: invalid_time_period
|
|
1197
|
+
message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
|
|
1198
|
+
from_after_to:
|
|
1199
|
+
value:
|
|
1200
|
+
errors:
|
|
1201
|
+
- code: invalid_time_range
|
|
1202
|
+
message: Please make sure "from" time should not be greater than "to" time.
|
|
1262
1203
|
/v1/{resourceType}/audit/signedURL:
|
|
1263
1204
|
post:
|
|
1264
1205
|
x-internal: false
|
|
@@ -1272,7 +1213,8 @@ paths:
|
|
|
1272
1213
|
|
|
1273
1214
|
The signed URL expires after 15 minutes. When `hasMore` is true, pass
|
|
1274
1215
|
the last CSV row's timestamp as `to` in the request body to fetch the
|
|
1275
|
-
next batch
|
|
1216
|
+
next batch, keeping the same `from`: without one, the batch covers only
|
|
1217
|
+
the year before `to`.
|
|
1276
1218
|
parameters:
|
|
1277
1219
|
- name: resourceType
|
|
1278
1220
|
in: path
|
|
@@ -1282,6 +1224,7 @@ paths:
|
|
|
1282
1224
|
enum:
|
|
1283
1225
|
- accesstokens
|
|
1284
1226
|
- agents
|
|
1227
|
+
- agentgroups
|
|
1285
1228
|
- alerts
|
|
1286
1229
|
- apis
|
|
1287
1230
|
- asynchelpers
|
|
@@ -1309,6 +1252,7 @@ paths:
|
|
|
1309
1252
|
x-enumDescriptions:
|
|
1310
1253
|
accesstokens: API access token resources.
|
|
1311
1254
|
agents: On-premise agent resources.
|
|
1255
|
+
agentgroups: On-premise agent group resources. The audit covers only the group itself.
|
|
1312
1256
|
alerts: Proactive alert resources.
|
|
1313
1257
|
apis: Custom API endpoint resources.
|
|
1314
1258
|
asynchelpers: Async helper resources.
|
|
@@ -1372,12 +1316,41 @@ paths:
|
|
|
1372
1316
|
'401':
|
|
1373
1317
|
$ref: '#/components/responses/401-unauthorized'
|
|
1374
1318
|
'422':
|
|
1375
|
-
$ref: '#/components/responses/422-
|
|
1319
|
+
$ref: '#/components/responses/422-invalid-audit-query'
|
|
1376
1320
|
components:
|
|
1377
1321
|
securitySchemes:
|
|
1378
1322
|
bearerAuth:
|
|
1379
1323
|
type: http
|
|
1380
1324
|
scheme: bearer
|
|
1325
|
+
parameters:
|
|
1326
|
+
From:
|
|
1327
|
+
name: from
|
|
1328
|
+
in: query
|
|
1329
|
+
required: false
|
|
1330
|
+
description: |-
|
|
1331
|
+
Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
|
|
1332
|
+
the range to the year before `to` (or the last year when `to` is omitted too), and a value older
|
|
1333
|
+
than the audit window — the license's `auditLogRetentionYears` — starts the range at the
|
|
1334
|
+
window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
|
|
1335
|
+
schema:
|
|
1336
|
+
type: string
|
|
1337
|
+
format: date-time
|
|
1338
|
+
examples:
|
|
1339
|
+
- '2026-05-01T00:00:00.000Z'
|
|
1340
|
+
To:
|
|
1341
|
+
name: to
|
|
1342
|
+
in: query
|
|
1343
|
+
required: false
|
|
1344
|
+
description: |-
|
|
1345
|
+
Only return entries at or before this timestamp. A future value, or one older than the
|
|
1346
|
+
account's audit window, fails with 422 `invalid_time_period`; the message names the window in
|
|
1347
|
+
years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
|
|
1348
|
+
`from` fails with 422 `invalid_time_range`.
|
|
1349
|
+
schema:
|
|
1350
|
+
type: string
|
|
1351
|
+
format: date-time
|
|
1352
|
+
examples:
|
|
1353
|
+
- '2026-05-31T23:59:59.999Z'
|
|
1381
1354
|
schemas:
|
|
1382
1355
|
FieldChange:
|
|
1383
1356
|
type: object
|
|
@@ -1478,6 +1451,7 @@ components:
|
|
|
1478
1451
|
enum:
|
|
1479
1452
|
- accesstoken
|
|
1480
1453
|
- agent
|
|
1454
|
+
- agentgroup
|
|
1481
1455
|
- alert
|
|
1482
1456
|
- api
|
|
1483
1457
|
- ashare
|
|
@@ -1515,6 +1489,7 @@ components:
|
|
|
1515
1489
|
x-enumDescriptions:
|
|
1516
1490
|
accesstoken: API access token resource.
|
|
1517
1491
|
agent: On-premise agent resource.
|
|
1492
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1518
1493
|
alert: Proactive alert resource.
|
|
1519
1494
|
api: Custom API endpoint resource.
|
|
1520
1495
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -1696,6 +1671,7 @@ components:
|
|
|
1696
1671
|
enum:
|
|
1697
1672
|
- accesstoken
|
|
1698
1673
|
- agent
|
|
1674
|
+
- agentgroup
|
|
1699
1675
|
- alert
|
|
1700
1676
|
- api
|
|
1701
1677
|
- ashare
|
|
@@ -1731,6 +1707,7 @@ components:
|
|
|
1731
1707
|
x-enumDescriptions:
|
|
1732
1708
|
accesstoken: API access token resource.
|
|
1733
1709
|
agent: On-premise agent resource.
|
|
1710
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1734
1711
|
alert: Proactive alert resource.
|
|
1735
1712
|
api: Custom API endpoint resource.
|
|
1736
1713
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -1879,13 +1856,20 @@ components:
|
|
|
1879
1856
|
from:
|
|
1880
1857
|
type: string
|
|
1881
1858
|
format: date-time
|
|
1882
|
-
description:
|
|
1859
|
+
description: |-
|
|
1860
|
+
Only include entries at or after this timestamp. On a `platform` license, leaving it out
|
|
1861
|
+
limits the export to the year before `to` (or the last year), and a value older than the
|
|
1862
|
+
audit window — the license's `auditLogRetentionYears` — starts it at the window's edge
|
|
1863
|
+
instead of failing. A future value fails with 422 `invalid_time_period`.
|
|
1883
1864
|
examples:
|
|
1884
1865
|
- '2025-01-01T00:00:00.000Z'
|
|
1885
1866
|
to:
|
|
1886
1867
|
type: string
|
|
1887
1868
|
format: date-time
|
|
1888
|
-
description:
|
|
1869
|
+
description: |-
|
|
1870
|
+
Only include entries at or before this timestamp. A future value, or one older than the
|
|
1871
|
+
account's audit window, fails with 422 `invalid_time_period`; one earlier than `from`
|
|
1872
|
+
fails with 422 `invalid_time_range`.
|
|
1889
1873
|
examples:
|
|
1890
1874
|
- '2025-12-31T23:59:59.999Z'
|
|
1891
1875
|
action:
|
|
@@ -1917,6 +1901,7 @@ components:
|
|
|
1917
1901
|
enum:
|
|
1918
1902
|
- accesstoken
|
|
1919
1903
|
- agent
|
|
1904
|
+
- agentgroup
|
|
1920
1905
|
- alert
|
|
1921
1906
|
- api
|
|
1922
1907
|
- ashare
|
|
@@ -1952,6 +1937,7 @@ components:
|
|
|
1952
1937
|
x-enumDescriptions:
|
|
1953
1938
|
accesstoken: API access token resource.
|
|
1954
1939
|
agent: On-premise agent resource.
|
|
1940
|
+
agentgroup: On-premise agent group resource. Its audit has no descendants.
|
|
1955
1941
|
alert: Proactive alert resource.
|
|
1956
1942
|
api: Custom API endpoint resource.
|
|
1957
1943
|
ashare: Workspace user access record (account share) resource.
|
|
@@ -2079,19 +2065,43 @@ components:
|
|
|
2079
2065
|
errors:
|
|
2080
2066
|
- code: access_restricted
|
|
2081
2067
|
message: The role which you are associated with doesn't have the required permissions to perform the action.
|
|
2082
|
-
422-
|
|
2083
|
-
description:
|
|
2084
|
-
|
|
2068
|
+
422-invalid-audit-query:
|
|
2069
|
+
description: |-
|
|
2070
|
+
A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
|
|
2071
|
+
`from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
|
|
2072
|
+
older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
|
|
2073
|
+
(`invalid_time_range`).
|
|
2085
2074
|
content:
|
|
2086
2075
|
application/json:
|
|
2087
2076
|
schema:
|
|
2088
2077
|
$ref: '#/components/schemas/Error'
|
|
2089
2078
|
examples:
|
|
2090
|
-
|
|
2079
|
+
invalid_source:
|
|
2080
|
+
value:
|
|
2081
|
+
errors:
|
|
2082
|
+
- code: invalid_audit_field
|
|
2083
|
+
message: zzz is not a valid audit source.
|
|
2084
|
+
to_before_window:
|
|
2085
|
+
summary: A `to` older than a three-year audit window
|
|
2086
|
+
value:
|
|
2087
|
+
errors:
|
|
2088
|
+
- code: invalid_time_period
|
|
2089
|
+
message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
|
|
2090
|
+
from_in_future:
|
|
2091
|
+
value:
|
|
2092
|
+
errors:
|
|
2093
|
+
- code: invalid_time_period
|
|
2094
|
+
message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
|
|
2095
|
+
from_after_to:
|
|
2096
|
+
value:
|
|
2097
|
+
errors:
|
|
2098
|
+
- code: invalid_time_range
|
|
2099
|
+
message: Please make sure "from" time should not be greater than "to" time.
|
|
2100
|
+
not_iso_8601:
|
|
2091
2101
|
value:
|
|
2092
2102
|
errors:
|
|
2093
|
-
- code:
|
|
2094
|
-
message:
|
|
2103
|
+
- code: invalid_timestamp_format
|
|
2104
|
+
message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
|
|
2095
2105
|
401-unauthorized:
|
|
2096
2106
|
description: |-
|
|
2097
2107
|
Unauthorized. The request lacks a valid bearer token, or the provided token
|