@@ -9793,6 +9793,11 @@ type Query {
97939793 Auth log history by provider id: internal_id for DB providers, or static id for singletons (Headers, Cert).
97949794 """
97959795 authLogHistoryById(id: String!): [AuthLogEntry!]!
9796+
9797+ workflowDefinition(entityType: String!): WorkflowSchema
9798+ workflowInstance(entityId: String!): WorkflowInstance
9799+ allowedNextStatuses(entityId: String!): [Status!]!
9800+ allowedTransitions(entityId: String!): [WorkflowTransition!]!
97969801}
97979802
97989803type Subscription {
@@ -10742,6 +10747,94 @@ type Mutation {
1074210747 ldapProviderAdd(input: LdapInput!): AuthenticationProvider
1074310748 ldapProviderEdit(id: ID!, input: LdapInput!): AuthenticationProvider
1074410749 ldapProviderDelete(id: ID!): ID
10750+ workflowDefinitionSet(entityType: String!, definition: String!): EntitySetting
10751+ workflowDefinitionDelete(entityType: String!): EntitySetting
10752+ triggerWorkflowEvent(entityId: String!, eventName: String!): WorkflowTriggerResult!
10753+ }
10754+
10755+ enum WorkflowActionMode {
10756+ sync
10757+ async
10758+ }
10759+
10760+ type WorkflowActionConfig {
10761+ type: String!
10762+ params: String
10763+ mode: WorkflowActionMode!
10764+ }
10765+
10766+ type WorkflowConditionConfig {
10767+ type: String
10768+ field: String
10769+ operator: String
10770+ value: String
10771+ }
10772+
10773+ type WorkflowSerializedState {
10774+ name: String!
10775+ onEnter: [WorkflowActionConfig!]
10776+ onExit: [WorkflowActionConfig!]
10777+ }
10778+
10779+ type WorkflowSerializedTransition {
10780+ from: String!
10781+ to: String!
10782+ event: String!
10783+ actions: [WorkflowActionConfig!]
10784+ conditions: [WorkflowConditionConfig!]
10785+ }
10786+
10787+ type WorkflowSchema {
10788+ id: ID!
10789+ name: String!
10790+ initialState: String!
10791+ states: [WorkflowSerializedState!]!
10792+ transitions: [WorkflowSerializedTransition!]!
10793+ }
10794+
10795+ type EntitySetting implements InternalObject & BasicObject {
10796+ workflow_configuration: Boolean
10797+ workflow_id: String
10798+ id: ID!
10799+ entity_type: String!
10800+ standard_id: String!
10801+ parent_types: [String!]!
10802+ metrics: [Metric]
10803+ target_type: String!
10804+ platform_entity_files_ref: Boolean
10805+ platform_hidden_type: Boolean
10806+ enforce_reference: Boolean
10807+ attributes_configuration: String
10808+ attributesDefinitions: [TypeAttribute!]!
10809+ mandatoryAttributes: [String!]!
10810+ scaleAttributes: [ScaleAttribute!]!
10811+ defaultValuesAttributes: [DefaultValueAttribute!]!
10812+ availableSettings: [String!]!
10813+ created_at: DateTime!
10814+ updated_at: DateTime!
10815+ refreshed_at: DateTime
10816+ overview_layout_customization: [OverviewWidgetCustomization!]
10817+ fintelTemplates(first: Int, after: ID, orderBy: FintelTemplateOrdering, orderMode: OrderingMode, search: String): FintelTemplateConnection
10818+ requestAccessConfiguration: RequestAccessConfiguration
10819+ }
10820+
10821+ type WorkflowTriggerResult {
10822+ success: Boolean!
10823+ newState: String
10824+ reason: String
10825+ status: Status
10826+ }
10827+
10828+ type WorkflowTransition {
10829+ event: String!
10830+ toState: String!
10831+ toStatus: Status
10832+ }
10833+
10834+ type WorkflowInstance {
10835+ id: ID!
10836+ currentState: String!
10837+ allowedTransitions: [WorkflowTransition!]!
1074510838}
1074610839
1074710840type Channel implements BasicObject & StixObject & StixCoreObject & StixDomainObject {
@@ -12902,30 +12995,6 @@ type OverviewWidgetCustomization {
1290212995 label: String!
1290312996}
1290412997
12905- type EntitySetting implements InternalObject & BasicObject {
12906- id: ID!
12907- entity_type: String!
12908- standard_id: String!
12909- parent_types: [String!]!
12910- metrics: [Metric]
12911- target_type: String!
12912- platform_entity_files_ref: Boolean
12913- platform_hidden_type: Boolean
12914- enforce_reference: Boolean
12915- attributes_configuration: String
12916- attributesDefinitions: [TypeAttribute!]!
12917- mandatoryAttributes: [String!]!
12918- scaleAttributes: [ScaleAttribute!]!
12919- defaultValuesAttributes: [DefaultValueAttribute!]!
12920- availableSettings: [String!]!
12921- created_at: DateTime!
12922- updated_at: DateTime!
12923- refreshed_at: DateTime
12924- overview_layout_customization: [OverviewWidgetCustomization!]
12925- fintelTemplates(first: Int, after: ID, orderBy: FintelTemplateOrdering, orderMode: OrderingMode, search: String): FintelTemplateConnection
12926- requestAccessConfiguration: RequestAccessConfiguration
12927- }
12928-
1292912998enum EntitySettingsOrdering {
1293012999 target_type
1293113000 _score
@@ -14936,6 +15005,7 @@ type DraftWorkspace implements InternalObject & BasicObject {
1493615005 validationWork: Work
1493715006 authorizedMembers: [MemberAccess!]!
1493815007 currentUserAccessRight: String
15008+ workflowInstance: WorkflowInstance
1493915009}
1494015010
1494115011type DraftObjectsCount {
@@ -16077,4 +16147,4 @@ type AuthenticationProviderMigrationResult {
1607716147type AvailableSecretInfo {
1607816148 provider_name: String!
1607916149 secret_name: String!
16080- }
16150+ }
0 commit comments