DescribeSceneRulePageList

Updated at:

Queries the scenario-based risk control event policies.

Operation description

Queries the list of scenario-based risk control event policies.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-saf:Describe

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

Specifies the language type for requests and responses. Default value: zh. Valid values:

  • zh: Chinese.

  • en: English.

zh

currentPage

string

No

The current page number.

1

pageSize

string

No

The number of entries to return on each page. Default value: 20. Minimum value: 1. Maximum value: 50.

20

eventCode

string

No

The event code.

de_ahgctb7098

ruleStatus

string

No

The policy status.

RUNNING

ruleName

string

No

The policy name.

Marketing risk identification

regId

string

No

The region code.

cn-hangzhou

createType

string

No

The creation type.

NOMAL

ruleAuthType

string

No

The policy type.

CUSTMER

Response elements

Element

Type

Description

Example

object

The response object.

totalItem

integer

The total number of entries.

3

pageSize

integer

The number of entries to return on each page. Default value: 20. Minimum value: 1. Maximum value: 50.

20

requestId

string

The request ID. Each request has a unique ID for troubleshooting.

AE7E6105-7DEB-5125-9B24-DCBC139F6CD2

currentPage

integer

The current page number.

1

totalPage

integer

The total number of pages.

9

resultObject

array<object>

The response object.

array<object>

The response object.

eventCode

string

The event code.

de_aszbjb7236

ruleId

string

The policy ID.

4730

ruleStatus

string

The policy status.

RUNNING

gmtModified

integer

The update time.

1565701886000

gmtCreate

integer

The creation time.

1621578648000

templateId

integer

The template ID.

6

priority

integer

The policy priority. A larger value indicates a higher priority.

10

ruleName

string

The policy name.

Marketing risk identification

ruleMemo

string

The policy description.

Description

eventName

string

The event name.

Registration risk

id

integer

The primary key ID of the policy.

497

version

integer

The version number.

1.0

ruleVersionId

integer

The primary key ID of the policy version.

3823

eventType

string

The event type.

Valid values:

  • BYPASS :

    Bypass event.

  • SHUNT :

    Shunt.

  • MAIN :

    Main event.

MAIN

mainRuleId

string

The primary policy ID.

4399

consoleAudit

object

The audit object.

id

integer

The primary key ID.

1728

applyUserId

string

The account ID of the initiator.

1234567890999

applyUserName

string

The account name of the initiator.

Zhang San

auditUserId

string

The account IDs of the specified reviewers. Separate multiple IDs with commas.

123

auditUserName

string

The account names of the specified reviewers. Separate multiple names with commas.

Li Si

auditRealUserId

string

The ID of the final approver.

1234567890

auditRealUserName

string

The account name of the approver.

Wang Wu

auditStatus

string

The status.

AGREE

auditTime

integer

The approval time.

1545726028000

gmtCreate

integer

The creation time in UTC.

1545726028000

relationId

integer

The ID of the transaction associated with the approval.

123

relationType

string

The approval type. For example, rule indicates a policy approval.

RULE

relationName

string

The name of the transaction associated with the approval. This field can be empty.

t

relationExt

string

The information about other associated users in JSON format.

{}

auditMsg

string

The approval comment.

Approved

auditRemark

string

The remark for the approval application.

Remark

externalRuleName

string

The external policy name.

Policy 1

ruleAuthType

string

The policy type.

CUSTMER

authType

string

The service authorization type.

admin

ruleType

string

The rule type.

DSL

hasTesting

boolean

Indicates whether a trial run version exists.

true

None.

Examples

Success response

JSON format

{
  "totalItem": 3,
  "pageSize": 20,
  "requestId": "AE7E6105-7DEB-5125-9B24-DCBC139F6CD2",
  "currentPage": 1,
  "totalPage": 9,
  "resultObject": [
    {
      "eventCode": "de_aszbjb7236",
      "ruleId": "4730",
      "ruleStatus": "RUNNING",
      "gmtModified": 1565701886000,
      "gmtCreate": 1621578648000,
      "templateId": 6,
      "priority": 10,
      "ruleName": "Marketing risk identification",
      "ruleMemo": "Description",
      "eventName": "Registration risk",
      "id": 497,
      "version": 1,
      "ruleVersionId": 3823,
      "eventType": "MAIN",
      "mainRuleId": "4399",
      "consoleAudit": {
        "id": 1728,
        "applyUserId": "1234567890999",
        "applyUserName": "Zhang San",
        "auditUserId": "123",
        "auditUserName": "Li Si",
        "auditRealUserId": "1234567890",
        "auditRealUserName": "Wang Wu",
        "auditStatus": "AGREE",
        "auditTime": 1545726028000,
        "gmtCreate": 1545726028000,
        "relationId": 123,
        "relationType": "RULE",
        "relationName": "t",
        "relationExt": "{}",
        "auditMsg": "Approved",
        "auditRemark": "Remark"
      },
      "externalRuleName": "Policy 1",
      "ruleAuthType": "CUSTMER",
      "authType": "admin",
      "ruleType": "DSL",
      "hasTesting": true
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.