Welcome to mirror list, hosted at ThFree Co, Russian Federation.

findings_drawer.js « mock_data « diffs « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4823a18b26775d8e75fc4e0d66b1162656ebabf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
export const mockFinding = {
  title: 'mockedtitle',
  state: 'detected',
  scale: 'sast',
  line: 7,
  description: 'fakedesc',
  severity: 'low',
  engineName: 'testengine name',
  categories: ['testcategory 1', 'testcategory 2'],
  content: {
    body: 'Duplicated Code Duplicated code',
  },
  webUrl: {},
  identifiers: [
    {
      __typename: 'VulnerabilityIdentifier',
      externalId: 'eslint.detect-disable-mustache-escape',
      externalType: 'semgrep_id',
      name: 'eslint.detect-disable-mustache-escape',
      url: 'https://semgrep.dev/r/gitlab.eslint.detect-disable-mustache-escape',
    },
  ],
};

export const mockProject = {
  nameWithNamespace: 'testname',
  fullPath: 'testpath',
};