Skip to content

Leverage fixtures to mock DAST scanner profiles

What does this MR do and why?

This replaces manual DAST scanner profile mocks with generated fixtures.

How to set up and validate locally

  1. Make sure the required services are running:
     gdk start postgresql redis
  2. Generate the fixtures:
    bundle exec spring rspec ee/spec/frontend/fixtures/dast_profiles.rb
  3. Run the frontend specs:
    yarn jest on_demand_scans dast_profiles -w 1

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #288337 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports