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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/graphql_shared/fragment_types/vulnerability_location_types.js')
-rw-r--r--app/assets/javascripts/graphql_shared/fragment_types/vulnerability_location_types.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/javascripts/graphql_shared/fragment_types/vulnerability_location_types.js b/app/assets/javascripts/graphql_shared/fragment_types/vulnerability_location_types.js
new file mode 100644
index 00000000000..30888e20a46
--- /dev/null
+++ b/app/assets/javascripts/graphql_shared/fragment_types/vulnerability_location_types.js
@@ -0,0 +1,17 @@
+export const vulnerabilityLocationTypes = {
+ __schema: {
+ types: [
+ {
+ kind: 'UNION',
+ name: 'VulnerabilityLocation',
+ possibleTypes: [
+ { name: 'VulnerabilityLocationContainerScanning' },
+ { name: 'VulnerabilityLocationDast' },
+ { name: 'VulnerabilityLocationDependencyScanning' },
+ { name: 'VulnerabilityLocationSast' },
+ { name: 'VulnerabilityLocationSecretDetection' },
+ ],
+ },
+ ],
+ },
+};