Skip to content

OPA ​

Fairwinds Insights supports the use of custom OPA policies to create Action Items.

See the OPA Policy documentation for information on how to write OPA checks and upload them to Insights.

Sample Report ​

OPA reports contain a list of Action Items generated by your OPA policies

json
{
    "ActionItems": [
        {
            "Category": "Reliability",
            "Description": "String: No horizontal pod autoscaler found",
            "Remediation": "Create an HPA",
            "ResourceKind": "Deployment",
            "ResourceName": "local-path-provisioner",
            "ResourceNamespace": "local-path-storage",
            "Severity": 0,
            "EventType": "hpa-required",
            "Title": "HPA is required"
        }
    ]
}