Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f733e9f1
Commit
f733e9f1
authored
Apr 13, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests and docs
parent
1d5ce6dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+0
-1
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
+1
-1
No files found.
doc/api/graphql/reference/index.md
View file @
f733e9f1
...
...
@@ -7320,7 +7320,6 @@ Represents a vulnerability scanner.
| Field | Type | Description |
| ----- | ---- | ----------- |
|
`externalId`
|
[
`String`
](
#string
)
| External ID of the vulnerability scanner. |
|
`id`
|
[
`ID`
](
#id
)
| |
|
`name`
|
[
`String`
](
#string
)
| Name of the vulnerability scanner. |
|
`reportType`
|
[
`VulnerabilityReportType`
](
#vulnerabilityreporttype
)
| Type of the vulnerability report. |
|
`vendor`
|
[
`String`
](
#string
)
| Vendor of the vulnerability scanner. |
...
...
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
View file @
f733e9f1
...
...
@@ -78,7 +78,7 @@ RSpec.describe Resolvers::VulnerabilitiesResolver do
end
context
'when given scanner ID'
do
let
(
:params
)
{
{
scanner_id:
[
high_vulnerability
.
finding_scanner_id
]
}
}
let
(
:params
)
{
{
scanner_id:
[
GitlabSchema
.
id_from_object
(
high_vulnerability
.
finding
.
scanner
)
]
}
}
it
'only returns vulnerabilities of the given scanner IDs'
do
is_expected
.
to
contain_exactly
(
high_vulnerability
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment