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
d7507505
Commit
d7507505
authored
Sep 01, 2021
by
Luke Duncalfe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop Graphql/Description offenses
https://gitlab.com/gitlab-org/gitlab/-/issues/337596
parent
b2c45ffd
Changes
24
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
133 additions
and
155 deletions
+133
-155
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-22
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+70
-70
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb
.../mutations/app_sec/fuzzing/api/ci_configuration/create.rb
+2
-2
ee/app/graphql/mutations/boards/epic_boards/create.rb
ee/app/graphql/mutations/boards/epic_boards/create.rb
+1
-1
ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb
...pp/graphql/mutations/boards/epic_boards/epic_move_list.rb
+1
-1
ee/app/graphql/mutations/boards/epic_boards/update.rb
ee/app/graphql/mutations/boards/epic_boards/update.rb
+2
-2
ee/app/graphql/mutations/boards/epic_lists/destroy.rb
ee/app/graphql/mutations/boards/epic_lists/destroy.rb
+1
-1
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb
...pp/graphql/mutations/boards/lists/update_limit_metrics.rb
+5
-5
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb
.../graphql/mutations/boards/update_epic_user_preferences.rb
+1
-1
ee/app/graphql/mutations/compliance_management/frameworks/create.rb
...phql/mutations/compliance_management/frameworks/create.rb
+1
-1
ee/app/graphql/mutations/compliance_management/frameworks/destroy.rb
...hql/mutations/compliance_management/frameworks/destroy.rb
+1
-1
ee/app/graphql/mutations/compliance_management/frameworks/update.rb
...phql/mutations/compliance_management/frameworks/update.rb
+2
-2
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb
...hql/mutations/concerns/mutations/shared_epic_arguments.rb
+7
-7
ee/app/graphql/mutations/dast/profiles/create.rb
ee/app/graphql/mutations/dast/profiles/create.rb
+6
-6
ee/app/graphql/mutations/dast/profiles/update.rb
ee/app/graphql/mutations/dast/profiles/update.rb
+5
-5
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
+1
-1
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
+4
-4
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
+4
-4
ee/app/graphql/mutations/dast_site_profiles/create.rb
ee/app/graphql/mutations/dast_site_profiles/create.rb
+5
-5
ee/app/graphql/mutations/dast_site_profiles/delete.rb
ee/app/graphql/mutations/dast_site_profiles/delete.rb
+1
-1
ee/app/graphql/mutations/dast_site_profiles/update.rb
ee/app/graphql/mutations/dast_site_profiles/update.rb
+5
-5
ee/app/graphql/mutations/dast_site_tokens/create.rb
ee/app/graphql/mutations/dast_site_tokens/create.rb
+3
-3
ee/app/graphql/mutations/dast_site_validations/create.rb
ee/app/graphql/mutations/dast_site_validations/create.rb
+4
-4
ee/app/graphql/mutations/dast_site_validations/revoke.rb
ee/app/graphql/mutations/dast_site_validations/revoke.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
d7507505
...
@@ -23,28 +23,6 @@ Graphql/Descriptions:
...
@@ -23,28 +23,6 @@ Graphql/Descriptions:
-
'
ee/app/graphql/types/vulnerability_severity_enum.rb'
-
'
ee/app/graphql/types/vulnerability_severity_enum.rb'
-
'
ee/app/graphql/types/vulnerability_state_enum.rb'
-
'
ee/app/graphql/types/vulnerability_state_enum.rb'
-
'
ee/app/graphql/types/vulnerability_confidence_enum.rb'
-
'
ee/app/graphql/types/vulnerability_confidence_enum.rb'
-
'
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/update.rb'
-
'
ee/app/graphql/mutations/boards/epic_lists/destroy.rb'
-
'
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb'
-
'
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb'
-
'
ee/app/graphql/mutations/compliance_management/frameworks/create.rb'
-
'
ee/app/graphql/mutations/compliance_management/frameworks/destroy.rb'
-
'
ee/app/graphql/mutations/compliance_management/frameworks/update.rb'
-
'
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb'
-
'
ee/app/graphql/mutations/dast/profiles/create.rb'
-
'
ee/app/graphql/mutations/dast/profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_on_demand_scans/create.rb'
-
'
ee/app/graphql/mutations/dast_scanner_profiles/create.rb'
-
'
ee/app/graphql/mutations/dast_scanner_profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/create.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/delete.rb'
-
'
ee/app/graphql/mutations/dast_site_profiles/update.rb'
-
'
ee/app/graphql/mutations/dast_site_tokens/create.rb'
-
'
ee/app/graphql/mutations/dast_site_validations/create.rb'
-
'
ee/app/graphql/mutations/dast_site_validations/revoke.rb'
-
'
ee/app/graphql/mutations/epic_tree/reorder.rb'
-
'
ee/app/graphql/mutations/epic_tree/reorder.rb'
-
'
ee/app/graphql/mutations/epics/add_issue.rb'
-
'
ee/app/graphql/mutations/epics/add_issue.rb'
-
'
ee/app/graphql/mutations/epics/base.rb'
-
'
ee/app/graphql/mutations/epics/base.rb'
...
...
doc/api/graphql/reference/index.md
View file @
d7507505
This diff is collapsed.
Click to expand it.
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb
View file @
d7507505
...
@@ -29,7 +29,7 @@ module Mutations
...
@@ -29,7 +29,7 @@ module Mutations
argument
:scan_mode
,
::
Types
::
AppSec
::
Fuzzing
::
API
::
ScanModeEnum
,
argument
:scan_mode
,
::
Types
::
AppSec
::
Fuzzing
::
API
::
ScanModeEnum
,
required:
true
,
required:
true
,
description:
'
The m
ode for API fuzzing scans.'
description:
'
M
ode for API fuzzing scans.'
argument
:scan_profile
,
GraphQL
::
Types
::
String
,
argument
:scan_profile
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
...
@@ -46,7 +46,7 @@ module Mutations
...
@@ -46,7 +46,7 @@ module Mutations
field
:gitlab_ci_yaml_edit_path
,
GraphQL
::
Types
::
String
,
field
:gitlab_ci_yaml_edit_path
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
"
The l
ocation at which the project's `.gitlab-ci.yml` file can be edited in the browser."
description:
"
L
ocation at which the project's `.gitlab-ci.yml` file can be edited in the browser."
authorize
:create_vulnerability
authorize
:create_vulnerability
...
...
ee/app/graphql/mutations/boards/epic_boards/create.rb
View file @
d7507505
...
@@ -19,7 +19,7 @@ module Mutations
...
@@ -19,7 +19,7 @@ module Mutations
field
:epic_board
,
field
:epic_board
,
Types
::
Boards
::
EpicBoardType
,
Types
::
Boards
::
EpicBoardType
,
null:
true
,
null:
true
,
description:
'
The c
reated epic board.'
description:
'
C
reated epic board.'
def
resolve
(
args
)
def
resolve
(
args
)
group_path
=
args
.
delete
(
:group_path
)
group_path
=
args
.
delete
(
:group_path
)
...
...
ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb
View file @
d7507505
...
@@ -35,7 +35,7 @@ module Mutations
...
@@ -35,7 +35,7 @@ module Mutations
field
:epic
,
field
:epic
,
Types
::
EpicType
,
Types
::
EpicType
,
null:
true
,
null:
true
,
description:
'
The e
pic after mutation.'
description:
'
E
pic after mutation.'
def
ready?
(
**
args
)
def
ready?
(
**
args
)
if
args
.
slice
(
:from_list_id
,
:move_after_id
,
:move_before_id
).
empty?
if
args
.
slice
(
:from_list_id
,
:move_after_id
,
:move_before_id
).
empty?
...
...
ee/app/graphql/mutations/boards/epic_boards/update.rb
View file @
d7507505
...
@@ -14,12 +14,12 @@ module Mutations
...
@@ -14,12 +14,12 @@ module Mutations
argument
:id
,
argument
:id
,
::
Types
::
GlobalIDType
[
::
Boards
::
EpicBoard
],
::
Types
::
GlobalIDType
[
::
Boards
::
EpicBoard
],
required:
true
,
required:
true
,
description:
'
The e
pic board global ID.'
description:
'
E
pic board global ID.'
field
:epic_board
,
field
:epic_board
,
Types
::
Boards
::
EpicBoardType
,
Types
::
Boards
::
EpicBoardType
,
null:
true
,
null:
true
,
description:
'
The u
pdated epic board.'
description:
'
U
pdated epic board.'
def
resolve
(
**
args
)
def
resolve
(
**
args
)
board
=
authorized_find!
(
id:
args
[
:id
])
board
=
authorized_find!
(
id:
args
[
:id
])
...
...
ee/app/graphql/mutations/boards/epic_lists/destroy.rb
View file @
d7507505
...
@@ -15,7 +15,7 @@ module Mutations
...
@@ -15,7 +15,7 @@ module Mutations
field
:list
,
field
:list
,
Types
::
Boards
::
EpicListType
,
Types
::
Boards
::
EpicListType
,
null:
true
,
null:
true
,
description:
'
The e
pic board list. `null` if the board was destroyed successfully.'
description:
'
E
pic board list. `null` if the board was destroyed successfully.'
authorize
:admin_epic_board_list
authorize
:admin_epic_board_list
...
...
ee/app/graphql/mutations/boards/lists/update_limit_metrics.rb
View file @
d7507505
...
@@ -9,27 +9,27 @@ module Mutations
...
@@ -9,27 +9,27 @@ module Mutations
argument
:list_id
,
argument
:list_id
,
::
Types
::
GlobalIDType
[
::
List
],
::
Types
::
GlobalIDType
[
::
List
],
required:
true
,
required:
true
,
description:
'
The g
lobal ID of the list.'
description:
'
G
lobal ID of the list.'
argument
:limit_metric
,
argument
:limit_metric
,
EE
::
Types
::
ListLimitMetricEnum
,
EE
::
Types
::
ListLimitMetricEnum
,
required:
false
,
required:
false
,
description:
'
The n
ew limit metric type for the list.'
description:
'
N
ew limit metric type for the list.'
argument
:max_issue_count
,
argument
:max_issue_count
,
GraphQL
::
Types
::
Int
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'
The n
ew maximum issue count limit.'
description:
'
N
ew maximum issue count limit.'
argument
:max_issue_weight
,
argument
:max_issue_weight
,
GraphQL
::
Types
::
Int
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'
The n
ew maximum issue weight limit.'
description:
'
N
ew maximum issue weight limit.'
field
:list
,
field
:list
,
::
Types
::
BoardListType
,
::
Types
::
BoardListType
,
null:
true
,
null:
true
,
description:
'
The u
pdated list.'
description:
'
U
pdated list.'
def
ready?
(
**
args
)
def
ready?
(
**
args
)
if
limit_metric_settings_of
(
args
).
blank?
if
limit_metric_settings_of
(
args
).
blank?
...
...
ee/app/graphql/mutations/boards/update_epic_user_preferences.rb
View file @
d7507505
...
@@ -8,7 +8,7 @@ module Mutations
...
@@ -8,7 +8,7 @@ module Mutations
argument
:board_id
,
argument
:board_id
,
::
Types
::
GlobalIDType
[
::
Board
],
::
Types
::
GlobalIDType
[
::
Board
],
required:
true
,
required:
true
,
description:
'
The b
oard global ID.'
description:
'
B
oard global ID.'
argument
:epic_id
,
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
::
Types
::
GlobalIDType
[
::
Epic
],
...
...
ee/app/graphql/mutations/compliance_management/frameworks/create.rb
View file @
d7507505
...
@@ -9,7 +9,7 @@ module Mutations
...
@@ -9,7 +9,7 @@ module Mutations
field
:framework
,
field
:framework
,
Types
::
ComplianceManagement
::
ComplianceFrameworkType
,
Types
::
ComplianceManagement
::
ComplianceFrameworkType
,
null:
true
,
null:
true
,
description:
'
The c
reated compliance framework.'
description:
'
C
reated compliance framework.'
argument
:namespace_path
,
GraphQL
::
Types
::
ID
,
argument
:namespace_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
...
...
ee/app/graphql/mutations/compliance_management/frameworks/destroy.rb
View file @
d7507505
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
argument
:id
,
argument
:id
,
::
Types
::
GlobalIDType
[
::
ComplianceManagement
::
Framework
],
::
Types
::
GlobalIDType
[
::
ComplianceManagement
::
Framework
],
required:
true
,
required:
true
,
description:
'
The g
lobal ID of the compliance framework to destroy.'
description:
'
G
lobal ID of the compliance framework to destroy.'
def
resolve
(
id
:)
def
resolve
(
id
:)
framework
=
authorized_find!
(
id:
id
)
framework
=
authorized_find!
(
id:
id
)
...
...
ee/app/graphql/mutations/compliance_management/frameworks/update.rb
View file @
d7507505
...
@@ -11,7 +11,7 @@ module Mutations
...
@@ -11,7 +11,7 @@ module Mutations
argument
:id
,
argument
:id
,
::
Types
::
GlobalIDType
[
::
ComplianceManagement
::
Framework
],
::
Types
::
GlobalIDType
[
::
ComplianceManagement
::
Framework
],
required:
true
,
required:
true
,
description:
'
The g
lobal ID of the compliance framework to update.'
description:
'
G
lobal ID of the compliance framework to update.'
argument
:params
,
Types
::
ComplianceManagement
::
ComplianceFrameworkInputType
,
argument
:params
,
Types
::
ComplianceManagement
::
ComplianceFrameworkInputType
,
required:
true
,
required:
true
,
...
@@ -20,7 +20,7 @@ module Mutations
...
@@ -20,7 +20,7 @@ module Mutations
field
:compliance_framework
,
field
:compliance_framework
,
Types
::
ComplianceManagement
::
ComplianceFrameworkType
,
Types
::
ComplianceManagement
::
ComplianceFrameworkType
,
null:
true
,
null:
true
,
description:
"
The c
ompliance framework after mutation."
description:
"
C
ompliance framework after mutation."
def
resolve
(
id
:,
**
args
)
def
resolve
(
id
:,
**
args
)
framework
=
authorized_find!
(
id:
id
)
framework
=
authorized_find!
(
id:
id
)
...
...
ee/app/graphql/mutations/concerns/mutations/shared_epic_arguments.rb
View file @
d7507505
...
@@ -7,17 +7,17 @@ module Mutations
...
@@ -7,17 +7,17 @@ module Mutations
prepended
do
prepended
do
argument
:group_path
,
GraphQL
::
Types
::
ID
,
argument
:group_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
"
The g
roup the epic to mutate is in."
description:
"
G
roup the epic to mutate is in."
argument
:title
,
argument
:title
,
GraphQL
::
Types
::
String
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'T
he t
itle of the epic.'
description:
'Title of the epic.'
argument
:description
,
argument
:description
,
GraphQL
::
Types
::
String
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The d
escription of the epic.'
description:
'
D
escription of the epic.'
argument
:confidential
,
argument
:confidential
,
GraphQL
::
Types
::
Boolean
,
GraphQL
::
Types
::
Boolean
,
...
@@ -27,12 +27,12 @@ module Mutations
...
@@ -27,12 +27,12 @@ module Mutations
argument
:start_date_fixed
,
argument
:start_date_fixed
,
GraphQL
::
Types
::
String
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The s
tart date of the epic.'
description:
'
S
tart date of the epic.'
argument
:due_date_fixed
,
argument
:due_date_fixed
,
GraphQL
::
Types
::
String
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The e
nd date of the epic.'
description:
'
E
nd date of the epic.'
argument
:start_date_is_fixed
,
argument
:start_date_is_fixed
,
GraphQL
::
Types
::
Boolean
,
GraphQL
::
Types
::
Boolean
,
...
@@ -46,11 +46,11 @@ module Mutations
...
@@ -46,11 +46,11 @@ module Mutations
argument
:add_label_ids
,
argument
:add_label_ids
,
[
GraphQL
::
Types
::
ID
],
[
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'
The
IDs of labels to be added to the epic.'
description:
'IDs of labels to be added to the epic.'
argument
:remove_label_ids
,
argument
:remove_label_ids
,
[
GraphQL
::
Types
::
ID
],
[
GraphQL
::
Types
::
ID
],
required:
false
,
required:
false
,
description:
'
The
IDs of labels to be removed from the epic.'
description:
'IDs of labels to be removed from the epic.'
end
end
def
validate_arguments!
(
args
)
def
validate_arguments!
(
args
)
...
...
ee/app/graphql/mutations/dast/profiles/create.rb
View file @
d7507505
...
@@ -10,28 +10,28 @@ module Mutations
...
@@ -10,28 +10,28 @@ module Mutations
field
:dast_profile
,
::
Types
::
Dast
::
ProfileType
,
field
:dast_profile
,
::
Types
::
Dast
::
ProfileType
,
null:
true
,
null:
true
,
description:
'
The c
reated profile.'
description:
'
C
reated profile.'
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'
The
URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.'
description:
'URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.'
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the profile belongs to.'
description:
'
P
roject the profile belongs to.'
argument
:name
,
GraphQL
::
Types
::
String
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The n
ame of the profile.'
description:
'
N
ame of the profile.'
argument
:description
,
GraphQL
::
Types
::
String
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The d
escription of the profile. Defaults to an empty string.'
,
description:
'
D
escription of the profile. Defaults to an empty string.'
,
default_value:
''
default_value:
''
argument
:branch_name
,
GraphQL
::
Types
::
String
,
argument
:branch_name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The a
ssociated branch.'
description:
'
A
ssociated branch.'
argument
:dast_site_profile_id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
argument
:dast_site_profile_id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
required:
true
,
required:
true
,
...
...
ee/app/graphql/mutations/dast/profiles/update.rb
View file @
d7507505
...
@@ -14,7 +14,7 @@ module Mutations
...
@@ -14,7 +14,7 @@ module Mutations
field
:dast_profile
,
::
Types
::
Dast
::
ProfileType
,
field
:dast_profile
,
::
Types
::
Dast
::
ProfileType
,
null:
true
,
null:
true
,
description:
'
The u
pdated profile.'
description:
'
U
pdated profile.'
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
field
:pipeline_url
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
...
@@ -28,20 +28,20 @@ module Mutations
...
@@ -28,20 +28,20 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the profile belongs to.'
description:
'
P
roject the profile belongs to.'
argument
:name
,
GraphQL
::
Types
::
String
,
argument
:name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The n
ame of the profile.'
description:
'
N
ame of the profile.'
argument
:description
,
GraphQL
::
Types
::
String
,
argument
:description
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The d
escription of the profile. Defaults to an empty string.'
,
description:
'
D
escription of the profile. Defaults to an empty string.'
,
default_value:
''
default_value:
''
argument
:branch_name
,
GraphQL
::
Types
::
String
,
argument
:branch_name
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The a
ssociated branch.'
description:
'
A
ssociated branch.'
argument
:dast_site_profile_id
,
SiteProfileID
,
argument
:dast_site_profile_id
,
SiteProfileID
,
required:
false
,
required:
false
,
...
...
ee/app/graphql/mutations/dast_on_demand_scans/create.rb
View file @
d7507505
...
@@ -15,7 +15,7 @@ module Mutations
...
@@ -15,7 +15,7 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site profile belongs to.'
description:
'
P
roject the site profile belongs to.'
argument
:dast_site_profile_id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
argument
:dast_site_profile_id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
required:
true
,
required:
true
,
...
...
ee/app/graphql/mutations/dast_scanner_profiles/create.rb
View file @
d7507505
...
@@ -13,19 +13,19 @@ module Mutations
...
@@ -13,19 +13,19 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the scanner profile belongs to.'
description:
'
P
roject the scanner profile belongs to.'
argument
:profile_name
,
GraphQL
::
Types
::
String
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The n
ame of the scanner profile.'
description:
'
N
ame of the scanner profile.'
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'
The m
aximum number of minutes allowed for the spider to traverse the site.'
description:
'
M
aximum number of minutes allowed for the spider to traverse the site.'
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
required:
false
,
required:
false
,
description:
'
The m
aximum number of seconds allowed for the site under test to respond to a request.'
description:
'
M
aximum number of seconds allowed for the site under test to respond to a request.'
argument
:scan_type
,
Types
::
DastScanTypeEnum
,
argument
:scan_type
,
Types
::
DastScanTypeEnum
,
required:
false
,
required:
false
,
...
...
ee/app/graphql/mutations/dast_scanner_profiles/update.rb
View file @
d7507505
...
@@ -13,7 +13,7 @@ module Mutations
...
@@ -13,7 +13,7 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the scanner profile belongs to.'
description:
'
P
roject the scanner profile belongs to.'
argument
:id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
argument
:id
,
::
Types
::
GlobalIDType
[
::
DastScannerProfile
],
required:
true
,
required:
true
,
...
@@ -21,15 +21,15 @@ module Mutations
...
@@ -21,15 +21,15 @@ module Mutations
argument
:profile_name
,
GraphQL
::
Types
::
String
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The n
ame of the scanner profile.'
description:
'
N
ame of the scanner profile.'
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
argument
:spider_timeout
,
GraphQL
::
Types
::
Int
,
required:
true
,
required:
true
,
description:
'
The m
aximum number of minutes allowed for the spider to traverse the site.'
description:
'
M
aximum number of minutes allowed for the spider to traverse the site.'
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
argument
:target_timeout
,
GraphQL
::
Types
::
Int
,
required:
true
,
required:
true
,
description:
'
The m
aximum number of seconds allowed for the site under test to respond to a request.'
description:
'
M
aximum number of seconds allowed for the site under test to respond to a request.'
argument
:scan_type
,
Types
::
DastScanTypeEnum
,
argument
:scan_type
,
Types
::
DastScanTypeEnum
,
required:
false
,
required:
false
,
...
...
ee/app/graphql/mutations/dast_site_profiles/create.rb
View file @
d7507505
...
@@ -13,24 +13,24 @@ module Mutations
...
@@ -13,24 +13,24 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site profile belongs to.'
description:
'
P
roject the site profile belongs to.'
argument
:profile_name
,
GraphQL
::
Types
::
String
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The n
ame of the site profile.'
description:
'
N
ame of the site profile.'
argument
:target_url
,
GraphQL
::
Types
::
String
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The
URL of the target to be scanned.'
description:
'URL of the target to be scanned.'
argument
:target_type
,
Types
::
DastTargetTypeEnum
,
argument
:target_type
,
Types
::
DastTargetTypeEnum
,
required:
false
,
required:
false
,
description:
'T
he t
ype of target to be scanned.'
description:
'Type of target to be scanned.'
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
default_value:
[],
default_value:
[],
description:
'
The
URLs to skip during an authenticated scan. Defaults to `[]`.'
description:
'URLs to skip during an authenticated scan. Defaults to `[]`.'
argument
:request_headers
,
GraphQL
::
Types
::
String
,
argument
:request_headers
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
...
...
ee/app/graphql/mutations/dast_site_profiles/delete.rb
View file @
d7507505
...
@@ -7,7 +7,7 @@ module Mutations
...
@@ -7,7 +7,7 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site profile belongs to.'
description:
'
P
roject the site profile belongs to.'
argument
:id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
argument
:id
,
::
Types
::
GlobalIDType
[
::
DastSiteProfile
],
required:
true
,
required:
true
,
...
...
ee/app/graphql/mutations/dast_site_profiles/update.rb
View file @
d7507505
...
@@ -15,7 +15,7 @@ module Mutations
...
@@ -15,7 +15,7 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site profile belongs to.'
description:
'
P
roject the site profile belongs to.'
argument
:id
,
SiteProfileID
,
argument
:id
,
SiteProfileID
,
required:
true
,
required:
true
,
...
@@ -23,19 +23,19 @@ module Mutations
...
@@ -23,19 +23,19 @@ module Mutations
argument
:profile_name
,
GraphQL
::
Types
::
String
,
argument
:profile_name
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The n
ame of the site profile.'
description:
'
N
ame of the site profile.'
argument
:target_url
,
GraphQL
::
Types
::
String
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The
URL of the target to be scanned.'
description:
'URL of the target to be scanned.'
argument
:target_type
,
Types
::
DastTargetTypeEnum
,
argument
:target_type
,
Types
::
DastTargetTypeEnum
,
required:
false
,
required:
false
,
description:
'T
he t
ype of target to be scanned.'
description:
'Type of target to be scanned.'
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
argument
:excluded_urls
,
[
GraphQL
::
Types
::
String
],
required:
false
,
required:
false
,
description:
'
The
URLs to skip during an authenticated scan.'
description:
'URLs to skip during an authenticated scan.'
argument
:request_headers
,
GraphQL
::
Types
::
String
,
argument
:request_headers
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
...
...
ee/app/graphql/mutations/dast_site_tokens/create.rb
View file @
d7507505
...
@@ -17,15 +17,15 @@ module Mutations
...
@@ -17,15 +17,15 @@ module Mutations
field
:status
,
Types
::
DastSiteProfileValidationStatusEnum
,
field
:status
,
Types
::
DastSiteProfileValidationStatusEnum
,
null:
true
,
null:
true
,
description:
'
The c
urrent validation status of the target.'
description:
'
C
urrent validation status of the target.'
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site token belongs to.'
description:
'
P
roject the site token belongs to.'
argument
:target_url
,
GraphQL
::
Types
::
String
,
argument
:target_url
,
GraphQL
::
Types
::
String
,
required:
false
,
required:
false
,
description:
'
The
URL of the target to be validated.'
description:
'URL of the target to be validated.'
authorize
:create_on_demand_dast_scan
authorize
:create_on_demand_dast_scan
...
...
ee/app/graphql/mutations/dast_site_validations/create.rb
View file @
d7507505
...
@@ -13,11 +13,11 @@ module Mutations
...
@@ -13,11 +13,11 @@ module Mutations
field
:status
,
::
Types
::
DastSiteProfileValidationStatusEnum
,
field
:status
,
::
Types
::
DastSiteProfileValidationStatusEnum
,
null:
true
,
null:
true
,
description:
'
The c
urrent validation status.'
description:
'
C
urrent validation status.'
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site profile belongs to.'
description:
'
P
roject the site profile belongs to.'
argument
:dast_site_token_id
,
::
Types
::
GlobalIDType
[
::
DastSiteToken
],
argument
:dast_site_token_id
,
::
Types
::
GlobalIDType
[
::
DastSiteToken
],
required:
true
,
required:
true
,
...
@@ -25,11 +25,11 @@ module Mutations
...
@@ -25,11 +25,11 @@ module Mutations
argument
:validation_path
,
GraphQL
::
Types
::
String
,
argument
:validation_path
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
description:
'
The p
ath to be requested during validation.'
description:
'
P
ath to be requested during validation.'
argument
:strategy
,
::
Types
::
DastSiteValidationStrategyEnum
,
argument
:strategy
,
::
Types
::
DastSiteValidationStrategyEnum
,
required:
false
,
required:
false
,
description:
'
The v
alidation strategy to be used.'
description:
'
V
alidation strategy to be used.'
authorize
:create_on_demand_dast_scan
authorize
:create_on_demand_dast_scan
...
...
ee/app/graphql/mutations/dast_site_validations/revoke.rb
View file @
d7507505
...
@@ -9,7 +9,7 @@ module Mutations
...
@@ -9,7 +9,7 @@ module Mutations
argument
:full_path
,
GraphQL
::
Types
::
ID
,
argument
:full_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
required:
true
,
description:
'
The p
roject the site validation belongs to.'
description:
'
P
roject the site validation belongs to.'
argument
:normalized_target_url
,
GraphQL
::
Types
::
String
,
argument
:normalized_target_url
,
GraphQL
::
Types
::
String
,
required:
true
,
required:
true
,
...
...
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