GraphQL - Update DAST target profile mutations to return payload

Proposal

The GraphQL mutations for DAST Target Profiles need to return the complete payload in the response. This is to facilitate the auto-update of apollo cache used in the frontend.

With the redesign, the profile gets updated in the right panel (within drawer) and the left panel (On-demand scan) form should display the updated profile information.

Implementation

  • Update ee/app/graphql/mutations/dast_site_profiles/update.rb to return updated fields
  • Update ee/app/graphql/mutations/dast_site_profiles/create.rb to return updated fields
Edited by Dheeraj Joshi