All Products
Search
Document Center

Security Center:GetCheckScopeConfig

Last Updated:Jun 30, 2026

Queries the check scope configuration.

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

ConfigId

integer

No

The ID of the configuration. This parameter is optional. If you do not specify this parameter, a default ID is generated.

435f626256ebf564cf5ba966a539****

Response elements

Element

Type

Description

Example

object

GetCheckScopeConfigResponse

RequestId

string

The request ID.

7BC55C8F-226E-5AF5-9A2C-2EC43864****

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

Code

string

The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure.

200

Message

string

The response message.

successful

Data

object

The returned data.

GmtCreate

string

The creation time.

2022-10-16 18:17:16

GmtModified

string

The modification time.

2026-01-09 10:19:57

ConfigId

string

The ID of the configuration.

97a1fed216908e417407344e1505xxxx

Type

integer

The scan scope configuration type. Valid values:

  • 1: scan by instance

  • 3: scan all

1

AutoType

integer

The automatic scan configuration type. Valid values:

  • 0: automatic scanning is disabled

  • 1: automatically scan newly added cloud assets

1

AutoConfig

string

The automatic scan configuration as a JSON string. The following fields are included:

  • autoInclude: specifies whether to enable automatic scanning. Valid values: true: enabled. false: disabled.

  • autoRule: the enablement configuration.

  • ruleOperator: the enablement configuration rule. The value is include.

  • operator: the logical operator. The value is or.

  • rule: the rule.

  • condition: the rule condition. Valid values: vendor: vendor. assetType: level-1 asset type. assetSubType: level-2 asset type.

Note

For more information, see the GetCloudAssetCriteria operation.

"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}"

Examples

Success response

JSON format

{
  "RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "Data": {
    "GmtCreate": "2022-10-16 18:17:16",
    "GmtModified": "2026-01-09 10:19:57",
    "ConfigId": "97a1fed216908e417407344e1505xxxx",
    "Type": 1,
    "AutoType": 1,
    "AutoConfig": "\"{\\\"autoInclude\\\":true,\\\"autoRule\\\":{\\\"ruleOperator\\\":\\\"include\\\",\\\"operator\\\":\\\"or\\\",\\\"rule\\\":[{\\\"condition\\\":\\\"assetSubType\\\",\\\"ruleOperator\\\":\\\"include\\\",\\\"value\\\":[{\\\"vendor\\\":\\\"0\\\",\\\"assetType\\\":\\\"0\\\",\\\"assetSubType\\\":\\\"100\\\"}]}]}}\""
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 RdCheckNoPermission Resource directory account verification has no permission.
500 ServerError ServerError
500 RdCheckInnerError Resource directory account service internal error.
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.