Skip to content

Set proper runAfter variable in edit mode

What does this MR do?

The frontend currently sends the dastProfileUpdate mutation with a runAfterCreate variable, which is actually only meant for the dastProfileCreate mutation. To function properly, the mutation requires a runAfterUpdate variable instead.

How to test this?

  1. Enable the feature flag.
echo "Feature.enable(:dast_saved_scans)" | rails c
  1. If !53432 (merged) has been merged, rebase this branch against master. Otherwise, rebase against the philipcunningham-add-dast-profile-update-mutation-295244 branch.
  2. Edit any of your previously created DAST Scans.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #295242 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports