improved

Vulnerability Management: Plugins Endpoints Response Improvement

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:

EndpointNameChange
GET /plugins/plugin/{id}Get plugin detailsAn 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/_byNameList plugins in family (name)An HTTP 404 Not Found status code is now returned if the specified plugin family name could not be found.