Improve API Fuzzing Code Snippet
Why are we doing this work
This follows up on @cam.x's comment in !63530 (comment 596539073):
I like that DAST code have space between each session, can we do that for fuzzing code as well
We are looking at improving that API fuzzing configuration snippet that currently looks like this:
To have more options as to how the code snippet is formatted, we'll want to move its generation to the frontend.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
Move the configuration template to the frontend. -
When saving the API fuzzing configuration, present the client-side template with the proper replacements. -
Remove the tip insertion helpers from the frontend( ee/app/assets/javascripts/security_configuration/api_fuzzing/utils.js
). -
Mark the apiFuzzingCiConfigurationCreate
mutation as deprecated. - [-] Remove the GraphQL mutation.
Edited by Paul Gascou-Vaillancourt