CentralCSP
APITechnologies

Get a technology

Returns one library version with every advisory that affects it, the version ranges each advisory covers, and the scripts on the website that carry it. key is the identifier a list row carries.

Requires the viewer role on the website and the sbom plan feature.

GET
/v1/workspaces/{workspaceId}/websites/{websiteId}/technologies/{key}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
websiteId*string
key*string

Response Body

application/json

curl -X GET "https://example.com/v1/workspaces/string/websites/string/technologies/string"
{  "key": "eyJwIjoianF1ZXJ5IiwidiI6IjMuNS4xIn0",  "productKey": "jquery",  "name": "jQuery",  "version": "3.5.1",  "versionStatus": "good",  "vulnerable": true,  "cveCount": 2,  "maxSeverity": "low",  "iconUrl": "https://cdn.centralcsp.com/icons/jquery.svg",  "productHomePage": "https://jquery.com",  "firstSeen": "2019-08-24T14:15:22Z",  "lastSeen": "2019-08-24T14:15:22Z",  "cves": [    {      "ids": [        "CVE-2020-11022"      ],      "severity": "low",      "summary": "Passing HTML from untrusted sources to jQuery DOM methods may execute code.",      "cwe": [        "CWE-79"      ],      "below": "3.5.0",      "atOrAbove": "1.2.0",      "excludes": [        "string"      ],      "infoUrls": [        "string"      ]    }  ],  "scripts": [    {      "url": "https://code.jquery.com/jquery-3.5.1.min.js",      "hash": "sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=",      "fileSize": 89476,      "firstSeen": "2019-08-24T14:15:22Z",      "lastSeen": "2019-08-24T14:15:22Z"    }  ]}