Commit Graph

393 Commits (da4649dac768781a7a68b75047652641cef0917d)

Author SHA1 Message Date
Stefano Ortolani ce8fac5339 Fix handling of variable LIBFAUP_COMMIT 2023-09-15 12:50:37 +01:00
Stefano Ortolani 6755b4f7a7 Fix GitHub action 2023-09-15 12:23:35 +01:00
Stefano Ortolani 28c59bfc1b Trigger new action 2023-09-15 12:21:49 +01:00
Stefano Ortolani f2a276e194 Fix GitHub action 2023-09-15 12:20:19 +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
Stefano Ortolani f88c73c6f9 Fix test action at pull request time 2023-09-12 15:14:31 +01:00
Stefano Ortolani 14129387c4 Fix indent and spaces 2023-09-12 10:25:37 +01:00
Stefano Ortolani 61b93ab0e3 Improve compatibility with old .env files 2023-09-12 10:24:18 +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
Øivind Hoel 65d7f7642e add misp tag to bake targets 2023-09-01 15:14:21 +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 eb15d22a84 Remove unnecessary installs 2023-06-15 12:59:06 +01:00
Stefano Ortolani 40e7de584b Remove wheels after installation when building modules image 2023-06-15 12:55:16 +01:00
Stefano Ortolani 9447c93b29 Upgrade composer to latest stable 2023-06-15 11:43:41 +01:00
Stefano Ortolani 4e7b1a1912 Add missing argument to composer-build 2023-06-12 09:41:19 +01:00
Stefano Ortolani 7b13ac8ffc Bump version and fix build bugs 2023-06-09 14:42:41 +01:00
Anders Einar Hilden b46e9eef63 Improve image size and better handle poetry-based PyMISP 2023-06-04 13:46:46 +01:00
Stefano Ortolani 77bff61b5a Forcing CA path setting when bundle does not have pem extension 2023-06-02 10:23:37 +01:00
Stefano Ortolani d838706dd1 Initialize 'ca_path' to system CA bundle 2023-05-24 09:57:59 +01:00
Stefano Ortolani aa8c01c746 Trigger build 2023-05-20 12:00:35 +01:00
Stefano Ortolani c634856c16 Push multi-arch images 2023-05-20 11:58:26 +01:00
Stefano Ortolani f4ec130176 Push multi-arch images 2023-05-18 12:09:51 +01:00
Stefano Ortolani c5e184f88e Build multi-arch images when a pull request is opened 2023-05-18 10:39:17 +01:00
Stefano Ortolani 14c042f41e Export optional environment variables 2023-05-17 14:07:21 +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
Stefano Ortolani e548b22ffa Refactor handling of syncserver variables 2023-05-13 14:17:53 +01:00
Stefano Ortolani d3db17ef78 Move to pydeep2 2023-05-12 15:52:25 +01:00
Stefano Ortolani c6b0ba7819 Handle PyMISP migration to poetry 2023-05-12 15:27:33 +01:00
Stefano Ortolani 808c41483a Set sessions to be stored in Redis rather than files 2023-05-12 13:42:23 +01:00
Stefano Ortolani aceee6d225 Remove plugin configuration and refactor REST client functions 2023-05-09 15:11:07 +01:00
Stefano Ortolani 971e6a0ed8 Remove leftover from refactory 2023-04-24 11:11:00 +01:00
Stefano Ortolani 51075b4f37 Refactor the whole image and allow external customization 2023-04-24 10:55:25 +01:00
Stefano Ortolani 8d7031e42c Bump version and fix cloning when specific a specific commit 2023-03-28 14:37:13 +01:00
Stefano Ortolani 3f7ea9ae15 Bump version 2023-02-17 09:44:56 +00:00
Stefano Ortolani d029a89db5 Bump version and fix build badge 2023-01-20 11:48:26 +00:00
Stefano Ortolani ed3b00b52a Finalize fork 2022-12-07 08:52:49 +00:00
Stefano Ortolani 25dd423617
Tidy things up before publishing (#11)
Co-authored-by: Stefano Ortolani <ortolanis@vmware.com>
2022-12-06 17:13:23 +00:00
Sebastiano Mariani 814379c22f
Add nginx route (/feeds) that exposes various MISP feeds (#9)
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
2022-11-30 08:51:29 -08:00
Stefano Ortolani 212a9ca557
Fix entrypoints and improve disk performance (#10)
Co-authored-by: Stefano Ortolani <ortolanis@vmware.com>
2022-11-30 16:42:16 +00:00
Stefano Ortolani 231d099a9f
Fix how cron are launched and managed (#8)
Changes:
- cron is now launched with the -l option
- pipe cron/tail is now a fifo so sigterm is handled properly

Co-authored-by: Stefano Ortolani <ortolanis@vmware.com>
2022-11-30 09:51:57 +00:00
Sebastiano Mariani bc512da318
Fix Github action Docker image tags to use the SHA1 of HEAD (#7)
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
2022-11-22 12:06:57 -08:00
Sebastiano Mariani 9b2471d267
Tag newly created Docker images with the first 8 letters of the commit SHA1 (#6)
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
2022-11-22 11:39:45 -08:00
Stefano Ortolani 185c79a37d Bump version to .165 2022-11-22 16:58:17 +00:00
Sebastiano Mariani 54705719de
Add ability to specify new organizations that needs to be register at startup time (#5)
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
2022-11-17 15:15:56 -08:00