Commit Graph

8348 Commits

Author SHA1 Message Date
Ilija Lazoroski e7459412e4 Island: Add concrete AgentBinaryRepository
Issue #1974
2022-06-07 12:33:25 -04:00
Mike Salvatore 94e88d2c8b UT: Add missing __init__.py to monkey_island/cc/repository/ 2022-06-07 07:50:59 -04:00
Mike Salvatore aeb779e6c6 Island: Switch FileRetrievalError from ValueError to RuntimeError 2022-06-07 07:35:54 -04:00
VakarisZ f1ef54b9fa
Merge pull request #1988 from guardicore/1959-build-migration
Island: Add pywin32 requirements for island
2022-06-07 12:45:50 +03:00
vakarisz 3feb984c16 Island: Add pywin32 requirements for island
They are used in pyinstaller and without them frozen island doesn't work
2022-06-07 12:31:07 +03:00
Mike Salvatore f3e6e967f6 Island: Rename test_derictory_file_storage_service.py
This is a small detail that was missed while resolving #1966.
2022-06-06 16:28:37 -04:00
Mike Salvatore 1da6515751 Island: Remove superfluous log statement 2022-06-06 13:26:19 -04:00
Ilija Lazoroski 4e520c135f Island: Add IAgentBinaryRepository
Issue #1974
2022-06-06 11:44:32 -04:00
Mike Salvatore ae78ed7931 Island: Add AgentBinaries to monkey_island.cc.resources package 2022-06-03 10:24:39 -04:00
Ilija Lazoroski 7356b6cc88 Build: Add cleanup function to build_package 2022-06-03 09:02:32 -04:00
VakarisZ baa2bd1c34
Merge pull request #1982 from guardicore/1959-remove-dangling-docker-images
Build: Cleanup dangling docker images after build
2022-06-03 13:56:41 +03:00
Ilija Lazoroski b8c4ae8e0c Build: Cleanup dangling docker images after build 2022-06-03 12:34:06 +02:00
Shreya Malviya cdbe929a87
Merge pull request #1978 from guardicore/1974-change-AgentBinaries-url
Change AgentBinaries URL
2022-06-03 13:50:53 +05:30
Shreya Malviya c43bc3a0c1 Island: Change AgentBinaries URL parameter name
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2022-06-03 13:11:10 +05:30
Shreya Malviya 235e664485 Changelog: Add entry about changing agent binaries' download URL 2022-06-02 17:54:45 +05:30
Shreya Malviya 662fc6b50e Island: Change agent binary download endpoint 2022-06-02 17:32:40 +05:30
Shreya Malviya ed1e152e9c Agent: Change agent binary download endpoint 2022-06-02 17:32:14 +05:30
Shreya Malviya f7315b25f5 Zoo: Change agent binary download endpoint 2022-06-02 17:31:55 +05:30
Shreya Malviya 9d608920fb Docs: Change agent binary download endpoint 2022-06-02 17:30:01 +05:30
Shreya Malviya 594d215598 Island: Rename resource MonkeyDownload to AgentBinaries 2022-06-02 17:09:02 +05:30
ilija-lazoroski 0baacf3027
Merge pull request #1973 from guardicore/1961-decouple-dropper-and-wormconfig
1961 decouple dropper and wormconfig
2022-06-02 12:00:20 +02:00
Shreya Malviya a1656a7121
Merge pull request #1976 from guardicore/1962-decouple-should_stop-from-config
Move `should_stop` out of the config
2022-06-02 15:27:15 +05:30
Ilija Lazoroski 09958c21c6 Agent: Make agent target paths a Path objects 2022-06-02 11:01:21 +02:00
Shreya Malviya d9ce5bae37 Island: Move `should_stop` out of the config to a standalone field in the Monkey document 2022-06-01 16:42:06 +05:30
Ilija Lazoroski e4a2a54c71 Agent: Rename get_agent_dest_path to get_agent_dst_path 2022-06-01 13:05:03 +02:00
Ilija Lazoroski 8ef0b44841 Agent: Fix dropper date referencing
* Make dropper date reference path from strings to Path objects
* Fix try/except block logic and indentation
2022-06-01 12:40:00 +02:00
vakarisz 711cab5f38 Agent: Separate dropper path from agent binary path 2022-06-01 13:04:57 +03:00
Mike Salvatore daa6583b08 Island: Refactor IFileRepository imports/exports
Export `IFileRepository` and `LocalStorageFileRepository` from
`repository/file_storage` so that the `repository` package does not
depend on the internal structure of the `file_storage` subpackage.
2022-05-31 13:16:50 -04:00
Mike Salvatore e1d0d066e9 Project: Reorder GitHub issue templates 2022-05-31 12:29:08 -04:00
Mike Salvatore c7fb910d40 Project: Rename Feature_request.md -> 02_feature_request.md
Testing whether or not the file name controls the order in which github
displays these.
2022-05-31 12:27:26 -04:00
Mike Salvatore 90d7f556da Project: Rename Bug_report.md -> 01_bug_report.md
Testing whether or not the file name controls the order in which github
displays these.
2022-05-31 12:26:09 -04:00
Mike Salvatore 8bafd2faff Add a blank issue template 2022-05-31 12:18:53 -04:00
Mike Salvatore c503ceaa24 Project: Fix components list in refactor issue template 2022-05-31 12:02:12 -04:00
Mike Salvatore 549b5c35ae Project: Add a "refactor" issue template 2022-05-31 12:00:35 -04:00
Mike Salvatore 6cea0c9657
Merge pull request #1972 from guardicore/1966-i-file-storage
1966 renaming repositories
2022-05-31 09:59:59 -04:00
vakarisz 027c53a090 UT: Rename variables and fixtures to file repository 2022-05-31 16:13:00 +03:00
vakarisz 7caba8e399 Island: Rename FileSystemStorage to LocalStorageFileRepository 2022-05-31 15:57:38 +03:00
Shreya Malviya bcbb005ba0 Agent: Remove `should_stop` from configuration 2022-05-31 17:39:15 +05:30
Ilija Lazoroski f7c2e903b8 Island: Remove dropper target paths from the config 2022-05-31 14:00:05 +02:00
Ilija Lazoroski b8e943f7a8 Agent: Decouple dropper target paths from the config
* Dropper target paths are now part of infection_monkey.model
2022-05-31 13:59:08 +02:00
vakarisz 6c1fa80f42 Island: Rename Filesystem to FileSystem 2022-05-31 13:59:47 +03:00
vakarisz faf2259c59 Island: Rename repository file names to snake case 2022-05-31 12:59:38 +03:00
vakarisz 154d59b837 Island: Rename and move file storage classes 2022-05-31 12:45:45 +03:00
VakarisZ 6221a43fef
Merge pull request #1970 from guardicore/906-remove-config-arg
Agent: Remove --config argument
2022-05-30 16:20:11 +03:00
Ilija Lazoroski 49654d4dfe Island, Agent: Move dropper option from WormConfiguration to consts
* Remove dropper_set_date, dropper_date_reference_path_windows
  dropper_date_reference_path_linux from internal config in the Island
* Remove all references to these options from data for tests
2022-05-30 15:14:58 +02:00
vakarisz 7310cc0b15 Agent: Improve the commandline argument parsing 2022-05-30 16:04:10 +03:00
Ilija Lazoroski 8d225b5c1b Agent: Remove --config argument 2022-05-30 13:31:02 +02:00
VakarisZ b3710e4772
Merge pull request #1969 from guardicore/1967-fix-travis
Project: Fix travis build
2022-05-30 14:24:19 +03:00
Ilija Lazoroski 1bfffb0bfd Project: Fix travis build 2022-05-30 13:15:31 +02:00
Shreya Malviya bd40ca79bf
Merge pull request #1957 from guardicore/1941-api-spec
API review
2022-05-28 00:04:12 +05:30