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
808a2627
Commit
808a2627
authored
Oct 12, 2020
by
Becka Lippert
Committed by
Stan Hu
Oct 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor UX improvements to SAST Config UI
parent
30fde3b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
...mas/security_ci_configuration_schemas/sast_ui_schema.json
+3
-3
ee/spec/graphql/types/project_type_spec.rb
ee/spec/graphql/types/project_type_spec.rb
+1
-1
No files found.
app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
View file @
808a2627
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
"type"
:
"string"
,
"type"
:
"string"
,
"default_value"
:
""
,
"default_value"
:
""
,
"value"
:
""
,
"value"
:
""
,
"size"
:
"
MEDIUM
"
,
"size"
:
"
LARGE
"
,
"description"
:
"Analyzer image's registry prefix (or
N
ame of the registry providing the analyzers' image)"
"description"
:
"Analyzer image's registry prefix (or
n
ame of the registry providing the analyzers' image)"
},
},
{
{
"field"
:
"SAST_EXCLUDED_PATHS"
,
"field"
:
"SAST_EXCLUDED_PATHS"
,
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
"type"
:
"string"
,
"type"
:
"string"
,
"default_value"
:
""
,
"default_value"
:
""
,
"value"
:
""
,
"value"
:
""
,
"size"
:
"
LARGE
"
,
"size"
:
"
MEDIUM
"
,
"description"
:
"Comma-separated list of paths to be excluded from analyzer output. Patterns can be globs, file paths, or folder paths."
"description"
:
"Comma-separated list of paths to be excluded from analyzer output. Patterns can be globs, file paths, or folder paths."
},
},
{
{
...
...
ee/spec/graphql/types/project_type_spec.rb
View file @
808a2627
...
@@ -89,7 +89,7 @@ RSpec.describe GitlabSchema.types['Project'] do
...
@@ -89,7 +89,7 @@ RSpec.describe GitlabSchema.types['Project'] do
expect
(
secure_analyzers_prefix
[
'label'
]).
to
eq
(
'Image prefix'
)
expect
(
secure_analyzers_prefix
[
'label'
]).
to
eq
(
'Image prefix'
)
expect
(
secure_analyzers_prefix
[
'defaultValue'
]).
to
eq
(
'registry.gitlab.com/gitlab-org/security-products/analyzers'
)
expect
(
secure_analyzers_prefix
[
'defaultValue'
]).
to
eq
(
'registry.gitlab.com/gitlab-org/security-products/analyzers'
)
expect
(
secure_analyzers_prefix
[
'value'
]).
to
eq
(
'registry.gitlab.com/gitlab-org/security-products/analyzers'
)
expect
(
secure_analyzers_prefix
[
'value'
]).
to
eq
(
'registry.gitlab.com/gitlab-org/security-products/analyzers'
)
expect
(
secure_analyzers_prefix
[
'size'
]).
to
eq
(
'
MEDIUM
'
)
expect
(
secure_analyzers_prefix
[
'size'
]).
to
eq
(
'
LARGE
'
)
expect
(
secure_analyzers_prefix
[
'options'
]).
to
be_nil
expect
(
secure_analyzers_prefix
[
'options'
]).
to
be_nil
end
end
...
...
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