Raphaël Vinot
c39328f30a
fix: Do not modify default_attributes_parameters in MISPObject
2020-09-15 17:01:56 +02:00
Lott, Christopher (cl778h)
f1de0fb794
chg: add docstrings and extend conf.py for RTD
...
Add minimal docstrings to public methods so ReadTheDocs will display them.
Add autodoc mock import for lief so RTD can generate HTML for tools.
This fixes issue #626
2020-09-15 10:40:21 -04:00
Raphaël Vinot
50e5f156bd
chg: Improve error message, add comments, rename whitelist->allowedlist
2020-09-15 12:31:22 +02:00
Raphaël Vinot
918f841087
chg: Rename blacklist -> blocklist
2020-09-01 19:29:12 +02:00
Raphaël Vinot
be8c94e6e7
chg: Cleanup blocklist methods
2020-08-04 12:20:21 +02:00
Raphaël Vinot
2bbf888ca7
new: Blacklist methods
2020-08-03 15:59:54 +02:00
Paal Braathen
ff62f1c19c
Linting/Add missing whitespace
2020-07-28 20:05:42 +02:00
louis
67d2e47b3b
chg: Make MISPObject standalone by default
...
standalone defaults to True in MISPObject.__init__, and is set to False
when the object is added to an event.
2020-06-30 12:36:19 +02:00
louis
86f758e5b4
new: Add MISPObject.standalone property
...
Setting MISPObject.standalone updates MISPObject._standalone and
add/removes "ObjectReference" from AbstractMISP.__not_jsonable using
update_not_jsonable/_remove_from_not_jsonable.
2020-06-29 18:55:07 +02:00
louis
aa1c95f344
chg: Add MISPObject._standalone type
2020-06-29 18:38:27 +02:00
Raphaël Vinot
578801e50d
fix: Keep deleted key in MISPObject and MISPObjectAttribute
2020-06-19 14:12:03 +02:00
Raphaël Vinot
1e9eed198e
fix: Do not fail if the attribute value is not a string
2020-05-29 01:23:34 +02:00
Raphaël Vinot
74a5d04bda
fix: Properly strip value in MISPObject.add_attribute, take 2
...
Fix #546
2020-05-29 01:02:02 +02:00
Raphaël Vinot
524aa13641
fix: Properly strip value in MISPObject.add_attribute
...
Fix #546
2020-05-29 00:56:32 +02:00
Raphaël Vinot
526321c8b4
new: Add deleted in field export
...
Fix #586
2020-05-26 10:56:46 +02:00
Raphaël Vinot
7178d3a8a0
fix: settings is not required in MISPFeed
2020-05-15 11:44:13 +02:00
Raphaël Vinot
18c1460376
chg: Simplify delete_attribute
2020-05-14 12:43:10 +02:00
Raphaël Vinot
14d278fff2
fix: Properly load feeds, fix undefined variable
2020-05-12 11:24:47 +02:00
Raphaël Vinot
4a060b3c07
new: Self registration, object level search (initial)
2020-05-07 12:17:31 +02:00
Raphaël Vinot
029aa8df79
chg: Bump objects, deps
2020-04-30 10:20:21 +02:00
Raphaël Vinot
2a9c79a1e9
fix: Incorrect expectation of attribute value to be a str - take 2
...
Related #553
2020-03-13 12:02:11 +01:00
Raphaël Vinot
8cf3887d54
fix: Incorrect expectation of attribute value to be a str
...
Fix #553
2020-03-13 11:02:51 +01:00
Raphaël Vinot
8d6e69ce65
fix: mypy, more typing
2020-02-24 17:09:42 +01:00
Raphaël Vinot
94c2a644af
fix: do not skip data in add_attribute methods
2020-02-24 14:13:10 +01:00
Raphaël Vinot
35377399e8
new: Add uuid by default in MISPEvent, add F/L seen in feed output.
2020-02-21 14:12:36 +01:00
Raphaël Vinot
732908a1d3
fix: Remove debugging
2020-02-05 17:29:40 +01:00
Raphaël Vinot
a1e96731b2
Merge branch 'master' of github.com:MISP/PyMISP
2020-02-05 13:11:56 +01:00
Raphaël Vinot
fe80924d60
chg: str to int, properly load SharingGroup
...
Fix #535
2020-02-05 13:08:17 +01:00
mokaddem
52774769ac
fix: [*-seen] Consider that `-` can also be in the date component while
...
parsing
2020-01-31 12:26:50 +01:00
Raphaël Vinot
98e1feefa1
fix: Syntax and typos
2020-01-28 14:12:39 +01:00
Raphaël Vinot
f43266fcf2
chg: Normalize to_datetime conversion
2020-01-27 20:14:14 +01:00
Raphaël Vinot
32445973bd
new: Support for first_seen/last_seen
...
Cleaner import of datetime
2020-01-27 19:07:52 +01:00
Raphaël Vinot
2ab47e191a
fix: Bugs introduced by last commit
2020-01-23 11:03:23 +01:00
Raphaël Vinot
b0e95fd5af
chg: Refactorize typing, validate
2020-01-23 10:27:40 +01:00
Raphaël Vinot
aa17663b58
chg: Add more typing information
2020-01-03 15:42:15 +01:00
Raphaël Vinot
2e064563c3
chg: Add typing markup
2020-01-02 15:55:00 +01:00
Raphaël Vinot
24a8f90ea8
new: Remove python < 3.6 support.
2019-12-18 14:45:14 +01:00
Raphaël Vinot
24594a5aea
fix: Test case on reference
2019-12-11 23:38:41 +01:00
Raphaël Vinot
c9b5d24073
fix: Add missing fields to event & attribute for the feed output
2019-12-11 23:12:14 +01:00
Raphaël Vinot
056cab15a0
chg: Move scrippsco2 feed generator to a sub directory
2019-12-10 16:39:24 +01:00
Raphaël Vinot
0d354b2032
fix: Update tests.
2019-11-29 16:33:17 +01:00
Raphaël Vinot
446649992f
fix: Raise PyMISPError instead of Exception
2019-11-27 17:08:15 +01:00
Raphaël Vinot
78c9f4f605
chg: Few more improvements on the feed export
2019-11-25 16:35:56 +01:00
Raphaël Vinot
6098cd869f
chg: Make the feed generator more generic
2019-11-22 17:36:24 +01:00
Raphaël Vinot
61867a8257
fix: improve stability of feed output
2019-11-20 12:49:42 +01:00
Raphaël Vinot
8d92a77c92
fix: Do not unitialize the uuid in MISPEvent
2019-11-20 10:52:27 +01:00
Raphaël Vinot
b1818b1751
new: Add to_feed export to MISPEvent
2019-11-19 15:53:58 +01:00
Raphaël Vinot
2da35829b1
chg: Allow to sort and indent the json output for objects
2019-11-18 18:04:02 +01:00
Raphaël Vinot
880fb300ea
chg: Use default category from template
...
Fix #477
2019-10-18 14:44:57 +02:00
Raphaël Vinot
fef328d395
fix: Python <3.4 should work again....
...
Fix #482
2019-10-18 11:56:09 +02:00