Skip to content

fix: introduce gRPC input validation - #677

Merged
talos-bot merged 2 commits into
cosi-project:mainfrom
smira:fix/grpc-input-validation
Aug 31, 2026
Merged

fix: introduce gRPC input validation #677
talos-bot merged 2 commits into
cosi-project:mainfrom
smira:fix/grpc-input-validation

Conversation

@smira

@smira smira commented Aug 31, 2026

Copy link
Copy Markdown
Member

Validate that both label & ID queries have sane limits on inputs.

For label query - ensure that values are populated, for the ID query
ensure a maximum budget for the regexp to be compiled. In real life ID
queries should be simple (and probably regexp is an overkill here), so
limit the regexp maximum complexity.

Validate that both label & ID queries have sane limits on inputs.

For label query - ensure that values are populated, for the ID query
ensure a maximum budget for the regexp to be compiled. In real life ID
queries should be simple (and probably regexp is an overkill here), so
limit the regexp maximum complexity.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Copilot AI lite review requested due to automatic review settings August 31, 2026 12:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-project-automation github-project-automation Bot moved this to To Do in Planning Aug 31, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Aug 31, 2026
@github-project-automation github-project-automation Bot moved this from In Review to Approved in Planning Aug 31, 2026
Update Go dependencies and rekres.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
@smira
smira force-pushed the fix/grpc-input-validation branch from 4690905 to 8eab351 Compare August 31, 2026 12:10
@smira

smira commented Aug 31, 2026

Copy link
Copy Markdown
Member Author

/m

@talos-bot

Copy link
Copy Markdown
Collaborator

@smira merge was not performed: push: To https://github.com/cosi-project/runtime.git
! [remote rejected] main -> main (cannot lock ref 'refs/heads/main': is at 8eab351 but expected c7cf050)
error: failed to push some refs to 'https://github.com/cosi-project/runtime.git'

@talos-bot
talos-bot merged commit 8eab351 into cosi-project:main Aug 31, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Planning Aug 31, 2026
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.

4 participants