Skip to content
  • Aditya Tiwari's avatar
    Implement Scheduling Logic for DAST On-demand Scheduler · ddd59ed4
    Aditya Tiwari authored and Steve Abrams's avatar Steve Abrams committed
    Add new cron job app_sec_dast_profile_schedule_worker.
    
    The cron job is configured to run every 15th minute of an hour.
    
    ProfileScheduleWorker will periodically run all the runnable_schedules
    
    Add new table dast_profile_schedules with the following three foreign keys
      dast_profile_id
      user_id
      project_id
    
    Set up one to many relationship between dast_profile and
    dast_profile_schedule.
    
    Model dast_profile_schedule will hold the information about the
    schedules of dast scans.
    
    Add specs.
    
    Issue link - https://gitlab.com/gitlab-org/gitlab/-/issues/330307
    
    Changelog: added
    ddd59ed4