mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-26 23:24:38 +02:00
Added productId to the endpoint and improved docs
This commit is contained in:
parent
c867a90919
commit
0d9689883c
@ -620,7 +620,7 @@ Keep track of recent security advisories and vulnerabilities, with optional filt
|
|||||||
**`minScore`** | `number` | _Optional_ | If set, will only display results with a CVE score higher than the number specified. Can be a number between `0` and `9.9`. By default, vulnerabilities of all CVE scores are shown
|
**`minScore`** | `number` | _Optional_ | If set, will only display results with a CVE score higher than the number specified. Can be a number between `0` and `9.9`. By default, vulnerabilities of all CVE scores are shown
|
||||||
**`hasExploit`** | `boolean` | _Optional_ | If set to `true`, will only show results with active exploits. Defaults to `false`
|
**`hasExploit`** | `boolean` | _Optional_ | If set to `true`, will only show results with active exploits. Defaults to `false`
|
||||||
**`vendorId`** | `number` | _Optional_ | Only show results from a specific vendor, specified by ID. See [Vendor Search](https://www.cvedetails.com/vendor-search.php) for list of vendors. E.g. `23` (Debian), `26` (Microsoft), `23682` (CloudFlare)
|
**`vendorId`** | `number` | _Optional_ | Only show results from a specific vendor, specified by ID. See [Vendor Search](https://www.cvedetails.com/vendor-search.php) for list of vendors. E.g. `23` (Debian), `26` (Microsoft), `23682` (CloudFlare)
|
||||||
**`productId`** | `number` | _Optional_ | Only show results from a specific app or product, specified by ID. See [Product Search](https://www.cvedetails.com/product-search.php) for list of products. E.g. `13534` (Docker), `15913` (NextCloud), `19294` (Portainer), `17908` (ProtonMail)
|
**`productId`** | `number` | _Optional_ | Only show results from a specific app or product, specified by ID. See [Product Search](https://www.cvedetails.com/product-search.php) for list of products. E.g. `28125` (Docker), `34622` (NextCloud), `50211` (Portainer), `95391` (ProtonMail)
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
@ -635,7 +635,7 @@ or
|
|||||||
options:
|
options:
|
||||||
sortBy: publish-date
|
sortBy: publish-date
|
||||||
productId: 28125
|
productId: 28125
|
||||||
hasExploit: true
|
hasExploit: false
|
||||||
minScore: 5
|
minScore: 5
|
||||||
limit: 30
|
limit: 30
|
||||||
```
|
```
|
||||||
|
@ -92,7 +92,7 @@ export default {
|
|||||||
},
|
},
|
||||||
endpoint() {
|
endpoint() {
|
||||||
return `${widgetApiEndpoints.cveVulnerabilities}?${this.sortBy}${this.limit}`
|
return `${widgetApiEndpoints.cveVulnerabilities}?${this.sortBy}${this.limit}`
|
||||||
+ `${this.minScore}${this.vendorId}${this.hasExploit}`;
|
+ `${this.minScore}${this.vendorId}${this.productId}${this.hasExploit}`;
|
||||||
},
|
},
|
||||||
proxyReqEndpoint() {
|
proxyReqEndpoint() {
|
||||||
const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;
|
const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user