获取 Agent 离线通知结果列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | GetOfflineNotificationList | 要执行的操作,取值:GetOfflineNotificationList。 |
Version | String | 是 | 2024-05-08 | API的版本,取值:2024-05-08。 |
AgentId | String | 否 | MkpLN | AgentId |
CloudProviders | Array of String | 否 | [RVNSA uqwPq RBnAY] | CloudProviders |
Hostname | String | 否 | HFwhZ | Hostname |
Ip | String | 否 | WmXbx | Ip |
Platforms | Array of String | 否 | [ulils QnWNY tPXGn] | Platforms |
Tags | Array of String | 否 | [maTbY WjLYv RLlWk] | Tags |
LeafGroupIDs | Array of String | 否 | [wJeiW WdoDW fvnJJ] | LeafGroupIDs |
PageNumber | Long | 是 | 85 | 翻页页码 |
PageSize | Long | 是 | 51 | 每页的大小 |
Regions | Array of String | 否 | [rzlYs PSCZU IOSLK] | Regions |
SortBy | String | 否 | EaTuK | 排序字段 |
SortOrder | String | 否 | PDnaO | 排序顺序
|
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Data | Array of Object | -- | Data |
PageNumber | Long | 34 | 当前页面 |
PageSize | Long | 1 | 页面大小 |
TotalCount | Long | 68 | 全部数据条数 |
POST /?Action=GetOfflineNotificationList&Version=2024-05-08HTTP/1.1 Host: seccenter.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20241120T080538Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20241120/cn-beijing/seccenter/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "AgentId": "FGjuz", "CloudProviders": [ "EttBg", "UxkYb", "yFJgN" ], "Hostname": "ueERg", "Ip": "HXsCH", "LeafGroupIDs": [ "IZDWT", "txoLS", "LfLSW" ], "PageNumber": 79, "PageSize": 2, "Platforms": [ "Fvuiw", "cltGm", "ElQex" ], "Regions": [ "GyEIk", "dInNM", "AqmxE" ], "SortBy": "GjOdy", "SortOrder": "RHnoR", "Tags": [ "RIENg", "XHDdv", "cyeod" ] }
{ "ResponseMetadata": { "RequestId": "20241120165538010234567890", "Action": "GetOfflineNotificationList", "Version": "2024-05-08", "Service": "seccenter", "Region": "cn-beijing" }, "Result": { "Data": [ { "AbnormalPluginsList": "woEXW", "AccountID": "PkQqn", "AgentID": "WIiVD", "AgentOfflineTime": 80, "AgentStatus": "nJMdh", "ClientPublicIP": "EHNNx", "CloudProvider": "UTUDQ", "CpuUsage": 0.3334018021160316, "Dns": "rPOcj", "EcsInstance": { "AccessKey": "ipVvA", "AccountID": "WDwQj", "Cpu": 81, "CreatedAt": "sNLis", "ECSUpdateAt": "wNQeb", "EipAddress": "BwhnS", "HostName": "hVgdE", "IPList": [ "OmvrI", "bcHnk", "bXMba" ], "InstanceName": "EJBdK", "Mem": 0, "OsName": "IcWnL", "OsType": "eTvQJ", "Platform": "mIocx", "PlatformVersion": "QzBKy", "PrimaryIpAddress": "RQUaS", "Region": "cQgwj", "SecurityEnhancementStrategy": "xCXfr", "Status": "OVOiy", "Visibility": "nVEOv", "VpcId": "UBFpe", "VpcName": "EhJww", "ZoneId": "INzrw" }, "FirstHeartbeatTime": 55, "Gateway": "inWdT", "Group": "XhgrA", "GroupPath": "uxqUm", "GroupPathEn": "ccnCL", "KernelVersion": "soBSI", "LastHeartbeatTime": 91, "MemUsage": 0.4280466758364517, "NotificationThreshold": 93, "NotificationTime": 76, "OldValidCode": 76, "Online": true, "Platform": "gkTiz", "PlatformVersion": "gPuIE", "PluginsBriefInfo": "BYKcw", "PluginsStatus": "mmFkI", "Reason": "qKUYW", "Risk": { "Alarm": 92, "Baseline": 49, "RealRiskVul": 31, "Virus": 38, "Vuln": 71 }, "SecurityEnhancement": true, "StartTime": 30, "Status": "mWXXN", "Tags": [ "JrmGK", "usvAU", "YPkgw" ], "TotalMem": 87, "UserStatus": "rDXNC", "UserStatusReason": "ndCDg", "UserStatusReasonCode": 40 } ], "PageNumber": 82, "PageSize": 42, "TotalCount": 70 } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | MissingParameter | 请求参数缺失 |
400 | InvalidParameter | 请求参数错误 |
400 | OperationDenied | 不允许的操作 |
500 | InternalError | 服务器内部错误 |