Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Event Log (POST)

Log compliance check events for control. This API supports a maximum number of 25 logs per request. You can make up to 200,000 audit log API calls per year.
Resource
1/connect/compliance/log/logevent
Resource Example
1https://yourInstance.salesforce.com/services/data/v67.0/connect/compliance/log/logevent
Available version
64.0
HTTP methods
POST
Request body for POST
JSON example
1{
2  "controllogs": [
3    {
4      "controlVersionApiName": "LicenseCheckControl_V1",
5      "isCompliant": true,
6      "inContextOf": "001xx0000ABCDE",
7      "status": "SUCCESS",
8      "evaluationTime": "2022-10-31T09:00:00.594Z",
9      "businessContextAndEvidence": {
10        "clientId": "001Z9000002G3ygIAC",
11        "advisorId": "005xx0000000000001",
12        "productId": "00Pxx0000000000001",
13        "acceptableRisk": "true",
14        "productRisk": "85"
15      },
16      "complianceMessage": "Agent has an active license.",
17      "transactionKey": "txn1234567890abcde",
18      "errorId": "123",
19      "errorMessage": "",
20      "businessOperationsProcessApiName": "0022..."
21    }
22  ]
23}
Properties
Name Type Description Required or Optional Available Version
controllogs Compliance​Control Log Value[] Control evaluation logs. Required 64.0
Response body for POST
Compliance Logging Response