aws-samples / iam-identity-center-team

Open-source temporary elevated access solution for AWS IAM Identity Center.
https://aws-samples.github.io/iam-identity-center-team/
MIT No Attribution
295 stars 67 forks source link

Error - Revoke active access #255

Closed cheddarnaz closed 1 month ago

cheddarnaz commented 3 months ago

Describe the bug When getting a request access approved (I am both an admin and approver also, but had another team member approve my request), I verified that the access was attached. However, after verifying, I went ahead and revoked my own access. However, that caused an error and there is no explanation for the error or where to look to view execution logs when errors occur.

The error is on the status field when viewing details for a request. The access is still active on my account.

To Reproduce Steps to reproduce the behavior:

  1. Create a request for access into an account. (Note, you are also an admin/approver as well, just unable to approve your own request)
  2. Have another approver approve the request.
  3. Go to your Active Access section and revoke your request
  4. The My Request and Audit section should have a log of that request with a status of error with no explanation.
  5. Access is still active

Expected behavior Access to be revoked and be successful. Access removed from my account after revokation.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-06-04 at 4 15 33 PM

Desktop (please complete the following information):

Additional context It does not seem as though the TEAM-Revoke-SM-main step function was even triggered/executed.

github-actions[bot] commented 1 month ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.