feat(jenkins): add revoke_api_token() and revoke_all_api_tokens()#1097
Closed
clintonsteiner wants to merge 11 commits intopycontribs:masterfrom
Closed
feat(jenkins): add revoke_api_token() and revoke_all_api_tokens()#1097clintonsteiner wants to merge 11 commits intopycontribs:masterfrom
clintonsteiner wants to merge 11 commits intopycontribs:masterfrom
Conversation
* Fix Docker publish action pin and drop Codacy config * Remove remaining Codacy config
* Fix Docker publish action pin and drop Codacy config * Remove remaining Codacy config * Fix Docker build-push action pin
* Fix Docker publish action pin and drop Codacy config * uv sync -U: fix requests vuln
…contribs#1087) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.5.0 to 2.6.1. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@a06a81a...153bb8e) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 2.6.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tribs#1089) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.9.0 to 7.0.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@4f58ea7...d08e5c3) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1088) Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 7.3.0 to 7.6.0. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](astral-sh/setup-uv@eac588a...37802ad) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 7.6.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…contribs#1090) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.10.0 to 4.0.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@b5ca514...4d04d5d) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ibs#1086) Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.5.1 to 6.0.0. - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](docker/metadata-action@8e5442c...030e881) --- updated-dependencies: - dependency-name: docker/metadata-action dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: clintonsteiner <47841949+clintonsteiner@users.noreply.github.com>
POST to ApiTokenProperty/revoke with tokenUuid, and ApiTokenProperty/revokeAll to revoke all tokens for the current user. Mirrors the pattern of generate_new_api_token(). Systests verify a specific token UUID is removed and that revokeAll leaves an empty token list.
2693c7e to
050225c
Compare
Collaborator
Author
|
Superseded by #1114, which consolidates the overlapping Jenkins admin/API changes into one merge block. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POST to ApiTokenProperty/revoke with tokenUuid, and ApiTokenProperty/revokeAll to revoke all tokens for the current user. Mirrors the pattern of generate_new_api_token().
Systests verify a specific token UUID is removed and that revokeAll leaves an empty token list.