Skip to content

Commit

Permalink
[ti_misp] Fix parsing of threat event publish_timestamp (#6575)
Browse files Browse the repository at this point in the history
* Fix values in the pipeline.
* Update the pipeline tests.
  • Loading branch information
chrisberkhout authored and sodhikirti07 committed Jun 15, 2023
1 parent 2308873 commit 284f4d5
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 47 deletions.
5 changes: 5 additions & 0 deletions packages/ti_misp/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.15.4"
changes:
- description: Fix parsing of threat event publish_timestamp.
type: bugfix
link: https://github.com/elastic/integrations/pull/6575
- version: "1.15.3"
changes:
- description: Fix bug where the threat_attributes data stream would not stop paginating after an empty response.
Expand Down
Expand Up @@ -39,7 +39,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -116,7 +116,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 2,
Expand Down Expand Up @@ -193,7 +193,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 2,
Expand Down Expand Up @@ -268,7 +268,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 2,
Expand Down Expand Up @@ -341,7 +341,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 2,
Expand Down Expand Up @@ -434,7 +434,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -540,7 +540,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -645,7 +645,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -756,7 +756,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -867,7 +867,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -959,7 +959,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 3,
Expand Down Expand Up @@ -1046,7 +1046,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 3,
Expand Down Expand Up @@ -1139,7 +1139,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 3,
Expand Down Expand Up @@ -1231,7 +1231,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1319,7 +1319,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1407,7 +1407,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1494,7 +1494,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1587,7 +1587,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1697,7 +1697,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1803,7 +1803,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -1909,7 +1909,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2015,7 +2015,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2121,7 +2121,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2226,7 +2226,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2337,7 +2337,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2448,7 +2448,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -2500,4 +2500,4 @@
}
}
]
}
}
Expand Up @@ -58,7 +58,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -159,7 +159,7 @@
"org_id": "1",
"orgc_id": "1",
"proposal_email_lock": false,
"publish_timestamp": "0",
"publish_timestamp": "1970-01-01T00:00:00.000Z",
"published": false,
"sharing_group_id": "0",
"threat_level_id": 1,
Expand Down Expand Up @@ -210,4 +210,4 @@
}
}
]
}
}

0 comments on commit 284f4d5

Please sign in to comment.