fix(rds): reject malformed cluster snapshot copy flags (#5472)

This commit is contained in:
David Phillips authored and GitHub committed 2026-10-11 19:44:08 -04:00
1 parent 1a0afce7ec
commit 1e92b7e17b
3 files changed
+47 -1

No files matched your search

@@ -2300,7 +2300,7 @@ public class RdsQueryHandler {
if (missing != null) {
return missing;
}
boolean copyTags = "true".equalsIgnoreCase(params.getFirst("CopyTags"));
boolean copyTags = Boolean.TRUE.equals(parseOptionalBoolean(params, "CopyTags"));
DbClusterSnapshot copy = service.copyDbClusterSnapshot(sourceId, targetId, copyTags, parseTags(params), region);
return Response.ok(AwsQueryResponse.envelope("CopyDBClusterSnapshot", AwsNamespaces.RDS,
dbClusterSnapshotXml(copy))).build();