summaryrefslogtreecommitdiff
path: root/data/deprecations/15-8-revoked-agent-tokens-api-change.yml
blob: f512297484445d9b0f1843fcb81d26759bd8b640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- title: "The API no longer returns revoked tokens for the agent for Kubernetes"
  announcement_milestone: "15.8"
  removal_milestone: "16.0"
  breaking_change: true
  reporter: nagyv-gitlab
  stage: configure
  issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/382129
  body: |
    Currently, GET requests to the [Cluster Agents API](https://docs.gitlab.com/ee/api/cluster_agents.html#list-tokens-for-an-agent)
    endpoints can return revoked tokens. In GitLab 16.0, GET requests will not return revoked tokens.

    You should review your calls to these endpoints and ensure you do not use revoked tokens.

    This change affects the following REST and GraphQL API endpoints:

    - REST API:
      - [List tokens](https://docs.gitlab.com/ee/api/cluster_agents.html#list-tokens-for-an-agent)
      - [Get a single token](https://docs.gitlab.com/ee/api/cluster_agents.html#get-a-single-agent-token)
    - GraphQL:
      - [`ClusterAgent.tokens`](https://docs.gitlab.com/ee/api/graphql/reference/#clusteragenttokens)