Skip to content

1Password

1Password is a password manager for teams; DRACO reads its Events API.

  • What DRACO uses: Sign-in attempts, item usage and audit events.
  • What for: Detections, UEBA and hunts on vault activity, and suspending users from incidents and workflows.

Add it in Connectors > Add connector: pick 1Password, then choose what DRACO collects and what it may change. Add more later with Add a part on its connector page. See Connectors for how connectors, sign-in and tags work.

Parts

Part What DRACO uses Access Permissions
Logs 1Password Events read An Events Reporting token (Expires After: 180 days) with the events sign-in attempts, item usages and audit events.
Response Suspend user (1Password) write Suspend user (1Password): an OAuth application of the 1Password account (client credentials) with the scopes users.view and users.suspend, plus users.reactivate for Undo; 1Password Business or Enterprise Password Manager, without automated provisioning

Requirements

  • 1Password Business or Enterprise Password Manager (Teams accounts do not have Events Reporting).
  • An owner or administrator to create the Events Reporting integration.
  • For Suspend user: an owner, administrator or member of the Security group to create the OAuth application. It is not available while the account uses automated provisioning from your SSO provider: suspend users there instead.

Logs

The 1Password Events data source (onepassword_events) reads the 1Password Events API of your 1Password Business account: sign-in attempts (successful and failed), item usages (an item revealed, copied, filled, edited or exported) and audit events (vault access granted or revoked, group membership, users, two-factor authentication, account settings).

DRACO never sees passwords or item contents: the Events API reports who did what to which item or vault, not the secrets themselves.

Client setup (1Password owner or administrator)

  1. Sign in to your account on 1password.com (or ent.1password.com, 1password.ca, 1password.eu) and select Integrations in the sidebar (then Directory, if you already have integrations). In the Events Reporting section select Other, name it, for example DRACO, and select Add Integration.
  2. Issue a token: name it, set Expires After to 180 days (the default is Never), and select the events DRACO reads:
    • Sign-in attempts,
    • Item usage actions,
    • Audit events.
  3. Copy the bearer token (shown once) or save it in a vault.

The token can read these events and nothing else. A token without one of the event types still works if you remove that type from the source's Events.

Add the source in DRACO

  1. Connectors > Add connector, pick 1Password and tick Logs under Collectors (or Add a part on the 1Password connector you already have).
  2. Settings:
    • Account domain: where you sign in: 1password.com (default), ent.1password.com (Enterprise), 1password.ca or 1password.eu. DRACO reads https://events.<domain>; no other host can be set.
    • Events, one per line: signinattempts, itemusages, auditevents (all three by default).
    • Optional: how far the first run looks back (24 hours), the re-read window used when a cursor is reset (30 minutes) and the pages per event type per run (10 pages of 1,000).
  3. Credential: a Token credential (vendor 1password) with the bearer token. You can create it in the wizard.
  4. Test connection: DRACO asks 1Password which events the token may read (/api/v2/auth/introspect) and fails with the names of the event types the token lacks, then reads a few events of each type and shows them parsed. The source is created only after a passing test.

What DRACO collects

One event per sign-in attempt, item usage or audit event; feature says which (signinattempts, itemusages, auditevents):

Event field Sign-in attempt Item usage Audit event
time timestamp timestamp timestamp
action signin.<category> (signin.success, signin.credentials_failed, signin.mfa_failed...) item.<action> (item.reveal, item.secure-copy, item.export...) <object type>.<action> (uva.grant, gm.join, mfa.dlte...)
actor_user target_user.email user.email actor_details.email
src_ip client.ip_address client.ip_address session.ip
user_agent the 1Password app, version, browser and OS same -
resource_uid the user item_uuid the object's name, email or uuid
geo.country location.country location.country location.country
status failure for failed sign-ins, success otherwise success success

Audit object types: uva user vault access, gva group vault access, gm group membership, mfa two-factor authentication, user, vault, invite and others. The whole item stays in the fields, with a message such as [email protected]: uva.grant on Finance (Mallory) from 203.0.113.41 (NL): succeeded.

Search examples:

source_type=onepassword_events feature=signinattempts status=failure | stats count by actor_user, category, src_ip
source_type=onepassword_events action IN (item.reveal, "item.secure-copy") | stats count by actor_user, vault_uuid
source_type=onepassword_events feature=auditevents | stats count by action, actor_user

