All Products
Search
Document Center

Security Center:DescribeChartList

Last Updated:Nov 25, 2024

Queries the charts that are supported by using the security report feature of Security Center.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:DescribeChartListlist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectCodestringYes

The code of the report. Valid value:

  • customize_report
customize_report
LangstringNo

The language of the content within the request and response. Valid values:

  • zh: Chinese
  • en: English
zh
ReportIdstringNo

The ID of the report.

Note You can call the DescribeCustomizeReportList operation to query the ID.
720549

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

ChartListarray<object>

The charts.

Dataobject

The data of the chart.

ChartIdstring

The ID of the chart.

CID_CLOUD_ASSET_SUMMARY
ChartNamestring

The name of the chart.

Security Score
BusinessNamestring

The name of the business type. Valid values:

  • Overall Operations Metrics
  • Asset Operations Metrics
  • Security Alert Operations Metrics
  • Vulnerability Operations Metrics
  • Baseline Operations Metrics
  • Cloud Product Operations Metrics
  • Honeypot Operations Metrics
Overall Operation Metrics
BusinessTypestring

The business type. Valid values:

  • INDEX_SECURITY_OVERALL_OPERATION
  • INDEX_ASSET_OPERATION
  • INDEX_SUSPICIOUS_OPERATION
  • INDEX_VUL_OPERATION
  • INDEX_BASELINE_CHECK_OPERATION
  • INDEX_CLOUD_ASSET_OPERATION
  • INDEX_HONEYPOT_RISK_OPERATION
INDEX_SECURITY_OVERALL_OPERATION
ChartTypestring

The type of the chart. Valid values:

  • text
  • table
  • gauge
  • pie
  • line
  • bar
  • timeBar
  • timeLine
text
RequestIdstring

The request ID.

35B434CC-1615-5937-A04E-A9BC2868DB45

Examples

Sample success responses

JSONformat

{
  "ChartList": [
    {
      "ChartId": "CID_CLOUD_ASSET_SUMMARY",
      "ChartName": "Security Score",
      "BusinessName": "Overall Operation Metrics",
      "BusinessType": "INDEX_SECURITY_OVERALL_OPERATION",
      "ChartType": "text"
    }
  ],
  "RequestId": "35B434CC-1615-5937-A04E-A9BC2868DB45"
}

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.