Commit Graph

43 Commits (bd2e862dae6c3d12d9a38539746bb6e998498452)

Author SHA1 Message Date
Christophe Vandeplas d374cb0218
fix: fix some sorting of Cluster, ClusterValue, ClusterValueMeta 2024-06-25 14:51:45 +02:00
Christophe Vandeplas 295d0d8bc3
fix: to_json sort_keys is required for consistent output 2024-06-25 13:12:57 +02:00
Christophe Vandeplas 92cc8e36d3
new: [Cluster, Galaxy] new has_changed function 2024-06-25 12:21:55 +02:00
Christophe Vandeplas 21e1966ce2
new: [ClusterValue] merge and Cluster.add() for merging 2024-06-24 13:10:23 +02:00
Raphaël Vinot 8df24c179d fix: Use type instead of name as unique identifier for the galaxies 2024-06-20 12:14:53 +02:00
Christophe Vandeplas 47ed9cb26f
chg: [Cluster] duplicates are CaSe InSenSiTiVe 2024-06-18 15:42:11 +02:00
Christophe Vandeplas 3827e3ed93
fix: [typing] fix typing 2024-06-18 15:03:10 +02:00
Christophe Vandeplas 1ab1976343
chg: [Galaxy, Cluster]: load, save, get_kill_chain_tactics 2024-06-18 14:32:09 +02:00
Christophe Vandeplas 9d5c6a1b5d
fix: fix overloaded function 2024-06-18 11:01:58 +02:00
Christophe Vandeplas b5de7b54d4
chg: [Cluster] add(cv: ClusterValue) 2024-06-18 10:36:15 +02:00
Christophe Vandeplas 8c2f69dbfd
new: [Cluster] load cluster from existing cluster 2024-06-18 10:16:00 +02:00
Christophe Vandeplas 104cb81239
new: [Cluster] new get_by_external_id function + docstrings 2024-06-18 09:32:14 +02:00
Christophe Vandeplas c6741af1af
fix: [linting] make linting happy 2024-06-18 07:44:47 +02:00
Raphaël Vinot e9cf3b2ba0 chg: Bump deps, galaxies 2021-12-28 17:20:59 +01:00
Christian Keil f4d3209f0a Switch Literal import based on Python version. 2021-11-05 11:04:28 +01:00
Christian Keil a5edb31f2b Adds overloaded signatures for Cluster.search. Fixes #4 2021-11-05 10:30:45 +01:00
Raphaël Vinot f9f8a7bdf3 chg: Bump deps, data, typing 2021-05-13 11:43:37 -07:00
Raphaël Vinot c54addbb1e fix: Use collections.abc instead of collections 2020-02-20 14:10:36 +01:00
Raphaël Vinot cb664fa93d chg: Bump misp-galaxy, add typing, poetry 2020-02-17 21:38:12 +01:00
Raphaël Vinot 4638a1558d chg: Update API, bump misp-galaxy 2019-03-09 06:31:03 +01:00
Raphaël Vinot 75b03b32ce chg: Add new value 2019-01-22 16:14:55 +01:00
Christophe Vandeplas 885a28ee79 chg: python3 2018-10-19 13:24:16 +02:00
Raphaël Vinot 98ab8ddbc3 new: Improve search 2018-07-06 15:28:53 +02:00
Raphaël Vinot 9d71c04cf3 fix: Add support for namespaces in Galaxies 2018-05-23 14:24:05 +02:00
Raphaël Vinot 14fadcb3c4 fix: Add support for uuid 2018-04-05 11:36:24 +02:00
Raphaël Vinot 2bfcb0b226 chg: update script to locate the duplicate more easily 2018-03-22 16:07:07 +01:00
Raphaël Vinot d76c6082ab chg: allow to pass a list of galaxies as parameter 2018-02-23 13:46:48 +01:00
Raphaël Vinot 4e15ac5d79 chg: Add to_json helpers 2017-11-01 11:26:45 -07:00
Raphaël Vinot 12f5302eb3 Properly use the JSONEncoders 2017-11-01 11:20:09 -07:00
Raphaël Vinot 0460cc20c8 Add support for icon key in galaxies 2017-10-09 16:57:25 +02:00
Raphaël Vinot b4ba8dcf84 Add test for UnableToRevertMachinetag 2017-07-26 17:06:44 +02:00
Raphaël Vinot d146ebba88 Add test for length, more cleanup 2017-07-26 17:01:26 +02:00
Raphaël Vinot 51c524b0c9 Use dict properly 2017-07-26 16:37:13 +02:00
Raphaël Vinot 20b524652d Cleanup 2017-07-26 16:11:46 +02:00
Raphaël Vinot 1d1bf4f0ec Fix revert_machinetag, add test 2017-07-26 15:52:39 +02:00
Raphaël Vinot 80ab84f86f Fix search, add test 2017-07-26 15:29:57 +02:00
Raphaël Vinot a81e0c8653 Fix tests and API. 2017-07-26 15:12:35 +02:00
Raphaël Vinot 4805e84c8b Make Cluster a Mapping, add search methods 2017-07-26 15:03:43 +02:00
Raphaël Vinot 970b184cde Proper exceptions, improve print 2017-07-25 20:27:58 +02:00
Raphaël Vinot 27a2f8e7d9 Add revert machine tag method 2017-07-25 18:57:18 +02:00
Raphaël Vinot 2cf0fc2d30 Generate machinetags 2017-07-25 18:43:49 +02:00
Raphaël Vinot 9b8a387ab4 Add JSONEncoder 2017-07-25 18:21:23 +02:00
Raphaël Vinot 2c1c2bb502 Initial commit 2017-07-25 18:09:07 +02:00