Add seeds for DAST Profiles
What does this MR do and why?
this merge request adds some seed data for dast
in order to make testing and review for other engineers outside of groupdynamic analysis more straightforward.
Related Issue(s)
Add development environment seed data for on-demand DAST scans
Output
% bundle exec rake db:seed_fu FILTER=dast_profiles
== Filtering seed files against regexp: /dast_profiles/
== Seed from ee/db/fixtures/development/21_dast_profiles.rb
/Users/philip/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23: warning: ⛔️ WARNING: Sidekiq testing API enabled, but this is not the test environment. Your jobs will not go to Redis.
OK
How to set up and validate locally
- check the existing
Dast::Profile
count in arails
console
Dast::Profile.count
- run the seed
rake
task
bundle exec rake db:seed_fu FILTER=dast_profiles
- check the new
Dast::Profile
count in arails
console
Dast::Profile.count
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Philip Cunningham