본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Prisma AI Runtime Security(AIRS) API Intercept 플러그인 설정 레퍼런스

원문 보기 위키 갱신

Prisma AI Runtime Security(AIRS) API Intercept 플러그인 설정 레퍼런스 (Prisma AI Runtime Security (AIRS) API Intercept Plugin Configuration Reference)

이 문서는 Kong에서 Prisma AI Runtime Security(AIRS) API Intercept 플러그인을 설정할 때 참고하는 스키마 레퍼런스예요. api_endpoint, api_key, profile_name 같은 config 필드와 기본값, 필수 항목을 JSON 형태로 한눈에 확인할 수 있어요. 필수 설정은 api_key와 profile_name이고, protocols나 route, service를 지정해 플러그인이 적용될 범위를 조정할 수 있다는 점도 함께 다루고 있어요.

출처: 문서

본문

{
  "properties": {
    "config": {
      "properties": {
        "api_endpoint": {
          "default": "https://service.api.aisecurity.paloaltonetworks.com/v1/scan/sync/request",
          "type": "string",
          "description": "Prisma AIRS API endpoint URL"
        },
        "api_key": {
          "type": "string",
          "description": "Prisma AIRS API authentication token (x-pan-token)"
        },
        "app_name": {
          "type": "string",
          "description": "Optional application name suffix (will be sent as \"kong-{app_name}\" or just \"kong\" if not configured)"
        },
        "profile_name": {
          "type": "string",
          "description": "Name of the AI security profile to use for scanning"
        },
        "ssl_verify": {
          "default": true,
          "type": "boolean",
          "description": "Enable/disable SSL certificate verification"
        }
      },
      "required": [
        "api_key",
        "profile_name"
      ],
      "type": "object"
    },
    "protocols": {
      "default": [
        "grpc",
        "grpcs",
        "http",
        "https"
      ],
      "description": "A set of strings representing HTTP protocols.",
      "items": {
        "enum": [
          "grpc",
          "grpcs",
          "http",
          "https"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "service": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "config"
  ]
}

관련 리소스

더 알아보기 (Learn more)