Commit Graph

215 Commits (feature/3.x_HttpTool)

Author SHA1 Message Date
Luciano Righetti 56dea3e966 add: api tests for main galaxies controller 2023-11-10 16:58:15 +01:00
Luciano Righetti 2ca194169d chg: [wip] migrate galaxies controller 2023-11-07 16:11:05 +01:00
Luciano Righetti 356444f81c new: add named parameters parser middleware 2023-10-26 14:33:22 +02:00
Luciano Righetti 6531e5ab7f chg: remove fail 2023-10-12 09:10:04 +02:00
Luciano Righetti 3bc302213f chg: test failed test gh action 2023-10-12 08:36:58 +02:00
Luciano Righetti c424efa5e7 fix: extend tests 2023-10-11 13:27:45 +02:00
Luciano Righetti 07d12523ac fix: rename tests, fix notice 2023-10-11 10:38:17 +02:00
Luciano Righetti 5d9c5509d8 fix: uncomment test 2023-10-11 10:03:31 +02:00
Luciano Righetti 1876525e35 add: test email encryption 2023-10-10 16:15:08 +02:00
Luciano Righetti 72f42c04bf fix: update confs, install gpg int test php container 2023-10-10 12:01:11 +02:00
Luciano Righetti b907a5b9ec add: configure gnupg, add gnupg tests 2023-10-10 10:54:23 +02:00
Luciano Righetti 8739c18f5b chg: add sniff for array indenting 2023-08-23 14:49:15 +02:00
Luciano Righetti 7d924a5db9 fix: merge conflicts 2023-08-22 11:34:36 +02:00
Luciano Righetti 6b9431804c add: api tests for object templates 2023-08-11 16:57:58 +02:00
Sami Mokaddem 1e97d15148
fix: [tests:bootstrap] Alias `default` database with `test` 2023-08-09 09:37:28 +02:00
Luciano Righetti 9df22f584e add: api crud tests 2023-07-27 14:40:38 +02:00
Luciano Righetti 53cbbc0ec6
Merge pull request #9143 from righel/3.x-sharing-groups
3.x sharing groups
2023-06-20 11:54:45 +02:00
Luciano Righetti ce28fcc54f add: more tests, fix bugs 2023-06-20 11:52:27 +02:00
Luciano Righetti 1b0d05b3bb add: api tests for add sg with orgs and servers 2023-06-19 16:44:13 +02:00
Luciano Righetti 12d43c9d50 add: basic crud api tests for sharing groups 2023-06-15 16:51:36 +02:00
Luciano Righetti 8b2fc76596 fix: cs 2023-06-15 16:51:09 +02:00
Luciano Righetti b0e2a3ac3e fix: typo 2023-06-15 16:50:34 +02:00
Luciano Righetti 058205862f fix: make endpoint backward endpoint 2023-06-15 16:47:36 +02:00
Luciano Righetti 9a54a81969 chg: upgrade to phpunit9, add pcov for coverage in docker build 2023-06-15 16:46:22 +02:00
iglocska 83dce48e60
new: [sightingsdb port] from 2.x 2023-06-09 13:45:52 +02:00
Luciano Righetti 3a657aaf17 add: port noticelists 2023-06-06 11:33:17 +02:00
Luciano Righetti ab1540ba19 fix: use default host 2023-06-06 11:31:08 +02:00
Andras Iklody 6c5f085624
Update README.md 2023-05-23 09:33:59 +02:00
Luciano Righetti 4219cca07a add: api tests for crypto keys 2023-05-12 15:35:41 +02:00
Luciano Righetti 1d000305ee fix: fix names 2023-05-10 16:17:29 +02:00
Luciano Righetti f8762b8fc3 add: api tests for allowedlists 2023-05-10 15:59:26 +02:00
Luciano Righetti 59ab13921a fix: namespace 2023-05-10 15:58:01 +02:00
Luciano Righetti 0e8259279a chg: add default roles migration, remove roles fixture, fix tests accordingly 2023-05-10 15:14:18 +02:00
Luciano Righetti db0bbd74c8 add: tests and finish EventBlocklistsController migration 2023-05-05 17:43:48 +02:00
Luciano Righetti 8f28679504 fix: gh action 2023-05-05 11:37:06 +02:00
Luciano Righetti 385a1dabd4 new: [wip] eventblocklists migration 2023-05-04 16:34:18 +02:00
Luciano Righetti d8a2ffdbd9 fix: update readme 2023-05-03 16:10:52 +02:00
Luciano Righetti 0cb30a6751 fix: properly skip tests 2023-05-03 15:36:06 +02:00
Luciano Righetti 9c97b74033 add: add basic user tests, remove cerebrate tests, port code from cerebrate to misp 2023-05-03 11:27:01 +02:00
Luciano Righetti 4c376ba44c fix: tests 2023-05-02 17:16:58 +02:00
iglocska 35932dbf45
new: [3.x] initial skeleton added
- basic functionality available for authentication
- user/org/role management
- logging

