Skip to content

Commit

Permalink
chore: add keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
lem-onade committed Jul 4, 2024
1 parent c26a038 commit 43771a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/generate/config/rules/hubspot.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func HubSpotPrivateAppAccessToken() *config.Rule {
RuleID: "hubspot-private-app-access-token",
Regex: generateSemiGenericRegex([]string{"hubspot"},
`pat-(?:eu|na)\d-[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}`, true),
Keywords: []string{"hubspot"},
}

// validate
Expand All @@ -48,6 +49,7 @@ func HubSpotDeveloperAPIKey() *config.Rule {
`(?:eu|na)\d-(?:[0-9A-F]{4}-){4}[0-9A-F]{12}`,
true,
),
Keywords: []string{"hubspot"},
}

// validate
Expand Down

0 comments on commit 43771a0

Please sign in to comment.