Function Description
This plugin implements OPA
policy control.
Running Attributes
Plugin Execution Phase: Authentication Phase
Plugin Execution Priority: 225
Configuration Fields
Field | Data Type | Required | Default Value | Description |
---|---|---|---|---|
policy | string | Required | - | OPA Policy |
timeout | string | Required | - | Timeout setting for access |
serviceSource | string | Required | - | k8s, nacos, ip, route |
host | string | Optional | - | Service host (required if serviceSource is ip ) |
serviceName | string | Optional | - | Service name (required if serviceSource is k8s,nacos,ip ) |
servicePort | string | Optional | - | Service port (required if serviceSource is k8s,nacos,ip ) |
namespace | string | Optional | - | Namespace (required if serviceSource is k8s,nacos ) |