安全云脑 SecMaster-搜索基线检查结果列表:请求示例

时间:2025-01-26 10:39:04

请求示例

查询基线检查结果的列表请求样例,查询2024年6月20号到2024年6月27号,遵从包ID为6add7d71-2261-4195-bab7-8ada0f0ed4d2,目录ID为0b78937f-4d9b-4223-9a46-2361e5090be0, 资源类型为iam_user, 按照最近更新时间降序排序,返回第一页,每页10条数据

{  "limit" : 10,  "offset" : 0,  "sort_by" : "last_observed_time",  "order" : "DESC",  "from_date" : "2024-06-20T00:00:00.000Z",  "to_date" : "2024-06-27T23:59:59.999Z",  "condition" : {    "conditions" : [ {      "name" : "compliance_package_id",      "data" : [ "compliance_package_id", "=", "6add7d71-2261-4195-bab7-8ada0f0ed4d2" ]    }, {      "name" : "catalog_id",      "data" : [ "catalog_id", "=", "0b78937f-4d9b-4223-9a46-2361e5090be0" ]    }, {      "name" : "resource.type",      "data" : [ "resource.type", "=", "iam_user" ]    } ],    "logics" : [ "compliance_package_id", "AND", "catalog_id", "AND", "resource.type" ]  }}
support.huaweicloud.com/api-secmaster/SearchBaseline.html