Skip to content
Snippets Groups Projects

Store DAST scan results into the database

Merged Tetiana Chupryna requested to merge 7062-format-dast-output into master

What does this MR do?

Add DAST parser and store DAST vulnerabilities in the database.

Updated: this discussion about location_fingerprints. https://gitlab.com/gitlab-org/gitlab-ee/issues/7062#note_131695170 is finished. It was decided that we flatten vulnerabilities, and for each instance in the report should be one occurrence in the database.

What are the relevant issue numbers?

#7062 (closed)

Does this MR meet the acceptance criteria?

Closes #7062 (closed)

Edited by Dmytro Zaporozhets (DZ)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • @brytannia thanks, I left some comments. I'm also looking forward discussion to resolve https://gitlab.com/gitlab-org/gitlab-ee/issues/7062#note_131695170.

  • Tetiana Chupryna added 310 commits

    added 310 commits

    Compare with previous version

  • Tetiana Chupryna added 130 commits

    added 130 commits

    Compare with previous version

  • added 1 commit

    • 95f0219d - Add location fingerprint implementation

    Compare with previous version

  • Tetiana Chupryna unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Tetiana Chupryna changed the description

    changed the description

  • @gonzoyumo I addressed all your comments and implemented location fingerprints. Could you look at​ this MR again, please?

  • Olivier Gonzalez
  • Olivier Gonzalez
  • @brytannia thanks. I have some doubts on few things that makes me think this MR has deep implications on our model and report format. For instance, I think the values we currently have for confidence and severity are not matching the all needs of DAST vulnerabilities. The Location property also mismatches and misses properties in our common format. Technically we are not constrained to follow the common format but this might cause us big troubles in the future.

    I also still have some hope that we all agree on flattening the 'instances' array into several vulnerabilities occurrences :)

  • Tetiana Chupryna added 2 commits

    added 2 commits

    • c04e70fb - Remove redundant test cases
    • 7cfbb90f - Flatten dast vulnerabilities

    Compare with previous version

  • @gonzoyumo I've flattened 'instances' into separate occurrences as it was discussed previously. Please, review

  • Olivier Gonzalez
  • @brytannia thanks, I left few minor comments. I think you can resolve them by yourself once fixed and assign a reviewer.

  • Tetiana Chupryna added 952 commits

    added 952 commits

    Compare with previous version

  • @stanhu could you please review this MR?

    You were a reviewer for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8797, and both issues are pretty similar.

  • assigned to @stanhu

  • assigned to @tkuah

  • I'm reassigning this to @tkuah for now because I am fully focused on a customer issue at the moment.

  • Thong Kuah
  • Thong Kuah
  • Thong Kuah
  • Thong Kuah
  • Thong Kuah
  • Thong Kuah
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading