@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:sentry_auth_token a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "sentry_auth_token" ;
    skos:prefLabel "Sentry auth token"@en ;
    skos:definition "Auth token of Sentry, the error monitoring service. Personal (user) tokens are sntryu_ followed by 64 hexadecimal digits. Organization tokens start with sntrys_, carry a Base64 payload that includes the organization slug, and end with an underscore and 43 characters, about 180 to 250 characters in all. Older tokens without a prefix are plain 64-digit hexadecimal strings and are not covered."@en ;
    skos:broader dt:access_token ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:sntryu_[a-f0-9]{64}|sntrys_[A-Za-z0-9+/=]+_[A-Za-z0-9+/]{43})$" ;
    rdfs:seeAlso <https://docs.sentry.io/security-legal-pii/security/token-formats/> ;
    rdfs:seeAlso <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml> ;
    rdfs:seeAlso <https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/sentryorgtoken/sentryorgtoken.go> ;
    rdfs:seeAlso <https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/sentrytoken/v2/sentrytoken.go> .
