diff --git a/changelog.d/20260422_142610_clement.tourriere_add_honeytokens_new_scopes.md b/changelog.d/20260422_142610_clement.tourriere_add_honeytokens_new_scopes.md new file mode 100644 index 00000000..9841e419 --- /dev/null +++ b/changelog.d/20260422_142610_clement.tourriere_add_honeytokens_new_scopes.md @@ -0,0 +1,42 @@ + + + + +### Added + +- New `honeytokens:check` token scope for prefix-based honeytoken lookup. + + + + + diff --git a/pygitguardian/models.py b/pygitguardian/models.py index 775cc4cd..2f718cb4 100644 --- a/pygitguardian/models.py +++ b/pygitguardian/models.py @@ -762,6 +762,7 @@ class TokenScope(str, Enum): AUDIT_LOGS_READ = "audit_logs:read" HONEYTOKENS_READ = "honeytokens:read" HONEYTOKENS_WRITE = "honeytokens:write" + HONEYTOKENS_CHECK = "honeytokens:check" API_TOKENS_READ = "api_tokens:read" API_TOKENS_WRITE = "api_tokens:write" IP_ALLOWLIST_READ = "ip_allowlist:read"