renatoalmeidaoliveira / nbrisk

NIST 800-30 Risk Management for Netbox
Apache License 2.0
52 stars 5 forks source link

"Vulnerability Assignments > +Add" results in "requested page does not exist" #25

Open adestis-bm opened 2 weeks ago

adestis-bm commented 2 weeks ago

I recently added this plugin to our NetBox setup (v4.0.5 and v4.0.6). My colleagues started testing it, and discovered, that under "Vulnerability Assignments" the "+Add" botton results in the following error:

/plugins/nb_risk/vulnerability-assignments/add/ 
The requested page does not exist. 

grafik

All other "+Add" bottons ("Threat Sources", "Threat Events", "Vulnerabilities", "Rists", and "Controls") do work.

I'm no Django specialist to know how to debug this. Could someone assist me with locating this problem, please?!

renatoalmeidaoliveira commented 2 weeks ago

Hello @adestis-bm , the Vulnerability Assignments models works very similar to the Contact Assignments, you need to go the desired model ( the vulnerable one) and click in the button Assign Vulnerability on the to right of the page, there shouldn't be a add button on the Vulnerabilty Assignments view. The other way to assign vulnerabilities is using the import view.

adestis-bm commented 2 weeks ago

Thank You for Your quick response!

That's what we "see": grafik

Also there is an entry in urls.py: grafik

Bug?

adestis-bm commented 2 weeks ago

The "Assugn Vulnerability" botton is there, and it is working... I just tested it. grafik

So just the "+ Add" botton shouldn't be there: grafik

renatoalmeidaoliveira commented 2 weeks ago

Thanks that "Add" button is a bug. gonna remove it. To add a Vulnerability Assignment please go to the desired model and click on the Assign Vulnerability button.

adestis-bm commented 2 weeks ago

Looks like I found another problem: the "Changelog" option results in a "Server Error: TemplateDoesNotExist": grafik

grafik