All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeInstanceSecurityConfigs

Last Updated:Dec 02, 2024

You can call this operation to query security check items of an OceanBase cluster.

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

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
CheckIdstringNo

The unique identifier of the check.

xxx

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

RequestIdstring

The ID of the request.

EE205C00-30E4-****-****-87E3A8A2AA0C
InstanceSecurityConfigsobject

The return result of the request.

TotalCheckCountinteger

The total number of security check items for the cluster.

5
TotalRiskCountinteger

The total number of detected cluster security risks.

0
SecurityConfigsarray<object>

The list of check items.

SecurityConfigsobject

The name of the specific check item.

ConfigNamestring

The name of the specific check item.

xxx
Riskboolean

Specifies whether a risk is detected.

true
RiskDescriptionstring

Security recommendations.

xxx
ConfigGroupstring

The group of the check.

WHITELIST
ConfigDescriptionstring

The name of the check item.

Check whether the scope of the cluster allowlist is too big
CheckTimestring

The time when the check was performed.

2023-08-07 15:30:00
InstanceIdstring

The ID of the OceanBase cluster.

ob317v4uif****
CheckIdstring

The unique identifier of the check.

xxx

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
  "InstanceSecurityConfigs": {
    "TotalCheckCount": 5,
    "TotalRiskCount": 0,
    "SecurityConfigs": [
      {
        "ConfigName": "xxx",
        "Risk": true,
        "RiskDescription": "xxx",
        "ConfigGroup": "WHITELIST",
        "ConfigDescription": "Check whether the scope of the cluster allowlist is too big"
      }
    ],
    "CheckTime": "2023-08-07 15:30:00",
    "InstanceId": "ob317v4uif****",
    "CheckId": "xxx"
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-10-30The request parameters of the API has changed. The response structure of the API has changedView Change Details