Commit Graph

741 Commits (4be80d39a80d4375dc80a45e43d8e67db0125793)

Author SHA1 Message Date
Jakub Onderka 5fd3c17cad chg: [internal] Simplify getting current repo commit 2024-01-27 10:17:44 +01:00
Jakub Onderka ad8666369c new: [CLI] cake User init command
Deprecate cake UserInit
2024-01-14 17:35:25 +01:00
Jakub Onderka 7b0ebfae5c chg: [internal] PHP 7.4 is required, so we can remove hacks for older versions vol. 2 2024-01-14 17:35:25 +01:00
Jakub Onderka 9c346e8282 fix: [internal] Code style 2024-01-04 17:59:23 +01:00
Jakub Onderka 58d89510a5
Merge pull request #9106 from JakubOnderka/sentry-nicer
chg: [sentry] Capture exception with message
2024-01-04 15:57:24 +01:00
Jakub Onderka 0dd3a73488 fix: [internal] Correctly handle X-Forwarded-For header values 2024-01-03 12:40:36 +01:00
Jakub Onderka 252b23efe2 chg: [log] Proper exception logging 2023-12-29 12:18:01 +01:00
Jakub Onderka 018652cb09 chg: [sentry] Capture exception with message 2023-12-29 12:18:01 +01:00
Jakub Onderka af4644f534 fix: [internal] Code cleanup for IP logging 2023-12-29 09:59:10 +01:00
Andras Iklody ab61a6d5da
chg: [event reports] content field size changed to mediumtext 2023-12-13 09:47:50 +01:00
iglocska 5bed463416
chg: [logging] fail silently if logging entry can't be saved
- can happen when the log change is too large for example
- no need to roll back / break sync for example if a log entry is too large, just fail silently.
2023-12-07 15:17:58 +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
iglocska 9c5919f96e
new: [event report] fetch from url now detects other formats
- pdf, xlsx, pptx, ods, odt, docx extension documents are now imported via the given module
2023-11-02 14:41:06 +01:00
iglocska 29a2471ac3
Merge branch 'develop' of github.com:MISP/MISP into develop 2023-09-14 12:55:42 +02:00
iglocska 08bd23281e
chg: [restsearch internal] sanity check erroneous filters 2023-09-14 12:54:14 +02:00
Andras Iklody 168621521b
chg: [helper] Added param sanity check helper function 2023-09-14 12:52:19 +02:00
iglocska 22f68a2b15
Merge branch 'pw_change_time' into develop 2023-09-13 15:48:59 +02:00
Luciano Righetti d6ad402b31 fix: fixed invalid ordering errors 2023-09-11 12:35:41 +02:00
Luciano Righetti 910fc39806 fix: [restSearch] exact match for values starting with %, fixes #9258 2023-08-30 15:24:36 +02:00
Jeroen Pinoy 7ce06cad9f
new: [Users] add last password change timestamp for users 2023-08-29 13:47:24 +02:00
iglocska 82a4db787b
fix: [attribute search] when adding multiple value filters via the && syntax, don't treat each empty value as a separate entry 2023-08-02 23:25:04 +02:00
iglocska f88f191235
fix: [indexing] object references table lacked an index on the uuid field causing massive performance issues during ingestion 2023-06-19 09:04:54 +02:00
Sami Mokaddem 2ab3245ad4
fix: [app:udpateDatabase] Added missing break statement 2023-06-16 09:03:18 +02:00
iglocska 7d93f74b7b
new: [role permission] for viewing feed correlations
- added additional role permission
- allows hiding feed correlations from users
  - main purpose is with very large instances, to reduce the load on redis
2023-06-09 08:22:45 +02:00
iglocska 06973cf7cc
chg: [taxii] added collection field to taxii servers 2023-06-07 14:26:14 +02:00
Christophe Vandeplas cb74ad507f chg: [security] OTP support for HOTP 2023-05-25 23:28:14 +02:00
Christophe Vandeplas 6311f7d3e6 Merge branch 'develop' into feature/totp 2023-05-25 20:53:06 +02:00
Jakub Onderka a9f407bc10
Merge pull request #9057 from JakubOnderka/sentry
new: [internal] Send exceptions to Sentry if enabled
2023-05-24 10:40:09 +02:00
iglocska 2252d16c91
fix: [over-correlations] weren't truly case insensitive, causing potential issues matching and entering values
- wrapped adding a new value in a try catch, no need to make synchronisations fail over this
- added case insensitive change to values on entry (table should be all lower-case)
- added update script to lowercase existing values
2023-05-22 11:26:05 +02:00
Christophe Vandeplas 6caccac94d new: [security] TOTP authentication 2023-05-19 06:57:16 +02:00
Jakub Onderka 8606222352 new: [internal] Send exceptions to Sentry if enabled 2023-05-18 19:01:04 +02:00
Sami Mokaddem 8ec8f4b4f2
fix: [db:workflows] Changed workflows.data from TEXT to LONGTEXT
Should fix issue  #8979
2023-03-30 10:42:22 +02:00
Christophe Vandeplas 16a2713403 chg: [AuthKey] db change 2023-03-19 11:52:52 +01:00
iglocska 738fd95db2
fix: [taxii servers] invalid baseurl field type
- copy pasta strikes again
2023-02-24 02:00:16 +01:00
Jakub Onderka 2305c4d15e fix: [internal] Migration 105 2022-12-22 10:08:38 +01:00
Christophe Vandeplas bdda94529d chg: [roles] set default role to User if none is set 2022-12-06 10:39:53 +01:00
Jakub Onderka 097275ec96 fix: [log] Fetching remote IP address
Fixes #8795 and #8788
2022-12-02 09:50:18 +01:00
Jakub Onderka b3fd267105 new: [log] Add ability to log sql queries for access log 2022-12-02 09:39:05 +01:00
Jakub Onderka 8ea28a1385 fix: [db] Duplicate migration 2022-12-01 17:19:54 +01:00
Jakub Onderka 52e37972b1
Merge pull request #8796 from JakubOnderka/fix-cluster-attach
fix: [internal] Attaching clusters
2022-12-01 14:36:54 +00:00
Luciano Righetti 1d919354d2
Merge pull request #8794 from righel/highlighted-tags
new: highlighted tags
2022-12-01 15:32:25 +01:00
Jakub Onderka 4a76fae0ea chg: [test] Show application logs 2022-12-01 15:03:02 +01:00
Christophe Vandeplas bc4b1e6f49 fix: [logs] only allow for perm_audit & promote the perm to all 2022-12-01 10:49:50 +01:00
Luciano Righetti 2e7d1d30c1
fix: conflics and update db_schema.json 2022-11-30 16:00:17 +01:00
Christophe Vandeplas 192ed311b9 fix: [remote_ip] respect MISP.log_client_ip_header everywhere fixes #8781 2022-11-28 14:08:11 +01:00
iglocska dbc18f2ca7
fix: [logs] reverted the removal of api logs from the /logs/ logging system unless confirmed
- breaks logging with existing configurations
2022-11-28 13:27:40 +01:00
iglocska 65665928d5
fix: [updates] fixed invalid numbering 2022-11-28 12:41:50 +01:00
iglocska 24f656ac3f
new: [restsearch] added optional ordering
- available on event/attribute restsearch
- uses the new findOrder() internal function to have consistent filtering
2022-11-27 11:15:47 +01:00
iglocska db24a9bbf4
Merge branch 'develop' into taxii 2022-11-21 13:51:37 +01:00
iglocska f4ad815b26
Merge branch 'taxii' of github.com:MISP/MISP into taxii 2022-11-21 13:29:35 +01:00