getDDoSEventDetail
    • PDF

    getDDoSEventDetail

    • PDF

    Article Summary

    Overview

    • gThe getDDoSEventDetail API is a feature provided by the "Anti-DDoS" of "Security Monitoring" that allows you to check the details of security events detected by the Anti-DDoS.
    • The API request must be IAM-authenticated via API Gateway.

    Request

    PlatformMethodRequest URI
    ClassicPOSThttps://securitymonitoring.apigw.ntruss.com/securitymonitoring/v1/getDDoSEventDetail
    VPCPOSThttps://securitymonitoring.apigw.ntruss.com/vsecuritymonitoring/v1/getDDoSEventDetail

    Request Header

    HeaderDescription
    x-ncp-apigw-timestampIt is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
    If the time difference with the API Gateway server is more than 5 minutes, the request is considered invalid.
    x-ncp-iam-access-keyAPI key issued by NAVER Cloud Platform or access key issued by IAM
    x-ncp-apigw-signature-v2Signature used to encrypt the body with the “secret key” that maps with the “access key.”
    The HMAC encryption algorithm is HMAC SHA256.

    Reference Call APIs that require IAM authentication

    Request parameters

    ParameterRequiredTypeDescription
    ticketIdYesstringAnti-DDoS Event Number

    Response

    Response body

    FieldTypeDescription
    returnCodestringResponse code
    returnMessagestringResponse message
    lbNamestringLoad Balancer Name
    lbInstanceNostringLoad Balancer Number
    lbDomainNamestringLoad Balancer DNS Name
    reportstringAnti-DDoS Event Detail Info

    Examples

    Request example(Classic)

    curl -X POST "https://securitymonitoring.apigw.ntruss.com/securitymonitoring/v1/getDDoSEventDetail"
       -H "accept: application/json"
       -H "x-ncp-apigw-api-key: {x-ncp-apigw-api-key}"
       -H "x-ncp-iam-access-key: {x-ncp-iam-access-key}"
       -H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}"
       -H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
       -d {"ticketId": {ticketId}}
    

    Response example

    {
      "returnCode": "0",
      "returnMessage": "success",
      "lbName": "test-lb",
      "lbInstanceNo": "1",
      "lbDomainName": "test-lb.naverncp.com",
      "report": "<div><b>◆ 탐지정보</b></div><div>&nbsp; - 발생시간 : 0000년 00월 00일 00:00 ~ 00:00</div><div>&nbsp; - 공격지IP:1.1.1.1(Country)</div><div>&nbsp; - 목적지IP:2.2.2.2(고객명)</div><div>&nbsp; - 목적지 PORT : 00 / TCP</div>"
    }
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.