Added productId to the endpoint and improved docs

This commit is contained in:
Alberto Caravaca
2023-01-21 06:23:13 -06:00
parent c867a90919
commit 0d9689883c
2 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ export default {
},
endpoint() {
return `${widgetApiEndpoints.cveVulnerabilities}?${this.sortBy}${this.limit}`
+ `${this.minScore}${this.vendorId}${this.hasExploit}`;
+ `${this.minScore}${this.vendorId}${this.productId}${this.hasExploit}`;
},
proxyReqEndpoint() {
const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;