getPolicyList
- 印刷する
- PDF
getPolicyList
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
概要
ポリシーリストを照会します。
リクエスト
Method | Request URI |
---|---|
POST | https://securezonefirewall.apigw.ntruss.com/api/v2/{type}/{zone}/getPolicyList |
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 |
リクエストボディ
{
"countPerPage": 0,
"page": 0
}
レスポンス
レスポンスボディ
パラメータ名 | タイプ | 説明 | |
---|---|---|---|
action | String | リクエストタイプ | |
returnCode | Integer | レスポンスコード | |
returnMessage | String | レスポンスメッセージ | |
totalCount | Integer | ポリシー数 | |
policyList[].policyNo | Integer | ポリシー番号 | |
policyList[].policyName | String | ポリシー名 | |
policyList[].description | String | ポリシーの説明 | |
policyList[].action | String | 許可遮断区分(allow、deny) | |
policyList[].memberNo | String | メンバー番号 | |
policyList[].instanceNo | String | インスタンス番号 | |
policyList[].sourceAddressZone | String | ソース AddressZone情報 | |
policyList[].destinationAddressZone | String | 宛先 AddressZone情報 | |
policyList[].firewallPolicyId | Integer | ファイアウォールポリシー ID | |
policyList[].firewallOrder | Integer | ファイアウォールポリシーの順序 | |
policyList[].sourceAddressGroupList[].addressGroupName | String | Address Group名 | |
policyList[].sourceAddressGroupList[].addressGroupNo | Integer | Address Group番号 | |
policyList[].sourceAddressGroupList[].addressList[].addressNo | Integer | Address番号 | |
policyList[].sourceAddressGroupList[].addressList[].addressZone | String | AddressZone情報 | |
policyList[].sourceAddressGroupList[].addressList[].dbAddressZone | Boolean | db AddressZoneの有無 | |
policyList[].sourceAddressGroupList[].addressList[].fqdn | String | fqdn | |
policyList[].sourceAddressGroupList[].addressList[].instanceNo | String | インスタンス番号 | |
policyList[].sourceAddressGroupList[].addressList[].ip | String | Ip | |
policyList[].sourceAddressGroupList[].addressList[].maskBit | Integer | MaskBit | |
policyList[].sourceAddressGroupList[].addressList[].memberNo | String | メンバー番号 | |
policyList[].sourceAddressGroupList[].addressList[].name | String | Address名 | |
policyList[].sourceAddressGroupList[].addressList[].port | String | Port | |
policyList[].sourceAddressGroupList[].addressList[].type | String | Address Type情報(ipmask、fqdn) | |
policyList[].sourceAddressGroupList[].addressZone | String | AddressZone情報 | |
policyList[].sourceAddressGroupList[].associatedPoliciesCount | Integer | 未使用 | |
policyList[].sourceAddressGroupList[].description | String | 説明 | |
policyList[].sourceAddressGroupList[].instanceNo | String | インスタンス番号 | |
policyList[].sourceAddressGroupList[].memberNo | String | メンバー番号 | |
policyList[].sourceAddressGroupList[].objectStorage | Boolean | オブジェクトストレージの有無 | |
policyList[].sourceAddressList[].addressNo | Integer | Address番号 | |
policyList[].sourceAddressList[].addressZone | String | AddressZone情報 | |
policyList[].sourceAddressList[].dbAddressZone | Boolean | db AddressZoneの有無 | |
policyList[].sourceAddressList[].fqdn | String | fqdn | |
policyList[].sourceAddressList[].instanceNo | String | インスタンス番号 | |
policyList[].sourceAddressList[].ip | String | Ip | |
policyList[].sourceAddressList[].maskBit | Integer | MaskBit | |
policyList[].sourceAddressList[].memberNo | String | メンバー番号 | |
policyList[].sourceAddressList[].name | String | Address名 | |
policyList[].sourceAddressList[].port | String | Port | |
policyList[].sourceAddressList[].type | String | Address Type情報(ipmask、fqdn) | |
policyList[].destinationAddressGroupList[].addressGroupName | String | Address Group名 | |
policyList[].destinationAddressGroupList[].addressGroupNo | Integer | Address Group番号 | |
policyList[].destinationAddressGroupList[].addressList[].addressNo | Integer | Address番号 | |
policyList[].destinationAddressGroupList[].addressList[].addressZone | String | AddressZone情報 | |
policyList[].destinationAddressGroupList[].addressList[].dbAddressZone | Boolean | db AddressZoneの有無 | |
policyList[].destinationAddressGroupList[].addressList[].fqdn | String | fqdn | |
policyList[].destinationAddressGroupList[].addressList[].instanceNo | String | インスタンス番号 | |
policyList[].destinationAddressGroupList[].addressList[].ip | String | Ip | |
policyList[].destinationAddressGroupList[].addressList[].maskBit | Integer | MaskBit | |
policyList[].destinationAddressGroupList[].addressList[].memberNo | String | メンバー番号 | |
policyList[].destinationAddressGroupList[].addressList[].name | String | Address名 | |
policyList[].destinationAddressGroupList[].addressList[].port | String | Port | |
policyList[].destinationAddressGroupList[].addressList[].type | String | Address Type情報(ipmask、fqdn) | |
policyList[].destinationAddressGroupList[].addressZone | String | AddressZone情報 | |
policyList[].destinationAddressGroupList[].associatedPoliciesCount | Integer | 未使用 | |
policyList[].destinationAddressGroupList[].description | String | 説明 | |
policyList[].destinationAddressGroupList[].instanceNo | String | インスタンス番号 | |
policyList[].destinationAddressGroupList[].memberNo | String | メンバー番号 | |
policyList[].destinationAddressGroupList[].objectStorage | Boolean | オブジェクトストレージの有無 | |
policyList[].destinationAddressList[].addressNo | Integer | Address番号 | |
policyList[].destinationAddressList[].addressZone | String | AddressZone情報 | |
policyList[].destinationAddressList[].dbAddressZone | Boolean | db AddressZoneの有無 | |
policyList[].destinationAddressList[].fqdn | String | fqdn | |
policyList[].destinationAddressList[].instanceNo | String | インスタンス番号 | |
policyList[].destinationAddressList[].ip | String | Ip | |
policyList[].destinationAddressList[].maskBit | Integer | MaskBit | |
policyList[].destinationAddressList[].memberNo | String | メンバー番号 | |
policyList[].destinationAddressList[].name | String | Address名 | |
policyList[].destinationAddressList[].port | String | Port | |
policyList[].destinationAddressList[].type | String | Address Type情報(ipmask、fqdn) | |
policyList[].serviceList[].serviceNo | Integer | サービス番号 | |
policyList[].serviceList[].serviceName | String | サービス名 | |
policyList[].serviceList[].protocol | String | ファイアウォールサービスプロトコル | |
policyList[].serviceList[].port | String | ファイアウォールサービスポート番号 | |
policyList[].serviceList[].memberNo | String | メンバー番号 | |
policyList[].serviceList[].instanceNo | String | インスタンス番号 |
レスポンスボディ
{
"action": "string",
"policyList": [
{
"action": "string",
"description": "string",
"destinationAddressGroupList": [
{
"addressGroupName": "string",
"addressGroupNo": 0,
"addressList": [
{
"addressNo": 0,
"addressZone": "string",
"fqdn": "string",
"instanceNo": "string",
"ip": "string",
"maskBit": 0,
"memberNo": "string",
"name": "string",
"port": "string",
"type": "ipmask"
}
],
"addressZone": "string",
"associatedPoliciesCount": 0,
"description": "string",
"instanceNo": "string",
"memberNo": "string",
"objectStorage": true
}
],
"destinationAddressList": [
{
"addressNo": 0,
"addressZone": "string",
"fqdn": "string",
"instanceNo": "string",
"ip": "string",
"maskBit": 0,
"memberNo": "string",
"name": "string",
"port": "string",
"type": "ipmask"
}
],
"destinationAddressZone": "string",
"firewallOrder": 0,
"firewallPolicyId": 0,
"instanceNo": "string",
"memberNo": "string",
"policyName": "string",
"policyNo": 0,
"serviceList": [
{
"instanceNo": "string",
"memberNo": "string",
"port": "string",
"protocol": "string",
"serviceName": "string",
"serviceNo": 0
}
],
"sourceAddressGroupList": [
{
"addressGroupName": "string",
"addressGroupNo": 0,
"addressList": [
{
"addressNo": 0,
"addressZone": "string",
"fqdn": "string",
"instanceNo": "string",
"ip": "string",
"maskBit": 0,
"memberNo": "string",
"name": "string",
"port": "string",
"type": "ipmask"
}
],
"addressZone": "string",
"associatedPoliciesCount": 0,
"description": "string",
"instanceNo": "string",
"memberNo": "string",
"objectStorage": true
}
],
"sourceAddressList": [
{
"addressNo": 0,
"addressZone": "string",
"fqdn": "string",
"instanceNo": "string",
"ip": "string",
"maskBit": 0,
"memberNo": "string",
"name": "string",
"port": "string",
"type": "ipmask"
}
],
"sourceAddressZone": "string"
}
],
"returnCode": 0,
"returnMessage": "string",
"totalCount": 0
}
エラーコード
共通して発生するエラーの詳細は、NAVER Cloud Platform APIをご参照ください
この記事は役に立ちましたか?