Skip to content

Conversation

@juliojimenez
Copy link
Member

No description provided.

Signed-off-by: Julio Jimenez <julio@clickhouse.com>
@juliojimenez juliojimenez self-assigned this Jul 22, 2025
Copilot AI review requested due to automatic review settings July 22, 2025 03:23
@juliojimenez juliojimenez added enhancement github_actions Pull requests that update GitHub Actions code labels Jul 22, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces URL sanitization functionality, converts some debug logging statements, and fixes a license mapping. The changes improve input validation security and adjust logging verbosity for better debugging.

  • Adds a comprehensive sanitize_url function with type-specific validation for different services
  • Enables URL sanitization for Mend, Wiz, and ClickHouse endpoints by uncommenting existing code
  • Changes informational log statements to debug level for less verbose output

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
lib/sanitize.sh Adds new sanitize_url function and enables URL sanitization for various endpoints
test/simple.bats Adds comprehensive test coverage for the new sanitize_url function
entrypoint.sh Changes log level from info to debug for sample content output
license-mappings.json Fixes package name from "eslint-plugin-expect-types" to "eslint-plugin-expect-type"

juliojimenez and others added 3 commits July 21, 2025 23:37
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
@juliojimenez juliojimenez merged commit ae2c1e0 into main Jul 22, 2025
8 checks passed
@juliojimenez juliojimenez deleted the sanitize-url-debug-statements-licenses-2025-07-22 branch July 22, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants