Paal Braathen
ff62f1c19c
Linting/Add missing whitespace
2020-07-28 20:05:42 +02:00
louis
f8589061cb
chg: Remove standalone default value from MISPObject children c'tor
...
MISPObject.__init__ sets standalone=True by default, so there is no
need to do it in its child classes.
2020-06-30 12:40:08 +02:00
Troy Ross
17ebfe86ab
Previously file object was reporting the libmagic description of a file
...
instead of the mimetype. According to [MISP DataModels](https://www.misp-project.org/datamodels/#types )
```
mime-type: A media type (also MIME type and content type) is a two-part identifier for file formats and format contents transmitted on the Internet
```
more precisely defined in [RFC2045](https://tools.ietf.org/html/rfc2045 ) and others.
The description returned by libmagic is more useful than the generic mime-type,
but I did not find a place to put the description in the current data model.
2020-06-14 10:48:29 -06:00
Raphaël Vinot
5d97d7ee0c
new: Add helper and test case for GitVulnFinderObject
2020-05-26 15:37:24 +02:00
Raphaël Vinot
b214c7d4c1
chg: Add comment in microblog object
2020-05-12 22:34:25 +02:00
Raphaël Vinot
5df58406ef
fix: Catch exception when liblua-5.3 is not present
...
Related: https://github.com/MISP/misp-modules/issues/398
2020-05-12 13:21:05 +02:00
Raphaël Vinot
35257e538d
fix: Make flake8 happy
2020-05-12 11:34:38 +02:00
Raphaël Vinot
dcd1db8883
fix: make flake8 happy
2020-05-11 15:40:20 +02:00
VVX7
fff0caa330
chg: [dev] clean up how keys are accessed in self._parameters
2020-05-08 19:54:12 -04:00
VVX7
759e9196de
chg: [dev] use isinstance() type check.
2020-05-08 19:31:19 -04:00
VVX7
395d6aabac
chg: [dev] fix abstract generator import. add logger.
2020-05-08 19:27:42 -04:00
VVX7
de994fd944
chg: [dev] change type() == list
2020-05-08 16:32:29 -04:00
VVX7
0eb209c7df
new: [dev] add microblog object tool
2020-05-08 16:10:09 -04:00
DocArmoryTech
4ee4db16fe
Fixed __query_virustotal return type
...
__query_virustotal returned a Response object and not the json expected; modified so that report_json is returned instead of report.
2020-04-06 10:46:15 +01:00
Raphaël Vinot
11353f8ae2
fix: Make lief optional again
...
fix #538
2020-02-07 11:51:48 +01:00
Raphaël Vinot
4e586d0de5
chg: Bump deps, add pep8 test
2020-01-30 11:44:13 +01:00
Raphaël Vinot
b0e95fd5af
chg: Refactorize typing, validate
2020-01-23 10:27:40 +01:00
Raphaël Vinot
24a8f90ea8
new: Remove python < 3.6 support.
2019-12-18 14:45:14 +01:00
Raphaël Vinot
c03b26a18c
new: URLObject (requires pyfaup)
2019-12-04 15:18:27 +01:00
Raphaël Vinot
4fed55a09d
fix: Rename feed_meta_generator so it clearly fails with python<3.6
2019-11-27 11:10:57 +01:00
Raphaël Vinot
6098cd869f
chg: Make the feed generator more generic
2019-11-22 17:36:24 +01:00
Christophe Vandeplas
494e70eb69
fix: prevents exception when lief is not installed
2019-10-30 14:23:37 +01:00
Raphaël Vinot
f312f87072
fix: Objects helpers were broken, do not overwrite describe_types
2019-10-08 09:28:33 +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
d477a3688c
chg: Rename relationship included-in -> includes
2019-07-24 13:57:36 +02:00
Raphaël Vinot
b8b384a3c3
Merge branch 'master' of github.com:MISP/PyMISP
2019-07-04 16:57:15 +02:00
Raphaël Vinot
7d5b55fcdc
fix: Skip attribute in object when value is empty, skip empty objects.
2019-07-04 16:56:56 +02:00
Raphaël Vinot
7c76d6be39
Merge pull request #409 from 3c7/bugfix/openioc_datatypes
...
[OpenIOC] Allow the use of content type for RouteEntryItem/Destination
2019-07-04 10:35:40 +02:00
Raphaël Vinot
e0fac90310
new: Allow to pass delimiter & quotechar to the CSV loader
2019-07-02 11:55:51 +02:00
0x3c7
7be58af56a
[openioc] changed default mapping for RouteEntryItem/Destination/string.
2019-06-19 12:45:20 +02:00
0x3c7
b7d15380c9
[openioc] Changed mapping for RouteEntryItem/Destination/string to domain instead of url because UrlHistoryItem/URL is mostly used for urls
2019-06-19 07:39:15 +02:00
0x3c7
42a3dcf704
Fixes other mapping to other types
2019-06-19 07:38:15 +02:00
0x3c7
efd8b80adb
[openioc] Allow the use of types in openioc content tags
2019-06-18 16:10:20 +02:00
Raphaël Vinot
3b56b218b5
new: Object generator for ssh authorized_keys files.
2019-05-20 16:40:47 +02:00
Raphaël Vinot
67cb8e9d53
chg: Allow to pass a eml as string to EmailObject
2019-04-24 15:37:40 +02:00
Raphaël Vinot
52402c2acf
new: add_attributes method in MISPObject (for multiple attributes)
2019-04-09 17:54:12 +02:00
Raphaël Vinot
e5a42b812f
new: Add CSV loader
...
Fix #376
2019-04-03 16:28:31 +02:00
Raphaël Vinot
1e060f669f
new: Helper to create MISP Objects for regcheck.org.uk
2019-04-02 17:13:07 +02:00
Falconieri
bdff7e635f
fix: [exportpdf] Doc update
2019-03-14 08:11:30 +01:00
Falconieri
ea4ed24f4f
fix: [exportpdf] Coding Style
2019-03-14 08:02:45 +01:00
Raphaël Vinot
9d2251cb38
chg: Initial set of refactoring on PDF generator
2019-03-12 15:14:44 +01:00
Falconieri
9d6585cd3a
fix: [exportpdf] Custom path for fonts and font package
2019-03-05 11:37:01 +01:00
Raphaël Vinot
b8759673b9
chg: Add i8n for pdfexport, without all the fonts in the main repo
2019-03-04 16:06:38 -08:00
Falconieri
1b8921d820
fix: [exportpdf] fix empty object/attribute/galaxy bugs
2019-03-01 11:12:04 +01:00
Falconieri
b2c5477cd9
fix: [exportpdf] Add suggestions (UX)
2019-03-01 10:45:44 +01:00
Falconieri
ead9cec7d3
fix: [exportpdf] switch page size to A4
2019-03-01 09:56:38 +01:00
Falconieri
39b4677bf9
fix: [exportpdf] switch page size to A4
2019-03-01 09:55:42 +01:00
Falconieri
f1d2f3ae1e
Merge branch 'master' of github.com:Vincent-CIRCL/PyMISP
2019-03-01 09:22:55 +01:00
Falconieri
e6291e71d5
fix: [exportpdf] None if no Galaxies bug
2019-03-01 09:21:48 +01:00
Vincent-CIRCL
83ef1b851e
Merge branch 'master' into master
2019-03-01 09:07:45 +01:00