Commit Graph

395 Commits (d84a488dc34bf2e1f6c287ee047c5f3116338c58)

Author SHA1 Message Date
Raphaël Vinot 7e29d41976 fix: Tests failing if local tz was not CET 2020-01-28 16:30:58 +01:00
Raphaël Vinot a8ff8f88fe chg: Test update last seen 2020-01-28 16:01:14 +01:00
Raphaël Vinot 21fa4af863 chg: Add test cases in feed 2020-01-28 14:41:28 +01:00
Raphaël Vinot d40b0a46bc chg: Add test cases 2020-01-28 14:25:10 +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 b0e95fd5af chg: Refactorize typing, validate 2020-01-23 10:27:40 +01:00
Raphaël Vinot acaf56b888 fix: Bump template_version in test cases 2020-01-17 15:20:56 +01:00
Raphaël Vinot d95aaf8c64 chg: Bump dependencies, add debug 2020-01-17 11:34:40 +01:00
Raphaël Vinot 3ee7d8c676 chg: Search with the STIX output returns a json STIX
Was XML before.
2020-01-07 15:30:23 +01:00
Raphaël Vinot 24a8f90ea8 new: Remove python < 3.6 support. 2019-12-18 14:45:14 +01:00
Raphaël Vinot a26a8e450b chg: Bump test files 2019-12-16 15:30:44 +01:00
Raphaël Vinot 30a940c7f1 fix: Properly test custom objects 2019-12-16 15:24:04 +01:00
Raphaël Vinot 826fc21ace chg: Debug travis error message 2019-12-16 13:50:29 +01:00
Raphaël Vinot 637a9668c0 fix: Adding a sighting takes a little bit of time. 2019-12-12 11:47:03 +01:00
Raphaël Vinot 24594a5aea fix: Test case on reference 2019-12-11 23:38:41 +01:00
Raphaël Vinot 0d354b2032 fix: Update tests. 2019-11-29 16:33:17 +01:00
Raphaël Vinot ca5e39e544 fix: Bump url template version in test cases 2019-11-19 12:39:14 +01:00
Raphaël Vinot 1f2b5f1329 fix: Python 2.7 tests 2019-11-15 14:30:39 +01:00
Raphaël Vinot 8163f8dd1d new: Validate object templates
fix https://github.com/MISP/misp-objects/issues/199
2019-11-15 13:33:09 +01:00
Raphaël Vinot c5dfa9b509 new: Test cases for restricted tags
Fix #483
2019-11-11 16:39:20 +01:00
Raphaël Vinot 8c2bbaa13c new: Get Database Schema Diagnostic
Fix #492
2019-11-11 14:28:17 +01:00
Alexandre Dulaunoy 204fd6ba8c
chg: [test] feed test updated as botvrij is now TLS by default 2019-11-05 10:52:34 +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 21c16c8c75 chg: Skip usersettings tests when emails are disabled 2019-10-17 12:42:59 +02:00
Raphaël Vinot c509b22beb new: Add support for UserSettings 2019-10-16 17:22:19 +02:00
Raphaël Vinot c80d35fa75 Merge branch 'perf' 2019-10-10 11:20:25 +02:00
Raphaël Vinot 2785d0027d fix: [Python2] Use LRU cache decorator, fix call to describe_types in PyMISP 2019-10-10 10:15:23 +02:00
Raphaël Vinot 02659a5782 chg: Add support for rapidjson, refactoring and code cleanup. 2019-10-09 16:07:40 +02:00
Raphaël Vinot f312f87072 fix: Objects helpers were broken, do not overwrite describe_types 2019-10-08 09:28:33 +02:00
Marc Hoersken 5cfe7e6b59 Add viper-test-files repository as Git submodule 2019-10-04 09:00:01 +02:00
Alexandre Dulaunoy b67cec60a3
chg: [test] remove attribute field which was not foreseen in 2.4 branch
Signed-off: by the Hungarian leader
2019-09-16 15:06:05 +02:00
Raphaël Vinot 605cdc21ef chg: Fix travis tests due to sighting_timestamp 2019-09-16 13:10:14 +02:00
Raphaël Vinot 7324ae72e6 new: Better handling of delete(d) attributes
* Hard delete on attribute
* Get the deleted attributes within an event
2019-09-13 16:12:45 +02:00
Raphaël Vinot b800dcb4b4 chg: Dump dependencies, update tests 2019-09-11 14:20:55 +02:00
Raphaël Vinot daca32db36 fix: Event delegation was incorrect 2019-08-30 14:19:52 +02:00
Raphaël Vinot 5037810c4c chg: Temp disable tests for request_community_access 2019-08-30 12:15:39 +02:00
Raphaël Vinot 681c06cdd2 chg: Disable test for now 2019-08-30 12:03:52 +02:00
Raphaël Vinot 7bf6005576 new: [Community] Request access 2019-08-30 11:45:56 +02:00
Raphaël Vinot 7402e1b3b6 new: Initial support for communities 2019-08-29 18:08:53 +02:00
Raphaël Vinot a5d4910c1f new: Contact event reporter 2019-08-28 16:02:26 +02:00
Raphaël Vinot cebdc2ef3f fix: Automatically skip empty string in add_attribute at object level
Fix #439

