Skip to content

security: avoid URL substring check in fleet policy - #89

Merged
hseshadr merged 1 commit into
mainfrom
security/codeql-url-check
Oct 25, 2026
Merged

hseshadr merged 1 commit into
mainfrom
security/codeql-url-check

Conversation

@hseshadr

Copy link
Copy Markdown
Collaborator

Clears py/incomplete-url-substring-sanitization in fleet_policy. Behavior is unchanged: only a first segment exactly equal to github.com is treated as GitHub.

Use the first path segment to identify github.com hosts instead of
startswith, clearing py/incomplete-url-substring-sanitization while
keeping the pinned-remote validation unchanged.
@hseshadr
hseshadr merged commit a979d9e into main Oct 25, 2026
5 checks passed
@hseshadr
hseshadr deleted the security/codeql-url-check branch October 25, 2026 15:24
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.

1 participant