Conversation
…jection (#2339) * Add shell-specific password validation to prevent command injection * Add backward compatibility * Fix review comments * Add unixpasswd in the ssh list and white space in regex
* Add multi-channel approver support to Google Chat App setup * removed duplicate chat_approvals_space_id, and updates based on review comments * Fix review feedback on Google Chat multi-channel approvers -Remove duplicate FIELD_APPROVALS_SPACE_ID from record fields -Fix type annotation: any → object in _validate_service_account_dict() -Replace unsafe assert with proper CommandError error handling -Add test_multi_channel_approval_config_serialization() for multi-team coverage * Use GChat-specific naming for approvals configuration fields -Change default channel field to chat_approvals_space_id (from approvals_channel_id) -Use space_id instead of channel_id in approvals_teams JSON for teams -Create _gchat_approvals_record_fields() for GChat-specific serialization -Update tests to verify new field naming conventions * Addressed review comments:Parameterize ApprovalsChannelProfile to unify Slack/GChat schema and fix --sync-down data corruption
* Block '--' and legacy commands as Service Mode bypass vectors * Add supershell in banned list * Fix failing test cases
| 'Password contains character unsafe for database rotation: %s', | ||
| labels[0], | ||
| 'Password contains character unsafe for %s rotation: %s', | ||
| context, labels[0], |
| 'Password contains characters unsafe for database rotation: %s', | ||
| ', '.join(labels), | ||
| 'Password contains characters unsafe for %s rotation: %s', | ||
| context, ', '.join(labels), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.