Shreya
57b61180ce
Add dlint as an additional dependency for the flake8 pre-commit hook
2021-04-28 10:44:58 -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
Mike Salvatore
3b32ef2f4a
Remove PostgreSQL fingerprinter
...
Issue #1077
2021-04-22 10:33:06 -04:00
Mike Salvatore
6a54c1e85a
agent: Add sys_platform == win32 to Pipfile
2021-04-22 09:50:30 -04:00
Mike Salvatore
6412391ff8
docs: Add pipenv instructions to manual monkey setup guide for Windows
2021-04-22 09:50:30 -04:00
Mike Salvatore
57d6552433
docs: Add pipenv instructions to manual monkey setup guide for Linux
2021-04-22 09:50:30 -04:00
Mike Salvatore
6e2f473f02
Removing unused docker build scripts
2021-04-22 09:50:30 -04:00
VakarisZ
0120c027b0
Fixed run server bat script
2021-04-22 09:50:30 -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
Mike Salvatore
7a1588152d
zoo: remove requirements.txt
2021-04-22 09:50:30 -04:00
Mike Salvatore
98c9b2a907
appimage: Use pipenv to install python dependencies
2021-04-22 09:50:30 -04:00
Mike Salvatore
6d0dcd4a7a
appimage: Add clean.sh script
2021-04-22 09:50:29 -04:00
VakarisZ
c9b3d3a92d
Fixed pipenv bugs for linux deployment scripts
2021-04-22 09:50:29 -04:00
VakarisZ
c2024d06f6
Fixed requirements to use cryptography 2.5, so that linux builds of agents on ubuntu12 could install requirements
2021-04-22 09:50:29 -04:00
VakarisZ
ffb761ef4b
Updated monkey pipfile and pipfile.lock in attempt to fix brokend jenkins build
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
VakarisZ
c00754a3a4
Moved dev requirements of black, coverage, flake and others to dev dependencies of the island to be a single source of truth
2021-04-22 09:50:29 -04:00
VakarisZ
e4415d822a
Fixed requirement installation in travis to install from lock files, so that travis would ideally replicate our development
2021-04-22 09:50:29 -04:00
VakarisZ
00e9940a0b
Using pymssql v2.2.0 or later results in the following error message:
...
ImportError: /tmp/_MEISNYzdG/pymssql/_pymssql.cpython-37m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned
2021-04-22 09:50:29 -04:00
VakarisZ
e7cef5fd9f
Updated travis to use pipenv
2021-04-22 09:50:29 -04:00
VakarisZ
7f928fa90d
Migrated from monkey agents requirements.txt to pipenv requirements
2021-04-22 09:50:29 -04:00
VakarisZ
eca26b596b
Fixed island requirements frozen in PipFile to better correlate with already deleted requirements.txt
2021-04-22 09:50:29 -04:00
VakarisZ
465023b64d
Removed cryptography dependency from infection monkey agent dependencies and added eggs to git dependencies
2021-04-22 09:50:29 -04:00
VakarisZ
33de5aac60
Converted island requirement.txt file to pipenv files
2021-04-22 09:50:29 -04:00