AWS codedeploy: New preserve_directory_symlinks agent setting
Summary
Documents the new :preserve_directory_symlinks: configuration option (agent 2.1.3+, Linux/macOS only) that installs a directory symlink in the revision as a symlink instead of copying the target directory contents; default is false and the setting is ignored on Windows Server.
Security assessment
This is a configuration reference entry for symlink handling behavior. Symlink semantics can have security implications (link traversal, permissions not applied through preserved links), but the text is behavioral documentation with no vulnerability, CVE, or security guidance, so severity is low.
Evidence
+**:preserve_directory_symlinks:** | For version 2.1.3 and later. Linux and macOS instances only. Set to `true` to install a symbolic link to a directory in the application revision as a symbolic link. When set to `false`, the agent copies the contents of the directory that the link points to. The `permissions` section of the AppSpec file is not applied through a preserved link. On Windows Server instances, the setting is ignored. The default setting is `false`.
Diff
diff --git a/codedeploy/latest/userguide/reference-agent-configuration.md b/codedeploy/latest/userguide/reference-agent-configuration.md index f767a38..0cae0cd 100644 --- a//codedeploy/latest/userguide/reference-agent-configuration.md +++ b//codedeploy/latest/userguide/reference-agent-configuration.md @@ -48,0 +49 @@ You should set **:log_aws_wire:** to `true` only for the amount of time required +**:preserve_directory_symlinks:** | For version 2.1.3 and later. Linux and macOS instances only. Set to `true` to install a symbolic link to a directory in the application revision as a symbolic link. When set to `false`, the agent copies the contents of the directory that the link points to. The `permissions` section of the AppSpec file is not applied through a preserved link. On Windows Server instances, the setting is ignored. The default setting is `false`.