Page MenuHomePhabricator

audit_project_mfa.sql

Authored By
epriestley
Dec 9 2015, 4:25 PM
Size
364 B
Referenced Files
None
Subscribers
None

audit_project_mfa.sql

SELECT
u.username User, p.name Project, IF(f.id IS NULL, "NO", "YES") "Has MFA"
FROM phabricator_user.user u
LEFT JOIN phabricator_user.edge ue
ON ue.src = u.phid AND ue.type = 14
LEFT JOIN phabricator_project.project p ON ue.dst = p.phid
LEFT JOIN phabricator_auth.auth_factorconfig f ON f.userPHID = u.phid
WHERE p.name = 'Dog Project';

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/7u/xl/2dhtgfup4vantvjg
Default Alt Text
audit_project_mfa.sql (364 B)

Event Timeline