@@ -1782,7 +1782,6 @@ func apiScanParsedResults(c *gin.Context) {
17821782 c .JSON (http .StatusNotFound , gin.H {"error" : err .Error ()})
17831783 return
17841784 }
1785- scanType := strings .ToLower (strings .TrimSpace (scanRec .ScanType ))
17861785
17871786 section := strings .ToLower (strings .TrimSpace (c .DefaultQuery ("section" , "all" )))
17881787 limit , _ := strconv .Atoi (c .DefaultQuery ("limit" , "1200" ))
@@ -1890,27 +1889,6 @@ func apiScanParsedResults(c *gin.Context) {
18901889 continue
18911890 }
18921891 }
1893- if isAPKScan {
1894- name := strings .ToLower (strings .TrimSpace (e .FileName ))
1895- // Auxiliary metadata files should never be parsed as findings.
1896- if name == "scan-manifest.json" || name == "cache_info.json" || name == "report-table.json" {
1897- continue
1898- }
1899- ext := strings .ToLower (filepath .Ext (e .FileName ))
1900- // Do not parse rendered report assets as findings rows.
1901- if ext == ".html" || ext == ".htm" || ext == ".css" || ext == ".js" {
1902- continue
1903- }
1904- // Prefer structured APK findings JSON when present; skip noisy text sidecars.
1905- if hasApkxFindingsJSON && ext != ".json" {
1906- continue
1907- }
1908- // When findings JSON exists, only parse actual findings JSON files.
1909- if hasApkxFindingsJSON && ext == ".json" &&
1910- ! (name == "results.json" || strings .Contains (name , "vulnerabilities" ) || strings .Contains (name , "findings" )) {
1911- continue
1912- }
1913- }
19141892 // Read from local file
19151893 raw , _ , loadErr := loadFileContent (scanID , e .FileName )
19161894
0 commit comments