Commit Graph

62 Commits (2739a8c02fff5b9008b4fb0ef03923dcd9c28b56)

Author SHA1 Message Date
Stefano Ortolani 130a6ba8c0 Bump misp-modules and backport fixes 2024-07-19 16:43:15 +01:00
Stefano Ortolani ab79ea270b Bump version and improve escaping documentation 2024-06-26 14:35:40 +01:00
Shykh Smyr|شيخ سمير 1fd8070094
Added note for escaping LDAP password in template.env (#84)
If the LDAP password contains special characters that need escaping, they must be doubly escaped inside .env.

Added a reminder against the password field for that.
2024-06-26 14:19:49 +01:00
Stefano Ortolani 5d641c75e4 Fix template 2024-06-20 09:01:30 +01:00
David Manzano c140a40f0d
Make SMTP host setting configurable (#77)
* Allows to configure a STMP server different from the one in docker-compose

* Addresses @ostefano regarding envvars with defaults

* Ensures default is present in template.env
2024-06-20 08:57:30 +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 b0bdfc7351 Bump misp-core and misp-modules 2024-06-07 11:32:12 +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
Stefano Ortolani 0cd3c81238 Bump misp-core 2024-05-03 14:25:48 +01:00
Stefano Ortolani 66a683c075 Bump MISP 2024-04-24 12:37:49 +01:00
Stefano Ortolani e407e127d3 Bump MISP 2024-04-20 19:54:43 +01:00
shieldsurge 67d4a0ea32
Fix missing AadAuth env var (#44) 2024-04-12 19:54:43 +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
Stefano Ortolani 485feba927 Fix permission bug and bump version 2024-03-24 15:32:21 +00:00
Stefano Ortolani fe531d5806 Bump version and fix bugs
Changes:
- Bump to version 2.4.187
- Fix error when not disabling ipv6 or ssl redirect
- Enable ztsd php extension
- Catch when .env file is not created
2024-03-08 10:43:28 +00:00
Stefano Ortolani 6f8dd83d9a Allow disabling of SSL redirection 2024-03-04 13:26:18 +00:00
Stefano Ortolani 81c9d9e00e Bump MISP version 2024-02-29 15:46:41 +00:00
Stefano Ortolani 6bf0ab0259 Bump MISP version 2024-02-21 17:16:34 +00:00
phil c8cebcfdab
Add ApacheSecureAuth configuration option 2024-02-21 17:04:41 +00:00
Stefano Ortolani b51887462f Bump MISP version 2024-02-05 14:33:47 +00:00
Stefano Ortolani 756e49e796 Bump MISP version 2024-01-04 19:39:42 +00:00
Stefano Ortolani 70b32a739c Rename variable 'HOSTNAME' to 'BASE_URL' 2023-12-22 11:02:20 +01:00
Stefano Ortolani 9aded348b1 Bump MISP version 2023-12-15 10:46:40 +00: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 fffaa51572 Make variable names consistent 2023-12-08 08:45:49 +00:00
Stefano Ortolani a8a7cc645a Bump MISP version 2023-12-01 18:26:04 +00:00
Stefano Ortolani 3e48d52bf4 Bump MISP version 2023-11-30 08:53:29 +00:00
Stefano Ortolani 7b69ffe951 Bump version 2023-11-23 17:42:53 +00:00
Stefano Ortolani 72bcd6e3c8 Bump version 2023-10-25 09:53:13 +01:00
Stefano Ortolani abbc73f655 Prepare post https://github.com/MISP/MISP/pull/9304 merge 2023-10-25 08:45:03 +01:00
Stefano Ortolani 65a4e20b6c Fix MySQL config mangling and workaround VirtioFS bug 2023-10-16 10:20:00 +01:00
Stefano Ortolani 1140021d3f Bump MISP version 2023-09-28 08:58:46 +01:00
Stefano Ortolani 8ef11e85a7
Add option to disable IPv6 completely (#29) 2023-09-25 21:40:13 +01:00
Stefano Ortolani 969c131c84
Fix build arguments and pin pymisp (#28) 2023-09-17 12:37:02 +01:00
Øivind Hoel 5a3d5a9e0a
Create smaller image, faster build times, rework dependencies (#27)
Changes:
* fetch pymisp version from submodule, remove erroneous module from additional dependencies
* fix heredoc indentation, move files dist and permission to same layer to avoid duplicating
* fix cybox addition, codecov removal
* pinned pip versions for our own imports
* size optimization by applying the intended file permissions from later step in initial copy
* bind-mount wheels to reduce image size
* fix var init, rework py module add script to require version and only overwrite when we have a version defined
* handle missing MISP/MODULES_TAG in env
* remove git package and (almost all of) .git directory
* split MISP and PyMISP steps to allow faster iteration in module step
2023-09-15 11:50:30 +01:00
Stefano Ortolani 1f3b79c6aa Bump version 2023-09-15 11:01:53 +01:00
Øivind Hoel 814d12a761
Update to python 3.11, improve build times (#26)
Changes:
* misp-modules targets py3.11, so use that base, + ninja + wheels groundwork
* slightly optimise local builder layer cache size
* pin libfaup to specific commit
* remove comment
* move libfaup_commit to template, get apios from pypi and let it decide validators version
2023-09-12 10:23:20 +01:00
Stefano Ortolani 0148b5fd1e Bump version 2023-08-29 13:53:06 +01:00
Anders Einar Hilden 2078a599fb Add/document AUTOGEN_ADMIN_KEY, AUTOCONF_GPG, MISP_EMAIL, MISP_CONTACT
AUTOCONF_ADMIN_KEY renamed to AUTOGEN_ADMIN_KEY. If ADMIN_KEY is set,
that will still be set, AUTOGEN_ADMIN_KEY only turns off automatic
generation.
AUTOCONF_GPG behaves as before.
MISP_EMAIL sets MISP.email and GPG-related email.
MISP_CONTACT sets MISP.contact (support email)
2023-08-11 11:15:29 +01:00
Stefano Ortolani 3429540b78 Bump version and allow selectively disabling auto configuration 2023-08-01 11:21:12 +01:00
Stefano Ortolani 78e419c4c5 Bump version 2023-07-11 13:18:47 +01:00
Stefano Ortolani 7b13ac8ffc Bump version and fix build bugs 2023-06-09 14:42:41 +01:00
Stefano Ortolani 5c78c3492c Bump misp and misp-modules 2023-05-16 15:26:20 +01:00
Stefano Ortolani 0f158150a0 Read hostname and cron user id from environment variables 2023-05-15 12:13:25 +01:00
Stefano Ortolani 366fb0e6b0 Fix first execution bugs and allow admin password to be changed
Changes:
- Allow admin password to be changed
- Fix updating email.php the first time the container starts
2023-05-14 16:56:55 +01:00