Commit Graph

1335 Commits (b82716f888aa50b318aed3830708055ac4c903aa)

Author SHA1 Message Date
chrisr3d 5f7b127713
chg: Avoids returning empty values + easier results parsing 2019-10-15 23:30:39 +02:00
chrisr3d 1786b23b27
add: Tests for expansion modules with different input types 2019-10-15 16:04:03 +02:00
chrisr3d bc0c7c7d7d
fix: Catching wikidata errors properly + fixed errors parsing 2019-10-15 14:41:38 +02:00
chrisr3d 8aca19ba68
chg: Taking into consideration if a user agent is specified in the module configuration 2019-10-15 11:25:30 +02:00
chrisr3d 6d19549184
fix: Grouped two if conditions to avoid issues with variable unassigned if the second condition is not true 2019-10-13 20:23:02 +02:00
chrisr3d b1ae8deb6b
fix: Handling errors and exceptions for expansion modules tests that could fail due to a connection error 2019-10-08 15:50:15 +02:00
chrisr3d b560347d5d
fix: Considering the case of empty results 2019-10-08 15:49:09 +02:00
chrisr3d 8bcb630340
fix: Catching results exceptions properly 2019-10-08 15:48:26 +02:00
chrisr3d 2850d6f690
fix: Catching exceptions and results properly depending on the cases 2019-10-08 15:45:06 +02:00
chrisr3d 5d4a0bff98
fix: Handling cases where there is no result from the query 2019-10-08 13:28:23 +02:00
chrisr3d f27031d522 Merge branch 'master' of github.com:MISP/misp-modules 2019-10-08 13:27:27 +02:00
Christian Studer 9e49b3524f
Merge pull request #339 from MISP/tests
Expansion modules tests update
2019-10-08 11:13:37 +02:00
chrisr3d e1faf64296
add: Added tests for the rest of the easily testable expansion modules
- More tests for more complex modules to come soon
2019-10-07 17:14:27 +02:00
chrisr3d bef1cbb8a0 Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-07 16:48:26 +02:00
chrisr3d 3fb3bd5bc3 Merge branch 'tests' of github.com:MISP/misp-modules 2019-10-07 16:47:13 +02:00
chrisr3d 662e58da88
fix: Fixed pattern parsing + made the module hover only 2019-10-07 16:46:32 +02:00
chrisr3d 6a3c907222
fix: DBL spamhaus test 2019-10-05 00:15:29 +02:00
chrisr3d 1130eaf840
fix: Quick typo & dbl spamhaus test fixes 2019-10-04 23:16:28 +02:00
chrisr3d db804b6a12
add: Tests for sigma queries and syntax validator modules 2019-10-04 17:46:25 +02:00
chrisr3d 5e53583eb1 Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-04 17:23:38 +02:00
chrisr3d b9b78d1606
fix: Travis tests should be happy now 2019-10-04 17:22:32 +02:00
chrisr3d 5cd42b52b6 Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-04 17:02:19 +02:00
chrisr3d 6bcd60871c
fix: copy paste syntax error 2019-10-04 17:01:22 +02:00
chrisr3d 43f663ac99 Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-04 16:49:49 +02:00
chrisr3d d48d884ef0
fix: Fixed greynoise test following the latest changes on the module 2019-10-04 16:48:59 +02:00
chrisr3d cbb7a430a7
add: More modules tested 2019-10-04 16:46:57 +02:00
chrisr3d a591138020
add: Added tests for some expansion modules without API key required
- More tests to come
2019-10-04 16:07:19 +02:00
chrisr3d 6801289175
fix: Returning results in text format
- Makes the hover functionality display the full
  result instead of skipping the records list
2019-10-04 15:54:25 +02:00
Christian Studer 73302bef1e
Merge pull request #338 from MISP/features_csvimport
Fixed the CSV import module
2019-10-03 22:20:59 +02:00
chrisr3d fe1987101d
fix: Making pep8 happy 2019-10-03 17:10:47 +02:00
chrisr3d 22d786e0f7 chg: Updated csv import documentation 2019-10-03 17:06:11 +02:00
chrisr3d c5c5c16ff1
fix: Avoiding errors with uncommon lines
- Excluding first from data parsed all lines that
  are comments or empty
- Skipping lines with failing indexes
2019-10-03 16:03:30 +02:00
chrisr3d 3d7de2dc22
fix: Fixed unassigned variable name 2019-10-03 16:02:25 +02:00
chrisr3d ffe43acd89
fix: Removed no longer used variables 2019-09-20 09:22:20 +02:00
chrisr3d cfc6438c47
fix: csv import rework & improvement
- More efficient parsing
- Support of multiple csv formats
- Possibility to customise headers
- More improvement to come for external csv file
2019-09-19 23:19:57 +02:00
chrisr3d 09590ca451
fix: Making pep8 happy 2019-09-17 14:13:05 +02:00
Christian Studer 205342996a
Merge pull request #335 from FafnerKeyZee/patch-2
Travis should not be complaining with the tests after the latest update on "test_cve"
2019-09-17 14:11:03 +02:00
chrisr3d 00678c8934 Merge branch 'master' of github.com:MISP/misp-modules 2019-09-17 13:54:56 +02:00
chrisr3d 8995303878
fix: [tests] Fixed tests to avoid config issues with the cve module
- Config currently empty in the module, but being
  updated soon with a pending pull request
2019-09-17 13:50:33 +02:00
Alexandre Dulaunoy 8a0e658cba
Merge pull request #334 from FafnerKeyZee/patch-1
Cleaning the error message
2019-09-17 13:08:34 +02:00
Fafner [_KeyZee_] dc84c9f972
adding custom API
Adding the possibility to have our own API server.
2019-09-17 11:07:23 +02:00
Fafner [_KeyZee_] 5c09b66706
Cleaning the error message
The original message can be confusing is the user change to is own API.
2019-09-17 10:42:29 +02:00
chrisr3d 5ebd0bd4fc Merge branch 'master' of github.com:MISP/misp-modules 2019-09-16 14:31:01 +02:00
chrisr3d 8d33d6c18c
add: New parameter to specify a custom CVE API to query
- Any API specified here must return the same
  format as the CIRCL CVE search one in order to
  be supported by the parsing functions, and
  ideally provide response to the same kind of
  requests (so the CWE search works as well)
2019-09-16 14:19:20 +02:00
Alexandre Dulaunoy f28a642f11
Merge pull request #329 from 8ear/8ear-add-mkdocs-documentation
Update mkdocs documentation
2019-09-02 19:56:51 +02:00
Alexandre Dulaunoy a719e142d8
Merge pull request #328 from 8ear/8ear-add-docker-capabilitites
Add Docker Capabilitites
2019-09-02 19:55:58 +02:00
8ear 4f0237508e
Add .travis.yml command for docker build 2019-09-02 14:10:49 +02:00
8ear d55331fc1c
Merge github.com:MISP/misp-modules into 8ear-add-docker-capabilitites 2019-09-02 12:30:18 +02:00
8ear a9a4ec3851
Disable not required package virtualenv for final stage 2019-09-02 12:20:18 +02:00
8ear cdbe99824e
Fix entrypoint bug 2019-09-02 12:19:57 +02:00