Skip to content

Add a detector for Kong Konnect Platform tokens. #5306

Description

@mrwanny

Please review the Community Note before submitting

Description

Add a detector for Kong Konnect Platform (https://api.konghq.com/) tokens.

Preferred Solution

Detect Kong Konnect token by their format (?:kpat_|spat_)[a-zA-Z0-9]{49}
Verify them against the Kong Konnect API (GET https://global.api.konghq.com/v3/organizations/me)

Additional Context

Implementation is already up in the PR below.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions