Shreya Malviya
b6703becbc
BB: Get rid of TestConfigurationParser and move its functions outside
2022-07-22 17:24:53 +00:00
Shreya Malviya
35d5592da0
BB, Island: Remove BB performance tests and *everything* related to it
2022-07-22 17:24:53 +00:00
Shreya Malviya
379ada7a24
BB: Rename IslandConfigParser -> TestConfigurationParser
...
Even though the names start with "test", they shouldn't cause any issues
since we only run "test_blackbox.py".
2022-07-22 17:24:53 +00:00
Shreya Malviya
2764069aec
BB: Correctly pass and import test configuration and agent configuration
2022-07-22 17:24:53 +00:00
Shreya Malviya
00626fe579
BB: Use agent configuration object to get target IPs in IslandConfigParser
2022-07-22 17:24:53 +00:00
Shreya Malviya
f0993d94cf
BB: Rename raw_config -> serialized_config everywhere
2022-07-22 17:24:53 +00:00
Shreya Malviya
690fb71e10
BB: Rename get_ips_of_targets() -> get_target_ips_from_serialized_config() and pass correct arguments
2022-07-22 17:24:53 +00:00
vakaris_zilius
4df72d08eb
BB: Reduce the time for agents to die to 2 minutes
2022-04-13 16:45:14 +03:00
vakarisz
ceabb99e7c
BB: Add time log for monkey killing time
2022-04-13 16:45:14 +03:00
Mike Salvatore
394088e39d
BB: Reduce DELAY_BETWEEN_ANALYSIS
2022-03-29 16:10:20 -04:00
Mike Salvatore
123606f23d
BB: Reduce time to wait for agents to finish
...
Since the agents stop and start so much more quickly now, these delays
can be reduced.
2022-03-23 14:50:38 -04:00
Mike Salvatore
f6b52d9031
BB: Don't wait so long for monkeys to die
...
With the propagation depth set to 1 for most tests and the number of
scanned ports limited, we don't need such a large delay when waiting for
monkeys to die.
2021-08-04 15:06:11 -04:00
VakarisZ
568a97e5a5
BB performance tests: update the outdated README.md and other small improvements
2021-07-31 19:40:19 -04:00
Mike Salvatore
c9d64ea40c
zoo: resolve E501 flake8 warnings in monkey zoo
2021-04-07 13:47:50 -04:00
Mike Salvatore
4466ff44cf
Run black to resolve E261 warnings
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
c40f7bf6c9
Reformat all python with black v20.8b1
2021-04-06 09:20:18 -04:00
VakarisZ
5837240107
Refactored tests to use the new configuration parser
2021-03-02 15:23:27 +02:00
VakarisZ
abe20c6a3a
Once again fixed isort bug in travis and fixed some imports
2020-10-07 10:32:33 +03:00
Shay Nehmad
9846477bea
Change to isort from flake8-import-order
...
fix issues in envs/ as well
2020-07-15 18:46:04 +03:00
VakarisZ
ffda4e858c
Merge pull request #664 from guardicore/feature/smb_vulnerable_port_fix
...
SMB vulnerable port fix
2020-05-26 14:33:00 +03:00
Shay Nehmad
2cf9c9c0fe
Fix minor linter issues
2020-05-24 13:55:11 +03:00
VakarisZ
9864720fb5
Get node label performance improvement and small BB test changes
2020-05-22 21:22:29 +03:00
VakarisZ
87e50d37f1
Small fixes: island reset added to telemetry performance test, fixed a bug on report generation test
2020-05-14 10:55:59 +03:00
VakarisZ
991cbec7ff
Added cmd options to disable interaction with GCP and run quick performance tests.
2020-05-13 10:44:04 +03:00
VakarisZ
9b350b8bf5
Minor fixes and improvements
2020-05-11 17:58:58 +03:00
VakarisZ
7663615a4f
Merge branch 'monkey_telemetry_fabrication' into zt_performance_fixes
2020-05-11 17:01:18 +03:00
VakarisZ
67b7d0b769
Improved telemetry fabrication logging and failing if telemetry folders don't exist
2020-05-11 16:56:05 +03:00
VakarisZ
08f46a8ac9
Merge branch 'monkey_telemetry_fabrication' into zt_performance_fixes
...
# Conflicts:
# envs/monkey_zoo/blackbox/test_blackbox.py
# monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsModal.js
2020-05-11 16:42:53 +03:00
VakarisZ
e189e96259
Improved the dir structure of telem parsing, other minor CR comments fixed
2020-05-11 16:32:18 +03:00
VakarisZ
9aff40d974
Fake IP's don't get out of range, fixed typo in requirements and added logging to telem parsing
2020-05-07 11:20:08 +03:00
VakarisZ
f73beac3a7
Implemented map/report generation tests which are based on telemetries rather than real exploitation
2020-04-30 16:12:58 +03:00
VakarisZ
1a784791fd
Fixed a typo in supported_request_method.py filename
2020-04-29 11:17:08 +03:00
VakarisZ
55d3fd5bd8
More improvement on telemetry fabrication logging
2020-04-28 17:54:12 +03:00
VakarisZ
41ae125980
Fixed telemetry performance test logging bugs and improved logging to display only N longest telems instead of all
2020-04-24 16:41:00 +03:00
VakarisZ
baa1598a1b
Added progress bars, optimized imports, fixed bug that happened on big numbers of telems
2020-04-24 13:19:07 +03:00
VakarisZ
986e52716f
Finished telemetry performance test (time measurements, refactoring)
2020-04-23 19:46:58 +03:00
VakarisZ
78b0186613
Finished telemetry fabrication
2020-04-23 19:44:24 +03:00
VakarisZ
b6e0e30d58
Splitting classes into multiple files
2020-04-20 18:23:25 +03:00
VakarisZ
636c8f6d3f
Added the ability to forge more intricate setup telemetries + small bugfixes, refactors and improvements
2020-04-20 17:49:24 +03:00
VakarisZ
1ccbb3d989
Finished fabricated monkey telemetry sending
2020-04-16 16:39:10 +03:00
VakarisZ
5fa27c14e8
Bugfixes and debugging comments removed
2020-04-15 09:38:08 +03:00
VakarisZ
367017a6b6
Refactored and further improved performance test code structure
2020-04-10 14:32:39 +03:00
VakarisZ
0fc5615058
Further improving and refactoring performance test code
2020-04-09 18:23:01 +03:00
VakarisZ
303dda1621
Refactoring current tests
2020-03-30 10:45:42 +03:00
Shay Nehmad
e815ac53da
Changed the post_exec analyzer to not work with Analyzer log but rather work with regular log
2020-02-25 12:19:57 +02:00
Shay Nehmad
97976cdbc5
Got 500 from delete operation so simplyfing and re-trying
2020-02-25 11:24:28 +02:00
VakarisZ
e5715f5a7e
Removed unnecessary logging of config in BB and MSSQL unhandled error
2019-10-31 12:11:22 +02:00
Shay Nehmad
e0f4d1ed83
Added module + filename + line number to logs output in Blackbox
2019-10-07 13:49:13 +03:00
Shay Nehmad
ff3c455cb0
Added more logs to testing output and changed printing to logging to attach testing output to test
2019-10-07 12:20:19 +03:00