All Products
Search
Document Center

Data Security Center:CreateConfig

Last Updated:Mar 28, 2024

Modifies the configurations of a common configuration item for alerts.

Operation description

You can call this operation to create or restore configurations based on the codes of common configuration items. This allows you to manage the configurations of common configuration items.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CodestringNo

The code of the common configuration item. Valid values:

  • access_failed_cnt: the maximum number of access attempts allowed when Data Security Center (DSC) fails to access an unauthorized resource.
  • access_permission_exprie_max_days: the maximum idle period allowed for access permissions before an alert is triggered.
  • log_datasize_avg_days: the minimum percentage of the volume of logs of a specific type generated on the current day to the average volume of logs generated in the previous 10 days before an alert is triggered.
access_failed_cnt
DescriptionstringNo

The description of the common configuration item.

Maximum number of access attempts allowed when DSC fails to access an unauthorized resource: 10
ValuestringNo

The value of the common configuration item. The meaning of this parameter varies with the value of the Code parameter.

  • If you set the Code parameter to access_failed_cnt, the Value parameter specifies the maximum number of access attempts allowed when DSC fails to access an unauthorized resource.
  • If you set the Code parameter to access_permission_exprie_max_days, the Value parameter specifies the maximum idle period allowed for access permissions before an alert is triggered.
  • If you set the Code parameter to log_datasize_avg_days, the Value parameter specifies the minimum percentage of the volume of logs of a specific type generated on the current day to the average amount of logs generated in the previous 10 days before an alert is triggered.
30
FeatureTypeintegerNo

This parameter is deprecated.

1
SourceIpstringNo

This parameter is deprecated.

39.170.XX.XX
LangstringNo

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

  • zh_cn: Chinese
  • en_us: English
zh_cn

Response parameters

ParameterTypeDescriptionExample
object
Idlong

The ID of the common alert configuration.

12300
RequestIdstring

The ID of the request.

208B016D-4CB9-4A85-96A5-0B8ED1EBF271

Examples

Sample success responses

JSONformat

{
  "Id": 12300,
  "RequestId": "208B016D-4CB9-4A85-96A5-0B8ED1EBF271"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-03-25The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: FeatureType
    Added Input Parameters: SourceIp
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang
2023-12-06The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: Lang