getTrafficLog
    • PDF

    getTrafficLog

    • PDF

    Article Summary

    개요

    Secure Zone Firewall 의 Traffic Log 를 조회합니다.

    요청

    MethodRequest URI
    POSThttps://securezonefirewall.apigw.ntruss.com/api/v2/{type}/{zone}/getTrafficLog

    Type

    Value설명
    szfwSecure Zone Standard
    psfwSecure Zone Advanced

    Zone

    Value설명
    kr1KR-1 Zone
    kr2KR-2 Zone

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타낸 것
    API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-iam-access-key네이버 클라우드 플랫폼에서 발급받은 API Key 또는 IAM에서 발급받은 AccessKey
    x-ncp-apigw-signature-v2Body를 AccessKey와 맵핑되는 SecretKey로 암호화한 서명
    HMAC 암호화 알고리즘은 HmacSHA256 사용
    x-ncp-mbr_no사용자 번호

    요청 파라미터

    파라미터명필수 여부타입설명비고
    pagenoInteger페이지 인덱스기본값 0
    countPerPagenoInteger페이지 사이즈기본값 0
    sourceIpnoString출발지 Ip
    destinationIpnoString목적지 Ip
    actionnoString유형
    fromDateyesDate시작일
    toDateyesDate종료일
    protocolnoString프로토콜
    portnoString목적지 포트
    timeZonenoString타임존기본값 +09:00

    응답

    응답 바디

    파라미터명타입설명
    actionString요청 유형
    returnCodeInteger응답 코드
    returnMessageString응답 메세지
    totalCountIntegerTraffic Log 개수
    trafficLogList[].actionString유형
    trafficLogList[].destinationIpString목적지 IP
    trafficLogList[].destinationServerNameString목적지 서버명
    trafficLogList[].policyNameString정책명
    trafficLogList[].portString목적지 포트
    trafficLogList[].protocolString프로토콜
    trafficLogList[].receiveDateDate발생일
    trafficLogList[].serviceString서비스
    trafficLogList[].sourceIpString출발지IP
    trafficLogList[].sourceServerNameString출발지 서버명

    응답 바디

    {
      "action": "string",
      "returnCode": 0,
      "returnMessage": "string",
      "totalCount": 0,
      "trafficLogList": [
        {
          "action": "string",
          "destinationIp": "string",
          "destinationServerName": "string",
          "policyName": "string",
          "port": "string",
          "protocol": "string",
          "receiveDate": "2021-01-12T07:07:53.639Z",
          "service": "string",
          "sourceIp": "string",
          "sourceServerName": "string"
        }
      ]
    }
    

    오류 코드

    공통적으로 발생하는 오류에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요


    이 문서가 도움이 되었습니까?

    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.