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

Bugcrowd API parser fixes #7163

Merged
merged 6 commits into from
Nov 20, 2022
Merged

Bugcrowd API parser fixes #7163

merged 6 commits into from
Nov 20, 2022

Conversation

Gby56
Copy link
Contributor

@Gby56 Gby56 commented Nov 18, 2022

I noticed that my implementation did a duplicate detection in the wrong way, since Bugcrowd itself marks submissions as duplicates, but they mean something else: another researcher made a submission about the same thing.
Since my API client is not returning the duplicate submissions, but only the "first come, first served" submission, there is no reason to use the duplicate field, and it was throwing a lot of issues.
So I ripped out the line duplicate=bugcrowd_duplicate,

I'm also fixing the links in the defectdojo findings in markdown, I had to propagate the api scan configuration object back to the parser so it can get the service key 1, which is the program name required in the url link.

I also have removed the "Informational" state from the active issues. It is considered to be a closed subject when Informational is used, so a lot of issues were shown active for no reason.

Lastly, I have added an inclusion of fields in the API call, to try to get the external Jira issues linked (but it's not implemented by the API yet apparently) and also getting the program, but it's not giving the name of it yet.

Copy link
Contributor

@coheigea coheigea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mtesauro mtesauro merged commit e702107 into DefectDojo:dev Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants