Commit Graph

3972 Commits

Author SHA1 Message Date
Mike Salvatore 117678f91a ui: fix minor css formatting issues 2021-01-28 14:07:57 -05:00
Mike Salvatore 1b90483a34
Merge pull request #1 from swimmio/fix_swimm_units
Fix swimm units
2021-01-28 13:47:43 -05:00
Mike Salvatore e77868b656 ui: sort checkbox options alphabetically
Alphabetically sort options in AdvancedMultiSelect to improve usability.
Float "unsafe" options to the bottom so they are grouped together.
2021-01-28 13:44:14 -05:00
Swimm f41f896aef Swimm: update unit Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US). 2021-01-28 20:42:14 +02:00
Mike Salvatore 08926d778b ui: refactor duplicate code in getWarning() 2021-01-28 13:28:36 -05:00
Mike Salvatore 61eb9a7a23 ui: align warning text and icon 2021-01-28 13:23:04 -05:00
Mike Salvatore e43c91e87e ui: Show warning message when master checkbox selected with unsafe 2021-01-28 13:09:54 -05:00
Mike Salvatore 98e26b0be1 ui: refactor getHideResetState() to use isSafe() 2021-01-28 13:09:42 -05:00
omerr bdf1dc2213 Merge remote-tracking branch 'origin/refactor-advanced-multiselect' into fix_swimm_units 2021-01-28 19:50:17 +02:00
Swimm 49d3766436 Swimm: update unit Implement a new PBA — `ScheduleJobs` (id: VW4rf3AxRslfT7lwaug7). 2021-01-28 19:30:48 +02:00
Swimm a76eacf240 Swimm: update unit Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-01-28 19:29:21 +02:00
Swimm 3daedd7a41 Swimm: update unit Add details about your new PBA (id: JFXftJml8DpmuCPBA9rL). 2021-01-28 19:26:08 +02:00
Swimm 6806e715f7 Swimm: update unit Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq). 2021-01-28 19:24:17 +02:00
Mike Salvatore ce9a398f28 swimm: autosync PBA tutorial 2021-01-28 10:58:42 -05:00
Mike Salvatore 9d9e8168fb ui: rename unsafe-indicator to warning-icon 2021-01-28 10:18:40 -05:00
Mike Salvatore 7ec8f0394c ui: add warning message to PBA/Exploiters InfoPane 2021-01-28 10:12:28 -05:00
Mike Salvatore 5ed102bd09 config_schema: fix typo in Signed script proxy execution PBA 2021-01-28 10:08:31 -05:00
Mike Salvatore 5f9470d17c ui: extract WarningIcon component from ChildCheckbox.js 2021-01-28 09:00:55 -05:00
Mike Salvatore 5942fad434 ui: extract ChildCheckboxContainer component out of AdvancedMultiSelect 2021-01-28 08:51:56 -05:00
Mike Salvatore 155da384c2 ui: replace "(UNSAFE)" text with warning icon 2021-01-28 08:50:19 -05: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
Mike Salvatore bf6db078a6 ui: add missing semicolons 2021-01-15 08:16:08 -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 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
Mike Salvatore 62541d2027
Merge pull request #913 from guardicore/improve-report-documentation
Fixes #887
2021-01-06 16:16:56 -05:00
Mike Salvatore 708bb88c35 docs: Format report list with '"style="p"' 2021-01-06 11:25:48 -05:00
Mike Salvatore ae614c83ed docs: Add descriptions for reports and display them on the reports index page 2021-01-04 15:38:48 -05:00
Mike Salvatore 539a87a5cc docs: Move "Reports" to the top level of the documentation menu 2021-01-04 15:11:49 -05:00
VakarisZ 1f129757a4
Merge pull request #909 from shreyamalviya/doc-fix
Documentation fix
2020-12-22 18:00:14 +02:00
VakarisZ 1bff64f09b
Merge pull request #875 from VakarisZ/validation_script
Validation script
2020-12-22 15:48:39 +02:00
Shreya 208f83f4ff Change label from "other" to "unused" in ZT report documentation 2020-12-22 18:49:01 +05:30
VakarisZ da1ef9088d
Merge pull request #855 from VakarisZ/readme_update_password_change
Added password reset tutorial to FAQ
2020-12-18 12:30:24 +02:00
VakarisZ 7fb1e3f15b
Merge pull request #862 from VakarisZ/gevent_refactoring
Gevent refactoring
2020-12-17 17:29:58 +02:00
VakarisZ 99d73be0d8
Merge pull request #890 from guardicore/custom_pba_bugfix
Fixed custom post breach action path bug.
2020-12-17 14:14:23 +02:00
VakarisZ 8aae611396 Merge remote-tracking branch 'upstream/develop' into custom_pba_bugfix 2020-12-17 13:26:55 +02:00
VakarisZ e6bb978dc4
Merge pull request #894 from withshubh/develop
Fix code quality issues
2020-12-16 12:19:37 +02:00
Shubhendra Singh Chauhan 866d62239f
Delete .deepsource.toml 2020-12-15 17:53:17 +05:30
VakarisZ d8440303ce
Merge pull request #867 from VakarisZ/aws_run_option_fix
Run on AWS instance option fix
2020-12-15 12:15:41 +02:00
VakarisZ cd27a889b1
Merge pull request #895 from guardicore/smb_exec_bugfix
SMB bugfix
2020-12-15 12:11:53 +02:00