rules: - name: TeamCity API Token id: kingfisher.teamcity.1 # This is a JWT-like format that always seems to have the same `{"typ": "TCV2"}` header. # Note that the payload part does not decode as a JSON object, and hence makes this an invalid JWT. pattern: | (?x) \b ( eyJ0eXAiOiAiVENWMiJ9 (?# decodes to `{"typ": "TCV2"}` ) \. [A-Za-z0-9_-]{36} \. [A-Za-z0-9_-]{48} ) examples: - '' references: - https://www.jetbrains.com/help/teamcity/rest/teamcity-rest-api-documentation.html