Commit Graph

329 Commits (wip_analystdata)

Author SHA1 Message Date
Raphaël Vinot 2cf5d99dc8 chg: A bit more refactoring 2024-05-06 16:39:07 +02:00
Raphaël Vinot 94a48a6fdd fix: Properly load AnalystData from dict 2024-05-06 15:24:04 +02:00
Raphaël Vinot 10ca6f191a fix: more changes to get the tests to pass 2024-05-06 14:40:25 +02:00
Raphaël Vinot 902ed5a92c chg: use from_dict in the mixin to initialize the objects 2024-05-06 12:19:04 +02:00
Sami Mokaddem 56be46320e
chg: [analyst-data] Added improvements, API endpoints and tests 2024-05-03 15:48:03 +02:00
Sami Mokaddem d03cea7a67
fix: [event-report] Make sure to generate an UUID 2024-04-29 15:08:47 +02:00
Sami Mokaddem f043718a76
Merge branch 'feature/analyst-data' into wip_analystdata 2024-04-29 14:40:35 +02:00
Sami Mokaddem 807c59cc05
chg: [analyst-data] Make sure to include note_type_name 2024-04-29 14:39:09 +02:00
Raphaël Vinot 40e7e4fa0b fix: pass kwargs to abstract 2024-04-29 14:05:57 +02:00
Raphaël Vinot ea8351df71 chg: Make mypy happy, change inheritance 2024-04-29 13:50:24 +02:00
Sami Mokaddem 34f22aa30d
chg: [analyst-data] Continued implementation of analyst-data support 2024-04-26 10:59:25 +02:00
Sami Mokaddem 0a0f0f2059
new: [analyst-data] Added initial support of analyst data concept and functions - WiP 2024-04-23 09:24:44 +02:00
Raphaël Vinot b5b4a5ef52 fix: More fixes to support responses from MISP 2024-02-01 17:24:24 +01:00
Raphaël Vinot 1da0d5adc1 chg: Add more strict typing, not done yet. 2024-02-01 14:40:12 +01:00
Raphaël Vinot 298e2f9035 chg: First batch of changes for strict typing 2024-01-30 12:51:23 +01:00
Raphaël Vinot 0562c63cec chg: Initial changes to use new annotations 2024-01-17 13:28:51 +01:00
Raphaël Vinot 1d24c1b3ce chg: make the publish_timestamp a string, as per specs 2024-01-09 12:40:09 +01:00
Jakub Onderka fca0b233cd new: [internal] Add support for orjson
orjson is much faster library for decoding and encoding JSON formats
2024-01-07 18:34:20 +01:00
Raphaël Vinot 6f6784ba88 chg: remove jsonschema from dependencies 2024-01-04 13:37:24 +01:00
Raphaël Vinot c921017cf7 fix: Avoid exception when the malware file name contains a "|" 2023-11-29 12:35:24 +01:00
Sura De Silva 10f4d30960 feat: introduce setter for galaxies 2023-07-03 12:57:52 +10:00
Raphaël Vinot bf541167fd chg: Include event reports by default in feed 2023-03-17 15:31:20 +01:00
UFOSmuggler 15e6bc2c18 Rename include_event_reports kwarg to with_event_reports, in-line with other kwarg naming 2023-03-15 13:32:45 +11:00
UFOSmuggler 80f242bbea Add kwarg to allow the inclusion of event reports into to_feed(), honour with_distribution and valid_distributions kwargs 2023-03-15 13:27:59 +11:00
Raphaël Vinot 1fb274821f chg: Re-order classes 2022-12-01 12:06:57 +01:00
Christian Studer 75a100a485
add: Added the `Galaxy` field to MISPAttribute using the MISPGalaxy class
- Including an `add_galaxy` method similar to the
  one used for events
- `attribute.galaxies` gives the list of attached
  galaxy clusters
2022-12-01 10:05:38 +01:00
Raphaël Vinot 2de22871d1 new: Basic support for listing, enabling and disabling decaying models 2022-11-22 14:48:23 +01:00
Raphaël Vinot fd05292d7c chg: Bump mypy 2022-11-09 13:29:06 +01:00
Raphaël Vinot 3ca8717e6c chg: Improve documentation for add_attribute 2022-08-10 10:48:07 +02:00
Raphaël Vinot 3ceba3feb1 fix: Mark all attributes in a soft deleted object as soft deleted too.
Bump misp-objects, deps.
2022-08-03 11:10:35 +02:00
Raphaël Vinot b85444a7ad chg: Improve warning on invalid template, bump deps 2022-07-28 15:10:42 +02:00
Christophe Vandeplas 4ddabe75b5 fig: [feed] fixes bugs during export with old data 2022-06-20 14:18:49 +02:00
Christophe Vandeplas 8b34993480 fix: [feed] fixes bug when template_uuid does not exist 2022-06-15 07:18:18 +02:00
Alexandre Dulaunoy cdf2ee08c1
chg: [FIPS] no clean way to support OpenSSL hashlib interface for FIPS 2022-01-27 15:56:16 +01:00
Alexandre Dulaunoy 14bf1f8189
chg: [FIPS] falling back on older version of Python not having usedforsecurity 2022-01-27 15:47:37 +01:00
Alexandre Dulaunoy 1efc735fb3
fix: [mispevent] cannot type 2022-01-27 15:34:18 +01:00
Alexandre Dulaunoy 6e018a4582
chg: [FIPS] in some cases, the `usedforsecurity` is not used. So fail if
the FIPS compliance is required and then the `usedforsecurity` is
disabled
2022-01-27 15:29:15 +01:00
Alexandre Dulaunoy 02bc129341
chg: [feeds] FIPS: when MD5 hashes are generated for fast-lookup it's not for security.
hashlib provides an option to tell if the hash is used for security or
not. By default, it's set to True. For the feed cache generation, it's
not. Then usedforsecurity=False

Ref: https://csrc.nist.gov/csrc/media/publications/fips/140/2/final/documents/fips1402annexa.pdf
2022-01-27 15:20:57 +01:00
deku c8d633f15b Add feed option for local tag exclusion #817 2022-01-19 21:30:30 +00:00
Raphaël Vinot bc37a03174 fix: Update live tests to support proper format of SGs 2021-11-30 11:41:53 +01:00
Christophe Vandeplas afedd8d90b fix: [sharinggroups] Fixes wrong model for SharingGroupOrg 2021-11-30 10:43:44 +01:00
Christophe Vandeplas 38105f68b0 fix: [feed-generator] code style fixes 2021-11-29 16:35:12 +01:00
Christophe Vandeplas dd5b448760 fix: [feed-generator] keeping function compatibility 2021-11-29 16:26:57 +01:00
Christophe Vandeplas a9970d3078 chg: [feed-generator] support for distribution and sharing groups 2021-11-29 15:54:34 +01:00
Tom King a56e344a21 fix: Fix final nosetest 2021-10-04 11:56:13 +01:00
Tom King c120db02b8 chg: Improve sharing groups, bring back organsations included and ability to get specific SG 2021-10-04 11:41:36 +01:00
Raphaël Vinot 0bdfb3892d chg: Bump live tests 2021-09-07 14:26:22 +02:00
Jakub Onderka 7ccf4c15d2 chg: Do not load schema for event when not necessary 2021-08-05 11:10:33 +02:00
Jakub Onderka 270d16cd4c new: `to_dict` method supports `json_format` parameter 2021-06-29 13:28:24 +02:00
Raphaël Vinot 286712d0e1 fix: first-seen and last-seen on attributes and objects were not checked for sanity 2021-05-11 07:28:54 -07:00