Threat Model

Update the application overview prose

Update the application overview prose for one application. This writes through to PersistentSastScanApplicationInfo.llmContext, which is interpolated inside the <llm_context> tag for scanner-agent prompts that consume application context. Edits propagate to the next scan automatically — there is no separate publish step. Requires ORG_EDIT_SAST_CONFIG.

post/api/v2/threatModel/updateApplicationOverview

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization that owns the application.

applicationInfoIdstring required

cuid of the PersistentSastScanApplicationInfo to update.

llmContextstring required

New application overview text. May be empty. Written verbatim to PersistentSastScanApplicationInfo.llmContext and rendered inside the <llm_context> tag of every downstream scanner-agent prompt.

Response

Application overview updated

applicationInfoIdstring required
llmContextstring nullable required

Changes

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