• Aditya Tiwari's avatar
    Implement Scheduling Logic for DAST On-demand Scheduler · ddd59ed4
    Aditya Tiwari authored
    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
20210715074359 64 Bytes