When it is written
The identity domain records the event ID sso.authentication.failure under Oracle's category "Single Sign-On", event "User Logins Failure". Since December 15, 2024 the domain's own AuditEvents API returns no new data, and these events are read from OCI Audit. A domain's password policy can lock an account after a number of consecutive failures (the account lock threshold) and unlock it automatically after 5 minutes to 24 hours.
Oracle's Failed Logins report query reads the user in actorName, the domain in domainDisplayName and the reason in data.message. The domain's audit attributes also include clientIp, the address of the client application making the request, but Oracle publishes no Audit sample that shows it under data.additionalDetails. Oracle does not document the event's eventType, what actorName holds for a user name that does not exist, or whether attempts against a locked account produce the event.
How to turn it on
OCI Audit records sso.authentication.failure calls to OCI Audit without any setup. Vendor documentation
Audit needs no setup: it records the calls to all supported OCI public API endpoints as log events, whether they come from the Console, the CLI, an SDK or another OCI service. Object Storage is the documented exception: bucket operations are recorded, object operations are not.
- Retention: Oracle keeps Audit events for 365 days. The setting applies to the whole tenancy (every region and compartment) and cannot be changed, so a longer history needs an export.
- Delay: new events usually appear within 15 minutes of the API call; Oracle says processing time can vary and events are logged when they are processed.
- Reading: viewing or searching events needs a policy such as
Allow group Auditors to read audit-events in tenancy. Events are organized by compartment: IAM users, groups and some policies live in the tenancy itself (the root compartment), whose OCID is the tenancy OCID. - Collecting: the events are also the
/_Auditlog group of every compartment in Logging. Export them with Connector Hub (source Logging, the_Auditlog group) to Streaming, which the SIEM connectors read, or to Object Storage, Functions or Log Analytics. Delivery is at least once; a connector that keeps failing for longer than the Logging source's 24-hour retention loses data. - Envelope: records read through Logging use the Logging format (a CloudEvents envelope): the event type is in
typeinstead ofeventType, with the samedataobject. - Identity domains: the identity domains AuditEvents API stopped returning new data after December 15, 2024; domain events (sign-ins, user, group and application changes) are read from OCI Audit, with the domain's audit attributes under
data.additionalDetails(eventId,actorName,adminResourceName...).
oci audit config get --compartment-id <tenancy-ocid>oci sch service-connector list --compartment-id <compartment-ocid> --alloci audit event list --compartment-id <compartment-ocid> --start-time <start-time> --end-time <end-time> --alloci logging-search search-logs --time-start <start-time> --time-end <end-time> --search-query "search \"<compartment-ocid>/_Audit\" | where type = 'sso.authentication.failure' or data.eventName = 'sso.authentication.failure' or data.additionalDetails.eventId = 'sso.authentication.failure'"Fields
The operation’s own fields first, then the fields every OCI Audit record has. Field names are the JSON paths of the record as the vendor documents it.
| Field | What it holds |
|---|---|
data.Read by 2 rules | The identity domain's event ID, sso.authentication.failure for this operation. |
data.Read by 2 rules | The user name the sign-in was for (the user in Oracle's Failed Logins report). |
data.Read by 1 rule | IP address of the client application making the request (an identity domain audit attribute; not shown in an Oracle Audit sample). |
data. | Display name of the identity domain the event comes from. |
data. | The event's failure message, shown as comments in Oracle's Failed Logins report. |
Fields every OCI Audit record has (22)
| Field | What it holds |
|---|---|
eventType | The type of event, com.oraclecloud.<service>.<operation>: the operation of control plane pages. Oracle's event list writes identityControlPlane and its reference events identitycontrolplane, so compare without case. In the Logging envelope this is type. |
source | What produced the event; Oracle's reference records carry the service here (identityControlPlane, cloudGuard). |
eventID | A unique ID of the record (a UUID, not an OCID). Oracle's examples spell it eventID or eventId. |
eventTime | When the event happened, in RFC 3339 format. |
data. | Name of the API operation that produced the event (CreateUser). |
data. | OCID of the compartment of the resource. IAM users, groups and some policies live in the tenancy itself (the root compartment), whose OCID is the tenancy OCID. |
data. | Name of that compartment. |
data. | Name of the resource the event is about. What it holds depends on the operation: the group for a membership change, the user for a credential. |
data. | OCID (or other ID) of that resource. |
data. | Name of the user or service that made the request. |
data. | OCID of that principal. |
data. | The type of authentication used (natv in Oracle's reference record). |
data. | The address the request came from. |
data. | The user agent of the client, as the client reports it. |
data. | Identifies the Console session the request belongs to, when there is one. |
data. | The credential ID of the user that signed the request. |
data. | The HTTP method of the request (GET, POST, PUT, DELETE...). |
data. | The status code of the response, as a string ("200"). |
data. | A short description of what happened, when the service gives one. |
data. | State of the fields the operation may have changed, before it. |
data. | State of those fields after the operation; compare it with previous. |
data. | Attributes the emitting service adds. IAM control plane records add the target user and group OCIDs (userId, groupId) and, in Oracle's reference events, the acting user and an identity domain (actorName, domainName); identity domain records carry the domain's audit attributes here. |
Volume and noise
Moderate: mistyped and expired passwords produce failures every day. Runs of failures for one user, failures for many users from one address, failures for administrators, and a failure run followed by a success for the same user, are the records to read first.
Keeping it manageable
- Count failures per
data.additionalDetails.actorName(the threshold rule starts at ten in 15 minutes) and keep the count at or below your account lock threshold. - Count distinct users per
data.additionalDetails.clientIp(the other threshold rule starts at ten users in 30 minutes); first confirm on one failed sign-in of your own that the field is present, and if it is not, testdata.identity.ipAddressinstead. - Read
data.messagefor the reason, and look forsso.session.create.successof the same user soon after a run of failures.
Sample event
A OCI Audit record in the vendor’s format, with made-up values.
{
"eventType": "<not documented for identity domain events>",
"cloudEventsVersion": "0.1",
"eventTypeVersion": "2.0",
"source": "<not documented>",
"eventID": "3f2b1c0d-0000-4000-8000-00000000a1b2",
"eventTime": "2026-11-18T09:30:12.345Z",
"contentType": "application/json",
"data": {
"eventGroupingId": null,
"eventName": "<not documented>",
"compartmentId": "ocid1.tenancy.oc1..aaaaaaaaexampletenancy",
"compartmentName": "corp",
"resourceName": "",
"resourceId": "",
"availabilityDomain": null,
"freeformTags": null,
"definedTags": null,
"identity": {
"principalName": "ops-admin@corp.example.com",
"principalId": "ocid1.user.oc1..aaaaaaaaexampleopsadmin",
"authType": "natv",
"callerName": null,
"callerId": null,
"tenantId": "ocid1.tenancy.oc1..aaaaaaaaexampletenancy",
"ipAddress": "203.0.113.24",
"credentials": null,
"userAgent": "Oracle-PythonCLI/3.50.0",
"consoleSessionId": null
},
"request": {
"id": "6f1c2d3e4a5b4c6d8e9f0a1b2c3d4e5f",
"path": "",
"action": "POST",
"parameters": {},
"headers": {}
},
"response": {
"status": "200",
"responseTime": "2026-11-18T09:30:12.512Z",
"headers": {},
"payload": {},
"message": null
},
"stateChange": {
"previous": null,
"current": null
},
"additionalDetails": {
"actorName": "j.doe@corp.example.com",
"clientIp": "203.0.113.77",
"domainDisplayName": "Default",
"eventId": "sso.authentication.failure"
},
"message": "Authentication failure"
}
}Attacks this event reveals
Detection rules that read this event: