Audit outside collaborators for two-factor authentication
We've updated the Organization Memberships API preview to include a new filter for listing outside collaborators without two-factor authentication enabled:
curl -H "Authorization: token [yours]" \
"https://api.github.com/orgs/[orgname]/outside_collaborators?filter=2fa_disabled"
Happy auditing and send us your feedback or questions.