Commit Graph

4092 Commits

Author SHA1 Message Date
msal-guardicore 6c200c88d6 Add spike issue template 2021-01-27 10:46:54 -05:00
Mike Salvatore 41d5a98498
Merge pull request #931 from mssalvatore/150/resize-network-map
150/resize network map
2021-01-27 10:02:41 -05:00
VakarisZ e91dfaaaa2
Merge pull request #917 from VakarisZ/pba_path_fix
Bugfix: custom PBA upload path
2021-01-27 15:42:16 +02:00
Mike Salvatore 6719620183 ui: fix centering of guardicore logo
Fixes #612
2021-01-27 07:26:56 -05:00
VakarisZ bde2288da0 Minor fixes: Removed debugging log and improved readability in PBA path const 2021-01-27 12:23:39 +02:00
Mike Salvatore 32cdc034f3 ui: fix whitespace in ChildCheckbox.js 2021-01-26 15:51:42 -05:00
Mike Salvatore 145a41ffcf ui: move getDefaultPaneParams() to InfoPane.js 2021-01-26 15:46:57 -05:00
Mike Salvatore 917d6f574b ui: use class properties syntax in AdvancedMultiSelect 2021-01-26 15:15:11 -05:00
Mike Salvatore e04e11e4ac ui: add "reset to safe defaults" in AdvancedMultiSelect
If the user selects an unsafe exploit or post breach action, a yellow
warning button appears that allows the user to reset to safe defaults.
2021-01-26 14:59:58 -05:00
MarketingYeti 7d58b873c9
Update docker.md 2021-01-26 14:10:13 -05:00
MarketingYeti d50f43e43e
Update debian.md 2021-01-26 14:01:05 -05:00
MarketingYeti 5824b11657
Update vmware.md 2021-01-26 13:34:43 -05:00
MarketingYeti 6950ef2e6b
Update vmware.md 2021-01-26 13:24:51 -05:00
MarketingYeti 5f64921499
Update vmware.md 2021-01-26 13:23:20 -05:00
MarketingYeti c239f03615
Update windows.md 2021-01-26 13:20:47 -05:00
MarketingYeti 4e9d794b0e
Update windows.md 2021-01-26 13:17:59 -05:00
MarketingYeti 61808ae8c0
Update azure.md 2021-01-26 13:13:40 -05:00
Mike Salvatore 913b35dde3 Update slack links in documentation 2021-01-25 10:35:39 -05:00
MarketingYeti 18ddaf7961
Merge pull request #4 from MarketingYeti/MarketingYeti-patch-4
Update windows.md
2021-01-22 13:01:56 -05:00
MarketingYeti e221cf026c
Merge pull request #3 from MarketingYeti/MarketingYeti-patch-3
Update vmware.md
2021-01-22 13:01:45 -05:00
MarketingYeti b0e378d527
Merge pull request #2 from MarketingYeti/MarketingYeti-patch-2
Update docker.md
2021-01-22 13:01:35 -05:00
MarketingYeti 167d377929
Merge pull request #1 from MarketingYeti/MarketingYeti-patch-1
Update debian.md
2021-01-22 13:01:14 -05:00
MarketingYeti 9e2f13e208
Update windows.md 2021-01-22 11:50:51 -05:00
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
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
Mike Salvatore 0bae2b922d monkey_zoo: minor fixes to monkey_zoo docs 2021-01-19 15:30:48 -05: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
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
Mike Salvatore bf6db078a6 ui: add missing semicolons 2021-01-15 08:16:08 -05: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
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
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
Mike Salvatore 878f959a8f ui: Factor ChildCheckbox out of AdvancedMultiSelect 2021-01-11 19:54:51 -05:00
Mike Salvatore af329d56d8 ui: Factor MasterCheckbox() out of AdvancedMultiSelect 2021-01-11 19:16:18 -05:00
Mike Salvatore 84b422a120 ui: Refactor AdvancedMultiSelect as a class
AdvancedMultiSelect can be broken up and composed of smaller, more
focused components. This commit refactors AdvancedMultiSelect from a
functional component to a class component.
2021-01-11 19:15:45 -05:00