Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add additional payload filter key validation #295

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

keelerm84
Copy link
Member

@keelerm84 keelerm84 commented Sep 5, 2024

Previously, we were allowing any non-empty string value to be provided
as a payload filter key. However, customers can only create a filter key
with a subset of characters.

In an effort to warn them earlier about potentially invalid
configurations, we are adding some basic key validation work as part of
the start up sequence.

Previously, we were allowing any non-empty string value to be provided
as a payload filter key. However, customers can only create a filter key
with a subset of characters.

In an effort to warn them earlier but potentially invalid
configurations, we are adding some basic key validation work as part of
the start up sequence.
@keelerm84 keelerm84 requested a review from a team as a code owner September 5, 2024 19:56
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 3.0.0"

spec.add_development_dependency "aws-sdk-dynamodb", "~> 1.57"
spec.add_development_dependency "libxml-ruby", "~> 5.0", ">= 5.0.3"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later versions of the aws sdk dynamodb gem seem to require you have this installed. This is only a dev dependency so we can add and remove at will here.

@keelerm84 keelerm84 merged commit 75d6c6a into main Sep 6, 2024
6 checks passed
@keelerm84 keelerm84 deleted the mk/sc-254962/validation branch September 6, 2024 13:56
keelerm84 pushed a commit that referenced this pull request Oct 7, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.7.1](8.7.0...8.7.1)
(2024-09-06)


### Bug Fixes

* Add additional payload filter key validation
([#295](#295))
([75d6c6a](75d6c6a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants