OPA (Open Policy Agent) List

OPA (Open Policy Agent) List

Certified
Enterprise Edition

List loaded OPA policies

Retrieves all policy modules from OPA /v1/policies. Control output with fetchType; STORE writes to internal storage.

yaml
type: io.kestra.plugin.ee.opa.policy.List

List OPA policies

yaml
id: list_policies
namespace: company.team

tasks:
  - id: list_policies
    type: io.kestra.plugin.ee.opa.policy.List
    url: "{{ secret('OPA_URL') }}"
    token: "{{ secret('OPA_TOKEN') }}"
Properties

OPA base URL

DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch strategy

FETCH returns all policies (default); FETCH_ONE returns the first; STORE writes all to a file; NONE skips output.

Reference (ref) of the pluginDefaults to apply to this task.

Bearer token

SubTypeobject

Policies

All policies (FETCH)

Policy

First policy only (FETCH_ONE)

Number of policies

Total number of policies

Formaturi

Stored policies URI

Only populated if fetchType=STORE