Make vulnerability permissions and resolution checks available in REST

In order to scope the features correctly in the MR security widget, the ai_resolution_enabled check should be added to API (REST) so it can be available to the frontend so that the button(s) are displayed correctly. The attribute is:

  • ai_resolution_enabled (true if SAST AND CWE in high confidence list)

This issue is similar to #481533 (closed), but since the widget uses the REST API, these attributes need to be exposed there as well.

Edited by Darby Frey