Skip to main content
GET
Get latest scan findings for a repository
Return the latest succeeded scan in the current project and environment whose target matches repoUrl. Accepts https://github.com/owner/repo, .git, /tree/<ref>, and git@github.com:owner/repo forms. Medium+ findings are listed first. When no scan matches, matched is false. See Scanner connectors for setup.

Headers

x-openlit-organisation-id
string
x-openlit-project-id
string
required
x-openlit-environment
string
required
Example:

"production"

Query Parameters

repoUrl
string
required
Example:

"https://github.com/acme/checkout-agent"

Response

Latest matching scan findings, or a miss when none exist.

matched
boolean
repoKey
string | null
connectorId
string
jobId
string
findings
object[]
url
string