Files
velero/pkg
Shubham Pampattiwar 20af2c20c5 Address PR review comments: sanitize errors and add SAS token scrubbing
This commit addresses three review comments on PR #9321:

1. Keep sanitization in controller (response to @ywk253100)
   - Maintaining centralized error handling for easier extension
   - Azure-specific patterns detected and others passed through unchanged

2. Sanitize unavailableErrors array (@priyansh17)
   - Now using sanitizeStorageError() for both unavailableErrors array
     and location.Status.Message for consistency

3. Add SAS token scrubbing (@anshulahuja98)
   - Scrubs Azure SAS token parameters to prevent credential leakage
   - Redacts: sig, se, st, sp, spr, sv, sr, sip, srt, ss
   - Example: ?sig=secret becomes ?sig=***REDACTED***

Added comprehensive test coverage for SAS token scrubbing with 4 new
test cases covering various scenarios.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-12-02 11:37:50 -08:00
..
2025-12-02 12:28:03 -05:00
2025-10-29 15:05:52 +08:00
2025-07-22 15:56:04 +08:00
2025-12-02 12:28:03 -05:00
2025-07-22 15:56:04 +08:00
2025-10-28 14:43:51 +08:00
2025-11-26 14:16:42 +08:00
2023-04-16 12:49:55 -04:00
2025-11-26 14:16:42 +08:00
2025-11-26 14:16:42 +08:00
2025-12-02 12:28:03 -05:00
2025-10-29 15:05:52 +08:00
2025-12-02 12:28:03 -05:00