Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=ListAuditLogs&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{}' # TODO 补 request body(备份原文无有效数据)Response
{
"ResponseMetadata": {
"RequestId": "202407052034340071951971433E0B1D",
"Action": "ListAuditLogs",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"TotalCount": 1,
"PageNumber": 1,
"PageSize": 10,
"Items": [
{
"ResourceId": "ep-**************-*****",
"ResourceType": "endpoint",
"LogType": "Connection",
"LogDetail": "存在从安全沙箱容器向外进行网络连接的行为。连接类型:阻塞式;连接状态:成功;源 IP/端口: 192.168.0.1:50031;目标 IP/端口: 192.168.0.4:22;进程: curl;pid: 12345",
"LogContents": [
{
"Key": "ProcessID",
"Value": "12345"
},
{
"Key": "SourceIP",
"Value": "192.168.0.1"
},
{
"Key": "SourcePort",
"Value": "50031"
},
{
"Key": "DestinationIP",
"Value": "192.168.0.4"
},
{
"Key": "DestinationPort",
"Value": "22"
},
{
"Key": "Tag",
"Value": "Whitelisted,ConnectionSucceed,Blocking"
},
{
"Key": "Process",
"Value": "curl"
}
],
"RiskLevel": "Info",
"Timestamp": "2024-10-25T12:04:33Z"
}
]
}
}