Shreya
f8936f61bb
Move all tests for monkey_island/cc/services/reporting/report.py to one file
2021-04-19 13:54:48 +05:30
Shreya
c08dbf9376
Move conftest files to tests/ directory
2021-04-19 13:54:48 +05:30
Shreya
fa21336ff2
Move all unit test files to a separate directory
2021-04-19 13:54:48 +05:30
Mike Salvatore
57f8f200b1
Merge pull request #1101 from guardicore/appimage-v2
...
Appimage v2
2021-04-16 07:45:19 -04:00
Mike Salvatore
5a1a5fc6fe
cc: Set cwd when executing monkey binary from the island
...
Since AppImages are read-only filesystems, the agent cannot create any
files in `./`. Therefore, setting cwd in the `subprocess.Popen()` call
will change CWD to a writable directory if `data_dir` is set.
2021-04-15 12:19:09 -04:00
Mike Salvatore
d507e6f617
Merge pull request #1098 from guardicore/eslint
...
Add eslint
2021-04-15 07:29:51 -04:00
VakarisZ
be693edb55
Merge pull request #888 from VakarisZ/typescript_support
...
Typescript support implemented
2021-04-15 12:43:15 +03:00
Mike Salvatore
3b4bd7b08c
cc: Upload custom PBAs to data_dir instead of MONKEY_ISLAND_ABS_PATH
2021-04-14 11:02:25 -04:00
Shreya
025cb7851c
Rename blackbox endpoint classes to match filenames
2021-04-14 15:33:02 +05:30
VakarisZ
ea61961ff4
Moved some packages to dev dependencies instead of prod in package.json
2021-04-14 11:05:43 +03:00
VakarisZ
448d846362
Moved dev UI dependencies from prod and changed typescript target to es6
2021-04-14 10:29:34 +03:00
VakarisZ
50c5fdb9fc
Typescript support implemented
2021-04-14 10:29:34 +03:00
Shreya
6d43ce900c
Rename blackbox test files under monkey_island/cc/resources/blackbox/
2021-04-14 10:47:00 +05:30
Shreya
86c4f9f63d
Rename directory "test" to "blackbox" in monkey_island/cc/resources/
2021-04-14 10:47:00 +05:30
Shreya
26684bbb4e
Rename files having endpoints for blackbox tests
2021-04-13 10:53:19 +05:30
Shreya
5469c7cc41
Match unit tests' class names and file names
...
Renamed class/file name depending on which was more applicable
2021-04-13 10:43:05 +05:30
Shreya
6e92127807
Rename unit test files from *_test.py to test_*.py
2021-04-13 10:43:05 +05:30
Shreya
c736560f09
Fix "Do not access Object.prototype method 'hasOwnProperty' from target object" eslint warnings
2021-04-12 17:31:17 +05:30
Shreya
e74e205368
Fix trailing comma eslint warnings
2021-04-12 17:31:17 +05:30
Shreya
bbfc0d4130
Fix "Component definition is missing display name" eslint warnings
2021-04-12 17:31:58 +05:30
Shreya
f267e5bbc0
Fix unused variable eslint warnings
2021-04-12 17:31:29 +05:30
Shreya
508c562243
Fix singlequotes eslint warnings
2021-04-12 17:31:18 +05:30
Mike Salvatore
76a2dfdf91
cc: Remove unnecessary quotes in post_breach_actions.py
2021-04-11 19:35:40 -04:00
VakarisZ
f9d8584910
Shellshock UI bugfix
2021-04-08 11:02:18 -04:00
Mike Salvatore
b3c8ce28ed
agent: Fix bug caused by unintentional newline in elastic exploiter
2021-04-07 19:10:36 -04:00
Mike Salvatore
13d99a4ccc
agent: Fix W291 trailing whitespace warnings
2021-04-07 13:49:37 -04:00
Mike Salvatore
4466ff44cf
Run black to resolve E261 warnings
2021-04-07 13:40:01 -04:00
VakarisZ
56e754eddd
Manual fixes of long line refactorings gone wrong
2021-04-07 13:40:01 -04:00
VakarisZ
73da6fdc40
Manually fixed long lines not picked up by automatic refactoring
2021-04-07 13:40:01 -04:00
VakarisZ
1c44ada9bb
Added noqa to long import which is the outcome of running black
2021-04-07 13:40:01 -04:00
VakarisZ
3149dcc8ec
Fixed screwed up formatting with black
2021-04-07 13:40:01 -04:00
VakarisZ
03bcfc97af
All E501 errors fixed, but formatting screwed up
2021-04-07 13:40:01 -04:00
Mike Salvatore
d5e43fbf51
cc: Remove unused `Dict` import in exploiter_descriptor_enum.py
2021-04-06 18:06:31 -04:00
Mike Salvatore
f85e6fc7d0
Sort all imports using isort 5.8.0
2021-04-06 18:01:59 -04:00
Mike Salvatore
661f3907a9
Merge branch 'paint-it-black' into develop
...
Resolves #1070
2021-04-06 17:42:21 -04:00
Shreya
42db1c497a
Mark PostgreSQL fingerprinter safe
2021-04-06 19:04:17 +05:30
Mike Salvatore
c40f7bf6c9
Reformat all python with black v20.8b1
2021-04-06 09:20:18 -04:00
Shreya Malviya
c7a241e776
Merge pull request #1068 from guardicore/report_refactoring
...
Report refactoring
2021-04-06 18:43:59 +05:30
Shreya
7973a35338
Fix unit tests
2021-04-06 18:31:02 +05:30
Shreya
fa0729881e
Remove unused imports
2021-04-06 18:12:03 +05:30
VakarisZ
0b34d30fd6
Improved exploiter descriptors and usage of them in report.py
2021-04-06 11:35:41 +03:00
VakarisZ
6685b24da4
Removed unused annotations import
2021-04-06 10:16:05 +03:00
VakarisZ
87cec0036d
Fixed report to show display names instead of class names of exploiters where needed
2021-04-06 10:11:34 +03:00
Mike Salvatore
46be7ae0d4
agent: resolve E741 flake8 warnings
2021-04-05 14:48:33 -04:00
Shreya
3e419478af
Fix F841 warnings
2021-04-05 20:33:19 +05:30
Shreya
d8e1be7d6f
Fix F401 warnings
2021-04-05 20:33:19 +05:30
Shreya
d0168dfb9e
Fix E722 warnings
2021-04-05 20:33:19 +05:30
Shreya
7bfdc3c7e5
Fix W605 warnings
2021-04-05 20:33:17 +05:30
Shreya
278326e4e4
Fix W293 warnings
2021-04-05 17:46:43 +05:30
Mike Salvatore
e616fcdf50
Merge branch 'appimage' into develop
2021-04-04 21:53:06 -04:00