Commit Graph

4807 Commits

Author SHA1 Message Date
Mike Salvatore 684a6f8171 appimage: Match any unknown parameters (not just flags) 2021-05-03 07:45:10 -04:00
Mike Salvatore de9d750e3c Add PR #1136 to the changelog 2021-04-30 10:26:01 -04:00
Mike Salvatore 0192e08900 appimage: Replace some tabs with spaces 2021-04-30 10:17:53 -04:00
Mike Salvatore c61b551545 appimage: Address minor shellcheck findings 2021-04-30 10:17:53 -04:00
Mike Salvatore f87514cbbf appimage: Add a few log messages 2021-04-30 10:17:53 -04:00
Mike Salvatore 9f150bb51a appimage: Remove references to deployment scripts in logging 2021-04-30 10:17:53 -04:00
Mike Salvatore 7ab7e56b4c appimage: Replace `apt` with `apt-get` 2021-04-30 10:17:53 -04:00
Mike Salvatore ebd2fddd79 appimage: Add --as-root flag 2021-04-30 10:17:53 -04:00
Mike Salvatore febad65ff9 appimage: Perform root checks after parsing args 2021-04-30 10:17:53 -04:00
Mike Salvatore d53ba0e881 appimage: Add --help 2021-04-30 10:17:53 -04:00
Mike Salvatore f91a52f0c0 appimage: Exit with error if unsupported parameters are passed 2021-04-30 10:17:53 -04:00
Mike Salvatore fe25cd257f appimage: Add cli parameter to specify local monkey repo dir 2021-04-30 10:17:53 -04:00
Mike Salvatore 280b1e280a appimage: Put cli parameters in alphabetical order 2021-04-30 10:17:53 -04:00
Mike Salvatore 9c11f239ce appimage: Add a cli parameter for for specifying a git branch 2021-04-30 10:17:53 -04:00
Mike Salvatore e58281b0f0 appimage: Use npm-ci instead of npm-install 2021-04-30 10:17:53 -04:00
Mike Salvatore 2856b85616 appimage: Add cli parameter for specifying which agent binaries to include 2021-04-30 10:17:53 -04:00
Mike Salvatore 8cb47ce3e7 appimage: Add cli parameter for specifying the package version 2021-04-30 10:17:53 -04:00
Mike Salvatore 68759e3970 appimage: Make spacing consistent 2021-04-30 10:17:53 -04:00
Mike Salvatore 84c875c396 appimage: Only load binary config if downloading agent binaries 2021-04-30 10:17:53 -04:00
Mike Salvatore 1f4af68278 appimage: Use $WORKSPACE variable if present
Jenkins sets a $WORKSPACE environment variable. We'll use this if it's
been set. Otherwise, use $HOME.
2021-04-30 10:17:53 -04:00
Mike Salvatore c47f5a5912 appimage: Relocate squashfs-root/ to same dir as build_appimage.sh 2021-04-30 10:17:53 -04:00
Mike Salvatore 7276760c6a appimage: Remove unnecessary recursive chmod in clone_monkey_repo() 2021-04-30 10:17:53 -04:00
Mike Salvatore c33f9cf83c appimage: Upgrade from Python 3.7.9 -> 3.7.10 2021-04-30 10:17:53 -04:00
Mike Salvatore 408a0de4f0 appimage: remove node_modules from appdir
The node modules do not need to be deliverer with the appimage. Removing
them from the AppDir saves 50MB.
2021-04-30 10:17:52 -04:00
Mike Salvatore 78ca2c25b1 deploy: Remove unnecessary recursive chmod 2021-04-28 12:18:26 -04:00
Mike Salvatore 0cb8fc8ac9
Merge pull request #1130 from guardicore/swimm-pc
Add Swimm to pre-commit
2021-04-28 07:50:28 -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
Shreya 05dd10cd96 Modify Swimm details in dev env setup docs 2021-04-27 23:32:51 +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 4c8b3b04da Add Swimm details to dev env setup guide in docs 2021-04-27 20:22:05 +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
Shreya 7374e615f2 Add Swimm pre-commit hook 2021-04-27 20:16:50 +05:30
Mike Salvatore 54f640d83b travis: install node v12.x, instead of latest 2021-04-27 07:30:32 -04:00
Vertrauensstellung fd430e132c docs: Use correct tarball name in debian setup instructions (#1128) 2021-04-27 06:43:26 -04:00
Mike Salvatore f5ce51858a Added changelog entry for #1054 2021-04-26 12:01:19 -04:00
Mike Salvatore 30bb987830 Add missing pipenv and unit tests items to CHANGELOG.md 2021-04-26 11:59:17 -04:00
Mike Salvatore 9ad694fddf
Merge pull request #1106 from guardicore/pipenv
Requirement migration to pipenv
2021-04-26 11:37:05 -04:00
Mike Salvatore afa412ca47 agent: Add note to readme to run build_linux.sh with `pipenv run` 2021-04-26 10:47:00 -04:00
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 c6fd04e2b6
Merge pull request #1054 from shreyamalviya/bugfix_pba_file_delete
Fix error when removing uploaded post breach file on config reset
2021-04-26 09:06:49 -04:00
Shreya 9b38303346 Rearrange functions' order in `monkey_island/cc/resources/pba_file_upload.py` to follow stepdown rule 2021-04-26 16:07:53 +05:30
Shreya 4f94e9de74 Break PBA file deletion into functions: attempt to delete PBA file in another function 2021-04-24 13:18:00 +05:30
Shreya 4854c9cfc9 Attempt to remove custom PBA file when resetting config only if filename exists in DB 2021-04-24 13:18:00 +05:30
Mike Salvatore df67ba554e agent: Add pyinstaller-hooks-contrib and importlib-metadata to Pipfile
Pipenv fails to install these dependencies in the
cdrx/pyinstaller:python3 container when pyinstaller is installed from
our fork. Adding them to the Pipfile ensures they get installed and
resolves the issue.
2021-04-23 11:20:13 -04:00
VakarisZ fd8ef7f39e Refactored test_telems to exported_telems and moved them from the test folder, because they are generated in production 2021-04-23 08:39:19 -04:00
VakarisZ 8121f08aa9 Refactored test_telems to exported_telems and moved them from the test folder, because they are generated in production 2021-04-23 11:12:14 +03:00
VakarisZ c3f31c0c78 pre-commit hooks update 2021-04-23 10:48:11 +03:00