BFCWEs API
Irena Bojanova, Inventor/Creator, PI & Lead, NIST Bugs Framework (BF), 2014 – ~~~
//Exclusive Rights Only//
The BFCWEs APP/API generates datasets of BFCWE Specifications as <cause, operation>→consequence BF Weaknesses. Depending on the level of abstraction, some CWEs may be covered by more than one BF Weakness Triple.
UI
[https://«coming soon»/BFCWE.xml](https://«coming soon»/BFCWE.xml)
[https://«coming soon»/BFCWE.json](https://«coming soon»/BFCWE.json)API
C#
HttpClient client = new HttpClient() { BaseAddress = new Uri("https://<<coming soon>>") }; //to be updated <-- replace YOUR_USER_NAME and YOUR_KEY client.DefaultRequestHeaders.Add("user", YOUR_USER_NAME); client.DefaultRequestHeaders.Add("key", YOUR_KEY); //result in XML var responseXML = await client.GetAsync("BFCWE.xml/api"); responseXML.EnsureSuccessStatusCode(); var resultXML = await responseXML.Content.ReadAsStringAsync(); //result in JSON var responseJSON = await client.GetAsync("BFCWE.xml.json/api"); responseJSON.EnsureSuccessStatusCode(); var resulJSON = await responseJSON.Content.ReadAsStringAsync();Python
//to be added//
BF PATENT PENDING
BF CITATION: