1. Resources
  2. Detection sources
  3. ACCOUNT.LINKED

ACCOUNT.LINKED: A PingOne user was linked to an account at an external identity provider

Recorded when a link between a PingOne user and an account at an external identity provider is created. A link made by anyone but the user, through the API, lets that external account sign on as the user.

Log source
PingOne audit activities
Detection value
Supporting
Volume
Medium (estimate)
Last updated
Log
PingOne audit activities (PingOne audit activities, on by default)
Service
PingOne audit activities
Operation
ACCOUNT.LINKED
Detects
1 attack (1 rule)
MITRE ATT&CK
1 technique in 2 tactics
Threat groups
2 groups that MITRE ATT&CK records using these techniques
Fields the rules read
action.type

When it is written

A linked account ties a user in the PingOne directory to the user's account at an external identity provider. Ping documents two ways it is created: in an authentication flow, after the user has authenticated at the external identity provider, and through the linked accounts API, where the caller names the user, the identity provider (identityProvider.id) and the external account identifier (externalId). The API call takes the permission dir:create:userLinkedAccounts, works only for OIDC and SAML identity providers whose connection already exists, and names the user itself, so no sign-on by that user is involved.

The same call can carry user attributes (attributes, each written always or only when the user's value is empty), so a link made through the API can also change the user's username or email address. Ping refuses the call when the external account is already linked to another user, when the user is disabled or still invited, and when it would give the user a second authoritative account.

Ping's event reference gives the activity the attributes every activity has (actors, resources, result, source) and one of its own, an externalId under _embedded, without a description. It does not list the identity provider of the link, and it does not say which resource the record names: the linked user is what to expect in resources, so confirm it on a record of your own. Removing a link writes ACCOUNT.UNLINKED.

How to turn it on

PingOne audit activities records ACCOUNT.LINKED calls to PingOne audit activities without any setup. Vendor documentation

PingOne records audit activities in every environment without any setup. Administrators read them under Monitoring > Audit, and the Audit Activities API returns the same records. Neither is a collection point: to keep the records and send them to a SIEM, create a webhook (a subscription) in every environment.

  • Retention: Ping keeps user events (authentications, user changes) for 90 days, configuration events of the admin console for 2 years and DaVinci administrative events for 90 days. Data up to 14 days old is available at once; older data has to be retrieved first, at most 14 days per request, which takes 2 to 24 hours.
  • A webhook sends only the event types it lists (filterOptions.includedActionTypes), so add the types the rules read. Choose the Ping Activity Format, the format of the API and of these pages; the Splunk and New Relic formats name fields differently.
  • Not every audit event type can be sent by a webhook. The webhook service accepts only the types on its own supported list and rejects a request that names another one; Ping gives TRUSTED_ISSUER.CREATED and SSO_COOKIE_SETTINGS.UPDATED, both audit events, as examples. Ping does not publish that list (the error message returns it), so check for each type the rules read that your webhook accepted it, and read a type it refuses through the Audit Activities API.
  • The source IP address and user agent are left out of webhook events unless Include IP address and Include User Agent are selected. Rules that count by source.ipAddress need the address.
  • A webhook request carries up to 500 events, and Ping holds events no more than 2 seconds before sending. If the destination is down, PingOne retries and queues the events; after 7 days it starts to lose them.
  • Ping documents that the Audit Activities API has a lower rate limit than other endpoints and points to webhooks for high-volume events.

The commands below call the PingOne API with curl and jq. Set API_PATH to the API base URL of your region (for example https://api.pingone.com), ENV_ID to the environment ID and TOKEN to an access token whose roles grant subscriptions:read:subscription, orgmgt:read:environment and audit_reporting:read:activity.

List the webhooks of an environment, the event types each sends and whether it includes the IP address (read only)
curl -s "$API_PATH/v1/environments/$ENV_ID/subscriptions" -H "Authorization: Bearer $TOKEN" | jq '._embedded.subscriptions[] | {name, enabled, format, ipAddressExposed: .filterOptions.ipAddressExposed, types: .filterOptions.includedActionTypes}'
Based on vendor documentation.
List the environments of the organization, each of which needs its own webhook (read only)
curl -s "$API_PATH/v1/environments" -H "Authorization: Bearer $TOKEN" | jq '._embedded.environments[] | {id, name, type}'
Based on vendor documentation.
Find recent ACCOUNT.LINKED records (read only)
curl -s -G "$API_PATH/v1/environments/$ENV_ID/activities" -H "Authorization: Bearer $TOKEN" --data-urlencode "filter=recordedat gt \"$(date -u -d '-7 days' +%FT%TZ)\" AND recordedat lt \"$(date -u +%FT%TZ)\" AND action.type eq \"ACCOUNT.LINKED\""
Based on vendor documentation.

Fields

The operation’s own fields first, then the fields every PingOne audit activities record has. Field names are the JSON paths of the record as the vendor documents it.

FieldWhat it holds
_embeddedPing's event reference lists _embedded.<UUID>.externalId for this action, without a description: the external account identifier, under an entry named by an identifier. Which identifier names the entry is not documented.
Fields every PingOne audit activities record has (23)
FieldWhat it holds
idIdentifier (UUID) of the audit activity.
recordedAtWhen PingOne recorded the activity (ISO 8601). The Audit page and the API filter on this time.
createdAtWhen the event was created (ISO 8601).
correlationIdIdentifier (UUID) that PingOne gives the messages of one transaction.
action.typeRead by 1 ruleThe event type, <RESOURCE>.<ACTION> (USER.CREATED). The operation this page is about.
action.descriptionThe event type as a label (User Created).
actors.user.idIdentifier (UUID) of the user who performed the action; absent when an application acted on its own.
actors.user.nameName of that user for PingOne sign-on; the DaVinci guide shows it as the user's email address.
actors.user.population.idPopulation (UUID) of the acting user.
actors.client.idIdentifier of the application (client) through which the action was made; for a worker application acting alone, the actor.
actors.client.nameName of that application.
resources.typeType of the resource the action affected (USER, APPLICATION, ENVIRONMENT...). resources is an array.
resources.idIdentifier (UUID) of the affected resource. Ping maps DaVinci IDs to a UUID here and keeps the original in resources.davinciId.
resources.nameName of the affected resource, such as the user name or the environment name.
resources.hrefURL of the affected resource in the PingOne API. Ping's example records carry it, and its event reference lists it for nearly every event type.
resources.environment.idEnvironment (UUID) the affected resource belongs to.
resources.population.idPopulation (UUID) of the affected resource, when it is a user.
result.statusWhether the action succeeded. Ping's example records carry SUCCESS; the data model lists succeeded and failed, and the DaVinci guide FAILURE. Check the values your own records carry.
result.descriptionWhat happened, in words (Created Group Managers), with the reason when it failed.
source.ipAddressAddress of the HTTP request that caused the action, as PingOne saw it (it can be a proxy). In webhook events only when the webhook includes it.
source.userAgentUser-Agent header of that request. In webhook events only when the webhook includes it.
internalCorrelation.sessionIdPingOne session identifier (UUID) of the actor.
internalCorrelation.transactionIdPingOne transaction identifier. Ping's data model marks it optional, and its event reference lists it for about a quarter of the event types, so do not expect it on every record.

Values to know

actors.user.id

ValueMeaningSignal
the linked userThe user linked their own account in a sign-on flowHow links are normally made in environments with external sign-on. The expected shape of the record, not one Ping documents.Expected
another user, or absent with a worker application in actors.clientSomeone else created the linkThe case the detection rule reports. Confirm a migration or a request behind it; an unexplained link lets the external account sign on as the user.Attack signal

Volume and noise

Regular where users sign on with social or partner identity providers, because every first sign-on through one creates a link; migration jobs that link many users through the API add bursts. Links where the actor is not the linked user (an administrator or a worker application), and any link on an administrator, are the ones to read first.

Keeping it manageable

  • Compare the actor (actors.user.id, or actors.client.id when no user acted) with the user in resources.id. A user linking their own account in a sign-on flow is routine; a link made for someone else is the case the detection rule is for. Ping does not document who the record names as actor on either path, so check both cases on records of your own first.
  • Keep a list of the worker applications that create links for migration or provisioning, and review links from other clients first.
  • A link made through the API can also write user attributes. After one, compare the user's username and email address with what they were.
  • Ping's webhook tag Admin Identity Event covers adding or removing linked accounts for an administrator user: a webhook filtered on it sends the links on administrators.
  • Read the user's linked accounts through the API to see which identity provider the new link points to.

Sample event

A PingOne audit activities record in the vendor’s format, with made-up values.

{
  "id": "7d2c4e1a-5b3f-4c8d-9e0a-1b2c3d4e5f60",
  "recordedAt": "2026-11-18T09:30:12.418Z",
  "createdAt": "2026-11-18T09:30:12.431Z",
  "correlationId": "3f4e5d6c-7b8a-4960-8a1b-2c3d4e5f6a7b",
  "actors": {
    "user": {
      "id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
      "name": "idadmin@corp.example.com",
      "type": "USER",
      "environment": {
        "id": "5c3a9b2e-1f4d-4e6a-9b8c-7d2e1f0a3b4c"
      },
      "population": {
        "id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
      }
    },
    "client": {
      "id": "adminui",
      "name": "adminui",
      "type": "CLIENT"
    }
  },
  "action": {
    "type": "ACCOUNT.LINKED",
    "description": "Account Linked"
  },
  "resources": [
    {
      "type": "USER",
      "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
      "name": "j.doe@corp.example.com",
      "environment": {
        "id": "5c3a9b2e-1f4d-4e6a-9b8c-7d2e1f0a3b4c"
      },
      "population": {
        "id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
      },
      "href": "https://api.pingone.com/v1/environments/5c3a9b2e-1f4d-4e6a-9b8c-7d2e1f0a3b4c/users/2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e"
    }
  ],
  "result": {
    "status": "SUCCESS",
    "description": "Linked account created for user j.doe@corp.example.com"
  },
  "source": {
    "ipAddress": "203.0.113.24",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0 Safari/537.36"
  },
  "internalCorrelation": {
    "sessionId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d"
  },
  "_embedded": {
    "4d5e6f70-8192-4a3b-9c4d-5e6f7a8b9c0d": {
      "externalId": "ext-7f3a91c2"
    }
  }
}

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Does ACCOUNT.LINKED mean the external account has signed on as the user?

No. It records that the link exists. In a sign-on flow the link follows a successful authentication at the external identity provider; through the API it is created without one. Its use shows in later sign-on activities of the user.

References