Skip to content

Iterate on personal access token audit log specs

What does this MR do?

Previously, this spec file tested audit events when a user successfully created their own personal access token. This MR adds

  • A test for when a non-admin user attempts to create a token for a different user
  • A test for when an admin successfully creates a PAT for a different user
  • A test for when an admin unsuccessfully creates a PAT for a different user

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #290987 (closed)

Edited by Mark Chao

Merge request reports

Loading