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
5d1e923f
Commit
5d1e923f
authored
Feb 05, 2021
by
Philip Cunningham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address backend reviewer feedback
parent
4c4a43d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/graphql/types/dast_scanner_profile_type.rb
ee/app/graphql/types/dast_scanner_profile_type.rb
+1
-1
ee/app/graphql/types/dast_site_validation_type.rb
ee/app/graphql/types/dast_site_validation_type.rb
+1
-1
ee/spec/graphql/types/dast_scanner_profile_type_spec.rb
ee/spec/graphql/types/dast_scanner_profile_type_spec.rb
+1
-1
ee/spec/graphql/types/dast_site_validation_type_spec.rb
ee/spec/graphql/types/dast_site_validation_type_spec.rb
+1
-1
No files found.
ee/app/graphql/types/dast_scanner_profile_type.rb
View file @
5d1e923f
...
...
@@ -5,7 +5,7 @@ module Types
graphql_name
'DastScannerProfile'
description
'Represents a DAST scanner profile'
authorize
:
create_on_demand_dast_scan
authorize
:
read_on_demand_scans
field
:id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
null:
false
,
description:
'ID of the DAST scanner profile'
...
...
ee/app/graphql/types/dast_site_validation_type.rb
View file @
5d1e923f
...
...
@@ -5,7 +5,7 @@ module Types
graphql_name
'DastSiteValidation'
description
'Represents a DAST Site Validation'
authorize
:
create_on_demand_dast_scan
authorize
:
read_on_demand_scans
field
:id
,
::
Types
::
GlobalIDType
[
::
DastSiteValidation
],
null:
false
,
description:
'Global ID of the site validation'
...
...
ee/spec/graphql/types/dast_scanner_profile_type_spec.rb
View file @
5d1e923f
...
...
@@ -27,7 +27,7 @@ RSpec.describe GitlabSchema.types['DastScannerProfile'] do
end
specify
{
expect
(
described_class
.
graphql_name
).
to
eq
(
'DastScannerProfile'
)
}
specify
{
expect
(
described_class
).
to
require_graphql_authorizations
(
:
create_on_demand_dast_scan
)
}
specify
{
expect
(
described_class
).
to
require_graphql_authorizations
(
:
read_on_demand_scans
)
}
it
{
expect
(
described_class
).
to
have_graphql_fields
(
fields
)
}
...
...
ee/spec/graphql/types/dast_site_validation_type_spec.rb
View file @
5d1e923f
...
...
@@ -26,7 +26,7 @@ RSpec.describe GitlabSchema.types['DastSiteValidation'] do
end
specify
{
expect
(
described_class
.
graphql_name
).
to
eq
(
'DastSiteValidation'
)
}
specify
{
expect
(
described_class
).
to
require_graphql_authorizations
(
:
create_on_demand_dast_scan
)
}
specify
{
expect
(
described_class
).
to
require_graphql_authorizations
(
:
read_on_demand_scans
)
}
it
{
expect
(
described_class
).
to
have_graphql_fields
(
fields
)
}
...
...
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