huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"MalwareCount":{"properties":{"high":{"description":"**参数解释**:\n高危恶意代码文件数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"low":{"description":"**参数解释**:\n低危恶意代码文件数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"medium":{"description":"**参数解释**:\n中危恶意代码文件数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"OpensourceCount":{"properties":{"critical":{"description":"**参数解释**:\n危急漏洞数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"high":{"description":"**参数解释**:\n高危漏洞数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"low":{"description":"**参数解释**:\n低危漏洞数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"medium":{"description":"**参数解释**:\n中危漏洞数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"SecGuardTaskCount":{"properties":{"artifact":{"description":"**参数解释**:\n扫描制品数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"list":{"description":"**参数解释**:\n扫描任务列表。\n**取值范围**:\n不涉及。","items":{"$ref":"#/definitions/SecGuardTaskDetail"},"type":"array"},"malware":{"$ref":"#/definitions/MalwareCount","description":"**参数解释**:\n恶意代码文件数。\n**取值范围**:\n不涉及。"},"opensource":{"$ref":"#/definitions/OpensourceCount","description":"**参数解释**:\n漏洞数。\n**取值范围**:\n不涉及。"},"task":{"description":"**参数解释**:\n扫描次数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"total":{"description":"**参数解释**:\n扫描总数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"virus":{"description":"**参数解释**:\n病毒文件数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"SecGuardTaskCountRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/SecGuardTaskCount","description":"**参数解释**:\n扫描任务列表。\n**取值范围**:\n不涉及。"}},"type":"object"}]},"SecGuardTaskDetail":{"properties":{"created_time":{"description":"**参数解释**:\n创建时间。\n**取值范围**:\n不涉及。","type":"string"},"display_name":{"description":"**参数解释**:\n展示名称。\n**取值范围**:\n不涉及。","type":"string"},"file_name":{"description":"**参数解释**:\n文件名。\n**取值范围**:\n不涉及。","type":"string"},"malware":{"$ref":"#/definitions/MalwareCount","description":"**参数解释**:\n恶意代码文件数。\n**取值范围**:\n不涉及。"},"opensource":{"$ref":"#/definitions/OpensourceCount","description":"**参数解释**:\n漏洞数。\n**取值范围**:\n不涉及。"},"path":{"description":"**参数解释**:\n路径。\n**取值范围**:\n不涉及。","type":"string"},"scan_path":{"description":"**参数解释**:\n文件扫描路径。\n**取值范围**:\n不涉及。","type":"string"},"status":{"description":"**参数解释**:\n状态。\n**取值范围**:\n不涉及。","type":"string"},"task_id":{"description":"**参数解释**:\n任务id。\n**取值范围**:\n不涉及。","type":"string"},"task_name":{"description":"**参数解释**:\n任务名。\n**取值范围**:\n不涉及。","type":"string"},"virus":{"description":"**参数解释**:\n病毒文件数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"StandarBaseResponseV5":{"properties":{"status":{"description":"**参数解释**:\n请求成功或失败状态。\n**取值范围**:\n- success:请求成功。\n- error:请求失败。","enum":["success","error"],"example":"success","type":"string"},"trace_id":{"description":"**参数解释**:\n请求ID,当前请求唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"22e9e09dd5184f18a2440ab3d607b76a","info_version":"v2","method":"get","name":"ListSecGuardList","parameters":{},"paths":{"/cloudartifact/v5/sec-guard/task/list":{"get":{"description":"分页查询制品安全扫描任务列表,包含扫描制品数量、漏洞数量、病毒文件数量和恶意代码文件数量等信息。","operationId":"ListSecGuardList","parameters":[{"default":1,"description":"**参数解释**:\n查询多少天内的任务。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n1。","format":"int32","in":"query","name":"date","required":false,"type":"integer"},{"description":"**参数解释**:\n分页查询的页数。\n**约束限制**:\n不涉及。\n**取值范围**:\n最小值1,最大值2147483647。\n**默认取值**:\n1","format":"int32","in":"query","name":"page_no","required":false,"type":"integer"},{"description":"**参数解释**:\n分页查询的每页数据量。\n**约束限制**:\n不涉及。\n**取值范围**:\n最小值1,最大值100。\n**默认取值**:\n10","format":"int32","in":"query","name":"page_size","required":false,"type":"integer"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SecGuardTaskCountRes"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询制品安全扫描任务列表","tags":["制品安全"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"Region_ZONE","x-api-type":"open-api","x-api-user":"IAM_User","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-upload-download":0,"x-support-sdk":"Y"}}},"product_short":"CodeArtsArtifact","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-new":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"IAM_NEW"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-none-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"查询制品安全扫描任务列表","tags":"制品安全","uri":null,"version":"2.0"}