You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
安全审计
获取安全审计日志
复制全文
下载 pdf
获取安全审计日志
POST https://ark.cn-beijing.volcengineapi.com/?Action=ListAuditLogs&Version=2024-01-01​
支持对安全相关事件进行查询和审计,当前可审计事件包括安全沙箱登录、安全沙箱对外连接、安全沙箱容器逃逸、vArmor 防护、KMS 访问、TKS 访问。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。​
​​
请求参数​
Body 参数​
Filter object 必选 | 筛选条件​
​
ResourceId string 必选 | 资源 ID​
​
ResourceType string 必选 | 资源类型​
​
PageNumber integer 默认值 1 | 起始页码​
​
PageSize integer 默认值 10 | 每页记录数​
​
ProjectName string 默认值 default | 项目名称​
​
SortBy string 默认值 Timestamp | 排序指标​
​
SortOrder string 默认值 Desc | 排序顺序​
​
​
响应参数​
Items object[] | 日志列表​
​
PageNumber integer | 当前页码​
​
PageSize integer | 每页记录数​
​
TotalCount integer | 日志总数​
​
​

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"
      }
    ]
  }
}
最近更新时间:2026.09.04 20:24:12
这个页面对您有帮助吗?
有用
有用
无用
无用