Raphaël Vinot
95e31bd2e3
chg: Add comment for controller attribute in search
2021-04-06 20:05:10 +02:00
Raphaël Vinot
f0b2a2b943
fix bump version, deps, templates
2021-04-02 16:35:22 +02:00
Raphaël Vinot
5cc994e253
chg: get_uuid_or_id_from_abstract_misp accepts dict
2021-03-30 14:31:31 +02:00
Raphaël Vinot
c68ee576b3
fix: use get_uuid_or_id_from_abstract_misp in tag methods
...
Fix #725
2021-03-30 14:23:32 +02:00
Raphaël Vinot
51edb8ab33
chg: Remove references to ExpandedPyMISP
...
Fix #721
2021-03-16 18:32:50 +01:00
Raphaël Vinot
00ba313eae
chg: Follow best practices and remove the logging handler.
...
Fixes : #717
Reference: https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library
Documentation: https://docs.python.org/3/howto/logging.html
2021-03-16 18:28:04 +01:00
Raphaël Vinot
3252361b3c
fix: Skip nameless sections in ELF
...
Related: #678
2021-03-16 17:56:06 +01:00
Raphaël Vinot
31608b1480
chg: strip NULL string from value
...
https://github.com/MISP/PyMISP/issues/678
2021-03-15 14:09:50 +01:00
Raphaël Vinot
aee6945e95
fix: enable taxonomy failed if global pythonify is on
2021-03-09 16:35:00 +01:00
Raphaël Vinot
2734224958
chg: Raise exception on missing template in CSVLoader
...
Related: #714
2021-03-05 19:33:27 +01:00
Raphaël Vinot
b5b2f7015b
chg: Bump templates
2021-03-05 18:18:03 +01:00
Raphaël Vinot
2397732b03
chg: re-bump objects
2021-03-05 15:59:23 +01:00
Raphaël Vinot
100eeec77a
chg: Bump object templates
2021-03-05 15:51:04 +01:00
Raphaël Vinot
a0bda8736a
chg: Add test case, fix mypy
2021-03-05 12:11:00 +01:00
Raphaël Vinot
59946a6a6d
chg: take simple_value as value in MISPObject.add_attribute
2021-03-05 11:58:58 +01:00
Raphaël Vinot
bbd341539a
fix: properly pass content-type
2021-03-05 11:42:24 +01:00
Raphaël Vinot
0697f1470b
fix: Re-enable support for uploading STIX 1 documents
...
Fix #711
2021-03-04 12:35:52 +01:00
Raphaël Vinot
36369f779a
chg: Bump version
2021-03-03 10:39:21 +01:00
Alexandre Dulaunoy
3c141e1fdb
Merge branch 'main' of github.com:MISP/PyMISP into main
2021-03-03 09:46:53 +01:00
Alexandre Dulaunoy
4b3e93089f
chg: [describetypes] updated
2021-03-03 09:46:27 +01:00
Raphaël Vinot
fe87d4293b
chg: Bump object templates
2021-03-03 09:44:09 +01:00
Raphaël Vinot
4a2367ec96
fix: Make mypy happy in python 3.6 and 3.7
2021-03-02 12:37:35 +01:00
Raphaël Vinot
9f7282e8f4
fix: cosmetic changes, fix mypy
2021-03-02 12:21:59 +01:00
Raphaël Vinot
d3bdb46587
chg: Bump objects templates
2021-03-02 12:21:17 +01:00
Raphaël Vinot
3067b818ff
Merge branch 'tomking2-feature/misp-galaxy-2' into main
2021-03-02 11:50:43 +01:00
Raphaël Vinot
8137389452
chg: Bump tests for galaxy cluster
2021-03-02 11:49:31 +01:00
Raphaël Vinot
94ce4a367b
chg: Remove legacy stix converter.
2021-03-01 15:10:56 +01:00
Raphaël Vinot
1533da3558
chg: Improve Pydoc on search method's timestamp parameter
...
Fix #708
2021-02-27 14:53:15 +01:00
Raphaël Vinot
2e05a1b24f
new: soft delete object in MISPEvent
...
Fix #706
2021-02-27 14:53:15 +01:00
Raphaël Vinot
28fed5c778
fix: support text search again
...
Fix #705
2021-02-27 14:53:15 +01:00
Alexandre Dulaunoy
125961a670
chg: [data] describeTypes updated
2021-02-27 14:53:15 +01:00
Raphaël Vinot
e183dbc577
fix: Do not add the serial-number twice.
...
Related: #678
2021-02-27 14:53:15 +01:00
Raphaël Vinot
b9f7bd9dc1
chg: Add deprecation warning for Python < 3.8
2021-02-27 14:53:15 +01:00
Raphaël Vinot
1b675bb512
fix: Skip PE section if name is none AND size is 0.
...
Related: #678
2021-02-27 14:53:15 +01:00
Raphaël Vinot
59bb0a7bb6
fix: urllib3.__version__ may not have a patch number
...
fix https://github.com/MISP/PyMISP/issues/698
2021-02-27 14:53:15 +01:00
Raphaël Vinot
d71b0945e2
chg: Improve Pydoc on search method's timestamp parameter
...
Fix #708
2021-02-26 17:57:39 +01:00
Raphaël Vinot
d01c17abf8
new: soft delete object in MISPEvent
...
Fix #706
2021-02-26 17:55:13 +01:00
Raphaël Vinot
cdcbe9bf32
fix: support text search again
...
Fix #705
2021-02-26 17:13:20 +01:00
Alexandre Dulaunoy
2ceb38c741
chg: [data] describeTypes updated
2021-02-20 17:28:50 +01:00
Raphaël Vinot
d0a050263e
fix: Do not add the serial-number twice.
...
Related: #678
2021-02-16 18:34:58 +01:00
Raphaël Vinot
3d3e9abc1d
chg: Add deprecation warning for Python < 3.8
2021-02-15 16:12:44 +01:00
Raphaël Vinot
4730452ce0
fix: Skip PE section if name is none AND size is 0.
...
Related: #678
2021-02-15 16:11:18 +01:00
Raphaël Vinot
e52263b75a
fix: urllib3.__version__ may not have a patch number
...
fix https://github.com/MISP/PyMISP/issues/698
2021-02-15 12:00:10 +01:00
Tom King
5445479960
chg: Don't parse the meta key into cluster elements on a MISPEvent, but allow users to manually perform this action
2021-02-08 11:52:08 +00:00
Tom King
a94b81ae72
Merge remote-tracking branch 'upstream/main' into feature/misp-galaxy-2
2021-02-08 11:50:38 +00:00
Raphaël Vinot
37449226f9
chg: Bump version
2021-02-08 11:59:49 +01:00
Raphaël Vinot
3125af9065
chg: Bump version
2021-02-04 19:42:24 +01:00
Raphaël Vinot
39d7f0e57a
chg: Bump objects
2021-02-04 19:41:44 +01:00
Raphaël Vinot
6c9234846f
chg: add kw_params to tags
2021-02-04 19:41:26 +01:00
Raphaël Vinot
9e2b748b02
chg: Bump objects
2021-02-02 15:26:08 +01:00
Raphaël Vinot
f675e20961
chg: Bump version
2021-02-02 11:43:47 +01:00
Raphaël Vinot
c91033eb8d
chg: Bump objects
2021-02-02 11:40:01 +01:00
Raphaël Vinot
05bb34623f
chg: Bump version
2021-02-01 14:25:57 +01:00
Raphaël Vinot
4cf1e9afc3
fix: flake error
2021-02-01 14:16:55 +01:00
Raphaël Vinot
7e4c15ee4d
chg: Make mypy happy
2021-02-01 13:45:53 +01:00
Raphaël Vinot
3494e38987
chg: Make clear that to_json returns str
2021-02-01 13:43:39 +01:00
Raphaël Vinot
f6b943cb9a
chg: Disable correlation on malware-sample for FileObject
2021-02-01 13:43:39 +01:00
Raphaël Vinot
c59f18606c
chg: Bump objects templates
2021-02-01 13:43:39 +01:00
Tom King
6d11164acf
chg: Add in delete function for a MISP Object
2021-02-01 13:43:39 +01:00
Raphaël Vinot
c5218c1ce2
chg: Fix return of delete_event_report
2021-02-01 13:43:24 +01:00
Raphaël Vinot
78402394e5
chg: Remove critical warning if lief is not installed
...
Fix https://github.com/MISP/MISP/issues/6908
2021-02-01 13:43:01 +01:00
Raphaël Vinot
47382d01c0
fix: Better warning if lief is outdated.
2021-02-01 13:43:01 +01:00
Tom King
a8169a42c0
chg: Allow response of delete to be pythonify, add in nosetest
2021-02-01 13:23:19 +01:00
Tom King
c949c09225
chg: Add ability to get event reports from the Event ID
2021-02-01 13:23:19 +01:00
Tom King
7e7f463d77
fix: Call the AbstractMISP.from_dict at the end of the function to ensure the edited flag remains false
2021-02-01 13:23:19 +01:00
Tom King
f71c250402
new: Add in ability to create/update/delete MISP Event Reports
2021-02-01 13:21:03 +01:00
Raphaël Vinot
fa4fdb13f7
new: hard delete flag for objects
...
Related: https://github.com/MISP/PyMISP/issues/666
2021-02-01 13:21:03 +01:00
Raphaël Vinot
25053b2286
chg: Remove critical warning if lief is not installed
...
Fix https://github.com/MISP/MISP/issues/6908
2021-02-01 13:21:03 +01:00
Raphaël Vinot
48d8165263
chg: Bump version
2021-02-01 13:21:03 +01:00
Raphaël Vinot
696a13e3fc
fix: Better warning if lief is outdated.
2021-02-01 13:21:03 +01:00
Raphaël Vinot
5886a29351
new: Fail if a duplicate object is added to an event.
2021-02-01 13:21:03 +01:00
Raphaël Vinot
644492ace1
chg: Improve docstring for get_event
...
fix #686
2021-02-01 13:21:03 +01:00
Raphaël Vinot
fc43d7ba60
chg: Bump version
2021-02-01 13:21:03 +01:00
Raphaël Vinot
ae1bdda67c
chg: Show size when the json is not loadable.
2021-02-01 13:21:03 +01:00
Raphaël Vinot
5bdaf47175
chg: Use lief 0.11.0, generate authenticode entries
2021-02-01 13:21:03 +01:00
Raphaël Vinot
a619fdfeca
chg: Bump objects
2021-02-01 13:21:03 +01:00
Raphaël Vinot
d29a28ba6e
chg: Bump deps, objects templates
2021-02-01 13:21:03 +01:00
Tom King
7d4cfc40b7
chg: Add in nosetests for MISP Galaxy functions, check default key as a dict attribute not MISPAbstract attribute
2021-01-30 15:34:29 +00:00
Tom King
96636639c4
chg: Add in more Galaxy 2.0 functions and code cleanup
2021-01-30 13:56:40 +00:00
Tom King
eb28f01f01
Merge remote-tracking branch 'upstream/main' into feature/misp-galaxy-2
2021-01-29 10:56:27 +00:00
Raphaël Vinot
03ebbbedce
chg: Fix return of delete_event_report
2021-01-28 14:48:23 +01:00
Raphaël Vinot
86a5d3acc7
new: hard delete flag for objects
...
Related: https://github.com/MISP/PyMISP/issues/666
2021-01-28 14:45:36 +01:00
Raphaël Vinot
281a7f0d23
chg: Remove critical warning if lief is not installed
...
Fix https://github.com/MISP/MISP/issues/6908
2021-01-28 14:45:36 +01:00
Raphaël Vinot
d7b80decf7
chg: Bump version
2021-01-28 14:45:36 +01:00
Raphaël Vinot
cff25c7f57
fix: Better warning if lief is outdated.
2021-01-28 14:45:36 +01:00
Raphaël Vinot
e916b332f8
new: Fail if a duplicate object is added to an event.
2021-01-28 14:45:36 +01:00
Raphaël Vinot
d21e43bc59
chg: Improve docstring for get_event
...
fix #686
2021-01-28 14:45:36 +01:00
Raphaël Vinot
c67da842d3
chg: Bump version
2021-01-28 14:45:36 +01:00
Raphaël Vinot
6f0c942800
chg: Show size when the json is not loadable.
2021-01-28 14:45:36 +01:00
Raphaël Vinot
8c09a5bbc9
chg: Use lief 0.11.0, generate authenticode entries
2021-01-28 14:45:36 +01:00
Raphaël Vinot
c195b7cc61
chg: Bump objects
2021-01-28 14:45:36 +01:00
Raphaël Vinot
961fb77de1
chg: Bump deps, objects templates
2021-01-28 14:45:36 +01:00
Tom King
cc102675bb
chg: Add in add_cluster function and ability to search clusters within a galaxy
2021-01-25 13:18:12 +00:00
Tom King
cff7e7b285
new: Add in ability to add a new cluster relation
2021-01-16 16:11:41 +00:00
Tom King
164791e980
new: MISP Galaxy 2.0 capability
2021-01-16 15:56:30 +00:00
Jakub Onderka
361d8d0944
new: Support brotli compression
2021-01-15 20:19:19 +01:00
Tom King
07f00a68f1
chg: Allow response of delete to be pythonify, add in nosetest
2021-01-15 15:26:41 +00:00
Tom King
120f3917e3
chg: Add ability to get event reports from the Event ID
2021-01-15 09:42:08 +00:00
Tom King
e6cb4ff9ee
fix: Call the AbstractMISP.from_dict at the end of the function to ensure the edited flag remains false
2021-01-14 18:58:35 +00:00
Tom King
12c29e6a06
new: Add in ability to create/update/delete MISP Event Reports
2021-01-14 16:45:25 +00:00
Raphaël Vinot
de6125a623
fix: Do not fail if extract_msg is missing
2021-01-11 14:57:22 +01:00
Raphaël Vinot
fa95c9d84f
fix: Properly decode the body depending on the encoding of the email
...
Fix #671
2021-01-11 14:15:34 +01:00
Raphaël Vinot
c50bbd5d1c
chg: Add controller argument to get_csv script
2021-01-11 11:49:12 +01:00
seamus tuohy
87c02da0d7
Updated emailobject.
...
Email object no longer requires extra php libraries for install.
Tests have been expanded to improve coverage.
RTF encapsulated HTML and Plain Text will now be de-encapsulated.
The raw MSG binary will now be included in the extracted email object.
2020-12-28 13:47:21 -05:00
Alexandre Dulaunoy
b9df83a384
chg: [misp-objects] updated
2020-12-24 12:01:29 +01:00
Alexandre Dulaunoy
f72c2d2ff9
chg: [type] favicon-mmh3 is the murmur3 hash of a favicon as used in Shodan.
2020-12-24 12:00:17 +01:00
Alexandre Dulaunoy
a46feebb32
chg: [misp-objects] updated to the latest version
2020-12-20 11:05:14 +01:00
Raphaël Vinot
649e068fd8
chg: clarify misp_objects_template_custom
2020-12-01 14:32:03 +01:00
Raphaël Vinot
3375c9d519
chg: Add docstring for misp_objects_template_custom
2020-12-01 14:14:21 +01:00
Raphaël Vinot
2c5f5b8662
Merge pull request #665 from nighttardis/main
...
adding check if "from" is in the "received" header row
2020-12-01 14:11:03 +01:00
Raphaël Vinot
0d86a4339f
new: Allow to pass an object template to MISPObject.__init__
...
MISPObject part of #6670
2020-12-01 14:01:32 +01:00
nighttardis
2a4b215026
adding check if "from" is in the "received" header row
2020-11-30 18:45:53 -06:00
Raphaël Vinot
babb04cbc2
chg: Improve documentation of MISPAttribute.malware_binary
2020-11-30 09:53:49 +01:00
Raphaël Vinot
c8cb3bb589
chg: remove trailing space
2020-11-28 11:28:22 +01:00
Raphaël Vinot
201eeeb729
Update mispevent.py
2020-11-28 02:06:48 +01:00
Raphaël Vinot
fe91e10ced
chg: on-demand decryption of malware-binary, speeds up pythonify.
2020-11-26 13:31:10 +01:00
Raphaël Vinot
4c2ee4fd2f
fix: Properly match IO in load event
2020-11-25 13:34:13 +01:00
Raphaël Vinot
f254e15bd4
fix: Typing on recent mypy
2020-11-25 13:19:19 +01:00
Raphaël Vinot
3e1cfc1461
fix: Typing edge case
2020-11-25 09:23:33 +01:00
Raphaël Vinot
ded44278af
fix: Add attribute dict as proposal
2020-11-24 20:03:01 +01:00
Raphaël Vinot
ad40915a79
chg: Bump version
2020-11-24 15:03:13 +01:00
Raphaël Vinot
9046b08a3c
fix: Do not fail on PyMISP import when mail-parser is not present
2020-11-24 14:56:29 +01:00
Raphaël Vinot
7b2e78246a
chg: Improve typing
2020-11-24 14:40:00 +01:00
Raphaël Vinot
35860b49bd
chg: Improve add_attribute with a list
...
Related: #655
2020-11-24 13:50:14 +01:00
Raphaël Vinot
346f8d4b03
chg: Bump version
2020-11-24 12:39:05 +01:00
Alexandre Dulaunoy
39d471b58d
chg: [type] process-state added
2020-11-24 12:22:37 +01:00
Raphaël Vinot
71fe62b466
fix: Make mail-parser really optional
2020-11-24 12:18:35 +01:00
Alexandre Dulaunoy
0a08925a1a
chg: [misp-objects] updated
2020-11-24 11:57:16 +01:00
Alexandre Dulaunoy
f3a408ce11
chg: [types] jarm-fingerprint added
2020-11-24 11:28:02 +01:00
Raphaël Vinot
80e13df3fa
chg: Bump version, travis install
2020-11-24 11:17:23 +01:00
Raphaël Vinot
9fed66eb2b
chg: Make mail-parser an optional dependency
2020-11-24 11:17:23 +01:00
Raphaël Vinot
5b0d42d6b2
chg: Bump version
2020-11-23 10:05:32 +01:00
Raphaël Vinot
75a7774887
chg: Improve documentation of search_index
...
Related: #656
2020-11-19 11:48:18 +01:00
Raphaël Vinot
b55370cdad
chg: Improve error handling for Outlook emails
...
Related: #631
2020-11-19 11:38:35 +01:00
Raphaël Vinot
ac9b117f36
Merge pull request #631 from JakubOnderka/emailobject-tool-upgrade
...
Emailobject tool upgrade
2020-11-19 10:46:42 +01:00
Raphaël Vinot
02eff91c1e
chg: Bump object templates
2020-11-18 00:24:23 +01:00
Raphaël Vinot
ef845926b1
chg: Do not split a string into a list in complex query builder
...
fix #597
2020-11-17 14:39:58 +01:00
Jakub Onderka
2d4debe23c
fix: Path for event creating and editing
2020-11-16 17:22:10 +01:00
Raphaël Vinot
3b130bd973
fix: object_uuid could be None
...
Fix #640
2020-11-10 12:04:45 +01:00
Raphaël Vinot
b646f0c5da
Merge pull request #651 from JakubOnderka/new-api
...
New API
2020-11-09 10:53:34 +01:00
Jakub Onderka
6c1f476bdd
new: Method to check attribute and object existence
2020-11-07 10:17:16 +01:00
Raphaël Vinot
0d8467920f
fix: Missing f-string marker
2020-11-06 11:01:08 +01:00
Raphaël Vinot
70de680912
chg: Use REST search for the tags
...
Related to comments on a1326f2cf2
2020-11-05 16:51:58 +01:00
Raphaël Vinot
bdcc19c5fb
chg: Add typing meta
2020-11-03 13:30:50 +01:00
Remy Dewailly
be2b8b4ce7
We can now upload stix object directly. File is not necessary.
2020-11-03 13:17:16 +01:00
Remy Dewailly
115bc59425
We can now upload stix object directly. File is not necessary.
2020-11-03 13:13:32 +01:00
Jakub Onderka
5e4dd2b974
new: Allow to get just event metadata after add_event and edit_event
2020-11-03 12:10:38 +01:00
Jakub Onderka
495af1fd9c
new: Method to check event existence
2020-11-03 12:10:37 +01:00
Raphaël Vinot
7e84c36406
fix: Docstring improvment based on @chrisinmtown's feedback
2020-11-02 14:48:51 +01:00
Raphaël Vinot
a1326f2cf2
new: Add method to search for tags.
...
fix #648
2020-11-02 12:47:56 +01:00