List Drata platform users
Automatically list Drata platform users on drata.com. List the users of the signed-in Drata workspace (Settings, Role administration): each user's email, first and last name, roles, date added and last login, plus a total. Pass an email to also learn whether that person is still listed, e.g. to confirm an offboarding went through. Needs a Drata session. Read-only: it never changes a user or a role.
Input
email optionalOptional email to look for; the result then says whether it is listed.
Output
count requiredusers requiredtotal optionalpresent optionalcheckedEmail optionalworkspaceSlug optionalFAQ
Drata whoami (signed-in account)
Report which Drata account this browser is signed in as: the user id, email, first and last name, roles, account type, and the workspace and region the app opened. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Drata scripts.
Exclude a Drata monitoring finding
Exclude one failing resource (a repository, a person, a cloud resource) from a Drata monitoring test, with the written justification Drata shows auditors in its audit packages. Give the test page URL, the resource exactly as listed in the test's findings, and the reason. Needs a Drata session. It changes your compliance results, and undoing it is done from the test's Exclusions tab.
Drata: list my policies
List the Drata policies assigned to the signed-in employee, with each policy's name, description, published date and whether (and when) the employee accepted it, plus totals. Read-only; it never accepts a policy.
