improved
Vulnerability Management: Plugins Endpoints Response Improvement
about 1 year ago by Lance Duvall
The plugins endpoints that accept user input now return an HTTP 404 Not Found
status code with an empty response body if the specified plugin ID, plugin family ID, or plugin family name cannot be found. Previously, Tenable Vulnerability Management returned an HTTP 200 OK
status code with "plugins": null
in the response body. This change aligns the plugins endpoints with the standard used for other Vulnerability Management endpoints.
This change affects the following endpoints:
Endpoint | Name | Change |
---|---|---|
GET /plugins/plugin/{id} | Get plugin details | An HTTP 404 Not Found status code is now returned if the specified plugin ID could not be found. |
GET /plugins/families/{id} | List plugins in family (ID) | An HTTP 404 Not Found status code is now returned if the specified plugin family ID could not be found. |
POST /plugins/families/_byName | List plugins in family (name) | An HTTP 404 Not Found status code is now returned if the specified plugin family name could not be found. |