Unified Fix

Unified fix endpoint: generates HCL + verifies it in one call.

Flow:

  1. If rule_id has a deterministic mutation → verify instantly + generate HCL in parallel
  2. If not → generate HCL via Claude → parse HCL → simulate → verify
  3. Fallback: if HCL parsing fails → return HCL without verification

Returns both the terraform fix AND the verification result. Rate limited: 5/min per IP + 10/day per account.

post/remediation/fix

Request

  • Base URL: https://emfirge.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://emfirge.cloud/remediation/fix
  • Auth: none declared

Query parameters

rawboolean

Request body

rule_idstring nullable
severitystring required
issuestring required
recommendationstring required
resource_idstring nullable
resource_typestring nullable
regionstring nullable
aws_servicestring required
attack_pathstring[] nullable
blast_radiusinteger nullable
account_idstring nullable
analysis_idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.