Re-enable test cases.
2019-08-28 14:46:02 +02:00
Raphaël Vinot f133cb9477 chg: Re-enable a few test cases 2019-08-27 10:43:58 +02:00
Raphaël Vinot b802e202e2 chg: Make sure delegation is enabled while testing 2019-08-26 20:34:27 +02:00
Raphaël Vinot bfd57e7741 chg: [tests] Check the type of the response 2019-08-26 20:18:12 +02:00
Raphaël Vinot 1f74a943e6 chg: New local key in Org/Orgc 2019-08-26 19:40:14 +02:00
Raphaël Vinot 0b7314c474 new: Delegate Event
And more test cases
2019-08-26 16:24:48 +02:00
Raphaël Vinot 101ec5f9ed chg: [tests] Do not run in fast mode by default. 2019-08-20 15:59:41 +02:00
Raphaël Vinot e95948bcf6 chg: Better handling of sightings. 2019-08-20 15:34:21 +02:00
Raphaël Vinot eba8b6df24 fix: [Travis] User cannot create tag, Travis was right. 2019-08-19 12:31:05 +02:00
Raphaël Vinot 7a2fdd7d24 chg: [Travis] Add more debug 2019-08-19 12:11:54 +02:00
Raphaël Vinot b897dcf19c fix: Invalid tests in last commit. 2019-08-19 11:58:37 +02:00
Raphaël Vinot 2841d56131 fix: [Travis] Slight changes to help debug on Travis. 2019-08-19 11:48:41 +02:00
Raphaël Vinot 4995ff731d chg: Add test related to travis 2019-08-19 11:30:53 +02:00
Raphaël Vinot f384d74049 chg: Improve test cases 2019-08-16 11:28:07 +02:00
Raphaël Vinot 2e84dd69fc chg: Update and improve live testing 2019-08-16 10:48:06 +02:00
Raphaël Vinot 2d37c68bd7 chg: Add tests cases for sync, bump describeTypes 2019-08-12 14:12:40 +02:00
Raphaël Vinot 96576af02b new: Helpers & testcases for syncing 2019-08-09 17:58:55 +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 a3140f3773 new: Properly support attribute/add of multiple attributes (2.4.113+) 2019-08-06 16:50:09 +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 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 66ccc7d082 new: [Search] Add a few new options in rest search 2019-08-02 17:08:25 +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 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 a6a0fcd4fb chg: Make pythonify=False default everywhere
Add a method to toggle pythonify globally
2019-07-22 11:28:31 +02:00
Raphaël Vinot 31499bdc7e fix: [tests] Disable one of the test cases for now. 2019-07-21 02:26:24 +02:00
Raphaël Vinot ff2dd4435d chg: [tests] Update stats 2019-07-21 02:08:33 +02:00
Raphaël Vinot 3793fb1b3b fix: [tests] By default, the workflow taxonomy isn't enabled. 2019-07-21 01:46:10 +02:00
Raphaël Vinot 1ec7ec37d9 chg: [tests] Remove travis exceptions. 2019-07-19 17:26:59 +02:00
Raphaël Vinot 55c2bff26b fix: Properly handle fallbacks add/update/delete attributes 2019-07-19 16:26:28 +02:00
Raphaël Vinot f5cbb417c8 new: [Sightings] Delete method
Fix #230
2019-07-19 11:42:05 +02:00
Raphaël Vinot 14e63d9ca8 new: [tests] non-exportable tags 2019-07-19 10:57:15 +02:00
Raphaël Vinot 60a2bdfd43 chg: Bump version 2019-07-18 14:55:48 +02:00
Raphaël Vinot 9d0be8d3f0 new: Add option to locally expand malware samples with LIEF 2019-07-18 14:05:08 +02:00
Raphaël Vinot fca835dd22 chg: Remove legacy tests 2019-07-17 17:13:09 +02:00
Raphaël Vinot ce4cb36d0d chg: Reorganise ExpandedPyMISP methods, normalise the parameters 2019-07-17 15:37:14 +02:00
Raphaël Vinot c9d58dad8a chg: Deprecate everything in PyMISP 2019-07-17 11:44:55 +02:00
Raphaël Vinot c850ec2548 chg: [tests] WTF upload_sample on travis 2019-07-05 10:59:03 +02:00
Raphaël Vinot 10bd88cb06 chg: [tests] Add custom error message on upload_sample - fix last commit. 2019-07-05 10:34:48 +02:00
Raphaël Vinot 5aa94d277b chg: [tests] Add custom error message on upload_sample 2019-07-05 10:16:47 +02:00
Alexandre Dulaunoy 583fb65924
chg: [tests] now deleted flag is returning only the deleted values (to be consistent) 2019-05-23 07:43:26 +02:00
Raphaël Vinot a79c4ed9c2 chg: Use pydeep from pypi, add test 2019-05-08 12:16:43 +02:00
Raphaël Vinot 5a4c37d029 chg: Bump dependencies. 2019-05-07 11:04:25 +02:00
Raphaël Vinot 66f5154284 fix: Bump Test files because of new template version 2019-04-24 15:55:47 +02:00
Raphaël Vinot b67d2e024c chg: Allow to pass an AbstractMISP to add_reference
Fix #379
2019-04-16 11:41:43 +02:00
Raphaël Vinot e545a7cbc1 new: test cases for attributes and proposals 2019-04-12 16:40:22 +02:00
Raphaël Vinot 633f75db24 new: Improve python3.6+ lib 2019-04-11 23:13:15 +02:00
Raphaël Vinot e8334be9ca new Add test for ASNObject 2019-04-11 09:47:57 +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 b1b9f95501 new: Method to set the default role 2019-04-04 16:39:17 +02:00
Raphaël Vinot 3fb54e62b2 new: Default to "me" in the get_user method, update ExpandedPyMISP
Fix #377
2019-04-04 14:37:17 +02:00
Raphaël Vinot a68bd80ab9 fix: Add missing files for testing (CSV loader) 2019-04-04 10:53:28 +02:00
Raphaël Vinot 99b2052449 new: Add get_object to ExpandedPyMISP.
Fix #372
2019-04-04 10:42:37 +02:00
Raphaël Vinot 1de4c9d0b9 new: Test cases for CSV loader, add cleaner methods in ExpandedPyMISP 2019-04-03 17:46:52 +02:00
Raphaël Vinot 64bcaad0e5 fix: Properly test query ACLs 2019-03-25 16:12:01 +01:00
Raphaël Vinot a2d5a8a3a8 new: Test for ACLs in testlive 2019-03-25 15:41:11 +01:00
Raphaël Vinot c888af177f fix: Update all json submodules at one place in testlive 2019-03-25 10:57:12 +01:00
Raphaël Vinot 8940c09925 chg: Display an error on failure in testlive 2019-03-25 10:38:21 +01:00
Raphaël Vinot aeb0f913e4 new: Test for manual calls to add_object and add_object_reference 2019-03-22 12:51:20 +01:00
Raphaël Vinot cc35d81fa3 fix: Disable some tests for the run on travis. 2019-03-20 11:18:38 +01:00
Raphaël Vinot 6eab404eaa chg: Add tests for disable_tag 2019-03-20 11:13:38 +01:00
Raphaël Vinot 7a146b684e chg: Reorganize some tests 2019-03-20 10:44:59 +01:00
Raphaël Vinot 1ecdedb53c fix: Do not fail when importing the reportlab file 2019-03-12 16:22:36 +01:00
Raphaël Vinot b82d3c25de fix: Do not run PDF Export tests on python < 3.6 2019-03-12 16:05:03 +01:00
Raphaël Vinot 637af49b21
Merge pull request #362 from Vincent-CIRCL/master
fix: [exportpdf] Custom path for fonts and font package
2019-03-12 13:05:52 +01:00
Raphaël Vinot ec6439ce34 fix: Slight changes in new .change_disable_correlation method 2019-03-11 11:32:54 +01:00
Raphaël Vinot e73bdc765e Merge branch 'master' of https://github.com/l3m0ntr33/PyMISP into l3m0ntr33-master 2019-03-11 11:07:47 +01:00
Raphaël Vinot c592bfcca9 fix: get_object_template_id was broken. Add test case.
Fix #361
2019-03-11 10:15:45 +01:00
Raphaël Vinot 35b4f3f852 new: Test update object in event 2019-03-11 09:39:08 +01:00
l3m0ntr33 2edc6eedca
Fix a type on function name. 2019-03-08 16:04:09 +01:00
hrifflet e91d4a7d2d Add new function PyMISP.change_disablecorrelation(attribute_uuid,disable_correlation) to be able to enable/disable correlation on attributes. 2019-03-08 11:33:33 +00: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
Vincent-CIRCL 83ef1b851e
Merge branch 'master' into master 2019-03-01 09:07:45 +01:00
Falconieri a06c8cf5b8 fix: [reportlab] Galaxies and Clusters printing 2019-03-01 09:06:01 +01:00
Falconieri 9adff0b574 chg: [exportPDF] add basic handling of clusters 2019-02-28 10:58:49 +01:00
Raphaël Vinot c35a2aea55 fix: Hopefully last fix for python 2.7 & reportlab. 2019-02-27 23:53:47 -08:00
Raphaël Vinot ece54a942b fix: Bump tests relatively to the file template 2019-02-27 23:30:19 -08:00
Raphaël Vinot 0f56a306be chg: Enforce strict in object testing to ease debugging 2019-02-27 23:22:05 -08:00
Raphaël Vinot 227a6e8926 fix: Let's act as if python2 doesn't exists. 2019-02-27 22:02:12 -08:00
Falconieri a9c0ce4107 fix: [exportPDF] Adding facultative text description, sightings, tests cases 2019-02-27 11:48:56 +01:00
Falconieri 8194c534d7 add : [exportpdf] Objects handling, tests cases,
test files
2019-02-26 15:35:40 +01:00
Falconieri 029ca57b5f fix: [exportpdf] Refactoring, nicer code 2019-02-26 14:28:31 +01:00
Falconieri 29a1b05c1f add: [exportpdf] Handling pictures embedded as attributes 2019-02-26 14:03:25 +01:00
Falconieri cefcc3430c add : [exportpdf] Picture management, manual 2019-02-26 11:13:24 +01:00
Falconieri f36d8908a7 fix: [exportpdf] tests paths 2019-02-25 15:55:47 +01:00
Falconieri 2adac8f0d2 chg: [exportpdf] Add metadata, bugfixes cases (too long values, sanitization), links to misp instances 2019-02-25 15:49:53 +01:00
Falconieri ee2a2f4af7 fix: [exportpdf] Remove comment that codefactor doesn't like 2019-02-22 18:13:05 +01:00
Falconieri 37d3f2f613 fix & add: [exportpdf] Add metadata, fix special cases (too long values, sanitization) 2019-02-22 17:47:22 +01:00
Falconieri 76ef3d058f fix: [pdfexport] Fix tests paths, dependency in pipfile, imports, and 'file' name overwrite in test function 2019-02-22 11:34:41 +01:00
Falconieri 57eccfe7dc add: exportpdf tool working 2019-02-22 10:18:44 +01:00
Falconieri 0fc780994f general improvement : deisgn, exhaustiviness of mispEvent values displayed, good pratice concerning paragraphe/table made 2019-02-20 16:15:56 +01:00
Falconieri c7511812f0 Structure of the improvements OK : test file, test folder, report generator 2019-02-19 15:17:00 +01:00
Raphaël Vinot b0fe78a9f8 fix: Disable all logging in the tests 2019-02-07 15:53:36 +01:00
Raphaël Vinot fe91d06b91 chg: Remove dependency on six 2019-02-06 11:31:05 +01:00
Raphaël Vinot 2c877f2aec fix: Disable STIX test on travis. 2019-02-03 20:23:24 +01:00
Raphaël Vinot 02b99c23fa fix: Properly inform user when they try to run the live tests on old systems.
Fix #329
2019-02-03 13:00:51 +01:00
Raphaël Vinot 0a01a16c6b new: Add test cases for stix export 2019-02-01 11:07:42 +01:00
Raphaël Vinot 1ec357cd74 new: Add missing test case for NOT on attribute level, update Pipfile 2019-01-25 10:35:53 +01:00
Raphaël Vinot 7bbcdf262b fix: Test case was broken 2018-12-26 19:42:42 +01:00
Raphaël Vinot 1c6b3d8245 new: Add test for references when adding/updating a full event 2018-12-26 19:22:47 +01:00
Raphaël Vinot a3108f7689 fix: error vs errors key 2018-12-26 17:38:19 +01:00
Raphaël Vinot 864aa5fe70 chg: set verifycert to false in tests 2018-12-10 14:08:23 +01:00
Steve Clement 58d08889b3 chg: [tests] Added verifycert option in case of using self-signed cert. 2018-12-10 13:52:59 +01:00
Raphaël Vinot b895c30b39 fix: Test failing on travis... 2018-11-29 18:14:10 +01:00