Skip to content

Commit 724aa4d

Browse files
authored
fix(scopes): add missing existing scope
Scope can be defined but is lot listed here, leading to tokens with this permission to fail
1 parent 684332d commit 724aa4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pygitguardian/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ class TokenScope(str, Enum):
772772
CUSTOM_TAGS_WRITE = "custom_tags:write"
773773
SECRET_READ = "secrets:read"
774774
SCAN_CREATE_INCIDENTS = "scan:create-incidents"
775+
PUBLIC_PERIMETER_VIEW = "public-perimeter:read"
775776

776777

777778
class APITokensResponseSchema(BaseSchema):

0 commit comments

Comments
 (0)