All Products
Search
Document Center

Security Center:DescribeSecurityEventOperations

Last Updated:Feb 20, 2024

Queries the operations that you can perform to handle an alert event.

Debugging

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

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
yundun-sas:DescribeSecurityEventOperationsRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

192.168.XX.XX
LangstringNo

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

  • zh: Chinese
  • en: English
zh
SecurityEventIdlongYes

The ID of the alert event that you want to handle.

61352054

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

B7A2000F-497E-5DA0-B14D-615CD410DD7E
SecurityEventOperationsResponseobject []

An array consisting of the operations that you can perform to handle the alert event.

OperationParamsstring

The configuration of the operation that you can perform to handle the alert event.

Note If the value of the OperationCode parameter is kill_and_quara or block_ip, the OperationParams parameter is required. If the value of the OperationCode parameter is a different value, the OperationParams parameter can be left empty.
{"expireTime":1641566807783}
OperationCodestring

The operation that you can perform to handle the alert. Valid values:

  • block_ip: blocks the source IP address.
  • advance_mark_mis_info: adds the alert to the whitelist.
  • ignore: ignores the alert.
  • manual_handled: marks the alert as manually handled.
  • kill_process: terminates the malicious process.
  • cleanup: performs in-depth virus detection and removal.
  • kill_and_quara: terminates the malicious process and quarantines the source file.
  • disable_malicious_defense: stops the container on which the alerting files or processes exist.
  • client_problem_check: performs troubleshooting.
  • quara: quarantines the source file of the malicious process.
advance_mark_mis_info
UserCanOperateboolean

Indicates whether you can handle the alert event in the current edition of Security Center. Valid values:

  • true: yes
  • false: no
false
MarkFieldobject []

An array consisting of the configuration information that is used when the value of the OperationCode parameter is advance_mark_mis_info.

MarkMisTypestring

The operation that is used in the whitelist rule. Valid values:

  • contains: contains
  • notContains: does not contain
  • regex: regular expression
  • strEqual: equals
  • strNotEqual: does not equal
contains
FiledNamestring

The field that is used in the whitelist rule.

gmtModified
FiledAliasNamestring

The alias of the field that is used in the whitelist rule.

file path
MarkMisValuestring

The value of the field that is used in the whitelist rule.

2022-04-25 10:11:04
Uuidstring

The UUID of the server on which the alert event is detected.

3d6b4a75-c28f-447b-9142-38f6252c****
SupportedMisTypearray

An array consisting of the operations that are supported by the method to add the alert event to the whitelist.

string

The operation that is used and can be modified in the whitelist rule. Valid values:

  • contains: contains
  • notContains: does not contain
  • regex: regular expression
  • strEqual: equals
  • strNotEqual: does not equal
contains
MarkFieldsSourceobject []

An array consisting of the configuration items that can be used when the value of the OperationCode parameter is advance_mark_mis_info.

FiledNamestring

The field that can be used in the whitelist rule.

gmtModified
FiledAliasNamestring

The alias of the field that can be used in the whitelist rule.

file path
MarkMisValuestring

The value of the field that can be used in the whitelist rule.

contains
SupportedMisTypearray

An array consisting of the operations that are supported by the method to add the alert event to the whitelist.

string

The operation that is supported in the whitelist rule. Valid values:

  • contains: contains
  • notContains: does not contain
  • regex: regular expression
  • strEqual: equals
  • strNotEqual: does not equal
contains

Examples

Sample success responses

JSONformat

{
  "RequestId": "B7A2000F-497E-5DA0-B14D-615CD410DD7E",
  "SecurityEventOperationsResponse": [
    {
      "OperationParams": "{\"expireTime\":1641566807783}",
      "OperationCode": "advance_mark_mis_info",
      "UserCanOperate": false,
      "MarkField": [
        {
          "MarkMisType": "contains",
          "FiledName": "gmtModified",
          "FiledAliasName": "file path",
          "MarkMisValue": "2022-04-25 10:11:04",
          "Uuid": "3d6b4a75-c28f-447b-9142-38f6252c****",
          "SupportedMisType": [
            "contains"
          ]
        }
      ],
      "MarkFieldsSource": [
        {
          "FiledName": "gmtModified",
          "FiledAliasName": "file path",
          "MarkMisValue": "contains",
          "SupportedMisType": [
            "contains"
          ]
        }
      ]
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400SecurityEventNotExistsSecurity event not exists.-
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
No change history