IDs resolved (Readable IDs): user UUIDs (sign-in target, item user, audit actor and affected user) → e-mail; vault, group and item UUIDs of audit events → name. Item usages carry the vault and item UUIDs without names.

Latency

Events usually appear within a minute or two. Each event type has its own 1Password cursor, stored after every run, so the next run continues exactly where the last one stopped. If 1Password refuses an old cursor (for example after the source was paused for a long time), DRACO starts again from the last event time minus the re-read window and skips the events it already stored, so nothing is lost or stored twice.

1Password limits the Events API to about 600 requests a minute and 30,000 an hour. A 429 is retried after the Retry-After delay; if 1Password keeps refusing, the run stops and the next one continues from the same point.

Built-in rules

The draco-saas pack has these rules for this source (Detections > Built-in). The ones marked recommended are on by default.

Rule Severity Fires on
Many failed sign-ins for one user (recommended) medium 10 or more failed sign-ins for one user in 15 minutes
User added to Administrators or Owners (recommended) high group membership (gm.*) added for the Administrators or Owners group
Two-factor authentication removed (recommended) high mfa.dlte and other removals of a second factor
Items exported (recommended) high item.export (and vault or account exports)
One user signed in from two countries within an hour medium successful sign-ins of one user from two or more countries
Vault shared or its permissions changed medium uva.* and gva.* grants, revocations and updates
Many items revealed or copied by one user medium 50 or more item.reveal or item.secure-copy by one user in an hour

Each rule has What to do guidance (triage, likely false positives, containment).

Response

Suspend user suspends a 1Password user from an incident, an investigation or a workflow, through the 1Password Users API: they lose access to the account and its vaults until reactivated. Undo reactivates them. The target is the user's email or their 1Password user id (26 letters and digits); an email target is checked against the allowlist like every other target. 1Password never suspends the last owner of the account or members of the External Account Managers group.

Client setup (owner, administrator or Security group)

  1. Sign in to 1Password.com and select Integrations in the sidebar (then Directory, if you already have integrations).
  2. Select OAuth Application, grant type Client credentials, then Next.
  3. Name it DRACO response and select the scopes View users, Suspend user and Reactivate user. Scopes cannot be changed later: create a new application instead.
  4. Copy the client ID and client secret (the secret is shown once), or Save in 1Password.
  5. Find your account ID: open your vault items on 1Password.com; it is the 26 letters and digits after /app#/ in the address.
Type Item Access Why
Scope users.view (View users) read Finds the user by email and reads their state
Scope users.suspend (Suspend user) write Suspends the user
Scope users.reactivate (Reactivate user) write Undo (optional)

The client secret does not expire. To rotate it, rotate the secret on the OAuth application, then update the credential in DRACO.

Add it in DRACO

  1. Connectors > Add connector, pick 1Password and tick Response under Responders (or Add a part on the 1Password connector you already have).
  2. Write access: an OAuth client credential (vendor 1password) with the client ID and secret. The Events Reporting token of the logs is never used for it.
  3. Settings: the Sign-in address (1password.com, ent.1password.com, 1password.ca or 1password.eu) and the Account ID.
  4. Test: DRACO asks 1Password for a token, checks its scopes and reads one user. Nothing is changed; a missing scope is named.

Troubleshooting

The test or a run says Fix
The 1Password token cannot read ... The token was issued without those event types: issue a new token with them selected (step 2), or remove them from Events.
refused the bearer token (HTTP 401) The token is wrong, expired or revoked, or the account lives on another domain: check Account domain (1password.com, ent.1password.com, 1password.ca, 1password.eu).
denied reading ... (HTTP 403) The token lacks that event type: issue a new token with it selected.
rate limit reached 1Password throttled the API; DRACO retried, and the next run continues from the same point.
refused the OAuth client ID and secret The client ID or secret is wrong, the OAuth application was revoked, or the sign-in address is another region.
needs the users.suspend scope (HTTP 403) Create a new OAuth application with the missing scope (scopes cannot be added later) and update the credential.
The account ID does not belong to the OAuth application's 1Password account Set the account ID of the account that owns the OAuth application.
suspends active users only The user is not active yet (invited, pending) or in another state; only active users can be suspended.