Verify Fix

Simulate applying a fix for a specific finding and return the impact.

  1. Look up FIX_MUTATIONS[rule_id]
  2. If not found → return {can_simulate: false}
  3. Load infrastructure from DB
  4. Deep-copy, apply mutation
  5. Rebuild graph, run rules, diff findings, calculate score delta
  6. Return VerifyFixResponse

Pure computation — no LLM calls, no side effects. Should be <1s.

post/remediation/verify-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/verify-fix
  • Auth: none declared

Request body

analysis_idstring required
rule_idstring required
resource_idstring required

Response

Successful Response

can_simulateboolean required
findings_removedobject[]
findings_addedobject[]
toxic_combos_resolvedstring[]
toxic_combos_createdstring[]
score_beforeinteger
score_afterinteger
score_deltainteger
safe_to_applyboolean

Changes

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