Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .graphql files for checking 2FA status of enterprise members… #759

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

bss-mc
Copy link
Contributor

@bss-mc bss-mc commented Nov 25, 2024

This pull request introduces six new GraphQL queries which can be used to list enterprise members or outside collaborators that have no 2FA, insecure 2FA options (SMS), or secure 2FA.

  • enterprise-members-2fa-disabled.graphql: enterprise members with no 2FA
  • enterprise-members-2fa-insecure.graphql: enterprise members with insecure 2FA options
  • enterprise-members-2fa-secure.graphql: enterprise members with secure 2FA
  • enterprise-outside-collaborators-2fa-disabled.graphql: outside collaborators with no 2FA
  • enterprise-outside-collaborators-2fa-insecure.graphql: outside collaborators with insecure 2FA options
  • enterprise-outside-collaborators-2fa-secure.graphql: outside collaborators with secure 2FA

… / OCs

Initial creation of 6 `graphql` files:
- Ent members with no 2FA
- Ent members with insecure 2FA options
- Ent members with secure 2FA
- OCs with no 2FA
- OCs with insecure 2FA options
- OCs with secure 2FA
Copy link
Contributor

@jusuchin85 jusuchin85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! One suggested change

…graphql


Update OC insecure 2FA to increase results returned from 1 to 100.

Co-authored-by: Justin Alex <[email protected]>
@bss-mc bss-mc marked this pull request as ready for review November 26, 2024 00:44
@bss-mc bss-mc merged commit e5d5c0f into master Nov 26, 2024
5 checks passed
@bss-mc bss-mc deleted the bss-mc-2fa-ent-graphql-examples branch November 26, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants