Fetch Software Details of Code Repository Scan

GET  /v1.3/code/{uuid}/software

Input ParametersInput Parameters
Parameter Mandatory/Optional Data Type Description
uuid
Mandatory string Specify the uuid value of an code asset.
filter
Optional string
Filter the software details of a scanned code asset by providing a query using Qualys syntax.
sort
Optional
string
Sort the results using a Qualys token.
Sample: Fetch Software Details of Code Repository ScanSample: Fetch Software Details of Code Repository Scan

API Request

curl -X 'GET' \
'<qualys_base_ul>/csapi/v1.3/code/f2318ea4-a49f-3b1c-b34a-860cb1420141/software' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>'

API Response 

{
  "data": [
    {
      "name": "org.axxxhe.coxxons:commons-collections4",
      "version": "4.1",
      "scanType": "SCA",
      "packagePath": "pom.xml",
      "fixVersion": null,
      "vulnerabilities": {
        "severity5Count": null,
        "severity4Count": null,
        "severity3Count": null,
        "severity2Count": null,
        "severity1Count": null
      }
    },
    {
      "name": "gxxub.com/golang/protobuf",
      "version": "v1.5.2",
      "scanType": "SCA",
      "packagePath": "go.mod",
      "fixVersion": null,
      "vulnerabilities": {
        "severity5Count": null,
        "severity4Count": null,
        "severity3Count": null,
        "severity2Count": null,
        "severity1Count": null
      }
    },
    {
      "name": "goxxg.org/x/crypto",
      "version": "v0.0.0-20210921155107-089bfa567519",
      "scanType": "SCA",
      "packagePath": "go.mod",
      "fixVersion": "0.45.0",
      "vulnerabilities": {
        "severity5Count": 0,
        "severity4Count": 3,
        "severity3Count": 3,
        "severity2Count": 0,
        "severity1Count": 0
      }
    },
    {
      "name": "com.qxxxer:codescan-test",
      "version": "1.0.0",
      "scanType": "SCA",
      "packagePath": "pom.xml",
      "fixVersion": null,
      "vulnerabilities": {
        "severity5Count": null,
        "severity4Count": null,
        "severity3Count": null,
        "severity2Count": null,
        "severity1Count": null
      }
    },
    {
      "name": "xxxg.in/yaml.v2",
      "version": "v2.4.0",
      "scanType": "SCA",
      "packagePath": "go.mod",
      "fixVersion": null,
      "vulnerabilities": {
        "severity5Count": null,
        "severity4Count": null,
        "severity3Count": null,
        "severity2Count": null,
        "severity1Count": null
      }
    },
    {
      "name": "xxxub.com/ugorji/go/codec",
      "version": "v1.2.7",
      "scanType": "SCA",
      "packagePath": "go.mod",
      "fixVersion": null,
      "vulnerabilities": {
        "severity5Count": null,
        "severity4Count": null,
        "severity3Count": null,
        "severity2Count": null,
        "severity1Count": null
      }
    },
    {
      "name": "com.fxxxml.jaxxon.core:jxxxn-databind",
      "version": "2.13.1",
      "scanType": "SCA",
      "packagePath": "pom.xml",
      "fixVersion": "2.13.4.2",
      "vulnerabilities": {
        "severity5Count": 0,
        "severity4Count": 3,
        "severity3Count": 0,
        "severity2Count": 0,
        "severity1Count": 0
      }
    },
    {
      "name": "log4j:log4j",
      "version": "1.2.17",
      "scanType": "SCA",
      "packagePath": "pom.xml",
      "fixVersion": "2.0",
      "vulnerabilities": {
        "severity5Count": 3,
        "severity4Count": 1,
        "severity3Count": 1,
        "severity2Count": 0,
        "severity1Count": 0
      }
    },
    {
      "name": "gxxx.com/gin-gonic/gin",
      "version": "v1.7.7",
      "scanType": "SCA",
      "packagePath": "go.mod",
      "fixVersion": "1.9.1",
      "vulnerabilities": {
        "severity5Count": 0,
        "severity4Count": 0,
        "severity3Count": 2,
        "severity2Count": 0,
        "severity1Count": 0
      }
    }
  ],
  "count": 9
}