Remediate Code Scan Finding
Code Scans (Enterprise)
Remediate Code Scan Finding
Launch a Devin session to remediate a code scan finding
POST
Remediate Code Scan Finding
Permissions
Requires a service user with theUseAccountCodeScans permission at the enterprise level.
Behavior
Launches a Devin session to remediate the specified code scan finding: the session analyzes the vulnerable code, implements a fix, and opens a pull request. The session is attributed to the calling principal (the service user or PAT that made the request). Returns409 Conflict if the finding already has a remediation session.Authorizations
Service User credential (prefix: cog_)
Path Parameters
Organization ID (prefix: org-)
Example:
"org-abc123def456"

