获取RASP配置列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListRaspConfigs | 要执行的操作,取值:ListRaspConfigs。 |
Version | String | 是 | 2024-05-08 | API的版本,取值:2024-05-08。 |
Runtime | Array of String | 否 | [XCIRh arrPd zeICV] | 运行时 |
SortOrder | String | 否 | oLeFi | 排序顺序
|
AgentID | String | 否 | SaxQW | 主机ID |
CloudProviders | Array of String | 否 | [eIwJQ pMvye btRLs] | 云厂商 |
IfFilter | Boolean | 否 | false | 是否存在过滤配置 |
Name | String | 否 | Iktba | 配置名称 |
PageNumber | Integer | 是 | 34 | 翻页页码 |
PageSize | Integer | 是 | 32 | 每页的大小 |
IfBlock | Boolean | 否 | false | 是否存在阻断配置 |
IfProtect | Boolean | 否 | false | 是否自动防护 |
Hostname | String | 否 | yOEqv | 主机名称 |
LeafGroupIDs | Array of String | 否 | [QlTyU IdFAx EuoZz] | 叶子分组ID列表 |
SortBy | String | 否 | bccsN | 排序字段 |
Content | String | 否 | BIFLG | 接入进程内容 |
IP | String | 否 | Cjsxf | IP |
Tags | Array of String | 否 | [ESIrv FPCFm lLvWb] | 主机标签 |
TopGroupID | String | 否 | Njmck | 根分组ID |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Data | Array of Object | -- | Data |
PageNumber | Integer | 1 | 当前页面 |
PageSize | Integer | 49 | 页面大小 |
TotalCount | Integer | 35 | 全部数据条数 |
POST /?Action=ListRaspConfigs&Version=2024-05-08HTTP/1.1 Host: open.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": "VzhHR", "CloudProviders": [ "Tyksm", "KtjoS", "BogHT" ], "Content": "QyPaI", "Hostname": "ZLBWq", "IP": "QJMtz", "IfBlock": false, "IfFilter": false, "IfProtect": true, "LeafGroupIDs": [ "oxrtm", "UsIDt", "hjPiV" ], "Name": "KVhZp", "PageNumber": 56, "PageSize": 87, "Runtime": [ "kbclc", "nrEjK", "OBdiv" ], "SortBy": "aDjrm", "SortOrder": "YftRu", "Tags": [ "UxgfC", "gZGwV", "FHaoj" ], "TopGroupID": "PXIcy" }
{ "ResponseMetadata": { "RequestId": "20241120165538010234567890", "Action": "ListRaspConfigs", "Version": "2024-05-08", "Service": "seccenter", "Region": "cn-beijing" }, "Result": { "Data": [ { "AllProcessInject": true, "Blocks": [ { "HookFunc": [ "tNyTf", "GHnkQ", "MAqwD" ], "HookParam": 23, "Rules": [ { "Rule": "TRyVJ", "Type": "FvLCi" } ], "Runtime": "kAGyj" } ], "Filters": [ { "HookFunc": [ "GxQkN", "JjUAx", "GMuNE" ], "HookParam": 10, "Rules": [ { "Rule": "TRyVJ", "Type": "FvLCi" } ], "Runtime": "sLeLW" } ], "ID": "yfdTP", "IfProtect": true, "InjectConfigList": [ { "MatchContent": [ "sECxK", "iiaCv", "guMyI" ], "MatchKey": "wGcqY", "MatchType": 65 } ], "LocalProjectInject": true, "Name": "VwCgc", "ProtectMethod": "zmkwn", "ProtectedAgentCount": 28, "ProtectedProcessCount": 52, "Range": { "AgentIDList": [ "NwlsP", "elhbp", "FfkIE" ], "AllHost": true, "LeafGroupIDs": [ "nmpPY", "WpHtT", "SvpqD" ], "SingleGroupPath": "txaDx", "SingleHostname": "oLaqE" }, "Runtime": "pXJxf", "Switch": { "classupload": true, "file": true, "load": false, "memshell": true, "net": false, "process": false, "reflect": false }, "ToBeProtectedAgentCount": 81, "ToBeProtectedProcessCount": 28, "TopGroupID": "ygQmH" } ], "PageNumber": 46, "PageSize": 29, "TotalCount": 42 } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | MissingParameter | 请求参数缺失 |
400 | InvalidParameter | 请求参数错误 |
400 | OperationDenied | 不允许的操作 |
500 | InternalError | 服务器内部错误 |