Audit Event References

2024-07-02 08:31:03

Event Structure

Field

Description

id

Event ID

eventId

The requested ID.

eventName

Operation event name

eventTime

Time when an event occurred (triggered)

eventLevel

Event level, or operation event level. There are   two levels:

0: normal, meaning operation successful

1: warning, meaning operation failed

eventType

Type of event occurred. Currently, Cloud Audit   only records some control events of the console or sales page   (ConsoleOperation).

eventActType

Read or write type of the event. Value:

0: read type (read)

1: write type (write)

srcRegion

ID of the resource pool where the operation event   occurred

srcServiceType

Event source service name, for example,   computing, storage, network, and security

srcIp

Event source IP, the address where the request   was initiated

srcProdTypeName

Product name of the event source resource

srcProdName

Resource name of the event source

srcResId

Resource ID of the event source

accountId

Tenant ID, the only identifier of the tenant

reqId

Operation request ID

reqData

Operation request data, a JSON string

respData

Operation response data, a JSON string

apiVersion

API version of the operation event

createTime

Time when the operation audit event was created

updateTime

Time when the operation audit event was updated

 

Example Events

 

{

    "id": "6b231dfb9f684d65a9bf5f53a3d7f828",

    "eventId": "58160545",

    "eventName": "create_volume",

    "eventTime": "2022-12-17 14:52:55",

    "eventLevel": {

        "code": "0",

        "value": "normal"

    },

    "eventType": {

        "code": "1",

        "value": "Some control events of the console or sales page (ConsoleOperation)"

    },

    "eventActType": {

        "code": "1",

        "value": "Write type"

    },

    "srcRegion": "d8d23b1e44ad11e9accd0242ac110002",

    "srcServiceType": "Storage",

    "srcIp": "",

    "srcProdTypeName": "EVS",

    "srcProdName": "evs-d55c",

    "srcResId": "f9028cd6-5b42-4227-bc67-1e6f8d9fa982",

    "accountId": "532a108316474db4a03e5b3fcc089757",

    "reqId": "58160545",

    "reqData": "{\"resource_name\": \"evs-d55c\", \"resource_uuid\": \"f9028cd6-5b42-4227-bc67-1e6f8d9fa982\"}",

    "respData": "0",

    "apiVersion": "v1",

    "createTime": "2022-12-17 15:00:04",

    "updateTime": "2022-12-17 15:00:04"

}


tYLNU5ObBAk3