Updated on 2025-10-24 GMT+08:00

Creating a Control Policy

Function

Interface for Presetting Control Policy Data

URI

POST /v1/internal/rgc/control

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

identifier

Yes

String

name

Yes

String

description

Yes

String

resource

Yes

Array of strings

service

Yes

String

framework

Yes

Array of strings

implementation

Yes

String

guidance

Yes

String

behavior

Yes

String

owner

No

String

control_objective

Yes

String

severity

No

String

version

No

String

regional_preference

Yes

String

tf_config_rule_name

No

String

control_type

Yes

String

control_content

Yes

String

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

control

ControlBody object

Parameters in the preset control policy template

create_time

String

Table 3 ControlBody

Parameter

Type

Description

identifier

String

name

String

description

String

resource

Array of strings

service

String

framework

Array of strings

implementation

String

guidance

String

behavior

String

owner

String

control_objective

String

severity

String

version

String

regional_preference

String

tf_config_rule_name

String

control_type

String

control_content

String

Example Requests

None

Example Responses

Status code: 200

The request is sent successfully.

{
  "update_time" : "string"
}

Status Codes

Status Code

Description

200

The request is sent successfully.

Error Codes

See Error Codes.