Skip to content

Improve Secret Detection rule "Hubspot API token"

Problem

Real examples for rule Hubspot API token all include a prefix, which we are not leveraging in the pattern.

Solution

Update the regex to detect only the prefixed secret, not requiring a particular assignment-like structure.

Edited by 🤖 GitLab Bot 🤖