payai.agentstools.dev/iac/inspect
Static misconfiguration scan of a SINGLE infrastructure resource or config snippet (Terraform, Kubernetes, Dockerfile, docker-compose or CloudFormation). The lightweight per-resource form of /iac/scan: returns a verdict (pass, caution, block), a risk score and findings with rule, severity, location and fix hint. Security indicators, not a guarantee.
POST
https://payai.agentstools.dev/iac/inspectUptime100% of 5 checks in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://payai.agentstools.dev/iac/inspect" \
-d '{"kind":"terraform-plan","resource":"{\"planned_values\":{\"root_module\":{\"resources\":[{\"type\":\"aws_s3_bucket\",\"name\":\"b\",\"values\":{\"acl\":\"public-read\"}}]}}}"}'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{
"kind": "terraform-plan",
"resource": "{\"planned_values\":{\"root_module\":{\"resources\":[{\"type\":\"aws_s3_bucket\",\"name\":\"b\",\"values\":{\"acl\":\"public-read\"}}]}}}"
}