Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cveClientlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class cveClient {
this.key = key;
this.url = url;
this.user_path = "/org/" + this.org + "/user/" + this.user;
this._version = "1.0.15";
this._version = "1.0.25";
}
/* PUT /cve/{id}/adp — the only ADP endpoint per CVE Services API spec
See https://cveawg.mitre.org/api-docs/ */
Expand All @@ -22,6 +22,8 @@ class cveClient {
let path = "/cve/" + cve + "/cna";
if(rejected)
path = "/cve/" + cve + "/reject";
if(!cnajson["x_generator"])
cnajson["x_generator"] = {engine: "cveClient/" + this._version};
return this.putjson(path,opts,null,{cnaContainer:cnajson});
}
reservecve(amount,cve_year,batch_type) {
Expand Down
Loading