{"slug":"code-halowerk-com-v1-iam-policy-lint-4dea17","title":"Lint an AWS IAM policy (identity, resource or trust policy)","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/iam-policy-lint","category":"code","description":"Lint an AWS IAM policy (identity, resource or trust policy): grammar errors, full-admin and service wildcards, Allow with NotAction/NotResource, iam:PassRole on any role, public principals and privilege-escalation action combinations.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":905,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"policy":{"Statement":[{"Action":["iam:PassRole","ec2:RunInstances"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"policy":{"description":"The policy document as JSON object or JSON text.","oneOf":[{"type":"object"},{"maxLength":200000,"minLength":2,"type":"string"}]},"policy_type":{"default":"identity","enum":["identity","resource","trust"],"type":"string"}},"required":["policy"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":878,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":902,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1296,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1171,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1181,"error":null}],"description_full":"Lint an AWS IAM policy (identity, resource or trust policy): grammar errors, full-admin and service wildcards, Allow with NotAction/NotResource, iam:PassRole on any role, public principals and privilege-escalation action combinations.","last_updated":"2026-11-20T12:47:21.347Z","schemes":["exact"]}