-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update schema json files based-on v1.72.3
- Loading branch information
1 parent
53b8ae1
commit d196484
Showing
4 changed files
with
225 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "软件开发生产线" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "软件开发生产线" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "软件开发生产线" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |