Creates a normalization rule.
Operation description
The JsonConfig request parameter is a complex JSON configuration. A supporting tool class is provided that contains configuration examples. For more information, see the Demo.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateNormalizationRule |
create |
*NormalizationRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management center for Threat Analysis. Select a region based on the location of your assets. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| RoleFor |
integer |
No |
The ID of the member account in the resource directory. |
173326******* |
| NormalizationRuleName |
string |
No |
The name of the normalization rule. |
normalization_rule_Z57np |
| NormalizationRuleDescription |
string |
No |
The description of the normalization rule. |
normalization_rule_Z57np |
| NormalizationRuleFormat |
string |
No |
The format of the normalization rule. |
SPL |
| NormalizationRuleExpression |
string |
No |
The expression of the normalization rule. |
* | pack-fields -include='[\s\S]+' as extend_content |
| NormalizationCategoryId |
string |
No |
The ID of the normalization rule classification. |
NETWORK_CATEGORY |
| NormalizationSchemaId |
string |
No |
The ID of the normalization structure. |
HTTP_ACTIVITY |
| VendorId |
string |
No |
The ID of the vendor for the normalization rule. |
alibaba_cloud |
| ProductId |
string |
No |
The product ID. |
alibaba_cloud_sas |
| NormalizationRuleMode |
string |
No |
The pattern of the normalization rule. Valid values:
|
both |
| ExtendContentPacked |
string |
No |
Specifies whether to package non-standard fields into the extend_content extension field. Valid values:
|
enabled |
| NormalizationRuleType |
string |
No |
The type of the normalization rule. Valid values:
|
custom |
| OrderField |
string |
No |
The field to use for sorting the rule list. Valid values:
|
Id |
| NormalizationRuleVersion |
integer |
No |
The version of the normalization rule. |
1 |
| NormalizationRuleIds |
array |
No |
A list of normalization rule IDs. |
|
|
string |
No |
A list of normalization rule IDs. |
alibaba_cloud_cfw_alert_extract_rule,alibaba_cloud_cfw_flow_rule,alibaba_cloud_ndr_http_rule,alibaba_cloud_ndr_dns_rule,alibaba_cloud_ndr_attack_alert_rule |
|
| ExtendFieldStoreMode |
string |
No |
The storage mode for extension fields. Valid values: flat, pack, and reject. |
flat |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
6276D891-*****-55B2-87B9-74D413F7**** |
| NormalizationRuleId |
string |
The ID of the normalization rule. |
nr-z0b2ssjteut85uoh9nzp |
Examples
Success response
JSON format
{
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****",
"NormalizationRuleId": "nr-z0b2ssjteut85uoh9nzp"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.