{"base_path":"/","components":null,"consumes":"","definitions":{"IAM5ErrorDetails":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此信息0。","properties":{"error_code":{"description":"下游服务错误码","type":"string"},"error_msg":{"description":"下游服务报错信息","type":"string"}}},"ListSecurityReportHistoryPeriodResponse":{"example":{"items":[{"report_id":"b4e80ab721ca43e5bc515746d80c6190","stat_period":{"begin_time":1757433600000,"end_time":1757606399999},"subscription_id":"88c8dfefe647462ea82f8aa7b03c4183"}],"total":1},"properties":{"items":{"description":"**参数解释:**\n条目,安全报告历史统计周期的详细列表。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"properties":{"report_id":{"description":"**参数解释:**\n报告ID,唯一标识历史统计周期对应的安全报告。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","example":111,"type":"string"},"stat_period":{"description":"**参数解释:**\n统计周期,历史报告的统计时间范围。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","properties":{"begin_time":{"description":"**参数解释:**\n开始时间,统计周期的起始时间戳(毫秒级)。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","example":11,"format":"int64","type":"integer"},"end_time":{"description":"**参数解释:**\n结束时间,统计周期的终止时间戳(毫秒级)。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","example":22,"format":"int64","type":"integer"}},"required":["begin_time","end_time"]},"subscription_id":{"description":"**参数解释:**\n订阅ID,关联历史统计周期所属的安全报告订阅。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","example":222,"type":"string"}},"required":["report_id","subscription_id","stat_period"]},"type":"array"},"total":{"description":"**参数解释:**\n总数,安全报告历史统计周期记录的总条数。\n**约束限制:**\n不涉及\n**取值范围:**\n≥0\n**默认取值:**\n0","example":1,"format":"int32","type":"integer"}},"required":["total","items"],"type":"object"},"RestErrorResponse":{"properties":{"details":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此字段。","items":{"$ref":"#/definitions/IAM5ErrorDetails"},"type":"array"},"encoded_authorization_message":{"description":"编码 (加密) 后的详细拒绝原因,用户可以自行调用 STS 服务的decode-authorization-message接口进行解码,可参考STS5联调自验证。IAM5鉴权错误时才会返回此字段。","type":"string"},"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误信息","type":"string"}},"title":"RestErrorResponse","type":"object"}},"description":null,"group_id":"29975c0bd7ce463ca70ad5c074e3974b","host":"waf.cn-north-4.myhuaweicloud.com","id":"c05ae1e7087048ccaf37472de14c08d4","info_version":"v1","method":"get","name":"ListSecurityReportHistoryPeriods","parameters":{},"paths":{"/v1/{project_id}/waf/security-report/history-periods":{"get":{"description":"查询安全报告历史统计周期列表","operationId":"ListSecurityReportHistoryPeriods","parameters":[{"description":"**参数解释:**\n项目ID,对应控制台用户名->我的凭证->项目列表->项目ID。\n**约束限制:**\n不涉及\n**取值范围:**\n只能由英文字母、数字组成,且长度为32个字符。\n**默认取值:**\n不涉及","in":"path","name":"project_id","required":true,"type":"string"},{"description":"**参数解释:**\n用户Token,通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"header","maxLength":4096,"minLength":32,"name":"X-Auth-Token","required":true,"type":"string"},{"default":"application/json;charset=utf8","description":"**参数解释:**\n内容类型\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\napplication/json;charset=utf8","in":"header","name":"Content-Type","required":true,"type":"string"},{"description":"**参数解释:**\n需要查询的订阅id,从“查询安全报告订阅列表”中获取\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","name":"subscription_id","required":true,"type":"string"},{"description":"**参数解释:**\n分页查询的单页返回数量,控制每次请求返回的记录条数。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n10","format":"int32","in":"query","name":"limit","required":false,"type":"integer"},{"description":"**参数解释:**\n分页查询的起始位置,表示从第几条记录开始返回(从0开始计数)。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n0","format":"int32","in":"query","name":"offset","required":false,"type":"integer"}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"items":[{"report_id":"b4e80ab721ca43e5bc515746d80c6190","stat_period":{"begin_time":1757433600000,"end_time":1757606399999},"subscription_id":"88c8dfefe647462ea82f8aa7b03c4183"}],"total":1}},"schema":{"$ref":"#/definitions/ListSecurityReportHistoryPeriodResponse"}},"400":{"description":"请求失败","schema":{"$ref":"#/definitions/RestErrorResponse"}},"401":{"description":"token权限不足","schema":{"$ref":"#/definitions/RestErrorResponse"}},"500":{"description":"服务器内部错误","schema":{"$ref":"#/definitions/RestErrorResponse"}}},"summary":"查询安全报告历史统计周期列表","tags":["安全报告管理"],"x-api-type":"open-api","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"WAF","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询安全报告历史统计周期列表","tags":"安全报告管理","uri":null,"version":"2.0"}