Skip to content

Is there a way to check if user still in the organization when role is assumed? #32

Answered by cnuss
shcheklein asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shcheklein and thanks for your message! I appreciate you trying out SAML.to!!

That's correct there is a security implication that if a user is off boarded from a GitHub organization, but the saml-to.yml is not updated, they could retain access to roles. Updating saml-to.yml would need to be part of the off-boarding process your organization has in place.

Also, as good measure, we also recommend securing the saml-to repository and/or access to saml-to.yml:

  • Protect the main branch and require Pull requests
  • Add Codeowners to the repository on the saml-to.yml file.
  • Ensure only Individuals which are permitted to onboard/offboard users have Write/Maintain privileges on the repository.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@cnuss
Comment options

Answer selected by cnuss
Comment options

You must be logged in to vote
2 replies
@shcheklein
Comment options

@cnuss
Comment options

cnuss Feb 2, 2023
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants