Newer Version Available

This content describes an older version of this product. View Latest

NamedCredentialEventLog

The Named Credential event type captures information about Apex callouts that use named credentials as their endpoints. Use this event type to audit the installed managed packages that use named credentials. If you don’t recognize the package namespace in the named credential event log file, then you can investigate whether a security breach has occurred. This object is available in API version 65.0 and later.

Supported Calls

describeSObjects(), query()

Special Access Rules

To access this object, you must have the View Event Log Object Data user permission.

Fields

Field Details
BotIdentifier
Type
String
Description
The ID of the bot.
BotSessionIdentifier
Type
String
Description
The bot session ID.
CallerPackageNamespace
Type
String
Properties
Filter, Group, Nillable, Sort
Description
If an Apex callout using a Named Credential endpoint is initiated from a package, then this field contains the package’s namespace. If the callout isn’t initiated from a package, then this field is empty.
ClientIp
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The IP address of the client that is using Salesforce services. A Salesforce internal IP (such as a login from AppExchange) is shown as “Salesforce.com IP”.
CpuTime
Type
Double
Properties
Filter, Nillable, Sort
Description
The CPU time in milliseconds used to complete the request. This field indicates the amount of activity taking place in the app server layer.
LoginKey
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The string that ties together all events in a given user’s login session. It starts with a login event and ends with either a logout event or the user session expiring.
NamedCredentialName
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The name of the named credential that’s the endpoint of the Apex callout.
PlannerIdentifier
Type
String
Description
The ID of the agent planner.
RequestIdentifier
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The unique ID of a single transaction. A transaction can contain one or more events. Each event in a given transaction has the same REQUEST_ID.
RunTime
Type
Double
Properties
Filter, Nillable, Sort
Description
The amount of time that the request took in milliseconds..
SessionKey
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The user’s unique session ID. You can use this value to identify all user events within a session. When a user logs out and logs in again, a new session is started.
Timestamp
Type
DateTime
Properties
Filter, Nillable, Sort
Description
The access time of Salesforce services in GMT.
Uri
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The URI of the page that’s receiving the request.
UserIdentifier
Type
String
Properties
Filter, Group, Nillable, Sort
Description
The 15-character ID of the user who is using Salesforce services through the UI or the API.