Fetch a List of Code Repository Scan in Bulk

GET  /v1.3/code/list

Sample: Fetch a List of Code Repository Scan in BulkSample: Fetch a List of Code Repository Scan in Bulk

API Request

curl -X 'GET' \
'<qualys_base_url>/csapi/v1.3/code/list?limit=2' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>'

API Response 

{
  "data": [
    {
      "uuid": "d3xxb42-001b-37dd-9460-450xx0c",
      "codeId": "2d8edxxxx7cbc852aba43de81fe180bff56",
      "repositoryUrl": "https://xxxx.com/527515025/springBoot.git",
      "repositoryName": "springBoot",
      "branch": "master",
      "assetName": "https://gitxxx.com/5xxx25/springBoot.git",
      "isModified": null,
      "commitHash": "8fadfc31240917e2e9xxxxxxe8d8f",
      "commitTimestamp": "1585823884000",
      "commitAuthor": "杨伊博",
      "commitMessage": "modify c3p0 version",
      "commitAuthorEmail": "[email protected]",
      "created": "1778503268745",
      "updated": "1778503268746",
      "lastScanned": "1778503268950",
      "firstFound": "1778503268745",
      "source": [
        "COMMAND_LINE"
      ],
      "scanTypes": [
        "SCA"
      ],
      "softwareCount": 132,
      "vulnerabilityCount": 80,
      "vulnerabilityStats": null,
      "vulnerabilities": [
        "vulnerability": null,
        "result": null,
        "lastFound": "1778503268780",
        "firstFound": "1778503268780",
        "severity": 4,
        "customerSeverity": 4,
        "port": null,
        "typeDetected": "CONFIRMED",
        "status": null,
        "risk": 40,
        "category": "SCA",
        "discoveryType": [
          "AUTHENTICATED"
        ],
        "authType": [
          "UNIX_AUTH"
        ],
        "supportedBy": [
          "CA-Windows Agent",
          "CA-Linux Agent",
          "SCA",
          "CS-Windows",
          "CS-Linux"
        ],
        "product": [
          "maven"
        ],
        "vendor": [
          "maven"
        ],
        "cveids": [
          "CVE-2022-42004"
        ],
        "threatIntel": {
          "activeAttacks": null,
          "zeroDay": null,
          "publicExploit": true,
          "highLateralMovement": true,
          "easyExploit": null,
          "highDataLoss": null,
          "noPatch": null,
          "denialOfService": null,
          "malware": null,
          "exploitKit": null,
          "publicExploitNames": null,
          "malwareNames": null,
          "exploitKitNames": null,
          "wormable": null,
          "predictedHighRisk": null,
          "privilegeEscalation": null,
          "unauthenticatedExploitation": null,
          "remoteCodeExecution": null,
          "ransomware": null,
          "solorigateSunburst": null,
          "cisaKnownExploitedVulns": null
        },
        "qid": 990283,
        "title": "Java (Maven) Security Update for com.fasterxml.jackson.core:jackson-databind (GHSA-rgv9-q543-rqg4)",
        "cvssInfo": {
          "baseScore": "5.4",
          "temporalScore": "4.3",
          "accessVector": "Adjacent Network"
        },
        "cvss3Info": {
          "baseScore": "7.5",
          "temporalScore": "6.7"
        },
        "patchAvailable": true,
        "published": 1670244105000,
        "scanType": [
          "SCA"
        ],
        "qdsScore": 42,
        "isExempted": null,
        "vendorData": {
          "rhsa": {
            "id": null,
            "severity": null,
            "cve": [
              {
                "id": "CVE-2022-42004",
                "severity": "moderate",
                "cvss2": {
                  "baseScore": null
                },
                "cvss3": {
                  "baseScore": 7.5
                }
              }
            ]
          }
        },
        "software": [
          {
            "name": "com.fasterxml.jackson.core:jackson-databind",
            "version": "2.9.9.1",
            "scanType": "SCA",
            "packagePath": "springboot-shiro2/pom.xml",
            "fixVersion": "2.12.7.1",
            "vulnerabilities": null
          },
          {
            "name": "com.fasterxml.jackson.core:jackson-databind",
            "version": "2.9.8",
            "scanType": "SCA",
            "packagePath": "abel-util/pom.xml",
            "fixVersion": "2.12.7.1",
            "vulnerabilities": null
          }
        ],
        "ageInDays": null,
        "fixed": null,
        "os": null
      },
      "vulnerability": null,
      "result": null,
      "lastFound": "1778503268938",
      "firstFound": "1778503268938",
      "severity": 2,
      "customerSeverity": 2,
      "port": null,
      "typeDetected": "CONFIRMED",
      "status": null,
      "risk": 20,
      "category": "SCA",
      "discoveryType": [
        "AUTHENTICATED"
      ],
      "authType": [
        "UNIX_AUTH"
      ],
      "supportedBy": [
        "CA-Windows Agent",
        "CA-Linux Agent",
        "SCA",
        "CS-Windows",
        "CS-Linux"
      ],
      "product": [
        "maven"
      ],
      "vendor": [
        "maven"
      ],
      "cveids": [
        "CVE-2024-38820"
      ],
      "threatIntel": {
        "activeAttacks": null,
        "zeroDay": null,
        "publicExploit": true,
        "highLateralMovement": true,
        "easyExploit": null,
        "highDataLoss": null,
        "noPatch": null,
        "denialOfService": null,
        "malware": null,
        "exploitKit": null,
        "publicExploitNames": null,
        "malwareNames": null,
        "exploitKitNames": null,
        "wormable": null,
        "predictedHighRisk": null,
        "privilegeEscalation": null,
        "unauthenticatedExploitation": null,
        "remoteCodeExecution": null,
        "ransomware": null,
        "solorigateSunburst": null,
        "cisaKnownExploitedVulns": null
      },
      "qid": 5001309,
      "title": "Java (Maven) Security Update for org.springframework:spring-context (GHSA-4gc7-5j7h-4qph)",
      "cvssInfo": {
        "baseScore": "5.4",
        "temporalScore": "4.3",
        "accessVector": "Adjacent Network"
      },
      "cvss3Info": {
        "baseScore": "5.3",
        "temporalScore": "4.8"
      },
      "patchAvailable": true,
      "published": 1729601389000,
      "scanType": [
        "SCA"
      ],
      "qdsScore": 37,
      "isExempted": null,
      "vendorData": null,
      "software": [
        {
          "name": "org.springframework:spring-web",
          "version": "5.1.3.RELEASE",
          "scanType": "SCA",
          "packagePath": "abel-util/pom.xml",
          "fixVersion": "6.1.14",
          "vulnerabilities": null
        }
      ],
      "ageInDays": null,
      "fixed": null,
      "os": null
    },
    {
      "vulnerability": null,
      "result": null,
      "lastFound": "1778503268882",
      "firstFound": "1778503268882",
      "severity": 4,
      "customerSeverity": 4,
      "port": null,
      "typeDetected": "CONFIRMED",
      "status": null,
      "risk": 40,
      "category": "SCA",
      "discoveryType": [
        "AUTHENTICATED"
      ],
      "authType": [
        "UNIX_AUTH"
      ],
      "supportedBy": [
        "CA-Windows Agent",
        "CA-Linux Agent",
        "SCA",
        "CS-Windows",
        "CS-Linux"
      ],
      "product": [
        "maven"
      ],
      "vendor": [
        "java"
      ],
      "cveids": [
        "CVE-2020-36184"
      ],
      "threatIntel": {
        "activeAttacks": null,
        "zeroDay": null,
        "publicExploit": true,
        "highLateralMovement": null,
        "easyExploit": null,
        "highDataLoss": null,
        "noPatch": null,
        "denialOfService": null,
        "malware": null,
        "exploitKit": null,
        "publicExploitNames": null,
        "malwareNames": null,
        "exploitKitNames": null,
        "wormable": null,
        "predictedHighRisk": null,
        "privilegeEscalation": null,
        "unauthenticatedExploitation": null,
        "remoteCodeExecution": true,
        "ransomware": null,
        "solorigateSunburst": null,
        "cisaKnownExploitedVulns": null
      },
      "qid": 986399,
      "title": "Java (maven) Security Update for com.fasterxml.jackson.core:jackson-databind (GHSA-m6x4-97wx-4q27)",
      "cvssInfo": {
        "baseScore": "6.8",
        "temporalScore": "5.3",
        "accessVector": "Network"
      },
      "cvss3Info": {
        "baseScore": "8.1",
        "temporalScore": "7.3"
      },
      "patchAvailable": true,
      "published": 1660137119000,
      "scanType": [
        "SCA"
      ],
      "qdsScore": 42,
      "isExempted": null,
      "vendorData": {
        "rhsa": {
          "id": null,
          "severity": null,
          "cve": [
            {
              "id": "CVE-2020-36184",
              "severity": "important",
              "cvss2": {
                "baseScore": null
              },
              "cvss3": {
                "baseScore": 8.1
              }
            }
          ]
        }
      },
      "software": [
        {
          "name": "com.fasterxml.jackson.core:jackson-databind",
          "version": "2.9.9.1",
          "scanType": "SCA",
          "packagePath": "springboot-shiro2/pom.xml",
          "fixVersion": "2.9.10.8",
          "vulnerabilities": null
        },
        {
          "name": "com.fasterxml.jackson.core:jackson-databind",
          "version": "2.9.8",
          "scanType": "SCA",
          "packagePath": "abel-util/pom.xml",
          "fixVersion": "2.9.10.8",
          "vulnerabilities": null
        }
      ],
      "ageInDays": null,
      "fixed": null,
      "os": null
    },
    {
      "vulnerability": null,
      "result": null,
      "lastFound": "1778503268786",
      "firstFound": "1778503268786",
      "severity": 4,
      "customerSeverity": 4,
      "port": null,
      "typeDetected": "CONFIRMED",
      "status": null,
      "risk": 40,
      "category": "SCA",
      "discoveryType": [
        "AUTHENTICATED"
      ],
      "authType": [
        "UNIX_AUTH"
      ],
      "supportedBy": [
        "CA-Windows Agent",
        "CA-Linux Agent",
        "SCA",
        "CS-Windows",
        "CS-Linux"
      ],
      "product": [
        "maven"
      ],
      "vendor": [
        "java"
      ],
      "cveids": [
        "CVE-2020-36182"
      ],
      "threatIntel": {
        "activeAttacks": null,
        "zeroDay": null,
        "publicExploit": true,
        "highLateralMovement": null,
        "easyExploit": null,
        "highDataLoss": null,
        "noPatch": null,
        "denialOfService": null,
        "malware": null,
        "exploitKit": null,
        "publicExploitNames": null,
        "malwareNames": null,
        "exploitKitNames": null,
        "wormable": null,
        "predictedHighRisk": null,
        "privilegeEscalation": null,
        "unauthenticatedExploitation": null,
        "remoteCodeExecution": true,
        "ransomware": null,
        "solorigateSunburst": null,
        "cisaKnownExploitedVulns": null
      },
      "name": "com.abel:config",
      "version": "1.0-SNAPSHOT",
      "scanType": "SCA",
      "packagePath": "springboot-springCloud/pom.xml",
      "fixVersion": null,
      "vulnerabilities": null
    }
  ],
  "metadata": null,
  "riskScore": 244,
  "formulaUsed": "MIN (1000 , 2 * ( 1.0 * 73.06 * Pow(17,0.01) + 0.6 * 42.46 * Pow(48,0.01) + 0.4 * 36.08 * Pow(12,0.01) +  0.2 * 28.00 * Pow(3,0.01) ))",
  "riskScoreCalculatedDate": "1778503268951",
  "maxQdsScore": 100,
  "qdsSeverity": "CRITICAL"
}
],
"limit": 1
}