检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Installation and Configuration
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Installation and Configuration
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Type Description host_id String Host ID host_name String Server name host_public_ip String Server public IP address host_private_ip String Server private IP address scan_time Long Scan time (ms) failed_num Integer Number of risk items passed_num Integer Number of passed items Example
The server list can be queried by middleware name. Calling Method For details, see Calling APIs.
Enabled Honeypot File Directories Directory that needs to be protected by static honeypot (excluding subdirectories). You are advised to configure important service directories or data directories. Separate multiple directories with semicolons (;).
An IP address segment consists of an IP address and a mask, which are separated by a slash (/). total_num Integer Total number of server IDs host_id_list Array of strings Server ID list Example Requests None Example Responses Status code: 200 Request succeeded. { "total_num" : 1
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
details Table 5 BlockedIpResponseInfo Parameter Type Description host_id String Server ID host_name String Server name src_ip String Attack source IP address login_type String Login type.
Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description total_num Integer Total data_list Array of OperationLogInfo objects list Table 5 OperationLogInfo Parameter Type Description host_id String Server ID host_name String Server name backup_name
Parameter Type Description host_id String Server ID host_name String Server name host_ip String Server IP address (private IP address).
Table 2 Query Parameters Parameter Mandatory Type Description host_id No String Server ID host_ip No String Server IP address host_name No String Server name app_name No String Software name variation_type No String Change type.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
labels String Label type String Service type (access mode) cluster_ip String Cluster IP address selector String Selector session_affinity String Session affinity service_port_list Array of KubernetesServicePortInfo objects Service-associated port list Table 5 KubernetesServicePortInfo
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Response Parameters Status code: 200 Request succeeded. None Example Requests Deploy a server protection policy. The target server ID is 15462c0e-32c6-4217-a869-bbd131a00ecf, and the target policy ID is f671f7-2677-4705-a320-de1a62bff306.
Table 4 Request body parameters Parameter Mandatory Type Description host_id Yes String Server ID system_user_name_list Yes Array of strings System user list remarks No String Remarks Response Parameters Status code: 200 Request succeeded.