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
4eca74ec
Commit
4eca74ec
authored
Jun 02, 2020
by
Saikat Sarkar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show secret detection on security tab of pipeline
Add secret_detection in the filter Refactor code refactor code
parent
cb30e948
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
1 deletion
+12
-1
ee/app/assets/javascripts/security_dashboard/store/constants.js
.../assets/javascripts/security_dashboard/store/constants.js
+1
-0
ee/changelogs/unreleased/show_secret_on_dashboard.yml
ee/changelogs/unreleased/show_secret_on_dashboard.yml
+5
-0
lib/gitlab/ci/config/entry/reports.rb
lib/gitlab/ci/config/entry/reports.rb
+2
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
spec/lib/gitlab/ci/config/entry/reports_spec.rb
spec/lib/gitlab/ci/config/entry/reports_spec.rb
+1
-0
No files found.
ee/app/assets/javascripts/security_dashboard/store/constants.js
View file @
4eca74ec
...
...
@@ -14,6 +14,7 @@ export const REPORT_TYPES = {
dast
:
s__
(
'
ciReport|DAST
'
),
dependency_scanning
:
s__
(
'
ciReport|Dependency Scanning
'
),
sast
:
s__
(
'
ciReport|SAST
'
),
secret_detection
:
s__
(
'
ciReport|Secret Detection
'
),
};
export
const
DASHBOARD_TYPES
=
{
...
...
ee/changelogs/unreleased/show_secret_on_dashboard.yml
0 → 100644
View file @
4eca74ec
---
title
:
Show secret_detection in report types
merge_request
:
33682
author
:
type
:
added
lib/gitlab/ci/config/entry/reports.rb
View file @
4eca74ec
...
...
@@ -12,7 +12,7 @@ module Gitlab
include
::
Gitlab
::
Config
::
Entry
::
Attributable
ALLOWED_KEYS
=
%i[junit codequality sast dependency_scanning container_scanning
%i[junit codequality sast
secret_detection
dependency_scanning container_scanning
dast performance license_management license_scanning metrics lsif
dotenv cobertura terraform accessibility cluster_applications]
.
freeze
...
...
@@ -26,6 +26,7 @@ module Gitlab
validates
:junit
,
array_of_strings_or_string:
true
validates
:codequality
,
array_of_strings_or_string:
true
validates
:sast
,
array_of_strings_or_string:
true
validates
:secret_detection
,
array_of_strings_or_string:
true
validates
:dependency_scanning
,
array_of_strings_or_string:
true
validates
:container_scanning
,
array_of_strings_or_string:
true
validates
:dast
,
array_of_strings_or_string:
true
...
...
locale/gitlab.pot
View file @
4eca74ec
...
...
@@ -26102,6 +26102,9 @@ msgstr ""
msgid "ciReport|SAST"
msgstr ""
msgid "ciReport|Secret Detection"
msgstr ""
msgid "ciReport|Secret scanning"
msgstr ""
...
...
spec/lib/gitlab/ci/config/entry/reports_spec.rb
View file @
4eca74ec
...
...
@@ -37,6 +37,7 @@ describe Gitlab::Ci::Config::Entry::Reports do
:junit
|
'junit.xml'
:codequality
|
'gl-code-quality-report.json'
:sast
|
'gl-sast-report.json'
:secret_detection
|
'gl-secret-detection-report.json'
:dependency_scanning
|
'gl-dependency-scanning-report.json'
:container_scanning
|
'gl-container-scanning-report.json'
:dast
|
'gl-dast-report.json'
...
...
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