Commit Graph

242 Commits (731b96984a86a7eaff4aef708912806dca4c13eb)

Author SHA1 Message Date
Jürgen Löhel 3c05037674
fix [INSTALL/MySQL]: Create table `user_login_profiles` only if it not exists
fixes: #9552

Signed-off-by: Jürgen Löhel <juergen.loehel@inlyse.com>
2024-02-07 13:36:10 -06: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 16a2713403 chg: [AuthKey] db change 2023-03-19 11:52:52 +01:00
Christophe Vandeplas bdda94529d chg: [roles] set default role to User if none is set 2022-12-06 10:39:53 +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 b1eaed2b1b chg: merge develop, fix conflicts 2021-11-03 13:54:20 +01:00
Jakub Onderka e7e354c20e chg: [schema] Set object_references.uuid as unique column 2021-11-01 08:44:49 +01:00
Luciano Righetti 7a727c028b chg: fetch job status from redis in jobs view. 2021-10-26 15:02:35 +02:00
Jakub Onderka 4fa9660ff5 chg: [schema] Set sharing group name as unique index 2021-10-20 18:23:35 +02:00
Jakub Onderka e2ba5f0a14 chg: [internal] Switch admin setting name column to unique index 2021-09-30 13:08:19 +02:00
Jakub Onderka 6642d8bf7b chg: [correlation] Allow to drop Correlation.{date,info} columns 2021-08-30 09:43:47 +02:00
Jakub Onderka 3c3cee7735
Merge pull request #7659 from JakubOnderka/unique-indexes
chg: [schema] Mark more indexes as unique
2021-08-20 09:22:23 +02:00
Jakub Onderka 1cd09dd919 chg: [schema] Mark more indexes as unique 2021-08-13 13:59:47 +02:00
Jakub Onderka 9ce19c4f09 chg: [schema] Organisation name should be unique 2021-08-13 08:59:26 +02:00
Jakub Onderka 07a8249cb3 chg: [schema] Tag name should be unique 2021-08-12 14:30:46 +02:00
Jakub Onderka d6136a9c62 chg: [schema] Sightings UUID column should be unique 2021-08-11 14:19:28 +02:00
Jakub Onderka 9523c7c3a9
Merge pull request #7615 from JakubOnderka/event_blocklist_unique
Event blocklist unique
2021-08-05 12:49:41 +02:00
Jakub Onderka ebdde921a2 chg: [internal] org_blocklists.org_uuid should be unique index 2021-08-03 10:38:08 +02:00
Jakub Onderka 6130065b5b chg: [internal] Organisation and object UUID should be unique 2021-08-03 10:26:25 +02:00
Jakub Onderka 6f0e4ebecf chg: [schema] Mark event_blocklist uuid column as unique 2021-08-02 12:20:55 +02:00
mokaddem 21bf638a11
fix: [install:MySQL] Removed org_blacklists table creation
Fix #7476
2021-07-01 12:50:27 +02:00
Jakub Onderka e3b2a0a40c chg: [schema] Add index for EventReport.event_id 2021-03-03 08:17:18 +01:00
Jakub Onderka 874ec66c9b chg: [schema] Convert GalaxyCluster tag name to case insensitive 2021-03-03 08:17:16 +01:00
mokaddem eb2fa7b393 Merge branch '2.4' into galaxy-cluster2.0 2020-11-18 11:45:01 +01:00
iglocska 360dadc35f
fix: [authkey] default value incorrect 2020-11-18 11:37:23 +01:00
mokaddem 335b7ad6cc chg: [mysql] Backported forgotten update 2020-11-18 11:19:00 +01:00
mokaddem b99603bb91
chg: [mysql] Reverted changes to be aligned with db_version 2020-11-16 15:06:25 +01:00
mokaddem f0bc398e60
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0 2020-11-16 14:59:17 +01:00
iglocska ffc45f1b3d
fix: [MYSQL.sql] added first/last seen 2020-11-14 15:14:19 +01:00
iglocska c0419cc8b5
fix: [MYSQL.sql] removed duplicate entry 2020-11-14 14:33:10 +01:00
iglocska 521c487229
fix: [MYSQL.sql] updated
- incorporated all changes from 40 -> 61
- should solve the userinit issues
2020-11-14 14:26:00 +01:00
mokaddem eb84b3344f
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-09-22 12:08:12 +02:00
Jakub Onderka e1281d65bc fix: [internal] Nonsense index names 2020-09-08 10:47:28 +02:00
mokaddem e5346f20a0
fix: [install:MySQL] Create `perm_galaxy` in roles table before updating
rows
2020-06-25 10:46:31 +02:00
mokaddem 5c04b9a8c1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0 2020-05-28 14:06:30 +02:00
kscheetz 7904830143 Fixes failed insert on existing records. 2020-03-23 16:42:38 -04:00
kscheetz bba085a699 Fixes missing MySQL ignore table statements. 2020-03-20 11:05:45 -04:00
mokaddem 04dcdebb1f
new: [galaxyCluster] Initial import of Galaxy2.0 codebase - WiP 2020-03-12 10:26:09 +01:00
Richard van den Berg dd963c2e21 Sync sightings on push, pull and push on add 2019-11-22 21:53:51 +01:00
Koen Van Impe 75f993e524 Force botvrij.eu feed to use HTTPS 2019-10-31 08:48:00 +01:00
iglocska e6b8970b0f
fix: [mysql.sql] typo resolved 2019-09-29 22:31:18 +02:00
iglocska ed6d9deea0
chg: [mysql.sql] updated 2019-09-29 22:20:31 +02:00
mokaddem 5e5818fdae
chg: [sql] align initial perm with sightings 2019-09-12 09:17:24 +02:00
mokaddem 26afe1765d
chg: [roles] Added `perm_decaying` role 2019-08-20 16:37:06 +02:00
Max H 072d6da5fa
Update MYSQL.sql 2019-07-30 16:52:29 +02:00
iglocska 296db741a2
fix: [permissions] Fixed the default sync/user/publisher permissions to include perm_tagger and perm_tag_editor(sync only) 2019-06-11 09:24:16 +02:00
Richard van den Berg 1a855f2ddf Be consistent in quoting table names 2019-04-04 11:27:16 +02:00
Nikos Filippakis 9d59b10368 Publish events to Kafka
Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch>
2019-03-18 15:53:22 +01:00
iglocska 1bad3580ea fix: [data model] added the fix to the org_id field in the tag table to the mysql.sql file 2019-01-01 16:39:32 +01:00
iglocska d4992f5b7d fix: [setup] Brought MYSQL.sql up to date, fixes #3357, fixes #3358 2018-06-20 06:30:01 +02:00