Add dismissal notes

Summary

Displays information about a finding's dismissal (if present). This includes comments and information about the author.

Props

feedback

{
      author: {
        id: 1,
        name: 'Author name',
        username: 'author username',
        path: 'author/path',
        is_git_gitlab_employee: true,
      },
      // optional
      comment_details: {
        comment_author: {
          id: '1',
          name: 'Dave',
          username: 'davepies',
          path: 'davpies.me',
          is_gitlab_employee: true,
        },
        comment_timestamp: '2022-11-17T09:33:07.971Z',
        comment: 'foo is bar!',
      },
      created_at: '2022-11-17T09:33:07.971Z',
      project: {
        url: 'http://foo.bar',
        value: 'project value',
      },
      // optional
      pipeline: {
        id: 1,
        path: 'pipeline/path',
      },
    };
    

project

{
      url: 'http://project/url',
      value: 'project value'
    }
    

Endpoints

  • Pipeline: GET /api/v4/projects/34/vulnerability_findings?pipeline_id=1&scope=dismissed
  • MR Widget: e.g: GET /security/security-reports/-/vulnerability_feedback?category=sast and /security/security-reports/-/merge_requests/5/sast_reports (requests for each report type and data gets combined, like mentioned above)

Screenshots

Without comment

dismissal_without_comment

With comment

dismissal_with_comment

Edited by Samantha Ming