---
title: "Get On-Prem Source Code Scanned Assessment report"
slug: "get-on-prem-source-code-scanned-assessment-report"
updated: 2025-10-18T04:50:53Z
published: 2025-10-18T04:50:58Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.fortanix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get On-Prem Source Code Scanned Assessment report

Get/api/v1/discovery/scans/{id}/assessment_report/on_prem/source_code

Get On-Prem Source Code Scanned Assessment report

SecurityOAuth

OAuth 2.0 client credential flow, see [https://datatracker.ietf.org/doc/html/rfc6749#section-4.4](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4).

FlowClient Credentials Token URLhttps://api.armor.fortanix.com/api/v1/iam/session/oauth2/token
		

Path parametersidstring (uuid) Required

Responses2XX

Success result

<select class='api-response-data' aria-label='Media type'><option value='71f75582-13eb-4c59-a723-d32dffbdd968'>application/json</option>
</select>Expand Allobject  crypto_asset_metricsobject  total_assetsinteger    

resource_metricsobject  total_repositoriesinteger    

resource_violationsobject  repository_metrics_by_violationobject  property*object  additionalPropertiescountinteger    

total_violationsinteger    
violation_details_by_repositoryobject  

Map from Repository URL to repository violation details

property*object  additionalPropertiesrisk_levelstring    Valid values[
  "critical",
  "high",
  "medium",
  "low",
  "good"
]
violationsobject  property*object  additionalPropertiescountinteger    
risk_levelstring    Valid values[
  "critical",
  "high",
  "medium",
  "low",
  "good"
]

risk_assessmentobject  findingsobject  property*object  additionalPropertiesproperty*object  additionalPropertiescountinteger    

overall_riskstring    Valid values[
  "critical",
  "high",
  "medium",
  "low",
  "good"
]

security_issuesobject  property*object  additionalPropertiescountinteger
