MarketingYeti
4d5a07a625
Update vmware.md
...
Copyedits -
Note: The upgrade instructions were for Docker in original, please confirm VMware update steps. Thanks!
2021-01-22 11:19:53 -05:00
MarketingYeti
4737dc9b76
Update vmware.md
2021-01-22 11:15:58 -05:00
MarketingYeti
0cbe238465
Update docker.md
2021-01-22 10:57:28 -05:00
MarketingYeti
45ed91327d
Update debian.md
2021-01-22 10:55:03 -05:00
MarketingYeti
c1118a54c0
Update azure.md
2021-01-22 10:36:53 -05:00
VakarisZ
06d3c70c3e
PTH map got removed because it wasn't working. No point in testing code which we know doesn't work of feature we don't use
2021-01-22 17:24:00 +02:00
Mike Salvatore
e9b50efc68
ui: Move map-specific css from App.css to Map.scss
2021-01-21 07:05:59 -05:00
Mike Salvatore
5d5091d914
ui: resize infection map when window resizes
...
Fixes #150
2021-01-21 07:05:50 -05:00
Mike Salvatore
b191eff2b3
Merge pull request #927 from guardicore/minor-monkey-zoo-docs
...
monkey_zoo: minor fixes to monkey_zoo docs
2021-01-20 09:56:02 -05:00
VakarisZ
2df889ee31
Refactored unittests to pytest on island code. Cleaned up test infrasctructure: moved common test files to /test_common
2021-01-20 15:31:42 +02:00
VakarisZ
d31e9064c8
Added UT's to monkey_zt_finding_service.py and scoutsuite_zt_finding_service.py
2021-01-20 10:55:15 +02:00
VakarisZ
1b35b8fb4a
Improved finding_service.py by specifying datatype it returns
2021-01-20 10:53:40 +02:00
Mike Salvatore
0bae2b922d
monkey_zoo: minor fixes to monkey_zoo docs
2021-01-19 15:30:48 -05:00
VakarisZ
d4dc42adb5
Removed the need to change server_config.json just to run tests.
2021-01-19 15:51:18 +02:00
Mike Salvatore
3dafdc810b
add unit tests for AutoNewLinuxUser
2021-01-18 13:58:36 -05:00
Mike Salvatore
5481baf387
add unit tests for auto_new_user_factory
2021-01-18 13:56:25 -05:00
Mike Salvatore
32a8c1b362
Merge branch 'fix-code-coverage-accuracy' into develop
2021-01-18 13:40:27 -05:00
VakarisZ
e69c94ae50
Split and moved zero trust service into pillar_service.py and principle_service.py
2021-01-18 12:01:33 +02:00
Mike Salvatore
d008e3d52a
ci: add .coveragerc to omit unit test code from coverage report
...
The code coverage report was including the unit tests themselves in the
coverage report. This resulted in an artifically inflated code coverage
metric, as code coverage tools will naturally report test code to be
very highly "covered".
2021-01-17 20:20:06 -05:00
VakarisZ
01feea905b
Refactored "scoutsuite_findings" directory back to "scoutsuite" directory, because it doesn't only parse findings
2021-01-15 15:34:59 +02:00
Mike Salvatore
bf6db078a6
ui: add missing semicolons
2021-01-15 08:16:08 -05:00
VakarisZ
3a9aa3191f
Separated zero trust and security report resources
2021-01-15 15:10:07 +02:00
VakarisZ
02a45c7449
Moved and renamed some services to improve directory structure of zero trust services
2021-01-15 15:08:49 +02:00
VakarisZ
85f4c4f250
Small ScoutSuite feature code style refactorings
2021-01-15 11:22:40 +02:00
VakarisZ
e79290e761
Refactored scoutsuite rule button from "ScoutSuite rules" to just "Rules" to look more consistent with "Events" button
2021-01-15 11:20:57 +02:00
Mike Salvatore
74933daf8d
ci: Use pytest-cov instead of coverage
...
For some unknown reason, running `coverage` omits some python files from
the coverage report. It also runs the test suite a second time, which is
inefficient. By using pytest-cov, tests are only run once and coverage
data is more complete.
2021-01-14 14:10:43 -05:00
Mike Salvatore
d9b25978a0
Fix codecov.io integration
...
See https://docs.codecov.io/docs/fixing-paths for more details
2021-01-14 09:24:37 -05:00
VakarisZ
de69d167ba
Minor scoutsuite code refactorings
2021-01-14 16:05:52 +02:00
VakarisZ
22194c566a
Refactored aws access keys in config, added them to encrypted parameter list and added ScoutSuite specific exception
2021-01-14 16:05:06 +02:00
Mike Salvatore
11ea5e1a7e
ui: separate json schema-related functions into JsonSchemaHelpers.js
2021-01-14 08:44:43 -05:00
Mike Salvatore
8d024b9002
ui: separate MasterCheckbox and ChildCheckbox into their own files
2021-01-14 08:37:52 -05:00
VakarisZ
761ed2ec43
Refactored code of rule ordering
2021-01-14 12:17:34 +02:00
VakarisZ
a818025f63
Typo fix in service_consts.py
2021-01-14 12:05:13 +02:00
VakarisZ
cd9d2904c5
Added comment explaining why finding details are in a separate documents to discourage uninformed refactoring in the future
2021-01-14 12:02:38 +02:00
VakarisZ
2dfcbb49d4
Minor refactoring and typo fix
2021-01-14 11:59:57 +02:00
VakarisZ
87dafeb440
Refactored scoutsuite rule count badge readability.
2021-01-13 17:57:54 +02:00
VakarisZ
b90f6587c1
Reverted resource value display to show "False", because for IAM rules it makes sense and expresses if it the rule is enabled or not.
2021-01-13 16:57:36 +02:00
VakarisZ
7b60d4d2e6
Refactored ScoutSuiteDataParser.js to improve the readability of scoutsuite data extraction process
...
temp
2021-01-13 16:57:36 +02:00
Mike Salvatore
73dd8ddcc9
ui: Minor readability and style changes for AdvancedMultiSelect
2021-01-13 07:35:03 -05:00
Mike Salvatore
94b87f8d9a
ui: Remove unnecessary call to getDefaultPaneParams()
2021-01-12 15:59:16 -05:00
Mike Salvatore
e2e87dc733
docs: Rename mispelled directory "configruation" -> "configuration"
2021-01-12 15:45:32 -05:00
Mike Salvatore
819e1778c8
docs: Update network-breach.PNG with mixed-state Exploiters checkbox
2021-01-12 15:25:23 -05:00
Mike Salvatore
701d938330
ui: refactor AdvancedMultiSelect.js for readability and flow
2021-01-12 15:15:23 -05:00
Mike Salvatore
19bc09196f
ui: Enable mixed-state behavior for master checkbox in AdavncedMultiSelect
...
The AdvancedMultiSelect should adhere to some set of human interface
guidelines. In the absence of a formal, agreed upon set of guidelines
for Infection Monkey, this commit uses KDE's guidelines for checkboxes:
https://hig.kde.org/components/editing/checkbox.html
When child checkboxes are not all checked, the master checkbox displays
a mixed-state icon, instead of a checked icon. Clicking the mixed-state
icon checks all child checkboxes. Clicking an unchecked master checkbox
also enables all child checkboxes.
In the past, clicking an unchecked master checkbox checked only the
*default* child checkboxes. While this may seem desirable so that unsafe
exploits do not accidentally get selected by the user, it will confuse
and frustrate users, as master/child checkboxes do not normally function
this way. If there is concern that users may unknowingly select unsafe
exploits/options, we should pop up a warning to inform the user when the
config is saved/submitted.
Issue #891
2021-01-12 15:15:18 -05:00
VakarisZ
7e07489807
Moved rule parsing methods into a separate component, added more details about rules in rule overview: added how many failed/passed/uncheck rules there are for a finding.
2021-01-12 12:41:58 +02:00
VakarisZ
5027dd4d2c
Improved unsecure resource display: removed a separate line for unsecure resource count and instead added the count to the annotation of unsecure resource list. E.g: "Flagged resources (3)"
2021-01-12 12:41:58 +02:00
VakarisZ
1472382387
Fixed react warnings related to keys and <div/> in <p/>
2021-01-12 12:41:58 +02:00
VakarisZ
d9a5289c8d
Minor FindingsTable.js readability refactoring
2021-01-12 12:41:58 +02:00
VakarisZ
789c58f0ac
Refactored ScoutSuite finding classes to have ABC
2021-01-12 12:41:58 +02:00
VakarisZ
737e6bce3d
Renamed rule_parsing.py to rule_parser.py, to match the classname
2021-01-12 12:41:58 +02:00