-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
buguse for describing something not working as expecteduse for describing something not working as expectedsolveduse to identify issue that has been solved (must be linked to the solving PR)use to identify issue that has been solved (must be linked to the solving PR)
Milestone
Description
Description
The mutation intrusionSetAdd creates an intrusion set with the first_seen value as the last_seen value.
Environment
- OS: Ubuntu 18.04.3 LTS
- OpenCTI version: OpenCTI 2.1.3
- OpenCTI client: api
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Execute following GraphQL mutation.
Mutation to add a new intrusion set:
mutation IntrusionSetCreationMutation($input: IntrusionSetAddInput!) {
intrusionSetAdd(input: $input) {
id
name
first_seen
last_seen
}
}
Variables:
{
"input": {
"name":"TestIntrusionSet Bug",
"description":"TestIntrusionSet Bug Description.",
"first_seen": "1990-01-16T00:00:00.000Z",
"last_seen": "2019-12-24T00:00:00.000Z",
"createdByRef":"88ec0c6a-13ce-5e39-b486-354fe4a7084f",
"markingDefinitions":["f465c4bc-2d75-4a71-ad49-35efc15724ef"],
"tags":[]
}
}
Expected Output
{
"data": {
"intrusionSetAdd": {
"id": "40dac9b3-9ba2-44b6-acfa-5cc73cdf490f",
"name": "TestIntrusionSet Bug",
"first_seen": "1990-01-16T00:00:00.000Z",
"last_seen": "2019-12-24T00:00:00.000Z"
}
}
}
Actual Output
{
"data": {
"intrusionSetAdd": {
"id": "40dac9b3-9ba2-44b6-acfa-5cc73cdf490f",
"name": "TestIntrusionSet Bug",
"first_seen": "1990-01-16T00:00:00.000Z",
"last_seen": "1990-01-16T00:00:00.000Z"
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buguse for describing something not working as expecteduse for describing something not working as expectedsolveduse to identify issue that has been solved (must be linked to the solving PR)use to identify issue that has been solved (must be linked to the solving PR)