Commit Graph

1253 Commits (7a56174c4085df7289f5dd014b029b18724eb343)

Author SHA1 Message Date
chrisr3d 7a56174c40
fix: Fixed Geoip with the supported python library + fixed Geolite db path management 2019-10-28 16:39:08 +01:00
chrisr3d f15ab8162f
add: cve_advanced module test + functions to test attributes and objects results 2019-10-27 21:19:43 +01:00
chrisr3d 93858e302a
fix: Removed unused self param turning the associated functions into static methods 2019-10-27 21:16:31 +01:00
chrisr3d e1602fdca9
fix: Updates following the latest CVE-search version
- Support of the new vulnerable configuration
  field for CPE version > 2.2
- Support of different 'unknown CWE' message
2019-10-23 11:55:36 +02:00
Christian Studer d2b92f8ad9
Merge pull request #342 from MISP/tests
More expansion tests
2019-10-18 11:41:45 +02:00
chrisr3d 63dba29c52
fix: Fixed module names with - to avoid errors with python paths 2019-10-18 11:09:10 +02:00
chrisr3d 259c3f285e Merge branch 'tests' of github.com:MISP/misp-modules into tests 2019-10-18 09:44:37 +02:00
chrisr3d 6df0072e60
fix: Using absolute path to open files instead of relative path 2019-10-18 09:43:53 +02:00
Christian Studer cf73151ebc
fix: Fixed tesseract python library issues
- Avoiding 'tesseract is not installed or it's not in your path' issues
2019-10-17 16:58:27 +02:00
chrisr3d 93bc178717
fix: Removed unused import\ 2019-10-17 16:36:56 +02:00
chrisr3d 7aa78636a5
add: Tests for all the office, libreoffice, pdf & OCR enrich modules 2019-10-17 16:32:26 +02:00
chrisr3d 60ef1901e2
fix: Handling issues when the otx api is queried too often in a short time 2019-10-17 12:46:29 +02:00
chrisr3d 0555cdaedf Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-17 10:46:32 +02:00
chrisr3d d740abe74b
fix: Making pep8 happy 2019-10-17 10:45:51 +02:00
chrisr3d a228e2505d
fix: Avoiding empty values + Fixed empty types error + Fixed filename KeyError 2019-10-17 10:42:34 +02:00
chrisr3d 9f7f11107c
fix: Fixed ThreatMiner results parsing 2019-10-17 10:41:11 +02:00
chrisr3d dc8a27e2d8 Merge branch 'master' of github.com:MISP/misp-modules into tests 2019-10-17 09:55:21 +02:00
chrisr3d a7e523ab61
add: threatminer module test 2019-10-16 22:00:36 +02:00
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