You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There does not appear to be housekeeping for older Findings in DefectDojo to be cleaned up at a regular interval. Some CVEs get reclassified, changed description, etc.. but the group remains even though the Finding has changed and the v1 has 'Closed' in favor of the v2 after it's reclassified/updated.
The problem is, when I set a threshold to delete old findings -- the finding_group never is cleaned up.
I have attempted both the '/metadata' and the 'findings/metadata' calls with no success. I am using the https://demo.defectdojo.org/api/v2/oa3/swagger-ui/ Swagger UI APIv3 documentation and the (/api/v2/ endpoint).
How can I delete finding_groups that I no longer want around? I understand they are a 'thin wrapper for a set of Findings', but I should still be able to delete the finding_groups that are no longer containing any Findings.
In theory, DefectDojo would automatically remove a Finding Group if there are no Findings present in the group. How can I accomplish this?
Thanks
Steps to reproduce the behavior:
Delete Findings through the API.
Finding Group remains with 0 Findings.
Expected behavior
Some kind of if finding_group = 0 then delete function to help with housekeeping.
Deployment method(select with an X)
Docker Compose
Kubernetes
GoDojo
Environment information
Operating System: [e.g. Ubuntu 18.04]
DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]
Logs
Use docker compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).
Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hello,
There does not appear to be housekeeping for older Findings in DefectDojo to be cleaned up at a regular interval. Some CVEs get reclassified, changed description, etc.. but the group remains even though the Finding has changed and the v1 has 'Closed' in favor of the v2 after it's reclassified/updated.
The problem is, when I set a threshold to delete old findings -- the finding_group never is cleaned up.
I have attempted both the '/metadata' and the 'findings/metadata' calls with no success. I am using the https://demo.defectdojo.org/api/v2/oa3/swagger-ui/ Swagger UI APIv3 documentation and the (/api/v2/ endpoint).
How can I delete finding_groups that I no longer want around? I understand they are a 'thin wrapper for a set of Findings', but I should still be able to delete the finding_groups that are no longer containing any Findings.
In theory, DefectDojo would automatically remove a Finding Group if there are no Findings present in the group. How can I accomplish this?
Thanks
Steps to reproduce the behavior:
Expected behavior
Some kind of if finding_group = 0 then delete function to help with housekeeping.
Deployment method (select with an
X
)Environment information
git show -s --format="[%ci] %h: %s [%d]"
]Logs
Use
docker compose logs
(or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: