Queries the configuration of a sensitive file alert whitelist rule in agentless detection.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetMaliciousFileWhitelistConfig |
get |
*MaliciousFileWhitelistConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
integer |
No |
The ID of the whitelist rule. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The response parameters. |
|
| GmtCreate |
string |
The creation time. |
1671607025000 |
| GmtModified |
string |
The modification time. |
1674095396000 |
| EventName |
string |
The alert name.
|
ALL |
| Field |
string |
The field used in the whitelist rule. |
fileMd5 |
| FieldValue |
string |
The value of the field used in the whitelist rule. |
b2cf9747ee49d8d9b105cf16e078cc16 |
| Operator |
string |
The logical operator used in the whitelist rule.
|
strEqual |
| TargetValue |
string |
The assets on which the whitelist rule takes effect. Valid values:
|
ALL |
| TargetType |
string |
The type of assets on which the whitelist rule takes effect. Valid values:
|
ALL |
| Count |
string |
The number of assets on which the whitelist rule takes effect. Note
Returned only when TargetType is SELECTION_KEY. |
0 |
| Source |
string |
The feature to which this operation belongs.
|
agentless |
| Id |
integer |
The ID of the whitelist rule. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The response code. 200 indicates success. Other codes indicate failure. |
200 |
| Message |
string |
The returned message. |
successful |
| RequestId |
string |
The request ID. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
| HttpStatusCode |
integer |
The HTTP status code. 200 indicates success. |
200 |
Examples
Success response
JSON format
{
"Data": {
"GmtCreate": "1671607025000",
"GmtModified": "1674095396000",
"EventName": "ALL",
"Field": "fileMd5",
"FieldValue": "b2cf9747ee49d8d9b105cf16e078cc16",
"Operator": "strEqual",
"TargetValue": "ALL",
"TargetType": "ALL",
"Count": "0",
"Source": "agentless",
"Id": 1
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | UnknownError | UnknownError | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.