-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathschema.graphql
More file actions
1586 lines (1410 loc) · 35.4 KB
/
schema.graphql
File metadata and controls
1586 lines (1410 loc) · 35.4 KB
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
directive @system_token repeatable on OBJECT | FIELD_DEFINITION
directive @platform_token repeatable on OBJECT | FIELD_DEFINITION
directive @auth(portalCapa: [PortalCapability] = [], orgaCapa: [OrganizationCapability] = []) repeatable on OBJECT | FIELD_DEFINITION
directive @service_capa(requires: [ServiceRestriction] = []) repeatable on OBJECT | FIELD_DEFINITION
scalar JSON
scalar Date
scalar Upload
enum FilterKey {
label
organization_id
personal_space
integration_type
integration_subtype
slug
product_version
manager_supported
feed_url
verified
}
enum LogicalOperator {
AND
OR
}
input Filter {
key: FilterKey
value: [String!]!
}
input LogicalFilterInput {
leaf: Filter
operator: LogicalOperator
children: [LogicalFilterInput!]
}
type Success {
success: Boolean!
}
type Query {
updateOpenCTIManifest(tag: String): Success!
organization(id: ID!): Organization
organizations(first: Int = 50, after: ID, orderBy: OrganizationOrdering!, orderMode: OrderingMode!, searchTerm: String): OrganizationConnection!
userOrganizations: [Organization!]!
rolePortal(id: ID!): RolePortal
rolesPortal: [RolePortal!]!
competitors(first: Int!, after: ID, orderBy: CompetitorOrdering!, orderMode: OrderingMode!): CompetitorConnection!
deploymentRequests(first: Int!, after: ID, filters: [DeploymentRequestFilter!]): PlatformDeploymentRequestConnection!
deploymentRequestsAvailable(platformIdentifier: PlatformIdentifier): [DeploymentAvailability!]!
deploymentRequestsList(first: Int!, after: ID, filters: [DeploymentRequestFilter!], orderBy: DeploymentRequestOrdering!, orderMode: OrderingMode!, searchTerm: String): DeploymentRequestConnection!
trialDeployments(input: TrialDeploymentsInput): TrialsDeployments!
documentExists(documentName: String, service_instance_id: String): Boolean
publicDocuments(slug: String!, first: Int!, after: ID, orderBy: DocumentOrdering!, orderMode: OrderingMode!, searchTerm: String, logicalFilters: LogicalFilterInput, serviceInstanceId: ID!): DocumentConnection!
publicDocumentsByServiceSlug(serviceInstanceSlug: String!): [Document!]!
publicDocumentBySlug(serviceInstanceId: ID!, slug: String!): Document
documents(first: Int!, after: ID, orderBy: DocumentOrdering!, orderMode: OrderingMode!, searchTerm: String, logicalFilters: LogicalFilterInput, serviceInstanceId: String, parentsOnly: Boolean): DocumentConnection!
document(documentId: ID, serviceInstanceId: ID): Document
serviceGroups(serviceInstanceId: ID!): [ServiceGroup!]!
epics(first: Int!, after: ID, orderBy: EpicOrdering!, orderMode: OrderingMode!): EpicConnection
openCTIPlatformRegistrationStatus(input: OpenCTIPlatformRegistrationStatusInput!): OpenCTIPlatformRegistrationStatusResponse! @deprecated(reason: "Use `refreshPlatformRegistrationConnectivityStatus` instead. This field is no longer used in the OpenCTI platform due to refactoring and the addition of a version value in the endpoint.")
isPlatformRegistered(input: IsPlatformRegisteredInput!): IsPlatformRegisteredResponse!
canUnregisterPlatform(input: CanUnregisterPlatformInput!): CanUnregisterResponse!
registeredPlatform(input: RegisteredPlatformInput!): RegisteredPlatform
registeredPlatforms(input: RegisteredPlatformsInput): [RegisteredPlatform!]!
platformAssociatedOrganization(platformId: String!): Organization
publicServiceInstances(first: Int!, after: ID, orderBy: ServiceInstanceOrdering!, orderMode: OrderingMode!): ServiceConnection!
serviceInstances(first: Int!, after: ID, orderBy: ServiceInstanceOrdering!, orderMode: OrderingMode!, searchTerm: String, filters: [ServiceInstanceFilter!]): ServiceConnection!
serviceInstanceLinksByTags(tags: [ServiceInstanceTag!]!): [SeoServiceInstance!]!
serviceInstanceById(service_instance_id: ID): ServiceInstance
serviceInstanceByIdWithSubscriptions(service_instance_id: ID, searchTerm: String): ServiceInstance
subscribedServiceInstancesByIdentifier(identifier: ServiceDefinitionIdentifier!): [SubscribedServiceInstance!]!
seoServiceInstances: [SeoServiceInstance!]!
seoServiceInstance(slug: String!): SeoServiceInstance!
settings: Settings!
useCases(first: Int!, after: ID, orderBy: UseCaseOrdering!, orderMode: OrderingMode!, searchTerm: String, documentType: String): UseCaseConnection
subscriptionById(subscription_id: ID): SubscriptionModel
userServiceOwned(first: Int!, after: ID, orderBy: UserServiceOrdering!, orderMode: OrderingMode!): UserServiceConnection
serviceUsers(id: ID!, first: Int!, after: ID, orderBy: UserServiceOrdering!, orderMode: OrderingMode!): UserServiceConnection
userServiceFromSubscription(first: Int!, after: ID, orderBy: UserServiceOrdering!, orderMode: OrderingMode!, subscription_id: ID!): UserServiceConnection
me: User
usersWithCapabilitiesInOrganization(input: UsersWithCapabilitiesInOrganizationInput!): [User!]!
users(first: Int!, after: ID, orderBy: UserOrdering!, orderMode: OrderingMode!, searchTerm: String, filters: [Filter!]): UserConnection!
pendingUsers(first: Int!, after: ID, orderBy: UserOrdering!, orderMode: OrderingMode!, searchTerm: String, filters: [Filter!]): UserConnection!
userHasOrganizationWithSubscription: Boolean!
node(id: ID!): Node
}
type Mutation {
frontendErrorLog(message: String!, codeStack: String, componentStack: String): Boolean
addOrganization(input: OrganizationInput!): Organization
editOrganization(id: ID!, input: OrganizationInput!): Organization
deleteOrganization(id: ID!): Organization
createCompetitor(input: CreateCompetitorInput!): Competitor!
updateCompetitor(input: UpdateCompetitorInput!): Competitor!
deleteCompetitor(id: ID!): Competitor!
createDeploymentRequest(input: CreateDeploymentRequestInput): DeploymentRequest!
updateDeploymentRequest(input: UpdateDeploymentRequestInput!): PlatformDeploymentRequest!
reorderDeploymentRequestInQueue(input: ReorderDeploymentRequestInQueueInput!): Success!
cancelDeploymentRequest(deploymentRequestId: ID!, cancellationReason: String): DeploymentRequest
adminCancelDeploymentRequest(deploymentRequestId: ID): DeploymentRequest
updateDeploymentQuotaCapacity(input: UpdateDeploymentQuotaCapacityInput!): Success!
createDocument(input: CreateDocumentInput!, metadata: [DocumentMetadata!]!, document: [Upload!]!, serviceInstanceId: String): Document!
updateDocument(documentId: ID!, input: UpdateDocumentInput!, metadata: [DocumentMetadata!]!, document: [Upload!]!, updateDocument: Boolean!, images: [String!], serviceInstanceId: String): Document!
deleteDocument(documentId: ID, service_instance_id: String, forceDelete: Boolean): Document!
incrementShareNumberDocument(documentId: ID): Document!
updateServiceGroups(input: UpdateServiceGroupsInput!): Success
createEpic(input: CreateEpicInput!, document: [Upload!]): Epic!
updateEpic(id: ID!, input: UpdateEpicInput!): Epic!
deleteEpic(id: ID!): Epic!
registerPlatform(input: RegisterPlatformInput!): RegistrationResponse!
unregisterPlatform(input: UnregisterPlatformInput): Success!
refreshUserPlatformToken: RefreshUserPlatformTokenResponse!
refreshPlatformRegistrationConnectivityStatus(input: RefreshPlatformRegistrationConnectivityStatusInput!): RefreshPlatformRegistrationConnectivityStatusResponse!
autoRegisterPlatform(platform: PlatformInput!): Success!
addServicePicture(serviceInstanceId: ID!, document: Upload, isLogo: Boolean): ServiceInstance
updatePlatformServiceMetadata(input: UpdatePlatformServiceMetadataInput!, document: Upload): RegisteredPlatform
addUseCase(input: AddUseCaseInput!): UseCase!
editUseCase(id: ID!, input: EditUseCaseInput!): UseCase!
deleteUseCase(id: ID!): UseCase!
addSubscription(service_instance_id: String): ServiceInstance
addSubscriptionInService(service_instance_id: String, organization_id: ID, capability_ids: [ID], start_date: Date, end_date: Date): ServiceInstance
deleteSubscription(subscription_id: ID!): ServiceInstance
sendTelemetryEvent: SendTelemetryMutation
editServiceCapability(input: EditServiceCapabilityInput, serviceInstanceId: String): SubscriptionModel
addUserService(input: UserServiceAddInput!): [UserService]
addYourselfInUserService(input: UserServiceAddYourselfInput!): [UserService]
deleteUserService(input: UserServiceDeleteInput!): UserService
adminAddUser(input: AdminAddUserInput!): User
adminEditUser(id: ID!, input: AdminEditUserInput!): User!
mergeTest(from: ID!, target: ID!): ID!
addUser(input: AddUserInput!): User
editUserCapabilities(id: ID!, input: EditUserCapabilitiesInput!): User!
changeSelectedOrganization(organization_id: ID!): User
bulkRemovePendingUserFromOrganization(input: BulkPendingUserFromOrganizationInput): Success
bulkAcceptPendingUserInOrganization(input: BulkPendingUserFromOrganizationInput): Success
removePendingUserFromOrganization(user_id: ID!, organization_id: ID!): User
removeUserFromOrganization(user_id: ID!, organization_id: ID!): User
editMeUser(input: EditMeUserInput!): User!
resetPassword: Success!
requestTransferPersonalSpace(new_email: String): Success!
transferPersonalSpace(requestId: ID!): Success!
login(email: String!, password: String): User
logout: ID!
contactUs(message: String, platformId: ID, platformIdentifier: PlatformIdentifier): Success!
}
enum OrganizationOrdering {
name
}
type OrganizationId implements Node {
id: ID!
}
type Organization implements Node {
id: ID!
name: String!
domains: [String!]
personal_space: Boolean!
capabilityUser: [Capability]
}
type OrganizationEdge {
cursor: String!
node: Organization!
}
type OrganizationConnection {
totalCount: Int!
edges: [OrganizationEdge!]!
pageInfo: PageInfo!
}
input OrganizationInput {
name: String!
domains: [String!]
}
type RolePortal implements Node {
id: ID!
name: String!
}
enum CompetitorOrdering {
name
tier
domain
}
enum CompetitorTier {
tier1
tier2
tier3
}
type Competitor implements Node {
id: ID!
name: String!
tier: CompetitorTier!
domain: String!
}
type CompetitorEdge {
cursor: String!
node: Competitor!
}
type CompetitorConnection {
totalCount: Int!
edges: [CompetitorEdge!]!
pageInfo: PageInfo!
}
input CreateCompetitorInput {
name: String!
tier: CompetitorTier!
domain: String!
}
input UpdateCompetitorInput {
id: ID!
name: String
tier: CompetitorTier
domain: String
}
enum ServiceConfigurationStatus {
active
inactive
}
enum ServiceDefinitionIdentifier {
vault
link
opencti_custom_dashboards
opencti_integrations
openaev_scenarios
opencti_registration
openaev_registration
public_roadmap
}
type ServiceDefinition implements Node {
id: ID!
name: String!
description: String
public: Boolean
identifier: ServiceDefinitionIdentifier!
service_capability: [ServiceCapability]
}
enum DeploymentRequestPlatformRegion {
eu_west
us_east
apac_au
apac_sg
}
enum DeploymentRequestDeploymentType {
trial
}
enum DeploymentRequestHubStatus {
queued
pending
provisioning
active
expired
failed
cancelled
}
enum DeploymentRequestPlatformState {
unprovisioned
provisioning
active
removing
removed
}
enum DeploymentRequestUseCase {
threat_profiling_cti
threat_profiling_fimi
threat_profiling_faml
threat_profiling_leo
threat_hunting
technical_reporting
strategic_reporting
incident_response
security_stack
detection_engineering
attack_simulation
crisis_simulation
vulnerability_management
centralizing_knowledge
sharing_knowledge
hosting_threat_community
}
enum DeploymentRequestActivitySector {
computer_network_security
computer_games
computer_software
defense_space
entertainment
financial_services
government_administration
government_relations
higher_education
hospital_health_care
hospitality
information_technology
insurance
legal_services
luxury_goods_jewelry
management_consulting
marketing_advertising
military
non_profit
oil_energy
pharmaceuticals
photography
retail
security_investigations
semiconductors
telecommunications
transportation
utilities
wireless
}
enum DeploymentRequestJobTitle {
ceo
ciso_cso_cio
c_level
general_manager_vp
director_head_cybersecurity
cybersecurity_team_lead
application_security_specialist
cloud_security_specialist
cybersecurity_architect
cybersecurity_engineer
dfir_specialist
grc_specialist
iam_specialist
penetration_tester
soc_analyst
threat_intelligence_analyst
vulnerability_analyst
consultant
other
}
type DeploymentRequest implements Node {
id: ID!
platform_identifier: PlatformIdentifier!
region: DeploymentRequestPlatformRegion!
type: DeploymentRequestDeploymentType!
job_title: DeploymentRequestJobTitle
activity_sector: DeploymentRequestActivitySector
use_case: DeploymentRequestUseCase
start_date: Date
end_date: Date
hub_status: DeploymentRequestHubStatus!
ordering: Int!
requester_email: String
organization_requester_id: ID!
service_instance_id: ID!
organization_name: String
request_date: Date!
counts_in_orga_quota: Boolean!
cancellation_date: Date
cancellation_user_email: String
cancellation_reason: String
platform_id: String
platform_url: String
}
type PlatformDeploymentRequest {
id: ID!
platform_identifier: PlatformIdentifier!
region: DeploymentRequestPlatformRegion!
type: DeploymentRequestDeploymentType!
platform_token: String!
hub_status: DeploymentRequestHubStatus!
target_state: DeploymentRequestPlatformState
actual_state: DeploymentRequestPlatformState
ordering: Int!
start_date: Date
end_date: Date
job_title: DeploymentRequestJobTitle
activity_sector: DeploymentRequestActivitySector
use_case: DeploymentRequestUseCase
organization_name: String!
organization_domains: [String!]
requester_email: String!
requester_first_name: String
requester_last_name: String
platform_id: String
platform_url: String
failure_reason: String
}
input CreateDeploymentRequestInput {
platform_identifier: PlatformIdentifier!
region: DeploymentRequestPlatformRegion!
type: DeploymentRequestDeploymentType!
job_title: DeploymentRequestJobTitle
activity_sector: DeploymentRequestActivitySector
use_case: DeploymentRequestUseCase
}
input UpdateDeploymentRequestInput {
id: ID!
start_date: Date
end_date: Date
platform_id: String
failure_reason: String
actual_state: DeploymentRequestPlatformState
ordering: Int
}
enum DeploymentRequestFilterKey {
region
type
hub_status
target_state
actual_state
platform_identifier
}
input DeploymentRequestFilter {
key: DeploymentRequestFilterKey
value: [String!]!
}
type DeploymentRequestEdge {
cursor: String!
node: DeploymentRequest!
}
type PlatformDeploymentRequestEdge {
cursor: String!
node: PlatformDeploymentRequest!
}
type DeploymentRequestConnection {
totalCount: Int!
edges: [DeploymentRequestEdge!]!
pageInfo: PageInfo!
}
type PlatformDeploymentRequestConnection {
totalCount: Int!
edges: [PlatformDeploymentRequestEdge!]!
pageInfo: PageInfo!
}
type DeploymentAvailability {
region: DeploymentRequestPlatformRegion!
availableCount: Int!
capacity: Int!
platform_identifier: PlatformIdentifier!
}
type DeployedPlatform {
serviceInstanceId: ID!
platformIdentifier: PlatformIdentifier!
}
type TrialsDeployments {
availableTrials: [PlatformIdentifier!]!
deployed: [DeployedPlatform!]!
isBlacklisted: Boolean!
}
enum DeploymentRequestOrdering {
requester_email
organization_name
start_date
end_date
hub_status
region
ordering
request_date
cancellation_date
cancellation_user_email
cancellation_reason
}
enum ReorderDeploymentRequestInQueueDirection {
top
up
}
input ReorderDeploymentRequestInQueueInput {
id: ID!
direction: ReorderDeploymentRequestInQueueDirection!
}
input UpdateDeploymentQuotaCapacityInput {
platformIdentifier: PlatformIdentifier!
region: DeploymentRequestPlatformRegion!
newCapacity: Int!
}
input TrialDeploymentsInput {
platformIdentifiers: [PlatformIdentifier!]
}
type ShareableResource {
id: ID!
file_name: String!
created_at: Date!
name: String
description: String
download_number: Int
active: Boolean!
}
enum DocumentOrdering {
file_name
description
created_at
updated_at
download_number
name
}
"""
/!\ WARNING Do not use this type.
It exists only to cover cases where we failed to map to a specific Document.
"""
type DefaultDocument implements Node & Document {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
}
interface Document implements Node {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
}
input DocumentMetadata {
key: String!
value: String!
}
input CreateDocumentInput {
name: String!
slug: String!
short_description: String!
description: String!
active: Boolean!
use_cases: [String!]
uploader_id: String!
}
input UpdateDocumentInput {
name: String
slug: String
short_description: String
description: String
active: Boolean
use_cases: [String!]
uploader_organization_id: String
uploader_id: String
}
type DocumentEdge {
cursor: String!
node: Document!
}
type DocumentConnection {
totalCount: Int!
edges: [DocumentEdge!]!
pageInfo: PageInfo!
}
type OpenAEVScenario implements Document & Node {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String!
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
product_version: String
}
type CustomDashboard implements Document & Node {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String!
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
product_version: String
}
enum IntegrationType {
csv_feed
connector
rss_feed
json_feed
taxii_feed
stream
third_party_integration
}
enum IntegrationSubType {
EXTERNAL_IMPORT
INTERNAL_ENRICHMENT
INTERNAL_EXPORT_FILE
INTERNAL_IMPORT_FILE
STREAM
NATIVE
ORCHESTRATION
DETECTION
CASE_MANAGEMENT
}
interface Integration implements Node & Document {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
integration_type: IntegrationType!
datasheet_url: String
demo_url: String
}
type IntegrationHack implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
integration_type: IntegrationType!
datasheet_url: String
demo_url: String
}
type CsvFeed implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
feed_url: String
integration_type: IntegrationType!
datasheet_url: String
demo_url: String
}
type Connector implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
integration_type: IntegrationType!
product_version: String
container_image: String
verified: Boolean!
source_code: String
subscription_link: String
integration_subtype: IntegrationSubType!
manager_supported: Boolean!
playbook_supported: Boolean!
datasheet_url: String
demo_url: String
}
type TaxiiFeed implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
feed_url: String
integration_type: IntegrationType!
integration_subtype: IntegrationSubType!
datasheet_url: String
demo_url: String
}
type Stream implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
feed_url: String
integration_type: IntegrationType!
integration_subtype: IntegrationSubType!
datasheet_url: String
demo_url: String
}
type ThirdPartyIntegration implements Node & Document & Integration {
id: ID!
type: String!
uploader: User
uploader_organization: Organization
name: String!
short_description: String
description: String
file_name: String
minio_name: String!
active: Boolean!
created_at: Date!
updated_at: Date
updater_id: String
download_number: Int
share_number: Int
slug: String!
use_cases: [UseCase!]
service_instance_id: String!
service_instance: ServiceInstance
subscription: SubscriptionModel
children_documents: [ShareableResource!]
remover_id: ID
integration_type: IntegrationType!
integration_subtype: IntegrationSubType!
vendor_url: String!
product_version: String
github_url: String
datasheet_url: String
demo_url: String
}
type ServiceGroup implements Node {
id: ID!
name: String!
users: [User!]
}
input UpdateServiceGroupsInputGroup {
id: ID!
userIds: [ID!]!
}
input UpdateServiceGroupsInput {
groups: [UpdateServiceGroupsInputGroup!]!
}
type ServiceLink implements Node {
id: ID!
service_instance_id: ID
url: String
name: String
}
enum FiligranProduct {
OpenCTI
OpenAEV
XTMHub
}
enum Timeline {
now
next
under_consideration
}
enum EpicType {
other
integration
}
type Epic implements Node {
id: ID!
epic: String!
title: String!
short_description: String!
description: String!
is_active: Boolean!
product: FiligranProduct!
timeline: Timeline!
epic_type: EpicType!
document: Document
document_id: ID
uploader_id: String!
updater_id: String
created_at: Date!
updated_at: Date
}
input CreateEpicInput {
epic: String!
title: String!
short_description: String!
description: String!
is_active: Boolean
product: FiligranProduct!
timeline: Timeline!
is_integration: Boolean
illustration_document: Upload
}
input UpdateEpicInput {
epic: String
title: String
short_description: String
description: String
is_active: Boolean
product: FiligranProduct
timeline: Timeline
is_integration: Boolean
illustration_document: Upload
}
type EpicEdge {
cursor: String!
node: Epic!
}
type EpicConnection {
totalCount: Int!
edges: [EpicEdge!]!