Commit Graph

31 Commits (4ec525d582fc9fbcf74bd9a927018413f33bc2c7)

Author SHA1 Message Date
Stefano Ortolani d9bfc19f77 Set misp.org based on env var 2024-11-13 09:52:48 +00:00
Steven Goossens 7468cd9886
Add UUID for the Admin organisation when deploying (#183)
* Update template.env - Add ADMIN_ORG

* Update docker-compose.yml - Add ADMIN_ORG_UUID

* Update configure_misp.sh - Add uuid to database
2024-11-13 09:27:13 +00:00
Guilherme Capilé 5e60a88eeb
$OIDC_SCOPES must be an array, testing the env to be a valid json array before pushing to config (without escaping) (#184) 2024-11-13 09:26:48 +00:00
DiegolAmaral ce805b58a3
Fix OIDC SCOPES (#180)
Co-authored-by: diegolamaral <diego.arruda.amaral@gmail.com>
2024-11-01 08:42:48 +00:00
Jordan Barnartt f23186129b
Configure OIDC scopes from env variable (#170) 2024-10-18 14:38:52 +01:00
DiegolAmaral 0a836d203e
Add additional PHP settings and cookie configurations (#164)
Add additional PHP settings and cookie configurations

---------

Co-authored-by: diegolamaral <diego.arruda.amaral@gmail.com>
2024-10-10 13:49:51 +01:00
DiegolAmaral 31db79c0df
Fix OIDC_ENABLE Toggle Logic in MISP Environment Configuration (#161)
* Fix OIDC_ENABLE Toggle Logic in MISP Environment Configuration

* Update sudo Usage for MISP Configuration Commands

---------

Co-authored-by: diegolamaral <diego.arruda.amaral@gmail.com>
2024-10-04 14:46:45 +01:00
DiegolAmaral 26ae2bff7c
Add OIDC Custom Logout URL (#148)
* Add oidc logout url to env and docker image

* Set the custom logout URL if OIDC_LOGOUT_URL is defined

---------

Co-authored-by: diegolamaral <diego.arruda.amaral@gmail.com>
2024-10-02 12:24:12 +01:00
Øivind Hoel 043437c83f Move settings and mysql env vars around 2024-09-08 10:31:06 +01:00
Øivind Hoel 7e595ff585 Run component updates in the background 2024-09-08 10:30:13 +01:00
Stefano Ortolani 57ce60ab66 Fix race conditions and typos 2024-08-25 13:44:18 +01:00
Stefano Ortolani 02f81b886e Allow more redis options to be configured 2024-08-20 22:30:28 +01:00
Stefano Ortolani 7ef14a06f5 Remove default value in favour of env var 2024-08-19 12:33:49 +01:00
Stefano Ortolani 5ef80d3d0e Add syncservers pull rules 2024-08-06 13:18:32 +01:00
marjatech 27bd316a71
keep environment, so curl will know about https_proxy (#87) 2024-07-04 07:41:37 +01:00
UFOSmuggler 8aaec5d836
Bring forward when database updates occur (#76)
Remove await_settings_db() entirely

Linebuffer some outputs so they look nicer

Move redis specific config items to minimum_config*json

Add start_interval to docker-compose.yml to avoid runUpdates race condition caused by health check which could lead to bad db updates, which seems to have been an issue for quite a while but is very hard to reproduce
2024-06-14 13:41:55 +01:00
Stefano Ortolani 303ea9d2f9 Revert some changes to unblock new users 2024-06-12 15:28:38 +01:00
UFOSmuggler 261c541749
Update set_up_proxy(), add DEBUG envar, minor fixes (#71)
* added missing PROXY_ENABLE envar to docker-compose.yml

add default value of false is PROXY_ENABLE unset

altered set_up_proxy() in configure_misp.sh to use json-based config system

fixed MISP.ca_path setting to use --force, since doesn't end in .pem

* Add DEBUG envar

Works in both config.php and system_settings table.
2024-06-11 12:36:39 +01:00
Stefano Ortolani 16ec637742 Bump misp-modules and revert some defaults 2024-06-06 12:56:36 +01:00
Thibault Van Win 76fadc5496
Add option to configure proxy using environment vars (#69)
Co-authored-by: Thibault Van Win <thibault.van.win@axsguard.com>
2024-06-06 12:41:12 +01:00
UFOSmuggler d56c893f4d
Introduce new system to persist mandatory and optional settings (#66)
* Make safe settings functions handling config json objects. 
* Also, update cake's cacerts. Previous method was using ubuntu's crts, which weren't pem.
* Bring config inline with previous config.php template version.
* Move settings into files in /etc/misp-docker.
* Fix Security.auth kludge.
* Rename functions and settings json files for a bit more clarity.
* Add documentation to README.md.
* Add a bit of context around adding new envars.
* Add ENABLE_DB_SETTINGS envar for turning on MISP.system_setting_db.
* Add documentation regarding new envar, and add to docker-compose.yml and template.php.
* Move "weird default" ZeroMQ setting to initialisation settings.
* Move some settings to cli_only.
* Add code to disable DB settings when applying cli_only settings.
* Change system_settings table availability check to until loop.
* Some language changes for clarity.
2024-06-06 09:30:12 +01:00
Stefano Ortolani 639d6e746b Add documentation and fix default values for OIDC_ROLES_MAPPING 2024-05-09 10:03:55 +01:00
Christian Morales Guerrero 313681a344
Support optional OIDC_ISSUER parameter (#52) 2024-04-24 12:26:22 +01:00
Stefano Ortolani 52db2da71d Bump version 2024-04-11 08:45:25 +01:00
shieldsurge 0c24160035
Add AadAuth support in configure_misp.sh (#39) 2024-04-10 16:56:44 +01:00
phil ca6f598eed
use correct LDAP_READER env variables (#18) 2024-02-27 14:10:50 +00:00
phil c8cebcfdab
Add ApacheSecureAuth configuration option 2024-02-21 17:04:41 +00:00
Stefano Ortolani 70b32a739c Rename variable 'HOSTNAME' to 'BASE_URL' 2023-12-22 11:02:20 +01:00
Christos Arvanitis 2039141369 Check for required env variables on OIDC 2023-12-11 13:40:48 +01:00
Christos Arvanitis 526c47a6e8 Expose OIDC config parameters 2023-12-11 11:23:04 +01:00
Stefano Ortolani a861906dcf Finalize package split 2023-12-07 22:25:21 +00:00