Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defect Dojo integration require a server restart #1485

Open
2 tasks done
worming004 opened this issue Sep 5, 2024 · 1 comment
Open
2 tasks done

Defect Dojo integration require a server restart #1485

worming004 opened this issue Sep 5, 2024 · 1 comment
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort

Comments

@worming004
Copy link
Contributor

Current Behavior

DefectDojo sync only works after a server restart.

As pointed out in #1484, this is a behavior already known. Feel free to close this issue if needed

Steps to Reproduce

Start configuration : sync is deactivated through UI, TASK_CRON_DEFECTDOJO_SYNC is setup with value "*/1 * * * *" to run sync every minute

11:49: api-server is restarted
11:51: activated through UI
11:54: no effect

Expected Behavior

After 11:51, we expect the sync to happens

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 worming004 added defect Something isn't working in triage labels Sep 5, 2024
@nscuro
Copy link
Member

nscuro commented Sep 5, 2024

Indeed a different issue than #1484. The task is only scheduled on startup when enabled in the config: https://github.com/DependencyTrack/hyades-apiserver/blob/1f5f736b12d0257db1a3bb13b7d305aaf9986fa5/src/main/java/org/dependencytrack/tasks/TaskScheduler.java#L107-L109

@nscuro nscuro added p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort and removed in triage labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Projects
None yet
Development

No branches or pull requests

2 participants