From 94d9b1c299b4d5848e419c9e65de90666b7df52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 20 Dec 2024 16:10:28 +0100 Subject: [PATCH 1/3] chg: Update objects templates --- pymisp/data/misp-objects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/data/misp-objects b/pymisp/data/misp-objects index a2e4bbc..d3a5c2c 160000 --- a/pymisp/data/misp-objects +++ b/pymisp/data/misp-objects @@ -1 +1 @@ -Subproject commit a2e4bbc9615ba0e1ddda3322dcc6c72d5a0e76e5 +Subproject commit d3a5c2c02d3f0daf1cf1b07ef1deeb937d4c2ec1 From aa46a80be45f02f98494f3fde8c8febf967e033b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 20 Dec 2024 16:36:18 +0100 Subject: [PATCH 2/3] chg; Bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 39fdeec..877c1f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pymisp" -version = "2.5.3" +version = "2.5.4" description = "Python API for MISP." authors = ["Raphaël Vinot "] license = "BSD-2-Clause" From 346bd954a787d31a83daae752b4294b4eee0c238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 20 Dec 2024 16:37:34 +0100 Subject: [PATCH 3/3] chg: Bump changelog --- CHANGELOG.txt | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b85b56d..9ceaa1e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,64 @@ Changelog ========= +v2.5.4 (2024-12-20) +------------------- + +Changes +~~~~~~~ +- Update objects templates. [Raphaël Vinot] +- Make python 3.9 happy. [Raphaël Vinot] +- Bump deps. [Raphaël Vinot] +- [AnalystData] Flattening analyst data based on the recent changes on + MISP standard format. [Christian Studer] + + - Adding a note or an opinion will always add the + new analyst data object to the list of notes or + opinions at the parent data layer level + - `from_dict` on a JSON blob is also able to parse + properly analyst data and generate flat lists + regardless of whether the given data described + in the new flat or previously nested format +- Bump deps. [Raphaël Vinot] +- Bump deps. [Raphaël Vinot] + +Fix +~~~ +- [tests] Removed typing. [Christian Studer] +- [MISPAnalystData] Added missing typing. [Christian Studer] +- [MISPAnalystData] Reverted the declaration of Analyst data objects + lists back to the mixin parent class. [Christian Studer] +- [MISPAnalystData] Better handling of the different use cases. + [Christian Studer] + + - Additional checks for parent to support both + the standalone and attached analyst data objects + - Standalone Analyst data objects with nested + notes or opinions are defined with the nesting + as they have no parent. When they are added to + a parent data layer, the nested objects are then + flattened +- [AnalystData] Typo... [Christian Studer] +- [AnalystData] Avoiding issues with analyst data objects. [Christian + Studer] + +Other +~~~~~ +- Chg; Bump version. [Raphaël Vinot] +- Revert "fix: [tests] Removed typing" [Christian Studer] + + This reverts commit a7cf9dc3f03ffda5ee6c1b614792455fe43d8704. +- Add: [tests] Testing Analyst Data in different scenarios. [Christian + Studer] + + - Testing different ways to attach analyst data + - Testing that no matter what object type the + analyst data is attached to, the `object_type` + & `object_uuid` are correct, and the parent + container does contain every analyst data object + in flat lists with no nesting + + v2.5.3 (2024-12-16) ------------------- @@ -26,6 +84,7 @@ New Changes ~~~~~~~ +- Bump changelog. [Raphaël Vinot] - Bump release. [Raphaël Vinot] - Bump deps. [Raphaël Vinot]