-
Notifications
You must be signed in to change notification settings - Fork 249
/
schema.graphql
11871 lines (10128 loc) · 215 KB
/
schema.graphql
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
"""
API access tokens for authentication with the Buildkite API
"""
type APIAccessToken implements Node {
id: ID!
"""
The public UUID for the API Access Token
"""
uuid: ID!
}
"""
A code that is used by an API Application to request an API Access Token
"""
type APIAccessTokenCode implements Node {
application: APIApplication
"""
The time when this code was authorized by a user
"""
authorizedAt: DateTime
"""
The IP address of the client that authorized this code
"""
authorizedIPAddress: String
"""
The actual code used to find this API Access Token Code record
"""
code: String!
"""
The description of the code provided by the API Application
"""
description: String!
"""
The time when this code will expire
"""
expiresAt: DateTime!
id: ID!
}
"""
Autogenerated input type of APIAccessTokenCodeAuthorizeMutation
"""
input APIAccessTokenCodeAuthorizeMutationInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
id: ID!
}
"""
Autogenerated return type of APIAccessTokenCodeAuthorizeMutation.
"""
type APIAccessTokenCodeAuthorizeMutationPayload {
apiAccessTokenCode: APIAccessTokenCode!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
}
"""
All possible scopes on a user's API Access Token
"""
enum APIAccessTokenScopes {
DELETE_PACKAGES
DELETE_REGISTRIES
GRAPHQL
READ_AGENTS
READ_ARTIFACTS
READ_BUILDS
READ_BUILD_LOGS
READ_CLUSTERS
READ_JOB_ENV
READ_NOTIFICATION_SERVICES
READ_ORGANIZATIONS
READ_PACKAGES
READ_PIPELINES
READ_PIPELINE_TEMPLATES
READ_REGISTRIES
READ_RULES
READ_SUITES
READ_TEAMS
READ_TEST_PLAN
READ_USER
WRITE_AGENTS
WRITE_ARTIFACTS
WRITE_BUILDS
WRITE_BUILD_LOGS
WRITE_CLUSTERS
WRITE_NOTIFICATION_SERVICES
WRITE_PACKAGES
WRITE_PIPELINES
WRITE_PIPELINE_TEMPLATES
WRITE_REGISTRIES
WRITE_RULES
WRITE_SUITES
WRITE_TEAMS
WRITE_TEST_PLAN
}
"""
An API Application
"""
type APIApplication implements Node {
"""
A description of the application
"""
description: String!
id: ID!
"""
The name of this application
"""
name: String!
}
"""
An agent
"""
type Agent implements Node {
clusterQueue: ClusterQueue
"""
The time when the agent connected to Buildkite
"""
connectedAt: DateTime
"""
The connection state of the agent
"""
connectionState: String!
"""
The date the agent was created
"""
createdAt: DateTime
"""
The time when the agent disconnected from Buildkite
"""
disconnectedAt: DateTime
"""
The last time the agent performed a `heartbeat` operation to the Agent API
"""
heartbeatAt: DateTime
"""
The hostname of the machine running the agent
"""
hostname: String
id: ID!
"""
The IP address that the agent has connected from
"""
ipAddress: String
"""
If this version of agent has been deprecated by Buildkite
"""
isDeprecated: Boolean!
"""
Returns whether or not this agent is running a job. If isRunningJob true, but
the `job` field is empty, the current user doesn't have access to view the job
"""
isRunningJob: Boolean!
"""
The currently running job
"""
job: Job
"""
Jobs that have been assigned to this agent
"""
jobs(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
agentQueryRules: [String!]
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
concurrency: JobConcurrencySearch
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
"""
Order the jobs
"""
order: JobOrder = RECENTLY_ASSIGNED
"""
Whether or not the command job passed. Passing `false` will return all failed jobs (including "soft failed" jobs)
"""
passed: Boolean
priority: Int
state: [JobStates!]
"""
Filtering jobs based on related step information
"""
step: JobStepSearch
type: [JobTypes!]
): JobConnection
"""
The date the agent was lost from Buildkite if it didn't cleanly disconnect
"""
lostAt: DateTime
"""
The meta data this agent was stared with
"""
metaData: [String!]
"""
The name of the agent
"""
name: String!
"""
The operating system the agent is running on
"""
operatingSystem: OperatingSystem
organization: Organization
permissions: AgentPermissions!
"""
The process identifier (PID) of the agent process on the machine
"""
pid: String
pingedAt: DateTime @deprecated(reason: "DEPRECATED: please use heartbeatAt")
"""
The priority setting for the agent
"""
priority: Int
"""
Whether this agent is visible to everyone, including people outside this organization
"""
public: Boolean!
"""
The time this agent was forced to stop
"""
stopForcedAt: DateTime
"""
The user that forced this agent to stop
"""
stopForcedBy: User
"""
The time the agent was first asked to stop
"""
stoppedAt: DateTime @deprecated(reason: "Use either `stoppedGracefullyAt` or `stopForcedAt`")
"""
The user that initially stopped this agent
"""
stoppedBy: User @deprecated(reason: "Use either `stoppedGracefullyBy` or `stopForcedBy`")
"""
The time the agent was gracefully stopped by a user
"""
stoppedGracefullyAt: DateTime
"""
The user that gracefully stopped this agent
"""
stoppedGracefullyBy: User
"""
The User-Agent of the program that is making Agent API requests to Buildkite
"""
userAgent: String
"""
The public UUID for the agent
"""
uuid: String!
"""
The version of the agent
"""
version: String
"""
Whether this agent's version has known issues and should be upgraded
"""
versionHasKnownIssues: Boolean!
}
type AgentConnection implements Connection {
count: Int!
edges: [AgentEdge]
pageInfo: PageInfo
}
type AgentEdge {
cursor: String!
node: Agent
}
"""
Permissions information about what actions the current user can do against this agent
"""
type AgentPermissions {
"""
Whether the user can stop the agent remotely
"""
agentStop: Permission
}
"""
Autogenerated input type of AgentStop
"""
input AgentStopInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
If this agent should finish the current job before stopping
"""
graceful: Boolean = true
id: ID!
}
"""
Autogenerated return type of AgentStop.
"""
type AgentStopPayload {
agent: Agent!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
}
"""
A token used to connect an agent to Buildkite
"""
type AgentToken implements Node {
"""
The time this agent token was created
"""
createdAt: DateTime
"""
The user that created this agent token
"""
createdBy: User
"""
A description about what this agent token is used for
"""
description: String
id: ID!
organization: Organization
permissions: AgentTokenPermissions!
"""
Whether agents registered with this token will be visible to everyone, including people outside this organization
"""
public: Boolean!
"""
The time this agent token was revoked
"""
revokedAt: DateTime
"""
The user that revoked this agent token
"""
revokedBy: User
"""
The reason as defined by the user why this token was revoked
"""
revokedReason: String
"""
The token value used to register a new agent
"""
token: String! @deprecated(reason: "Hiding these after creation to improve security. Use the `token_value` field on AgentTokenCreate instead.")
"""
The public UUID for the agent
"""
uuid: ID!
}
type AgentTokenConnection implements Connection {
count: Int!
edges: [AgentTokenEdge]
pageInfo: PageInfo
}
"""
Autogenerated input type of AgentTokenCreate
"""
input AgentTokenCreateInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
description: String
organizationID: ID!
public: Boolean = false
}
"""
Autogenerated return type of AgentTokenCreate.
"""
type AgentTokenCreatePayload {
agentTokenEdge: AgentTokenEdge!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
organization: Organization!
"""
The token value used to register a new unclustered agent. Please ensure to
securely copy this value immediately upon generation as it will not be
displayed again.
"""
tokenValue: String!
}
type AgentTokenEdge {
cursor: String!
node: AgentToken
}
"""
Permissions information about what actions the current user can do against the agent token
"""
type AgentTokenPermissions {
"""
Whether the user can revoke this agent token
"""
agentTokenRevoke: Permission
}
"""
Autogenerated input type of AgentTokenRevoke
"""
input AgentTokenRevokeInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
id: ID!
"""
The reason why this unclustered agent token should be revoked
"""
reason: String!
}
"""
Autogenerated return type of AgentTokenRevoke.
"""
type AgentTokenRevokePayload {
agentToken: AgentToken!
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
}
"""
An annotation allows you to add arbitrary content to the top of a build page in the Buildkite UI
"""
type Annotation implements Node {
"""
The body of the annotation
"""
body: AnnotationBody
"""
The context of the annotation that helps you differentiate this one from others
"""
context: String!
"""
The date the annotation was created
"""
createdAt: DateTime!
id: ID!
"""
The priority of the annotation
"""
priority: Int!
"""
The visual style of the annotation
"""
style: AnnotationStyle
"""
The last time the annotation was changed
"""
updatedAt: DateTime
"""
The public UUID for this annotation
"""
uuid: ID!
}
"""
A body of an annotation
"""
type AnnotationBody {
"""
The body of the annotation rendered as HTML. The renderer result could be an
empty string if the textual version has unsupported HTML tags
"""
html: String
"""
The body of the annotation as text
"""
text: String!
}
type AnnotationConnection implements Connection {
count: Int!
edges: [AnnotationEdge]
pageInfo: PageInfo
}
type AnnotationEdge {
cursor: String!
node: Annotation
}
"""
The different orders you can sort annotations by
"""
enum AnnotationOrder {
"""
Order by priority, then by the most recently created annotations first
"""
PRIORITY_RECENTLY_CREATED
"""
Order by the most recently created annotations first
"""
RECENTLY_CREATED
}
"""
The visual style of the annotation
"""
enum AnnotationStyle {
"""
The default styling of an annotation
"""
DEFAULT
"""
The annotation has a red border with a cross next to it
"""
ERROR
"""
The annotation has a blue border with an information icon next to it
"""
INFO
"""
The annotation has a green border with a tick next to it
"""
SUCCESS
"""
The annotation has an orange border with a warning icon next to it
"""
WARNING
}
"""
A file uploaded from the agent whilst running a job
"""
type Artifact implements Node {
"""
The download URL for the artifact. Unless you've used your own artifact
storage, the URL will be valid for only 10 minutes.
"""
downloadURL: String!
"""
The time when the artifact will, or did, expire
"""
expiresAt: DateTime
id: ID!
"""
The job that uploaded this artifact
"""
job: JobTypeCommand
"""
The mime type of the file provided by the agent
"""
mimeType: String!
"""
The path of the uploaded artifact
"""
path: String!
"""
A SHA1SUM of the file
"""
sha1sum: String!
"""
A SHA256SUM of the file
"""
sha256sum: String
"""
The size of the file in bytes that was uploaded
"""
size: Int!
"""
The upload state of the artifact
"""
state: String!
"""
The public UUID for this artifact
"""
uuid: ID!
}
type ArtifactConnection implements Connection {
count: Int!
edges: [ArtifactEdge]
pageInfo: PageInfo
}
type ArtifactEdge {
cursor: String!
node: Artifact
}
"""
Context for an audit event created during an REST/GraphQL API request
"""
type AuditAPIContext {
"""
The API access token UUID used to authenticate the request
"""
requestApiAccessTokenUuid: String
"""
The remote IP which made the request
"""
requestIpAddress: String
"""
The client supplied user agent which made the request
"""
requestUserAgent: String
}
"""
The actor who caused an AuditEvent
"""
type AuditActor {
"""
The GraphQL ID for this actor
"""
id: ID!
"""
The name or short description of this actor
"""
name: String
"""
The node corresponding to this actor, if available
"""
node: AuditActorNode
"""
The type of this actor
"""
type: AuditActorType
"""
The public UUID of this actor
"""
uuid: ID!
}
"""
Kinds of actors which can perform audit events
"""
union AuditActorNode = Agent | User
"""
All the possible types of actors in an Audit Event
"""
enum AuditActorType {
AGENT
USER
}
"""
Context for an audit event created during an agent API request
"""
type AuditAgentAPIContext {
"""
The agent UUID
"""
agentUuid: String
"""
The type of token that authenticated the agent
"""
authenticationType: String
"""
The connection state of the agent
"""
connectionState: String
"""
The organization UUID that the agent belongs to
"""
organizationUuid: String
"""
The remote IP which made the request
"""
requestIpAddress: String
"""
The IP of the agent session which made the request
"""
sessionIpAddress: String
}
"""
Kinds of contexts in which an audit event can be performed
"""
union AuditContext = AuditAPIContext | AuditAgentAPIContext | AuditWebContext
"""
Audit record of an event which occurred in the system
"""
type AuditEvent implements Node {
"""
The actor who caused this event
"""
actor: AuditActor
"""
The context in which this event occurred
"""
context: AuditContext
"""
The changed data in the event
"""
data: JSON
id: ID!
"""
The time at which this event occurred
"""
occurredAt: DateTime!
"""
The subject of this event
"""
subject: AuditSubject
"""
The type of event
"""
type: AuditEventType!
"""
The public UUID for the event
"""
uuid: ID!
}
"""
All the possible types of an Audit Event
"""
enum AuditEventType {
AGENT_TOKEN_CREATED
AGENT_TOKEN_REVOKED
AGENT_TOKEN_UPDATED
API_ACCESS_TOKEN_CREATED
API_ACCESS_TOKEN_DELETED
API_ACCESS_TOKEN_ORGANIZATION_ACCESS_REVOKED
API_ACCESS_TOKEN_UPDATED
AUTHORIZATION_CREATED
AUTHORIZATION_DELETED
CLUSTER_CREATED
CLUSTER_DELETED
CLUSTER_PERMISSION_CREATED
CLUSTER_PERMISSION_DELETED
CLUSTER_QUEUE_CREATED
CLUSTER_QUEUE_DELETED
CLUSTER_QUEUE_TOKEN_CREATED
CLUSTER_QUEUE_TOKEN_DELETED
CLUSTER_QUEUE_TOKEN_UPDATED
CLUSTER_QUEUE_UPDATED
CLUSTER_TOKEN_CREATED
CLUSTER_TOKEN_DELETED
CLUSTER_TOKEN_UPDATED
CLUSTER_UPDATED
COMPOSITE_REGISTRY_UPSTREAM_ADDED
COMPOSITE_REGISTRY_UPSTREAM_REMOVED
JOB_TERMINAL_SESSION_STARTED
NOTIFICATION_SERVICE_BROKEN
NOTIFICATION_SERVICE_CREATED
NOTIFICATION_SERVICE_DELETED
NOTIFICATION_SERVICE_DISABLED
NOTIFICATION_SERVICE_ENABLED
NOTIFICATION_SERVICE_UPDATED
ORGANIZATION_BANNER_CREATED
ORGANIZATION_BANNER_DELETED
ORGANIZATION_BANNER_UPDATED
ORGANIZATION_BUILD_EXPORT_UPDATED
ORGANIZATION_CREATED
ORGANIZATION_DELETED
ORGANIZATION_IMPERSONATION_REQUEST_APPROVED
ORGANIZATION_IMPERSONATION_REQUEST_REVOKED
ORGANIZATION_INVITATION_ACCEPTED
ORGANIZATION_INVITATION_CREATED
ORGANIZATION_INVITATION_RESENT
ORGANIZATION_INVITATION_REVOKED
ORGANIZATION_MEMBER_CREATED
ORGANIZATION_MEMBER_DELETED
ORGANIZATION_MEMBER_UPDATED
ORGANIZATION_TEAMS_DISABLED
ORGANIZATION_TEAMS_ENABLED
ORGANIZATION_UPDATED
PIPELINE_CREATED
PIPELINE_DELETED
PIPELINE_SCHEDULE_CREATED
PIPELINE_SCHEDULE_DELETED
PIPELINE_SCHEDULE_UPDATED
PIPELINE_TEMPLATE_CREATED
PIPELINE_TEMPLATE_DELETED
PIPELINE_TEMPLATE_UPDATED
PIPELINE_UPDATED
PIPELINE_VISIBILITY_CHANGED
PIPELINE_WEBHOOK_URL_ROTATED
PORTAL_CREATED
PORTAL_DELETED
PORTAL_UPDATED
REGISTRY_CREATED
REGISTRY_DELETED
REGISTRY_TOKEN_CREATED
REGISTRY_TOKEN_DELETED
REGISTRY_TOKEN_UPDATED
REGISTRY_UPDATED
REGISTRY_VISIBILITY_CHANGED
RULE_CREATED
RULE_DELETED
SCM_PIPELINE_SETTINGS_CREATED
SCM_PIPELINE_SETTINGS_DELETED
SCM_PIPELINE_SETTINGS_UPDATED
SCM_REPOSITORY_HOST_CREATED
SCM_REPOSITORY_HOST_DESTROYED
SCM_REPOSITORY_HOST_UPDATED
SCM_SERVICE_CREATED
SCM_SERVICE_DELETED
SCM_SERVICE_UPDATED
SECRET_CREATED
SECRET_DELETED
SECRET_QUERIED
SECRET_READ
SECRET_UPDATED
SSO_PROVIDER_CREATED
SSO_PROVIDER_DELETED
SSO_PROVIDER_DISABLED
SSO_PROVIDER_ENABLED
SSO_PROVIDER_UPDATED
STORAGE_CREATED
SUBSCRIPTION_PLAN_ADDED
SUBSCRIPTION_PLAN_CANCELATION_SCHEDULED
SUBSCRIPTION_PLAN_CANCELED
SUBSCRIPTION_PLAN_CHANGED
SUBSCRIPTION_PLAN_CHANGE_SCHEDULED
SUBSCRIPTION_SCHEDULED_PLAN_CHANGE_CANCELED
SUITE_API_TOKEN_REGENERATED
SUITE_CREATED
SUITE_DELETED
SUITE_MONITOR_CREATED
SUITE_MONITOR_DELETED
SUITE_MONITOR_UPDATED
SUITE_UPDATED
SUITE_VISIBILITY_CHANGED
TEAM_CREATED
TEAM_DELETED
TEAM_MEMBER_CREATED
TEAM_MEMBER_DELETED
TEAM_MEMBER_UPDATED
TEAM_PIPELINE_CREATED
TEAM_PIPELINE_DELETED
TEAM_PIPELINE_UPDATED
TEAM_REGISTRY_CREATED
TEAM_REGISTRY_DELETED
TEAM_REGISTRY_UPDATED
TEAM_SUITE_CREATED
TEAM_SUITE_DELETED
TEAM_SUITE_UPDATED
TEAM_UPDATED
USER_API_ACCESS_TOKEN_ORGANIZATION_ACCESS_ADDED
USER_API_ACCESS_TOKEN_ORGANIZATION_ACCESS_REMOVED
USER_EMAIL_CREATED
USER_EMAIL_DELETED
USER_EMAIL_MARKED_PRIMARY
USER_EMAIL_VERIFIED
USER_IMPERSONATED
USER_PASSWORD_RESET
USER_PASSWORD_RESET_REQUESTED
USER_TOTP_ACTIVATED
USER_TOTP_CREATED
USER_TOTP_DELETED
USER_UPDATED
}
"""
The subject of an AuditEvent
"""
type AuditSubject {
"""
The GraphQL ID for the subject
"""
id: ID!
"""
The name or short description of this subject
"""
name: String
"""
The node corresponding to the subject, if available
"""
node: AuditSubjectNode
"""
The type of this subject
"""
type: AuditSubjectType
"""
The public UUID of this subject
"""
uuid: ID!
}
"""
Kinds of subjects which can have audit events performed on them
"""
union AuditSubjectNode = APIAccessToken | AgentToken | AuthorizationBitbucket | AuthorizationGitHub | AuthorizationGitHubEnterprise | Cluster | ClusterPermission | ClusterQueue | ClusterQueueToken | ClusterToken | CompositeRegistryUpstream | Email | JobTypeBlock | JobTypeCommand | JobTypeTrigger | JobTypeWait | NotificationServiceSlack | NotificationServiceWebhook | Organization | OrganizationBanner | OrganizationImpersonationRequest | OrganizationInvitation | OrganizationMember | Pipeline | PipelineSchedule | PipelineTemplate | Registry | RegistryToken | Rule | SCMPipelineSettings | SCMRepositoryHost | SCMService | SSOProviderGitHubApp | SSOProviderGoogleGSuite | SSOProviderSAML | Secret | Subscription | Suite | TOTP | Team | TeamMember | TeamPipeline | TeamRegistry | TeamSuite | User