Skip to content

Update script to (optionally) revoke actively used PATs

Jessie Young requested to merge jy-revoke-used-pats into master

What does this MR do and why?

  • In the first iteration of this class, the "cut off date" was used to revoke personal access tokens that were last used before that date.
  • In that context, this was a class for revoking unused PATs.
  • This MR makes it possible to run this class so that the "cut off date" is to revoke any tokens created before that date, irrespective of when they were last used. So it now works for both used and unused PATs.
  • First MR: !95340 (merged)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jessie Young

Merge request reports

Loading