App Logo
drata.com

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.

Input

None

Output

evidence required
loggedIn required
email optional
roles optional
region optional
userId optional
lastName optional
firstName optional
accountType optional
workspaceSlug optional

FAQ

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.
Nothing. It takes no input.
It returns email, roles, region, userId, evidence, lastName, loggedIn, firstName, accountType, workspaceSlug.
Yes. It acts as you on drata.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the drata.com cookies saved by the Reduck extension.
It only reads. It looks things up on drata.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/drata.com/whoami, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drata.com/whoami
It is part of Reduck's official curated catalogue.

Start building not clicking