Commit Graph

692 Commits (2.4)

Author SHA1 Message Date
Sami Mokaddem b5ce3e99a4
fix: [workflow:workflow-shell] Make sure a user is set when using non-blocking workflow
- Fix #9722
- Thanks to @microblag for the proposed fix
2024-05-02 15:12:12 +02:00
Sami Mokaddem 51c00f434d
Merge branch 'develop' of github.com:MISP/MISP into feature/analyst-data-api 2024-04-29 14:12:07 +02:00
Jakub Onderka 2dd74ed79b chg: [CLI] Simplify updating JSON structures 2024-04-21 10:37:08 +02:00
iglocska a55a19cd09
Merge branch 'develop' of github.com:MISP/MISP into develop 2024-04-17 15:10:30 +02:00
iglocska 4544ef2516
new: [benchmarking suite] added
- collect metrics about the usage of MISP
  - stored in redis
  - per endpoint / user / user-agent collection
  - collection of execution time, php memory use, sql execution time, sql query count
  - the collection happens on a daily basis
- Searchable / filterable interface for the collected data
- Dashboard widget for the collected data
2024-04-17 15:08:38 +02:00
Jakub Onderka df7ff3d4cd
Merge pull request #9651 from JakubOnderka/server-sync-debug
Server sync debug
2024-04-14 15:38:57 +02:00
iglocska 04100d13d3
chg: [statistics] (R)etrieval (o)f (m)ember (m)etrics (e)valuation (l)ist (f)or (s)tatistics changed
- will include soft deleted attributes too
2024-04-09 13:44:07 +02:00
iglocska 45176f7dcd
chg: [statistics] (R)etrieval (o)f (m)ember (m)etrics (e)valuation (l)ist (f)or (s)tatistics changed
- will include soft deleted attributes too
2024-04-09 13:41:56 +02:00
Jakub Onderka e2dbc690ac chg: [sync] Enable garbage collector when pulling events from remote server 2024-04-08 19:45:30 +02:00
Jakub Onderka e95b333096 fix: [CLI] Fix redisReady for dragonfly 2024-03-21 12:25:37 +01:00
Sami Mokaddem c23363ac87
chg: [ls22shell] Improvement for LS24 adding support of analyst-data & detection/mitigation rules + some tweaks 2024-03-14 16:31:22 +01:00
iglocska 3aa1ddbe03
new: [cli] added org list to the shell commands
- and some fixes to the roles
2024-03-07 14:49:24 +01:00
iglocska f1102decf6
fix: [CLI] added some new functionalities
- list roles
- create user
2024-03-07 13:56:03 +01:00
Jakub Onderka 6140f8a14a new: [CLI] New command to change user role 2024-03-04 18:18:47 +01:00
Sami Mokaddem 3db65a5548
fix: [test:testlive_sync] Adapted message to adhere to server change 2024-02-15 14:39:43 +01:00
Sami Mokaddem 0eb23bbf2f
fix: [console:serverShell] Set `CurrentUserId` to the ID of the user being used 2024-02-07 11:10:35 +01:00
Jakub Onderka f0a2c9c8e9 new: [CLI] User::ip_country 2024-01-28 13:03:32 +01:00
Jakub Onderka bc7a2a7489 fix: [CLI] Do not load config twice 2024-01-22 09:54:15 +01:00
Jakub Onderka 34bb0a1d19 chg: [CLI] Better warning messages for cake user authkey_valid 2024-01-16 16:21:34 +01:00
Jakub Onderka 9627e075b3 chg: [CLI] Better error messages for cake admin isEncryptionKeyValid 2024-01-16 13:50:30 +01:00
Jakub Onderka b5f3c2fae5 chg: [CLI] Optimise cake user authkey_valid 2024-01-15 20:04:46 +01:00
Jakub Onderka ad8666369c new: [CLI] cake User init command
Deprecate cake UserInit
2024-01-14 17:35:25 +01:00
Jakub Onderka ede7a081ed chg: [CLI] Be more strict for setSetting accepted values 2024-01-14 17:35:25 +01:00
Jakub Onderka d4e3622639 chg: [CLI] More clear warning message 2024-01-14 17:35:25 +01:00
Jakub Onderka 59916f848a chg: [CLI] Track worker process ID 2024-01-13 16:41:20 +01:00
Jakub Onderka 391f0324e9 chg: [CLI] Show deprecated message for all deprecated commands 2024-01-13 16:41:20 +01:00
Jakub Onderka fa85228f84 new: [CLI] AdminShell isEncryptionKeyValid command 2024-01-13 16:41:20 +01:00
Jakub Onderka 77d2aa5dc9 new: [zmq] Allow to manager ZMQ process by supervisor 2024-01-13 15:39:09 +01:00
Jakub Onderka 9616e07e95
Merge pull request #8717 from JakubOnderka/experimental-curl-client
new: [sync] Experimental curl client
2024-01-12 12:18:54 +01:00
Jakub Onderka 57459063cd chg: [internal] Track running jobs 2024-01-10 13:22:43 +01:00
Jakub Onderka 1368fdf565 chg: [CLI] Deprecate LiveShell 2024-01-09 16:06:34 +01:00
Jakub Onderka 11a67099cc new: [CLI] Add ability to show running jobs 2024-01-08 19:09:04 +01:00
Jakub Onderka bb36276a11 chg: [CLI] Better logging for workers 2024-01-08 17:58:28 +01:00
Jakub Onderka 7ad77f5925 new: [CLI] Worker shell 2024-01-08 17:47:47 +01:00
Jakub Onderka 405b918580 new: [CLI] IP address normalization script 2024-01-05 17:38:05 +01:00
Jakub Onderka 8678da10d8 chg: [internal] Optimise reportValidationIssuesAttributes 2024-01-05 16:40:49 +01:00
Jakub Onderka 4c65981195 chg: [internal] Add logging for UserShell::authkey_valid 2024-01-03 13:20:30 +01:00
iglocska d1c09533c6
chg: [CLI] runUpdates updated to purge any pending db lock first 2023-12-14 14:19:46 +01:00
Jakub Onderka 305b3be44d chg: [module] Keep connection between requests 2023-12-05 12:47:50 +01:00
Christophe Vandeplas 7e2cb89f97
Feature/user login profiles2 (#9379)
* new: [userloginprofiles] start over with previous code

* fix: [user_login_profiles] fixes catching up the backlog

* chg: [userloginprofile] email to org_admin for suspicious login

* chg: [userloginprofile] only inform new device

* chg: [userloginprofiles] view_login_history instead of view_auth_history

* chg: [userloginprofile] make login history visually better

* chg: [userloginprofile] inform admins of malicious report

* fix: [userloginprofile] cleanup

* fix: [userloginprofile] fixes Attribute include in Console

* fix: [userloginprofile] db schema and changes

* chg: [CI] log emails

* chg: [PyMISP] branch change

* chg: [test] test

* fix: [userloginprofile] unique rows

* fix: [userloginprofile] unique rows

* chg: [cleanup]

* Revert "chg: [PyMISP] branch change"

This reverts commit 3f6fb46fee.

* fix: [userloginprofile] fix worksers with monolog=1.25 browcap=5.1

* fix: [db] dump schema version

* fix: [CI] newer php versions

* fix: [composer] php version

* fix: [php] revert to normal php7.4 tests

---------

Co-authored-by: iglocska <andras.iklody@gmail.com>
2023-11-24 13:47:59 +01:00
Christophe Vandeplas 2f15cbc23e fix: [console] minor syntax fix 2023-11-22 16:04:01 +01:00
iglocska 3996af54ba
chg: [statistics shell] added new statistics on PRs 2023-11-15 07:38:07 +01:00
Sami Mokaddem 4ddf3b41f3
fix: [Console:EventShell] Correctly interpret returned data 2023-09-29 11:56:14 +02:00
Sami Mokaddem 8d09cadc77
fix: [console:EventShell] Fixed parameter parsing and typo 2023-09-29 10:36:04 +02:00
Sami Mokaddem 4de2f03013
fix: [console:TrainingShell] Typo in datasource model.
-- Seriously..
2023-09-28 11:46:49 +02:00
Sami Mokaddem e9c9441b54
fix: [console:TrainingShell] Typo in authkey condition 2023-09-28 11:44:53 +02:00
Sami Mokaddem 086266c0c3
chg: [console:TrainingShell] Added wipeAllAuthkeys function 2023-09-28 11:38:24 +02:00
Sami Mokaddem fbc84647ed
chg: [Command:TrainingShell] Only override org_id if org_uuid is provided 2023-09-27 15:54:20 +02:00
iglocska a316e9ff64
fix: [ibternal] invalid ; instead of ,
- Me not think good.
2023-09-24 09:21:32 +02:00
iglocska dad92308cf
new: [dev] added a shell script to generate the restsearch parameters
- it's dumb but it should get the job done
2023-09-24 08:42:12 +02:00