OutboundBot operation audit logs

Updated at:

Alibaba Cloud OutboundBot is integrated with ActionTrail. You can view and retrieve behavioral logs in ActionTrail. You can also deliver logs to a Simple Log Service Logstore or a specified Object Storage Service (OSS) bucket for real-time auditing and issue analysis.

Important

By default, Alibaba Cloud accounts have permission to view operation audit logs. If a Resource Access Management (RAM) user needs this permission, the Alibaba Cloud account must grant the AliyunActionTrailFullAccess permission to the RAM user. For more information, see Create and authorize a RAM user.

OutboundBot operation logs in ActionTrail

OutboundBot operation audit logs primarily consist of API events. In ActionTrail, the eventType for OpenAPI events is ApiCall. For more information about these events, see API overview.

The following table describes the API events that are not included in the API documentation.

Event type

Event name

Event definition

ApiCall

GetJobDataUploadParams

Gets the parameters for uploading job data.

ApiCall

GetJobTemplateDownloadParams

Gets the parameters for downloading a job template.

ApiCall

GetJobByPhoneNumber

Gets job information by phone number.

ApiCall

DownloadBasicStatisticsReport

Downloads the basic analysis report.

ApiCall

DownloadConversationDetails

Downloads the call record report.

ApiCall

DownloadUnreachableContacts

Downloads the list of unreachable contacts.

ApiCall

GenerateBasicStatisticsReport

Generates the basic analysis report.

ApiCall

GenerateOverallStatisticsReport

Generates the overall analysis report.

ApiCall

ListBasicStatisticsReportSubItems

Gets the list of subitems for the basic analysis report.

ApiCall

ListConversationsWithUnrecognizedIntents

Gets the list of unrecognized intents in a call.

ApiCall

ListUnreachableContacts

Gets the list of unreachable contacts.

ApiCall

ListUnrecognizedIntents

Gets the list of unrecognized intents.

Sample OutboundBot audit log

{
    "ApiVersion":"2019-12-26",
    "RequestId":"BCB013AC-****-****-****-B4A58BDA4FF2",
    "EventType":"ApiCall",
    "UserIdentity":{
        "Type":"ram-user",
        "InvokedBy":"",
        "AccountId":"",
        "UserName":"",
        "PrincipalId":"28040********67159",
        "AccessKeyId":"LTAI****************",
        "Arn":""
    },
    "AcsRegion":"cn-shanghai",
    "EventName":"AssignJobs",
    "IsBlack":false,
    "RequestParameters":{
        "AcsHost":"*****-******.aliyuncs.com",
        "JobGroupId":"396a0fa0-****-****-****-76961923a582",
        "StrategyJson":"{\"maxAttemptsPerDay\":1,\"name\":\"9c9bac5b-****-****-****-15678b9c145a\",\"startTime\":1616*****5967,\"endTime\":1616*****5967,\"minAttemptInterval\":3}",
        "ServiceCode":"outboundbot",
        "AcsProduct":"OutboundBot",
        "RequestId":"BCB013AC-****-****-****-B4A58BDA4FF2",
        "JobsJson.1":"{\"contacts\":[{\"phoneNumber\":\"157****9526\",\"name\":\"cancelledCallDriver\",\"referenceId\":\"22faed64-****-****-****-b860140f331d\"}]}",
        "InstanceId":"155913f6-****-****-****-b726aea3d2c8",
        "RegionId":"cn-shanghai",
        "HostId":"*****-*****.aliyuncs.com"
    },
    "EventSource":"*****-*****.aliyuncs.com",
    "ServiceName":"OutboundBot",
    "EventTime":"2021-03-18T07:31:15.978+0000",
    "ReferencedResources":{

    },
    "UserAgent":"AlibabaCloud (Linux; amd64) Java/1.8.0_144-b01 Core/4.5.1 HTTPClient/ApacheHttpClient",
    "EventId":"BCB013AC-****-****-****-B4A58BDA4FF2",
    "ErrorCode":"",
    "ErrorMessage":"",
    "EventVersion":"",
    "SourceIpAddress":"211.151.XX.XX"
}