Commit Graph

4741 Commits

Author SHA1 Message Date
Mike Salvatore ccbf4f0117 zoo: Add blackbox logs to .gitignore 2021-04-07 20:47:14 -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 39843527ae zoo: Remove unused import from zerologon_analyzer.py 2021-04-07 13:51:47 -04:00
Mike Salvatore 13d99a4ccc agent: Fix W291 trailing whitespace warnings 2021-04-07 13:49:37 -04:00
Mike Salvatore c9d64ea40c zoo: resolve E501 flake8 warnings in monkey zoo 2021-04-07 13:47:50 -04:00
Mike Salvatore 7901446b4e ci: expand flake8 checks from `monkey/` to whole repo 2021-04-07 13:41:40 -04:00
Mike Salvatore a6a306a099 Fix exclude path in flake8 config 2021-04-07 13:40:01 -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 958fa50d83 Merge branch 'pre-commit' into develop 2021-04-07 11:07:27 -04:00
Mike Salvatore 3759c4d07a
build: fix small typo in deployment_scrips/README.md
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
2021-04-07 08:33:11 -04:00
VakarisZ 1cc2dc24ac Fixed pre-commit to be installer in monkey dir during deployment scripts 2021-04-07 07:43:43 -04:00
VakarisZ a5ce373cbf Added pre-commit installation to windows deployment script 2021-04-07 07:43:43 -04:00
Mike Salvatore 1d7211e8dc
Merge pull request #1081 from guardicore/isort-everything
Isort everything
2021-04-07 07:30:06 -04:00
Mike Salvatore f22fc8e37e ci: use swimm version 0.4.1 in travis.yml 2021-04-07 07:16:57 -04:00
VakarisZ cd59e9ba1a Updated travis script to use the latest swimm version. 2021-04-07 06:57:04 -04:00
Mike Salvatore 1414d132d3 ci: Add swimm verify back to travis.yml
This reverts commit 4aa9a14f13.
2021-04-07 06:56:10 -04:00
Mike Salvatore 7cb92a7e13 Swimm: update exercise Implement a new PBA — (id: VW4rf3AxRslfT7lwaug7). 2021-04-07 06:52:50 -04:00
Mike Salvatore 5c4214e60a Swimm: update exercise Add details about your new PBA (id: JFXftJml8DpmuCPBA9rL). 2021-04-07 06:52:35 -04:00
Mike Salvatore c1950aa4ff Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-04-07 06:52:05 -04:00
Mike Salvatore 874a88ced0 Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US). 2021-04-07 06:49:30 -04:00
Mike Salvatore 2881b11be3 Swimm: update exercise Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq). 2021-04-07 06:47:32 -04:00
Mike Salvatore ad2b2f88f5 Add information about isort to changelog 2021-04-06 19:22:23 -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
Shreya ca365717b1 Modify travis script for isort 2021-04-06 17:50:52 -04:00
Shreya d5b74d70b2 Modify isort configuration 2021-04-06 17:50:51 -04:00
Mike Salvatore 661f3907a9 Merge branch 'paint-it-black' into develop
Resolves #1070
2021-04-06 17:42:21 -04:00
Mike Salvatore 17da8896af Add information about black to changelog 2021-04-06 17:41:25 -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 7343b50135 Add configuration for black 2021-04-06 09:15:35 -04:00
Mike Salvatore d0e1239b27 ci: fail the build if code is not formatted with black 2021-04-06 09:15:35 -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
Mike Salvatore 47b74673d7
Merge pull request #1078 from guardicore/flake8
Flake8 improvements
2021-04-06 07:15:01 -04:00
Mike Salvatore b94568f976 ci: add comment about what flake8 C901 warnings are 2021-04-06 06:59:03 -04:00
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
Mike Salvatore 07afa27ec1 ci: add C901 to flake8's `extend-ignore` list
Issue #1076 has been created to track the task of resolving C901 errors
and removing C901 from the ignore list.
2021-04-05 14:44:42 -04:00
Mike Salvatore c1929c2bd3 ci: remove dlint from travis
Issue #1075 has been created to track the task to add this back in and
integrate with pre-commit
2021-04-05 14:26:24 -04:00
Mike Salvatore a7f8efa102 ci: fail travis build if flake8 finds any issues 2021-04-05 13:45:18 -04:00
Mike Salvatore 8ed4224341 build: Move flake8 config to `.flake8` 2021-04-05 13:38:31 -04:00