diff options
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.js | 17 |
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' }, + ], + }, + ], + }, +}; |