All Products
Search
Document Center

Security Center:CreateMaliciousFileWhitelistConfig

Last Updated:Nov 19, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get alert whitelist configuration details

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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:CreateMaliciousFileWhitelistConfigcreate
*MaliciousFileWhitelistConfig
acs:yundun-sas:{#regionId}:{#accountId}:maliciousfilewhitelistconfig/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
EventNamestringNo

Alert name:

  • ALL: All alerts
ALL
FieldstringNo

Field used for whitelist in sensitive file alerts.

fileMd5
OperatorstringNo

Rule judgment operator:

  • strEqual: String equals
strEqual
FieldValuestringNo

Expected value of the field to be whitelisted.

b2cf9747ee49d8d9b105cf16e078cc16
TargetTypestringNo

Effective target type:

  • ALL: All assets
  • SELECTION_KEY: Assets selected via the asset selection component
ALL
TargetValuestringNo

Target effective scope:

  • ALL: All assets
  • Other: Key of the asset range selected by the asset selection component
ALL
SourcestringNo

Business source:

  • agentless: Agentless detection
agentless
RemarkstringNo

Remarks.

whitelist

Response parameters

ParameterTypeDescriptionExample
object

PlainResult

Dataobject

Returned data.

GmtCreatestring

Creation time.

1671607025000
GmtModifiedstring

Modification time.

1671607025000
EventNamestring

Alert name:

  • ALL: All alert types
ALL
Fieldstring

Whitelisted field.

fileMd5
FieldValuestring

Whitelisted field value.

b2cf9747ee49d8d9b105cf16e078cc16
Operatorstring

Rule judgment operator:

  • strEqual: String equals
strEqual
TargetValuestring

Target effective scope:

  • ALL: All assets
  • Other: Key of the asset range selected by the asset selection component
ALL
TargetTypestring

Effective target type:

  • ALL: All assets
  • SELECTION_KEY: Assets selected via the asset selection component
ALL
Countstring

Number of effective assets.

Note This field has a value when targetType is SELECTION_KEY
1
Sourcestring

Business source:

  • agentless: Agentless detection
agentless
Idstring

Rule ID.

1
Successboolean

Whether the API call was successful. Values:

  • true: Success
  • false: Failure
true
Codestring

API status code.

200
Messagestring

Prompt message for the returned result.

successful
RequestIdstring

The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem localization.

A4EB8B1C-1DEC-5E18-BCD0-XXXXXXXXX
HttpStatusCodeinteger

HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "Data": {
    "GmtCreate": 1671607025000,
    "GmtModified": 1671607025000,
    "EventName": "ALL",
    "Field": "fileMd5",
    "FieldValue": "b2cf9747ee49d8d9b105cf16e078cc16",
    "Operator": "strEqual",
    "TargetValue": "ALL",
    "TargetType": "ALL",
    "Count": 1,
    "Source": "agentless",
    "Id": 1
  },
  "Success": true,
  "Code": 200,
  "Message": "successful",
  "RequestId": "A4EB8B1C-1DEC-5E18-BCD0-XXXXXXXXX",
  "HttpStatusCode": 200
}

Error codes

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

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

Change history

Change timeSummary of changesOperation
2025-11-03The Error code has changed. The request parameters of the API has changedView Change Details