getTrafficLog
- 印刷する
- PDF
getTrafficLog
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
概要
Secure Zone Firewallのトラフィックログを照会します。
リクエスト
Method | Request URI |
---|---|
POST | https://securezonefirewall.apigw.ntruss.com/api/v2/{type}/{zone}/getTrafficLog |
Type
Value | 説明 |
---|---|
szfw | Secure Zone Standard |
psfw | Secure Zone Advanced |
Zone
Value | 説明 |
---|---|
kr1 | KR-1 Zone |
kr2 | KR-2 Zone |
リクエストヘッダ
ヘッダ名 | 説明 |
---|---|
x-ncp-apigw-timestamp | 1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもの API Gatewayサーバとの時間差が5分以上の場合は、無効なリクエストとみなす |
x-ncp-iam-access-key | NAVERクラウドプラットフォームから発行された API Keyまたは IAMから発行された AccessKey |
x-ncp-apigw-signature-v2 | Bodyを AccessKeyとマッピングする SecretKeyで暗号化した署名 HMAC暗号化アルゴリズムは HmacSHA256を使用 |
x-ncp-mbr_no | ユーザー番号 |
リクエストパラメータ
パラメータ名 | 要否 | タイプ | 説明 | 備考 |
---|---|---|---|---|
page | no | Integer | ページインデックス | デフォルト値0 |
countPerPage | no | Integer | ページサイズ | デフォルト値0 |
sourceIp | no | String | ソース IPアドレス | |
destinationIp | no | String | 宛先 IPアドレス | |
action | no | String | タイプ | |
fromDate | yes | Date | 開始日 | |
toDate | yes | Date | 終了日 | |
protocol | no | String | プロトコル | |
port | no | String | 宛先ポート | |
timeZone | no | String | タイムゾーン | デフォルト値 +09:00 |
レスポンス
レスポンスボディ
パラメータ名 | タイプ | 説明 |
---|---|---|
action | String | リクエストタイプ |
returnCode | Integer | レスポンスコード |
returnMessage | String | レスポンスメッセージ |
totalCount | Integer | トラフィックログ数 |
trafficLogList[].action | String | タイプ |
trafficLogList[].destinationIp | String | 宛先 IPアドレス |
trafficLogList[].destinationServerName | String | 宛先サーバ名 |
trafficLogList[].policyName | String | ポリシー名 |
trafficLogList[].port | String | 宛先ポート |
trafficLogList[].protocol | String | プロトコル |
trafficLogList[].receiveDate | Date | 発生日 |
trafficLogList[].service | String | サービス |
trafficLogList[].sourceIp | String | ソース IPアドレス |
trafficLogList[].sourceServerName | String | ソースサーバ名 |
レスポンスボディ
{
"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をご参照ください
この記事は役に立ちましたか?