All Products
Search
Document Center

Cloud Firewall:DescribeRiskEventPayload

Last Updated:Dec 13, 2024

Queries the attack payloads of intrusion events.

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:
    • 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-cloudfirewall:DescribeRiskEventPayloadget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
StartTimestringYes

The beginning of the time range to query. The value is a timestamp. Unit: seconds.

1669533617
EndTimestringYes

The end of the time range to query. The value is a timestamp. Unit: seconds.

1681288980
SrcIPstringNo

The source IP address to query. If you specify this parameter, all intrusion events from the specified source IP address are queried.

203.0.113.1
DstIPstringNo

The destination IP address to query. If you specify this parameter, all intrusion events with the specified destination IP address are queried.

203.0.113.2
UUIDstringYes

The UUID of the intrusion event.

e62c25e0-1073-46bd-9567-b8f12b3d****
FirewallTypestringNo

The type of the firewall. Valid values:

  • VpcFirewall: virtual private cloud (VPC) firewall
  • InternetFirewall (default): Internet firewall
InternetFirewall
SrcVpcIdstringNo

The ID of the source VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the source VPC are queried.

vpc-wz9j2lqyo15udw5nt****
DstVpcIdstringNo

The ID of the destination VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the destination VPC are queried.

vpc-uf6jr1klwqb60dyn2****
PublicIPstringNo

The public IP address. If you specify this parameter, all intrusion events that contain the specified public IP address are queried.

203.0.113.3

Response parameters

ParameterTypeDescriptionExample
object
DstIPstring

The destination IP address of the intrusion event.

203.0.113.1
DstPortinteger

The destination port of the intrusion event.

8080
DstVpcIdstring

The destination VPC ID of the intrusion event.

vpc-bp10w5nb30r4jzfyc****
HitContentTypeinteger

Type of the hit.

1
HitTointeger

The position where the hit ends.

67
ParsedContentstring

Hit payload.

2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f
Payloadstring

The attack payload of the intrusion event.

302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500
PayloadLeninteger

The length of the attack payload of the intrusion event.

457
Protostring

The protocol type of intrusion event. Valid values:

  • TCP
  • UDP
TCP
RealIpstring

The HTTP X-Real-IP field.

203.0.113.3
RequestIdstring

The request ID.

68055BA4-D8BD-5611-AC49-C651E619A12E
SrcIPstring

The source IP address of the intrusion event.

203.0.113.2
SrcPortinteger

The source port of the intrusion event.

54360
SrcVpcIdstring

The source VPC ID of the intrusion event.

vpc-t4nlt09olhpazpoeg****
XForwardForstring

The HTTP X-Forwarded-For field.

203.0.113.4

Examples

Sample success responses

JSONformat

{
  "DstIP": "203.0.113.1",
  "DstPort": 8080,
  "DstVpcId": "vpc-bp10w5nb30r4jzfyc****",
  "HitContentType": 1,
  "HitTo": 67,
  "ParsedContent": "2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f",
  "Payload": "302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500",
  "PayloadLen": 457,
  "Proto": "TCP",
  "RealIp": "203.0.113.3",
  "RequestId": "68055BA4-D8BD-5611-AC49-C651E619A12E",
  "SrcIP": "203.0.113.2",
  "SrcPort": 54360,
  "SrcVpcId": "vpc-t4nlt09olhpazpoeg****",
  "XForwardFor": "203.0.113.4"
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorParametersA parameter error occurred.A parameter error occurred.
400ErrorIpFormatThe IP address is invalid.The IP address is invalid.
400ErrorTimeErrorThe time is invalid.The time is invalid.
400ErrorFirewallTypeThe specified firewall type is invalid.The firewall type of traffic log is invalid.
400ErrorSLSLogStoreFailed to get SLS logstore.Failed to obtain the Log Service logstore.
400ErrorMarshalJSONinternal error.Internal error.

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

Change history

Change timeSummary of changesOperation
2024-03-13The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-08-23The request parameters of the API has changedView Change Details