DAST Site profile - Form MVC - Add delete capability
Summary
This issue is for adding delete capability to the DAST Site profile form. This action is available when editing an existing site profile.
Designs
Implementation plan
-
Add the Delete profile button to the DAST Site profile form. -
Clicking on the button triggers a GraphQL mutation[1] for deleting the profile. -
On success, redirect back to the landing page.
[1] GraphQL mutation
The GraphQL mutation should already exist at this point as it will be added as part of the DAST Site profiles library MVC. Its structure is being discussed here: #225816 (comment 373081653)