All Products
Search
Document Center

Cloud Firewall:DescribeRiskSecurityGroupDetail

Last Updated:Dec 30, 2025

Retrieves the details of a risk security group.

Note

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The source IP address of the visitor.

220.189.117.XXX

Lang

string

No

The language of the response. Valid values:

  • zh (default): Chinese

  • en: English

zh

Lang

string

No

The language of the response. Valid values:

  • zh (default): Chinese

  • en: English

zh

RuleUuid

string

No

The UUID of the rule.

3b1adf8d-1949-4c8e-809b-fb92ee11****

InstanceId

string

No

The ID of the security group instance.

sg-2vc0p803vgxumn6r****

InstanceName

string

No

The name of the instance.

test-instance-name

PageNo

string

Yes

The page number.

1

PageSize

string

Yes

The number of the page to return.

10

RegionId

string

No

The region ID.

cn-shanghai

Response elements

Element

Type

Description

Example

object

PageNo

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

RequestId

string

The request ID.

33C94306-2064-5A06-9645-01419967****

TotalCount

integer

The total number of entries.

5

RiskSgDetail

array<object>

The details of the risk security group.

array<object>

The details of the risk security group.

VpcId

string

The ID of the VPC instance.

vpc-8vbuzirdl3w1r7exw****

RiskLevel

string

The risk level of the rule.

high

RegionNo

string

The region ID.

cn-shanghai

InstanceName

string

The instance name.

test-instance-name

EcsCount

integer

The number of associated ECS instances.

10

InstanceId

string

The ID of the security group instance.

sg-2vc0p803vgxumn6r****

EcsInfo

array<object>

The ECS information.

object

The ECS information.

PublicIp

string

The public IP address of the ECS instance.

47.107.141.XXX

EcsInstanceName

string

The name of the ECS instance.

tyf_test

PrivateIp

string

The private IP address of the ECS instance.

172.24.121.XXX

EcsInstanceId

string

The ID of the ECS instance.

i-bp1gra23yai47d8e****

RuleInfo

array<object>

The information about the risk security group rule.

object

The information about the risk security group rule.

RiskLevel

string

The risk level of the rule.

high

RuleStatus

string

The status of the rule.

enable

Suggestion

string

The optimization suggestion.

test

Description

string

The description of the rule.

test

RuleUuid

string

The UUID of the rule.

4c1e72c9-6690-408b-9048-065f0f10****

RuleName

string

The name of the rule.

test

Examples

Success response

JSON format

{
  "PageNo": 1,
  "PageSize": 10,
  "RequestId": "33C94306-2064-5A06-9645-01419967****",
  "TotalCount": 5,
  "RiskSgDetail": [
    {
      "VpcId": "vpc-8vbuzirdl3w1r7exw****",
      "RiskLevel": "high",
      "RegionNo": "cn-shanghai\n",
      "InstanceName": "test-instance-name",
      "EcsCount": 10,
      "InstanceId": "sg-2vc0p803vgxumn6r****",
      "EcsInfo": [
        {
          "PublicIp": "47.107.141.XXX",
          "EcsInstanceName": "tyf_test",
          "PrivateIp": "172.24.121.XXX",
          "EcsInstanceId": "i-bp1gra23yai47d8e****"
        }
      ],
      "RuleInfo": [
        {
          "RiskLevel": "high",
          "RuleStatus": "enable",
          "Suggestion": "test",
          "Description": "test",
          "RuleUuid": "4c1e72c9-6690-408b-9048-065f0f10****",
          "RuleName": "test"
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.