hyades icon indicating copy to clipboard operation
hyades copied to clipboard

Defect Dojo sync frequency from webui is ignored

Open worming004 opened this issue 5 months ago • 4 comments

Current Behavior

Updating the value of DEFECTDOJO_SYNC_CADENCE(defectdojo.sync.cadence) through web ui have no effect on scheduling. The method to update frequency is by using CRON_EXPRESSION_FOR_DEFECT_DOJO_SYNC through environment variable.

Steps to Reproduce

  1. Start new instance of Hyades
  2. With admin account, navigate to /admin/integrations/defectDojo
  3. Activate DefectDojo Integration, use 60 for frequency
  4. Restart api-server
  5. The synchronisation happens at 2:00AM

Expected Behavior

2 Ways are fine.

  • Web interface can configure the scheduler, the environment variable is removed
  • Web interface remove integration with DefectDojo, the documentation only refer a configuration using environment variable

Hyades Version

(using docker images)

All quarkus component: 0.6.0-SNAPSHOT

hyades-apiserver:5.5.0 hyades-frontend:5.5.0

Repository Type

Hyades apiserver

Browser

N/A

Checklist

worming004 avatar Sep 05 '24 09:09 worming004