{
  "schema": "kallipolis.resource-quality.v1",
  "id": "resource.connector.gitlab-rest-api",
  "version": "1.0.0",
  "title": "GitLab REST API connector boundary",
  "summary": "Official-source public-read, OAuth, personal/project/group token, job-token, and endpoint-specific authorization boundaries for GitLab connectors.",
  "content": {
    "kind": "connector-boundary",
    "facts": [
      {
        "id": "fact.gitlab.rest-auth.read",
        "statement": "GitLab documents some public endpoints that need no authentication, while most API requests require a supported credential.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.gitlab.rest-auth"
        ]
      },
      {
        "id": "fact.gitlab.rest-auth.write",
        "statement": "A token type or successful login does not authorize every mutation; project, group, user, role, and endpoint rules still apply.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.gitlab.rest-auth"
        ]
      },
      {
        "id": "fact.gitlab.rest-auth.auth",
        "statement": "Supported API credentials include OAuth, personal, project, group, and endpoint-limited CI job tokens, normally carried in authorization headers.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.gitlab.rest-auth"
        ]
      },
      {
        "id": "fact.gitlab.rest-auth.boundary",
        "statement": "Deploy tokens cannot call the public REST API, job tokens cover only documented endpoints, and administrator impersonation must never be a default connector mode.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.gitlab.rest-auth"
        ]
      }
    ]
  },
  "language": "en",
  "category": "enterprise-application-connector",
  "state": "prepared",
  "canonicalUrl": "https://platoskallipolis.com/resources/enterprise-application-connectors/gitlab-rest-api.json",
  "contentHash": "sha256:627e732d08c41a782b4a370fa1b34fc18c2aa673d4e7d3670c22d164c2c6b10c",
  "owner": {
    "id": "platos-kallipolis",
    "name": "Plato's Kallipolis",
    "type": "organization",
    "accountabilityUrl": "https://platoskallipolis.com/about"
  },
  "access": {
    "mode": "public",
    "url": "https://platoskallipolis.com/resources/enterprise-application-connectors/gitlab-rest-api.json",
    "authentication": "none",
    "robotsAllowed": true
  },
  "provenance": {
    "method": "primary-source",
    "sources": [
      {
        "id": "source.gitlab.rest-auth",
        "url": "https://docs.gitlab.com/api/rest/authentication/",
        "title": "REST API authentication",
        "publisher": "GitLab",
        "observedAt": "2026-08-27T01:30:00Z"
      }
    ]
  },
  "observedAt": "2026-08-27T01:30:00Z",
  "freshness": {
    "policy": "max-age",
    "state": "current",
    "nextReviewAt": "2026-09-03T01:30:00Z",
    "maxAgeSeconds": 604800
  },
  "license": {
    "id": "source-terms-apply",
    "url": "https://about.gitlab.com/terms/",
    "redistributionAllowed": false
  },
  "evidence": [
    {
      "id": "evidence.gitlab.rest-auth",
      "type": "source-claim",
      "url": "https://docs.gitlab.com/api/rest/authentication/",
      "observedAt": "2026-08-27T01:30:00Z"
    }
  ]
}
