getTrafficLog
    • PDF

    getTrafficLog

    • PDF

    Article Summary

    概要

    Secure Zone Firewallのトラフィックログを照会します。

    リクエスト

    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-keyNAVERクラウドプラットフォームから発行された 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レスポンスメッセージ
    totalCountIntegerトラフィックログ数
    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.