From 2282572a410d0af04783865e696ab23fac789efe Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 11 Jun 2024 11:22:36 -0400 Subject: [PATCH] Make agent path name consistent in LinuxSetPermissionsOptions The name of this member is changed to be consistent with the other `Options` models. --- agentpluginapi/i_linux_agent_command_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentpluginapi/i_linux_agent_command_builder.py b/agentpluginapi/i_linux_agent_command_builder.py index 5435dc4..032b78b 100644 --- a/agentpluginapi/i_linux_agent_command_builder.py +++ b/agentpluginapi/i_linux_agent_command_builder.py @@ -21,7 +21,7 @@ class LinuxDownloadOptions(InfectionMonkeyBaseModel): class LinuxSetPermissionsOptions(InfectionMonkeyBaseModel): - file_path: PurePosixPath + agent_destination_path: PurePosixPath permissions: int = Field(ge=0, le=0o777, default=0o700)