- requires a MISP 2.x database as the datastore
2023-01-31 14:58:25 +01:00
Jakub Onderka be46572adf
Merge pull request #8731 from JakubOnderka/debug-failing
fix: [test] Debug failing test
2022-11-01 15:04:14 +01:00
Jakub Onderka a44f801f17 fix: [test] Debug failing test 2022-11-01 14:05:10 +01:00
Jakub Onderka e23b470da4 new: [test] Sighting rest search test 2022-11-01 10:56:14 +01:00
Jakub Onderka ecb88f1c93 new: [test] Check sighting rest search ACL vol. 2 2022-11-01 10:41:52 +01:00
Jakub Onderka 59ce78c955 new: [test] Check sighting rest search ACL 2022-10-31 15:54:06 +01:00
Jakub Onderka 41c79505ed fix: [test] Try to debug why tests sometimes fail 2022-10-30 15:28:14 +01:00
Jakub Onderka d2a0c2f2fa new: [test] test_org_hide_index 2022-10-24 13:26:12 +02:00
Jakub Onderka 9770ee17a9 new: [correlation] Do not correlate over correlating value again for full correlation
Should help with #8685
2022-10-20 09:55:39 +02:00
Jakub Onderka 70556e5911 new: [test] Check object correlation 2022-10-05 14:50:06 +02:00
Jakub Onderka 6dd26a1574 new: [test] test_correlations_noacl 2022-09-08 09:54:24 +02:00
iglocska 0f15344cff
Merge branch 'value1' into develop 2022-08-11 14:22:34 +02:00
Luciano Righetti 48d4a806e6
fix: remove debug print 2022-08-11 13:41:52 +02:00
Luciano Righetti 4206cffcc2
fix: attr restsearch test 2022-08-11 13:29:35 +02:00
Jakub Onderka 986e109f76 fix: [internal] Advanced correlations 2022-08-11 12:55:21 +02:00
Luciano Righetti 27571bcc29
fix: fix new test 2022-08-11 10:51:58 +02:00
Luciano Righetti 5071ebb553
add: add tests, update api docs 2022-08-11 10:11:39 +02:00
iglocska 05830e8d37
fix: [time] missing in the test suite.......
...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGH
2022-08-05 15:44:23 +02:00
iglocska 98878c39c8
chg: [tests] added another sleep to wait for a publish 2022-08-05 15:22:52 +02:00
iglocska 17a8519f7a
fix: [sleep] command fixed
- monkey dev is a monkey
2022-08-05 15:00:48 +02:00
iglocska b5ababdc15
chg: [tests] added sleep to publishing 2022-08-05 14:48:28 +02:00
Jakub Onderka 27ff97a3a3 chg: [internal] restSearch cleanup 2022-06-30 13:35:29 +02:00
Jakub Onderka dba9d60ed9
Merge pull request #8180 from JakubOnderka/event_alert_default_enabled
new: [test] MISP.default_publish_alert
2022-05-07 12:48:54 +02:00
Jakub Onderka ece53cf11d new: [test] MISP.default_publish_alert 2022-05-07 12:39:29 +02:00
Jakub Onderka 12906c13b6
Merge pull request #8278 from JakubOnderka/warninglist-import-export-test
new: [test] Warninglist import/export
2022-05-06 20:39:07 +02:00
Jakub Onderka 6a3253bd2e chg: [API] Add support for ETag checking 2022-05-06 20:31:26 +02:00
Jakub Onderka 70858cff6f fix: [API] Add ID to REST response 2022-05-06 16:41:06 +02:00
Jakub Onderka 95b750b0d1 chg: [internal] Just edit warninglist when updating 2022-05-06 16:41:06 +02:00
Jakub Onderka 9f2d4636a0 new: [test] Warninglist import/export 2022-05-06 16:41:06 +02:00
Jakub Onderka 389ea222ea new: [test] test_taxonomy_export 2022-04-13 09:05:31 +02:00
Jakub Onderka 4aed51d0c2 new: [test] test_get_all_apis 2022-04-10 13:58:12 +02:00
Jakub Onderka 72099918d5 new: [test] advanced_authkeys_non_exists_user 2022-03-27 18:45:31 +02:00
Jakub Onderka bfb9e98c56 fixup! fix: [sign] Allow to sign event by key stored in gpg homedir 2022-03-26 13:38:38 +01:00
Jakub Onderka f1dd24933c fix: [sign] Allow to sign event by key stored in gpg homedir 2022-03-26 12:10:26 +01:00
Jakub Onderka cc3b7271d9 fix: [api] EventsController::toggleProtect 2022-03-26 12:10:26 +01:00
Jakub Onderka a828e57b0d chg: [test] Better custom warninglist test 2022-02-27 08:26:53 +01:00
Jakub Onderka ae07ea534e new: [test] Creating custom warninglist 2022-02-26 19:23:58 +01:00
Jakub Onderka 29e0695df7
Merge pull request #8173 from JakubOnderka/fix-id-translator
fix: [internal] Event ID translator
2022-02-26 11:16:12 +01:00
Jakub Onderka 351d2bfa20 fix: [security] Do not allow to fetch value of redacted setting 2022-02-26 10:57:47 +01:00
Jakub Onderka 16077d0237 new: [test] Search index by eventid 2022-02-26 09:22:41 +01:00
Jakub Onderka e5969d46a9 new: [test] CSP report 2022-02-23 15:08:34 +01:00
Jakub Onderka e54ef97f84 new: [test] New audit 2022-01-16 09:22:51 +01:00
Jakub Onderka a5eba0a619 chg: [internal] Event report name is required 2022-01-10 21:26:16 +01:00
Jakub Onderka f7532da589 new: [test] Exports 2021-11-22 09:57:39 +01:00
Jakub Onderka 3fd029cc62 chg: [internal] Check if update is possible 2021-11-15 21:16:28 +01:00
Jakub Onderka f3829f40df new: [test] test_add_duplicate_tags 2021-10-31 17:48:50 +01:00
Jakub Onderka 82dc65df50 fix: [internal] Attaching tags to attachment attribute 2021-10-31 17:16:58 +01:00
Jakub Onderka 083ec278dd new: [test] test_log_new_audit 2021-10-31 13:32:14 +01:00
Jakub Onderka 9855fc5ced new: [test] test_restsearch_event_by_tags 2021-10-30 19:43:17 +02:00
Jakub Onderka cb636498fe chg: [build] Try to run workers under www-data user 2021-10-30 12:45:29 +02:00
Jakub Onderka 2d015e98dd fix: [API] Deleting user setting 2021-10-30 12:45:28 +02:00
Jakub Onderka fbbd51385f new: [settings] Allow to use ThreatLevel.name for alert filter 2021-10-30 12:45:28 +02:00
Jakub Onderka 53b0da0aae
Merge pull request #7897 from JakubOnderka/preview-index-api
Preview index api
2021-10-29 12:50:36 +02:00
Jakub Onderka 358bf8b029 new: [API] Return JSON for server index preview 2021-10-28 21:56:41 +02:00
Jakub Onderka f6470e4326 fix: [internal] removeOrphanedCorrelations 2021-10-28 21:35:46 +02:00
Jakub Onderka 622aa5f561 add: [test] test_remove_orphaned_correlations 2021-10-28 21:21:24 +02:00
Jakub Onderka abdd526b2d chg: [internal] Faster attaching attribute tags 2021-10-24 11:45:48 +02:00
Jakub Onderka 958bfe7383 fix: [schema] Modify User.change_pw column to boolean 2021-10-23 19:22:45 +02:00
Jakub Onderka 1398956fa0 add: [test] Publishing galaxy cluster 2021-10-20 11:45:07 +02:00
Jakub Onderka d05ad9e67a new: [test] test_deleted_attributes 2021-10-19 16:00:26 +02:00