Skip to content

Commit

Permalink
Update schema json files based-on v1.72.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored and github-actions[bot] committed Feb 20, 2025
1 parent 53b8ae1 commit d196484
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 1 deletion.
66 changes: 66 additions & 0 deletions docs/json/data-sources/codearts_inspector_hosts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_codearts_inspector_hosts": {
"block": {
"attributes": {
"group_id": {
"type": "string",
"description": "Specifies the host group ID.",
"optional": true
},
"hosts": {
"type": [
"list",
[
"object",
{
"auth_status": "number",
"group_id": "string",
"id": "string",
"ip": "string",
"jumper_server_id": "string",
"last_scan_id": "string",
"last_scan_info": [
"list",
[
"object",
{
"create_time": "string",
"enable_weak_passwd": "bool",
"end_time": "string",
"progress": "number",
"reason": "string",
"status": "number"
}
]
],
"name": "string",
"os_type": "string",
"smb_credential_id": "string",
"ssh_credential_id": "string"
}
]
],
"description": "Indicates the host list.",
"computed": true
},
"id": {
"type": "string",
"computed": true
}
}
},
"product": {
"short": "CodeArtsInspector",
"name": "CodeArts Inspector",
"catalog": "CodeArts",
"name_cn": "漏洞管理服务",
"catalog_cn": "软件开发生产线"
}
}
}
}
}
}
62 changes: 62 additions & 0 deletions docs/json/data-sources/codearts_inspector_websites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_codearts_inspector_websites": {
"block": {
"attributes": {
"auth_status": {
"type": "string",
"description": "Specifies the auth status of website.",
"optional": true
},
"domain_id": {
"type": "string",
"description": "Specifies the domain ID.",
"optional": true
},
"id": {
"type": "string",
"computed": true
},
"top_level_domain_num": {
"type": "number",
"description": "Indicates the number of top level domain.",
"computed": true
},
"websites": {
"type": [
"list",
[
"object",
{
"auth_status": "string",
"created_at": "string",
"high": "number",
"hint": "number",
"id": "string",
"low": "number",
"middle": "number",
"top_level_domain_id": "string",
"website_address": "string",
"website_name": "string"
}
]
],
"description": "Indicates the websites list.",
"computed": true
}
}
},
"product": {
"short": "CodeArtsInspector",
"name": "CodeArts Inspector",
"catalog": "CodeArts",
"name_cn": "漏洞管理服务",
"catalog_cn": "软件开发生产线"
}
}
}
}
}
}
3 changes: 2 additions & 1 deletion docs/json/resources/apig_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"group_id": {
"type": "string",
"description": "The ID of the API group to which the API belongs.",
"required": true
"required": true,
"forcenew": true
},
"id": {
"type": "string",
Expand Down
95 changes: 95 additions & 0 deletions docs/json/resources/codearts_inspector_host.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"resource_schemas": {
"huaweicloud_codearts_inspector_host": {
"block": {
"attributes": {
"auth_status": {
"type": "number",
"description": "Indicates the auth status.",
"computed": true
},
"group_id": {
"type": "string",
"description": "Specifies the host group ID.",
"optional": true,
"forcenew": true
},
"id": {
"type": "string",
"computed": true
},
"ip": {
"type": "string",
"description": "Specifies the host IP.",
"required": true,
"forcenew": true
},
"jumper_server_id": {
"type": "string",
"description": "Specifies the jumper server ID. Only available for linux host.",
"optional": true,
"forcenew": true
},
"last_scan_id": {
"type": "string",
"description": "Indicates the last scan ID.",
"computed": true
},
"last_scan_info": {
"type": [
"list",
[
"object",
{
"create_time": "string",
"enable_weak_passwd": "bool",
"end_time": "string",
"progress": "number",
"reason": "string",
"status": "number"
}
]
],
"description": "Indicates the last scan informations.",
"computed": true
},
"name": {
"type": "string",
"description": "Specifies the host name.",
"required": true,
"forcenew": true
},
"os_type": {
"type": "string",
"description": "Specifies the host os type.",
"required": true,
"forcenew": true
},
"smb_credential_id": {
"type": "string",
"description": "Specifies the smb credential ID for windows host.",
"optional": true,
"forcenew": true
},
"ssh_credential_id": {
"type": "string",
"description": "Specifies the host ssh credential ID for linux host.",
"optional": true,
"forcenew": true
}
}
},
"product": {
"short": "CodeArtsInspector",
"name": "CodeArts Inspector",
"catalog": "CodeArts",
"name_cn": "漏洞管理服务",
"catalog_cn": "软件开发生产线"
}
}
}
}
}
}

0 comments on commit d196484

Please sign in to comment.