mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(rds): reject malformed event subscription flags (#5481)
This commit is contained in:
1 parent
a96cc04fab
commit
eb3c14d414
4 files changed
+116
-3
No files matched your search
@@ -313,7 +313,7 @@ public class RdsQueryHandler {
|
||||
params.getFirst("SourceType"),
|
||||
memberList(params, "SourceIds"),
|
||||
memberList(params, "EventCategories"),
|
||||
optionalBoolean(params.getFirst("Enabled")),
|
||||
parseOptionalBoolean(params, "Enabled"),
|
||||
parseTags(params));
|
||||
return Response.ok(AwsQueryResponse.envelope("CreateEventSubscription", AwsNamespaces.RDS,
|
||||
new XmlBuilder().raw(eventSubscriptionXml(subscription)).build())).build();
|
||||
@@ -325,7 +325,7 @@ public class RdsQueryHandler {
|
||||
params.getFirst("SnsTopicArn"),
|
||||
params.getFirst("SourceType"),
|
||||
memberList(params, "EventCategories"),
|
||||
optionalBoolean(params.getFirst("Enabled")));
|
||||
parseOptionalBoolean(params, "Enabled"));
|
||||
return Response.ok(AwsQueryResponse.envelope("ModifyEventSubscription", AwsNamespaces.RDS,
|
||||
new XmlBuilder().raw(eventSubscriptionXml(subscription)).build())).build();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user