Skip to content

Parse HTTP Requests of GitLab DAST Report to Populate Request / Response Pairs #12050

@lzanguetin

Description

@lzanguetin

The GitLab DAST report has an block in its body where the HTTP Request and Response data for that test are presented. Below are some example images:

Image

Image

However, observing the project's parse class, this "evidence" object is not parsed for use and therefore the Request/Response Pairs block of the Findings is not filled in.
In fact, there are not even (according to the API documentation) variables in the POST for creating a new Finding ("/findings") to insert this data.
It is necessary to make a third request to the address "/request_response_pairs", where the request data still needs to be converted to Base64.

Therefore, the proposal is that this data be processed in "/import-scan" and automatically inserted into the Findings created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions