Mike Salvatore
4aa9a14f13
ci: remove `swimm verify` for now
...
There is a bug in swimm that is causing `swimm verify` to fail in the CI
pipeline, eventhough it succeeds locally. Disabling for now while the
swimm team works to rectify the issue.
2021-02-23 07:51:56 -05:00
dependabot[bot]
8b60625d81
build(deps): bump marked in /monkey/monkey_island/cc/ui
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.1.1...v2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 12:50:28 -05:00
Mike Salvatore
95eb96acc8
Merge branch 'copyediting' into develop
2021-02-22 07:08:21 -05:00
MarketingYeti
8a1fec3f0b
Copyedits for usage sections ( #965 )
...
Copy edits - round 2
2021-02-22 07:06:56 -05:00
Mike Salvatore
776d3421aa
agent: add TODO to rework telemetry classes
2021-02-19 19:34:43 -05:00
VakarisZ
4158ed802b
Refactored telemetry unit tests to json encode data the same way telemetries do.
2021-02-19 17:19:21 +02:00
VakarisZ
c698e0ab66
Merge pull request #848 from guardicore/519/scoutsuite-integration
...
519/scoutsuite integration
2021-02-19 08:08:40 +02:00
Mike Salvatore
978927c329
Merge pull request #970 from shreyamalviya/telemetry-tests
...
Telemetry unit tests
2021-02-18 14:18:05 -05:00
Shreya
2bc27b48de
Use stub for PBA
2021-02-19 00:44:28 +05:30
Shreya
8bd30ceb4c
Format code using black
2021-02-19 00:09:20 +05:30
Shreya
15107eeea3
Use constants/literals for tests
2021-02-19 00:02:34 +05:30
Shreya
a4603853a9
Split test_attack_telem_classes.py and test_technique_telems.py into separate test files
2021-02-18 22:44:42 +05:30
Shreya
08addff8c5
Modify tests for attack telem classes and technique telems
...
- test `send()` instead of `get_data()` using fixture `spy_send_telemetry`
2021-02-18 22:34:15 +05:30
Mike Salvatore
4efdeeacc3
agent: remove dependency on pytest-mock
2021-02-18 09:59:52 -05:00
Mike Salvatore
86ffaf358f
agent: break test_base_telem_classes into discrete test files
2021-02-18 09:53:55 -05:00
VakarisZ
522000d169
Swimm: update unit Define what your new PBA does (id: xYkxB76pK0peJj2tSxBJ).
2021-02-18 16:51:52 +02:00
VakarisZ
51abb5dacb
Swimm: update unit Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-02-18 16:49:44 +02:00
VakarisZ
6d31afacd0
Swimm: update unit Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
2021-02-18 16:45:34 +02:00
Mike Salvatore
0ac9ce949c
agent: reformat test_base_telem_classes.py with black
2021-02-18 09:38:37 -05:00
Mike Salvatore
c2ed31bde8
telemetry: test `send()` for telemetry classes in `telemetry/`
2021-02-18 09:33:58 -05:00
Shreya
7960529ee9
Add conftest.py
2021-02-18 19:41:29 +05:30
VakarisZ
a977ec4397
Cleaned up imports and added no inspection comments to pass flake
2021-02-18 10:55:12 +02:00
VakarisZ
414dbf0665
Merge remote-tracking branch 'upstream/develop' into 519/scoutsuite-integration
2021-02-17 16:59:06 +02:00
VakarisZ
81ea057509
Fixed a bug in MonkeyFindingDetails, where updating events using update was failing due to some internal mongoengine error.
2021-02-17 16:58:26 +02:00
VakarisZ
01c775e955
Refactored details out of abstract finding document.
2021-02-17 16:53:59 +02:00
VakarisZ
8b8c5f9590
Added RuleNameEnum class and a type hint related to it in abstract class
2021-02-17 16:20:13 +02:00
Shreya
42b7fa05d6
Add requirement
2021-02-17 19:02:20 +05:30
Shreya
6b0cc1e368
Add tests for other base telems + put all telem tests in one folder
2021-02-17 19:01:55 +05:30
Shreya
b9bbfac30b
Add/modify tests for attack telems
2021-02-17 18:25:38 +05:30
VakarisZ
25704b74c9
Zero Trust finding saving method refactored to remove code duplication between children
2021-02-11 16:53:19 +02:00
VakarisZ
e96ee305fb
Minor variable and method refactoring to improve readability in scoutsuite code
2021-02-11 16:52:20 +02:00
VakarisZ
3cb2a63a9d
Changed rule name classes to inherit from RuleNameEnum to add a more specific type hints
2021-02-11 16:51:38 +02:00
Mike Salvatore
de3adfd483
Merge pull request #964 from guardicore/payload_obfuscation
...
Payload obfuscation
2021-02-11 08:47:15 -05:00
VakarisZ
f11736d451
Added no inspection comments and an explanation on why we use Crypto for shellcode_obfuscator.py
2021-02-11 15:29:29 +02:00
Mike Salvatore
a7b79d6d03
cc: fix typo in pycrypto noqa comment
2021-02-11 08:26:10 -05:00
Mike Salvatore
e4bcf2ef1c
cc: ignore pycrypto security warnings since we use pycryptodome
2021-02-11 08:09:07 -05:00
Mike Salvatore
0cc65cb346
Merge pull request #924 from shreyamalviya/env-collection-errors
...
Catch exceptions in AwsInstance and AzureInstance
2021-02-10 08:51:48 -05:00
Shreya
11a0477dbb
Rename test functions, add 404 response tests, and other tiny changes
2021-02-10 16:15:17 +05:30
VakarisZ
28e4a0f23d
Altered shellcode obfuscator unit test to match the new code
2021-02-10 10:32:43 +02:00
VakarisZ
baadb241e8
Reverted relative paths in zero trust code back to absolute
2021-02-09 15:51:34 +02:00
VakarisZ
6f16ba431c
Minor refactorings of code style in zero trust code
2021-02-09 14:21:55 +02:00
VakarisZ
a0bb0bc7fe
Small renamings and minor improvements
2021-02-08 17:42:57 +02:00
VakarisZ
905ffd029a
Added ScoutSuite rule parsing unit test and example of raw ScoutSuite data received.
2021-02-08 17:41:57 +02:00
VakarisZ
80e7435572
Refactored Finding DTO into ScoutSuiteFinding and MonkeyFinding DTO which inherit from more abstract Finding.
2021-02-08 17:38:45 +02:00
Shreya
016d886781
Add tests for AwsInstance
...
and change urllib.request.urlopen() to requests.get() for easier testing; functionality doesn't change
2021-02-06 19:19:08 +05:30
VakarisZ
9444067250
Added comments, type hints and other minor changes in the scoutsuite code
2021-02-05 11:05:22 +02:00
VakarisZ
bcfa8fff78
Extracted count badge into a separate component which is reused between scoutsuite rules button and monkey events button
2021-02-05 11:03:27 +02:00
Shreya
eed5ea1337
Add tests for GcpInstance
2021-02-04 21:02:53 +05:30
Shreya
413aa35b5b
Rename an old test file
2021-02-04 20:46:19 +05:30
Shreya
adab0436be
Add tests for AzureInstance
2021-02-04 20:46:20 +05:30