Commit Graph

5703 Commits

Author SHA1 Message Date
Mike Salvatore 22ff22f389 Island: Reword ransomware simulation description 2021-07-12 13:44:45 -04:00
Mike Salvatore e0b20b4340
Merge pull request #1316 from guardicore/ransomware-report-exploitation-stats-component
Generate exploitation stats for ransomware report
2021-07-12 13:39:30 -04:00
Mike Salvatore a794a5777a
Merge pull request #1306 from guardicore/ransomware-exploitation-details-report-service
Ransomware exploitation details report service
2021-07-12 13:38:59 -04:00
Mike Salvatore ced3c3b137 Island: Extract getScannedVsExploitedStats() method 2021-07-12 12:41:42 -04:00
Mike Salvatore 6fdf0858ac Island: Remove superfluous description from ransomware report 2021-07-12 12:15:54 -04:00
Mike Salvatore 644a90c2f3 Island: Add "Propagation" header to ransomware report 2021-07-12 12:15:54 -04:00
Mike Salvatore 50c24c77f4 Island: Use Pluralize to display ransomware propagation stats 2021-07-12 12:15:54 -04:00
Shreya c8e0104985 cc: Extract ransomware report's exploitation stats component to a separate function 2021-07-12 12:14:57 -04:00
Shreya 3b7d35868a cc: Show exploitation stats on ransomware report page 2021-07-12 12:13:51 -04:00
Mike Salvatore c7d655ac7d Tests: Set autouse=False for patch_report_service fixture 2021-07-12 12:08:31 -04:00
Mike Salvatore e4cd06d8c3 Island: Move ransomware_report.py to ransomware/ransomware_report.py 2021-07-12 12:03:30 -04:00
Mike Salvatore 9e7e58658c Island: Simplify _get_exploit_counts() 2021-07-12 11:54:39 -04:00
Mike Salvatore 06439d92f9 Island: Rename count_per_exploit -> num_exploited_per_exploit 2021-07-12 11:50:39 -04:00
Mike Salvatore 4564596cd0 Agent: Add unit tests for ransomware report service 2021-07-12 11:48:16 -04:00
VakarisZ 3bde6f013a Island: Add a couple of island mode resource unit tests 2021-07-12 16:00:23 +03:00
VakarisZ 2778b69dfb Island: Add unit test infrastructure for testing resources 2021-07-12 15:59:36 +03:00
VakarisZ f8b6277a88 Island: Add an endpoint for setting the island's mode. Also, add an enum of all the modes 2021-07-12 13:32:14 +03:00
VakarisZ b35896c53f
Merge pull request #1313 from guardicore/1296/faq-internet-queries
Fix mistakes in FAQ - Internet and updates queries
2021-07-12 13:16:57 +03:00
Ilija Lazoroski 2894af4640 ui: Remove "Congrats" message and change header 2021-07-12 12:10:05 +02:00
Ilija Lazoroski 673b689ab5 docs: Add note for Hugo installation 2021-07-12 11:49:25 +02:00
Ilija Lazoroski 6d584a6501 docs: Fix mistakes in FAQ 2021-07-12 10:22:48 +02:00
Shreya Malviya 6f33b04e1f
cc: Reword info box for local network scan in Network configuration tab
Co-authored-by: VakarisZ <36815064+VakarisZ@users.noreply.github.com>
2021-07-12 13:44:04 +05:30
Shreya 2212029f0b cc: Process exploit data on backend for ransomware stats reporting 2021-07-12 13:11:44 +05:30
Shreya 9cb6dca220 cc: Remove unused empty tags in `InfoBox.js` 2021-07-12 11:52:18 +05:30
Shreya e16b019b85 cc: Rename component `InfoField` to `InfoBox` 2021-07-12 11:51:03 +05:30
Mike Salvatore af739b6c99
Merge pull request #1309 from guardicore/1287/ransomware-readme-config-dirs
Ransomware README with configurable directories
2021-07-09 15:47:22 -04:00
Mike Salvatore eb36869e71 Island: Minor wording change to readme_note description 2021-07-09 15:41:31 -04:00
Mike Salvatore a119855d84 Tests: Remove unnecessary option from test_no_readme_if_no_directory 2021-07-09 15:38:53 -04:00
Mike Salvatore d108812e26 Agent: Remove redundant condition from RansomwarePayload.run_payload() 2021-07-09 14:49:00 -04:00
Shreya 67293b37ef cc: Remove unused `FieldWithInfo` component 2021-07-09 20:20:12 +05:30
Shreya 677f995bb3 cc: Change schema for Network configuration tab to decouple info box and blocked IPs' input field 2021-07-09 20:19:38 +05:30
Shreya e6c9377908 cc: Link `InfoField` widget to ransomware's `info_box` field in UI schema 2021-07-09 20:14:16 +05:30
Shreya 844399b608 cc: Add new `InfoField` component 2021-07-09 20:12:52 +05:30
Shreya 4320d3e08c cc: Change config field descriptions and add `info_box` field to ransomware config schema 2021-07-09 20:12:34 +05:30
Ilija Lazoroski 824ffc3dfe Merge branch '1287/ransomware-readme-config-dirs' of https://github.com/guardicore/monkey into 1287/ransomware-readme-config-dirs 2021-07-09 14:39:05 +02:00
Ilija Lazoroski 31a33a70cd Island: Add different aproach to check for readme 2021-07-09 14:38:30 +02:00
Ilija Lazoroski 947ecb330c Island: Add different aproach to check for readme 2021-07-09 14:33:43 +02:00
Ilija Lazoroski cd2d08d266 Island: Improve wording on readme.txt note 2021-07-09 13:45:54 +02:00
Ilija Lazoroski 80f98575b2 Merge branch '1287/ransomware-readme-config-dirs' of https://github.com/guardicore/monkey into 1287/ransomware-readme-config-dirs 2021-07-09 12:38:21 +02:00
Ilija Lazoroski 0419e14a7a Island: Add readme note to the bottom of the page 2021-07-09 12:36:44 +02:00
Ilija Lazoroski 8e22d2d1ae Island: Add readme note to the bottom of the page 2021-07-09 12:23:12 +02:00
Ilija Lazoroski 80050b89e6 Island: Add unit test leaving no readme if no target dir 2021-07-09 11:23:22 +02:00
Ilija Lazoroski 69754205d0 Island: Add condition for leaving readme 2021-07-09 11:15:55 +02:00
Ilija Lazoroski 253f2668d0 Island: Add hidden widget to encryption and readme in ransomware 2021-07-08 20:49:55 +02:00
Mike Salvatore fb50ba1e55 Agent: Remove unnecessary `if` from _find_files() 2021-07-08 12:52:05 -04:00
Mike Salvatore bb554d923d Agent: Rename _valid_file_extensions... -> _targeted_file_extensions 2021-07-08 12:52:05 -04:00
Mike Salvatore 24fdb9e299
Merge pull request #1307 from guardicore/ransomware-inject-copy-dependency
Ransomware README improvements
2021-07-08 12:50:32 -04:00
Mike Salvatore 92c5c3b682 Agent: Extract method _copy_file() from _leave_readme()
Reworks the logic in _leave_readme() to reduce indenting and improve
clarity and extracts the logic to copy the file into _copy_readme_file()
2021-07-08 12:04:50 -04:00
Mike Salvatore 7454ee72b2 Agent: Switch copy_file typehint from str to Path 2021-07-08 12:04:12 -04:00
Mike Salvatore 064525e6b9 Agent: Don't try to create README.txt if one already exists 2021-07-08 11:59:50 -04:00