Commit Graph

178 Commits

Author SHA1 Message Date
Shreya Malviya 3e5ae392c9 Build: Create separate mongo installation script for Windows 2022-05-12 17:03:38 +05:30
Mike Salvatore 68d709c158 Deploy: Use `npm run dev` instead of `npm run dist`
`dev` is significantly faster than `dist`. `dist` uses a source mapping
algorithm that's good for production, but much slower than the one used
by `dev`. See https://github.com/guardicore/monkey/issues/1879 for more
details.
2022-05-10 08:15:22 -04:00
EliaOnceAgain 6dfaf5ec74 Deploy: Move deployment_scripts/install-infection-monkey-service.sh to build_script/appimage/ 2022-05-05 11:01:47 -04:00
Mike Salvatore 2b33aaa50c
Merge pull request #1862 from EliaOnceAgain/1552/setup_service
Deploy: Script to install appimage sysd service that runs on boot
2022-04-10 14:58:11 -04:00
Mike Salvatore 151df34ec8 Deploy: Fix capitalization of .AppImage 2022-04-10 14:57:13 -04:00
Mike Salvatore 1be6de0bd8 Deploy: Set mode=0755 when creating /opt/infection-monkey/bin/ 2022-04-10 14:50:09 -04:00
Mike Salvatore c8e4a4f0ef Deploy: Display help if missing arguments 2022-04-10 14:50:09 -04:00
Mike Salvatore 3aa6d4a119 Deploy: Set `umask 077` before deploying systemd unit 2022-04-10 14:50:09 -04:00
Mike Salvatore f42a3bdaad Deploy: Improve missing argument error message 2022-04-10 14:50:09 -04:00
Mike Salvatore 176e91f533 Deploy: Set permissions of deployed AppImage to 755 2022-04-10 14:50:09 -04:00
Mike Salvatore f00ebef9f3 Deploy: Fix minor issues in Usage of install-infection-monkey-service.sh 2022-04-10 14:50:09 -04:00
EliaOnceAgain 149103e9ba Deploy: Don't chmod if appimage hasn't changed 2022-04-10 14:50:06 -04:00
EliaOnceAgain 4f3b2253d5 Deploy: Set appimage executable, rename assert_flag to assert_parameter_supplied 2022-04-10 14:49:35 -04:00
EliaOnceAgain a671c11f74 Deploy: Help msg format, func names, service name, validity checks 2022-04-10 14:49:25 -04:00
EliaOnceAgain bd22b7fbcc Deploy: Script to install appimage sysd service that runs on boot 2022-04-06 01:18:42 +03:00
vakarisz 2d5d245305 Deploy: Change quotes in windows deployment command 2022-04-04 14:39:35 +03:00
vakarisz b3379c66d3 Deploy: Change deployment scripts to use node v16 from v12 2022-04-04 14:39:35 +03:00
Mike Salvatore dc8bd7008e Deploy: Remove 32-bit agents from Windows deployment script 2022-02-25 14:45:57 -05:00
Mike Salvatore 22ec96c4ee Deploy: Use `npm ci` instead of install/update in Linux deployment 2022-02-24 13:23:58 -05:00
Mike Salvatore c8c1aa7036 Deploy: Remove --single-branch from `git clone` in Linux deployment 2022-02-24 13:23:58 -05:00
Mike Salvatore fb1880dd24 Deploy: Remove 32-bit binaries from Linux deployment script 2022-02-24 13:23:58 -05:00
VakarisZ b5e3922c0a Deploy: bugfix config.ps1 download and remove unused scoutsuite dir variable from it 2021-11-18 12:05:47 +02:00
VakarisZ d6e397871f Deploy: remove sambacry binary download step from linux and windows deployment scripts 2021-11-10 15:43:51 +02:00
Mike Salvatore 0a3488b680 Deployment: Add requirements.txt for attack mitigations dump script 2021-09-30 18:03:28 +02:00
Mike Salvatore 45c66fe309 Deployment: Include metadata in attack mitigations json dump 2021-09-30 18:00:32 +02:00
Mike Salvatore 2a9d9938cd Deployment: Move dump_attack_mitigations into a subdirectory 2021-09-30 10:52:43 -04:00
Mike Salvatore 6de33bfd57 Deployment: Import ATT&CK data into mongo 2021-09-30 10:50:52 -04:00
Mike Salvatore 82c8385863 Deployment: Reorder functions in dump_attack_mitigations.py 2021-09-30 10:50:52 -04:00
Mike Salvatore 38f50641a5 Deployment: Wrap argument parsing in function 2021-09-30 10:50:52 -04:00
Mike Salvatore 7bcfc6d27a Deployment: Make dump_attack_mitigations.py executable 2021-09-30 10:50:52 -04:00
Ilija Lazoroski 29f9384b6a Deployment: Initial commit for mongo export utility 2021-09-30 10:50:52 -04:00
Mike Salvatore db8ea45197 Agent: Remove traceroute binaries
The traceroute binaries are no longer used. They inflate the size of the
agent binaries and add unnecessary dependencies.
2021-08-20 16:27:36 -04:00
Ilija Lazoroski 0c6d0ed2a8 Removed quotes in deployment_scripts README for first argument of deploy_linux.sh. Related #1108. 2021-06-14 12:54:25 -04:00
kur1mi 5e14738a43 Update README.md in deployment _scripts 2021-06-14 10:02:06 -04:00
VakarisZ 559b61b581 Removed code related to running mongodb and db folder creation 2021-05-27 11:05:43 +03:00
Mike Salvatore 78ca2c25b1 deploy: Remove unnecessary recursive chmod 2021-04-28 12:18:26 -04:00
Mike Salvatore 7c34288f1b deployment: Remove swimm debian package after it is installed 2021-04-28 07:01:29 -04:00
shreyamalviya 9383457518 Modify Windows deployment script to check $env:SKIP before adding swimm-verify to it 2021-04-28 13:40:49 +05:30
shreyamalviya ba3317b252 Set environment variable SKIP=swimm-verify in Windows deployment script so pre-commit skips swimm-verify 2021-04-27 17:50:38 +05:30
Shreya 60f776fef9 Add Swimm details to deployment guide (deployment_scripts/README.md) 2021-04-27 20:51:21 +05:30
Shreya e58edfbd7e Add Swimm to Windows deployment script 2021-04-27 20:22:02 +05:30
Shreya af4aaf23c6 Add Swimm to Linux deployment script 2021-04-27 20:16:50 +05:30
Mike Salvatore d83fc2e914 Drop `--system` from `pipenv install` in deploy_linux.sh
The `--system` flag is not necessary when deploying a development
environment on linux. It's preferable to install python dependencies in
venvs rather than on the system.
2021-04-26 10:42:34 -04:00
Mike Salvatore 20a575ecb7 Add note about $PATH in deployment_scripts/README.md 2021-04-22 09:50:30 -04:00
Mike Salvatore 051621bdfa Modify monkey_island/linux/run.sh to use pipenv 2021-04-22 09:50:30 -04:00
Mike Salvatore de8e306786 Install python3.7-venv in deploy_linux.sh
pipx requires ensurepip, which is provided by python3.7-venv
2021-04-22 09:50:30 -04:00
VakarisZ c9b3d3a92d Fixed pipenv bugs for linux deployment scripts 2021-04-22 09:50:29 -04:00
VakarisZ 47f1bd31cc Converted deployment scripts to use pipenv instead of pip 2021-04-22 09:50:29 -04:00
Mike Salvatore 4b02e3bc63 docs: Add pre-push hooks to manual pre-commit install instructions 2021-04-20 12:13:00 -04:00
Mike Salvatore 6571e0e4fa Install pre-push hooks in deployment scripts 2021-04-20 12:11:46 -04:00