Commit Graph

1816 Commits (19059b9591a74a5790e355a65f659d5e7f3dddc5)

Author SHA1 Message Date
Koen Van Impe f063457261 Include date_from & date_to in subject and report content 2019-08-16 15:11:43 +02:00
Koen Van Impe c149886a88 Allow statistics date_from date_to
- date_from + date_to
- move misp object creation after argument parser
2019-08-16 14:55:59 +02:00
Raphaël Vinot 85643da9ae fix: Fallback to propose attribute update. 2019-08-16 11:44:32 +02:00
Raphaël Vinot f384d74049 chg: Improve test cases 2019-08-16 11:28:07 +02:00
Raphaël Vinot 4ccddeee9c Merge branch 'master' of github.com:MISP/PyMISP 2019-08-16 10:48:18 +02:00
Raphaël Vinot 2e84dd69fc chg: Update and improve live testing 2019-08-16 10:48:06 +02:00
Raphaël Vinot d3a4e1d1c8
Merge pull request #436 from cudeso/master
Allow to supply mail options as arguments on command line
2019-08-14 15:44:53 +02:00
Koen Van Impe 3d2930db12 Allow to supply mail options as arguments on command line 2019-08-14 08:46:11 +02:00
Raphaël Vinot 3ad3513800
Merge pull request #435 from 0xThiebaut/master
Fix stats_report example to use ExpandedPyMISP
2019-08-12 17:23:59 +02:00
Raphaël Vinot 2d37c68bd7 chg: Add tests cases for sync, bump describeTypes 2019-08-12 14:12:40 +02:00
Maxime Thiebaut e912b3ff93 Fix stats_report example to use ExpandedPyMISP
The stats_report example relied on deprecated functions making it crash.
This has been fixed by upgrading to ExpandedPyMISP. Further checks have
been introduced to ensure used dictionnary keys do exist as the example
also crashed on clean MISP instances due to empty responses.
2019-08-12 13:44:10 +02:00
Raphaël Vinot 29cc7142ff Merge branch 'master' of github.com:MISP/PyMISP 2019-08-09 17:59:06 +02:00
Raphaël Vinot 96576af02b new: Helpers & testcases for syncing 2019-08-09 17:58:55 +02:00
Raphaël Vinot b68c3fce6b
Merge pull request #434 from zaphodef/patch-1
chg: Return empty list instead of None
2019-08-08 15:15:12 +02:00
Pierre-Jean Grenier a2aa5646df
chg: Return empty list instead of None
In all cases but one, the 3rd returned object is a (potentially empty) list.
2019-08-08 14:35:51 +02:00
Raphaël Vinot 783b84899d new: Preliminaty setup for testing syncing 2019-08-07 18:22:28 +02:00
Raphaël Vinot 0cedf960e9 new: Add few tests for admin tasks 2019-08-07 18:21:46 +02:00
Raphaël Vinot 7a5945a5ce fix: Properly __repr__ MISPUser 2019-08-07 18:20:38 +02:00
Raphaël Vinot f9c8fb815e new: Update MISP, test sync server 2019-08-07 18:19:52 +02:00
Raphaël Vinot da6d7cbeb8 fix: move __not_jsonable *inside* the __init__
Turns out, if you modify a variable defined outside the __init__,
every instances (and inherited classes) of that class will be impacted by it.
2019-08-07 16:09:56 +02:00
Raphaël Vinot a3140f3773 new: Properly support attribute/add of multiple attributes (2.4.113+) 2019-08-06 16:50:09 +02:00
Raphaël Vinot 89a24d4923 chg: Some more code cleanup 2019-08-06 14:26:54 +02:00
Raphaël Vinot 5286462361 chg: Code cleanup 2019-08-06 14:23:32 +02:00
Raphaël Vinot e993886dd7 fix: Exception when posting multiple attributes on attributes/add
Fix #433

Few cleanups in code.
2019-08-06 14:14:28 +02:00
Raphaël Vinot 549e3a5a84 chg: Enable more tests 2019-08-05 16:53:32 +02:00
Raphaël Vinot 9b7d547f14 chg: #4891 was fixed. 2019-08-05 15:59:24 +02:00
Raphaël Vinot 277f9a6037 chg: Bump describeTypes 2019-08-05 11:34:59 +02:00
Raphaël Vinot 9da8268162 chg: Bump changelog 2019-08-03 00:55:28 +02:00
Raphaël Vinot d160edce57 fix: Inconsistency in MISPEvent, reenable tests 2019-08-03 00:54:08 +02:00
Raphaël Vinot 1a0688ef6f fix: Some test cases need more love. 2019-08-02 18:01:08 +02:00
Raphaël Vinot c837ec6840 chg: Bump Changelog 2019-08-02 17:10:36 +02:00
Raphaël Vinot 1ac62e8e4e chg: Bump version 2019-08-02 17:09:44 +02:00
Raphaël Vinot 66ccc7d082 new: [Search] Add a few new options in rest search 2019-08-02 17:08:25 +02:00
Raphaël Vinot edb17ab092
Merge pull request #431 from chrisr3d/master
add: New attribute type weakness
2019-08-02 09:39:49 +02:00
chrisr3d 0e024760d1
add: New attribute type weakness 2019-08-01 16:47:38 +02:00
Raphaël Vinot a3a6e3cfd5
Merge pull request #430 from paalbra/master
Fix missing f in f-string
2019-08-01 15:53:17 +02:00
Paal Braathen 8d302d3ea6 Fix missing f in f-string
Fixes: #429
2019-08-01 15:47:40 +02:00
Raphaël Vinot b1c79f939b chg: [tests] Few improvements 2019-08-01 15:10:48 +02:00
Raphaël Vinot 1b85f73d89 chg: [tests] Add new test cases 2019-08-01 13:19:21 +02:00
Raphaël Vinot 1f6c238370 Merge branch 'master' of github.com:MISP/PyMISP 2019-07-30 20:15:15 +02:00
Raphaël Vinot 9352062de3 fix: PyTaxonomies is not compatible with python<3.6 2019-07-30 20:14:50 +02:00
Raphaël Vinot c0eced64f9
Merge pull request #428 from GOVCERT-LU/fix_make_timestamp
Bug in _make_timestamp
2019-07-30 11:45:28 +02:00
Georges Toth 7cc72349c1 wrong variable 2019-07-30 01:13:08 +02:00
Raphaël Vinot 0198c87b3f Merge branch 'master' of github.com:MISP/PyMISP 2019-07-25 14:53:56 +02:00
Raphaël Vinot 0957399799 new: Allow to change the template on an object on-the-fly
Related: #425
2019-07-25 14:53:30 +02:00
Raphaël Vinot 4974a4dd62
Merge pull request #426 from kovacsbalu/fix-tag-examples
Fix tag examples
2019-07-25 10:38:23 +02:00
kovacsbalu f3cb8c89a6 Remove unused line 2019-07-25 08:08:17 +02:00
kovacsbalu 98610fbafc Fix tag help text
Minor pycodestyle
2019-07-25 07:55:25 +02:00
Raphaël Vinot d477a3688c chg: Rename relationship included-in -> includes 2019-07-24 13:57:36 +02:00
Raphaël Vinot 96f65b7d29 chg: Bump misp-objects 2019-07-24 09:32:12 +02:00