DependencyTrack / DependencyTrack/dependency-track

DefectDojo integration : {"scan_type":["This field is required."],"engagement":["This field is required."]}

Open
#1,143 5 comments 0 reactions 0 assignees View on GitHub
in triage integration/defectdojo
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior:
While connecting to DefectDojo getting below errors

```
DefectDojo Client did not receive expected response while attempting to upload Dependency-Track findings. HTTP response code: 400 - Bad Request
An error occurred while communicating with the DefectDojo integration point
HTTP Status : 400 Bad Request
Request URL : http://ip:port/api/v2/import-scan/
DefectDojo Client did not receive expected response while attempting to upload Dependency-Track findings. HTTP response code: 400 - Bad Request'
```

### Steps to Reproduce:
Follow integration steps from the documentation

### Expected Behavior:
import-scan REST API should execute successfully

### Environment:

- Dependency Track(v4.3.2)
- DefectDojo v1.15.0

### Additional Details:

tcpdump whos below error message
{"scan_type":["This field is required."],"engagement":["This field is required."]}

I already have a issue created for same behavior on DefectDojo platform
https://github.com/DefectDojo/django-DefectDojo/issues/2689

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.