Skip to content

Support the GitLab CI OIDC 'sub' format alongside GitHub's #4

Description

@Dashtid

GitLab subjects lead with project_path: or project_id: instead of repo:. parse_github_sub (src/subcheck/decoder.py) returns only {raw} for them. A parse_gitlab_sub (or a dispatching parse_sub) would make the advisory notes work for GitLab tokens too. The subvectors corpus (CC0) has cited GitLab subject fixtures to test against.

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

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions