Skip to content

Commit

Permalink
[frontend] fix assignee query to prevent impact on aliases (#4333)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapuks committed Oct 23, 2024
1 parent 30fd153 commit 4c4526e
Showing 1 changed file with 77 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ export const stixDomainObjectMutation = graphql`
references: $references
) {
x_opencti_stix_ids
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
... on AttackPattern {
aliases
}
Expand Down Expand Up @@ -150,6 +140,16 @@ export const stixDomainObjectMutation = graphql`
}
... on Incident {
aliases
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on Vulnerability {
x_opencti_aliases
Expand All @@ -160,6 +160,73 @@ export const stixDomainObjectMutation = graphql`
... on DataSource {
aliases
}
... on Report {
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on CaseIncident {
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on CaseRfi {
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on CaseRft {
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on Task {
objectAssignee {
id
name
entity_type
}
objectParticipant {
id
name
entity_type
}
}
... on Feedback {
objectAssignee {
id
name
entity_type
}
}
}
}
}
Expand Down

0 comments on commit 4c4526e

Please sign in to comment.