All Products
Search
Document Center

Security Center:QueryGuidTaskList

Last Updated:Aug 24, 2024

Queries a list of beginner tasks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:QueryGuidTaskListlist
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

7532B7EE-7CE7-5F4D-BF04-B12447D****
GuideTaskConfigListarray<object>

The list of beginner tasks.

object

The information about the beginner task.

Statusinteger

The status of the beginner task. Valid values:

  • 0: disabled
  • 1: in progress
  • 2: complete
0
TaskTypeNamestring

The name of the task type.

guide_sub_task_config_add_collection
TaskIdinteger

The ID of the beginner task.

t-000d8slfgx4p40kb64ad
RewardDataobject

The information about the reward for a complete task.

Rewardstring

The name of the reward.

addGuideTaskVouchers
RewardConfigstring

The reward configuration. The value of this parameter is in the JSON format.

Note The key indicates the reward type, and the value indicates the number of rewards. Valid values of key:
  • addTrialDay: adds trial days.

  • addAntiRansomwareCapacity: adds the anti-ransomware capacity.

  • addImageScanAuthCount: adds the quota for container image scan.

  • addWebLockAuthCount: adds the quota for web tamper proofing.

  • addSlsCapacity: adds the log storage capacity.

{"days":60,"ransomwareCapacity":100}
IsRewardTakedstring

Indicates whether the reward is taken. Valid values:

  • 1: no
  • 2: yes
1
SecurityScoreinteger

The security score of the assets. Valid values:

  • 95 to 100: The assets are secure.
  • 85 to 94: The assets are exposed to a few security risks. We recommend that you reinforce your security system in a timely manner.
  • 70 to 84: The assets are exposed to multiple security risks. We recommend that you reinforce your security system in a timely manner.
  • 69 or lower: The current security system is unable to protect the assets against intrusions. We recommend that you reinforce your security system at the earliest opportunity.
80

Examples

Sample success responses

JSONformat

{
  "RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447D****",
  "GuideTaskConfigList": [
    {
      "Status": 0,
      "TaskTypeName": "guide_sub_task_config_add_collection",
      "TaskId": 0,
      "RewardData": {
        "Reward": "addGuideTaskVouchers",
        "RewardConfig": "{\"days\":60,\"ransomwareCapacity\":100}",
        "IsRewardTaked": "1"
      },
      "SecurityScore": 80
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.