Data structure

Last Updated At: 2026-08-02 00:05:18

Attr

Attribute details that you want to query.

Referenced by the following interfaces: LookupEvents

name required NULL allowed type description
AttributeKey no no String Query attributes readWriteDetail, Username, ResourceName, ResourceType, EventName.
Example: Username
AttributeValue no no String Attribute value.
Example: 110000000023

Events

Log event.

Referenced by the following interfaces: LookupEvents

name required NULL allowed type description
CloudAuditEvent yes no String Event content.
Example: {"actionType":"NonSensitiveAction","apiErrorCode":"System.Success","apiErrorMessage":"","apiVersion":"3.0","errorCode":"0","errorMessage":"","eventID":"d4af1610-0f78-84cb-1959-8165ed23b51d","eventName":"GetService","eventRegion":"on=mr","eventSource":"csp.api3.upgrade3110.fsphere.cn/","eventTime":"2024-10-23 16:56:45","eventType":"ApiCall","eventVersion":"2.0","httpMethod":"POST","region":"","requestID":"d4af1610-0f78-84cb-1959-8165ed23b51d","ukeySign":"","approverUin":"","requestParameters":{"Action":"GetService","CosRegion":"mr","Language":"zh-CN","Nonce":"1729673805","Region":"mr","RequestClient":"CAPI_GO_SDK","SecretId":"AKID********************************","SignatureMethod":"HmacSHA256","Timestamp":"1729673805","TmpSecretId":"AKID********************************","TmpSecretKey":"taqVF0CR6gHAwhd2bh6fyOXIYcotOSOd","Version":"2020-01-07"},"project":"project1","resourceName":"","resourceType":"csp","resources":[],"sourceIPAddress":"111.206.94.145","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0","userIdentity":{"principalId":"110000000023","accountId":"110000000023","secretId":"AKID********************************","sessionContext":"{"uin": 110000000023, "ownerUin": 110000000023, "appid": 1255000309, "expireTime": 1729673865, "userIp": "111.206.94.145", "randNum": 4344260345464138422, "tokenType": 1, "secretId": "AKID********************************", "system": 16}","type":"Root","userName":"110000000023(root)"},"eventZhName":"GetService","resourceCnName":"csp","resourceEnName":"csp","resourceRegion":""}
EventId yes no String Event ID.
Example: 761afc3c-ac48-c399-ac47-e26abf2303ff
EventName yes no String Event name.
Example: LookupEvents
EventTime yes no String Event time.
Example: 2014-08-03 12:00:00
SecretId yes no String SecretId
Example: AKID********************************
ErrorCode yes no Uint64 Error code.
Example: 0
RequestID yes no String Request ID.
Example: 761afc3c-ac48-c399-ac47-e26abf2303ff
AccountID yes no Uint64 Account ID.
Example: 110000000023
SourceIPAddress yes no String Source IP address.
Example: 111.206.94.143
EventSource yes no String Event source.
Example: csp.api3.upgrade3110.fsphere.cn/
EventRegion yes no String Event region.
Example: mr
Username yes no String User Name
Example: 110000000023(root)
Resources yes no Resources Resource content.
Example:View
UkeySign no no String Digital signature
Example: 8u8i9o90
ApiErrorCode no no String Cloud API error code.
Example: System.Success
ApiErrorMessage no no String Cloud API error message.
Example: Cloud API error.
Project no no String Projects
Example: project1
ResourceTypeCn no no String ResourceTypeCn
Example: Account System - API - Account System
ResourceRegion no no String ResourceRegion
Example: mr
EventNameCn no no String EventNameCn
Example: ConsoleLogin
EventZhName no no String EventZhName
Example: QuerySwitch
ReadWriteDetail no yes String API Type
Example: 1

Resources

Resource content.

Referenced by the following interfaces: LookupEvents

name required NULL allowed type description
ResourceName yes no String Resource name.
Example: CloudAudit
ResourceType yes no String Resource type.
Example: cloudaudit
ResourceRegion no no String Resource Region
Example: mr
ResourceCnName no no String Resource Name
Example: CloudAudit
ResourceEnName no no String Service Name in English
Example: Cloud Audit
ResourceTypeName no no String Service Type
Example: CloudAudit

ExportList

Export task

Referenced by the following interfaces: GetExporLoggingList

name required NULL allowed type description
Id no no Uint64 ID
Example: 15
OwnerUin no no Uint64 User ID
Example: 110000000023
CosBucket no no String Bucket
Example: allen3-1255000309
CosRegion no no String Region
Example: mr
Status no no Uint64 Task status. 1: Processing, 2: Processing, 3: Processed, 4: Error.
Example: 3
StartTime no no String Start Time
Example: 2014-08-03 12:00:00
EndTime no no String End time
Example: 2014-08-03 12:00:00
CreateTime no no String Creation Time
Example: 2014-08-03 12:00:00
UpdateTime no no String Update Time
Example: 2014-08-03 12:00:00
SubAccountUin no no Uint64 Sub-account ID
Example: 110000000023
FileSize no yes String File size
Example: 580.934 KB
StorageType no no String Storage type. Values: cos, csp
Example: csp
FileType no yes String File Type
Example: json
Language no yes String Language
Example: en-US