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
8f4f2ff0
Commit
8f4f2ff0
authored
May 14, 2021
by
Savas Vedova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply code review suggestions
parent
373b481c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
ee/app/assets/javascripts/security_dashboard/components/pipeline_findings.vue
...ripts/security_dashboard/components/pipeline_findings.vue
+1
-3
ee/app/assets/javascripts/security_dashboard/components/vulnerability_list.vue
...ipts/security_dashboard/components/vulnerability_list.vue
+5
-7
ee/app/assets/javascripts/security_dashboard/components/vulnerability_report.vue
...ts/security_dashboard/components/vulnerability_report.vue
+3
-3
No files found.
ee/app/assets/javascripts/security_dashboard/components/pipeline_findings.vue
View file @
8f4f2ff0
...
...
@@ -61,9 +61,7 @@ export default {
id
:
finding
.
uuid
,
})),
result
({
data
})
{
if
(
data
.
project
)
{
this
.
pageInfo
=
preparePageInfo
(
data
.
project
.
pipeline
.
securityReportFindings
?.
pageInfo
);
}
this
.
pageInfo
=
preparePageInfo
(
data
.
project
?.
pipeline
?.
securityReportFindings
?.
pageInfo
);
},
error
()
{
this
.
errorLoadingFindings
=
true
;
...
...
ee/app/assets/javascripts/security_dashboard/components/vulnerability_list.vue
View file @
8f4f2ff0
...
...
@@ -116,6 +116,11 @@ export default {
},
fields
()
{
const
baseFields
=
[
{
key
:
'
checkbox
'
,
class
:
'
checkbox
'
,
skip
:
!
this
.
shouldShowSelection
,
},
{
key
:
'
detected
'
,
label
:
s__
(
'
Vulnerability|Detected
'
),
...
...
@@ -161,13 +166,6 @@ export default {
},
].
filter
((
f
)
=>
!
f
.
skip
);
if
(
this
.
shouldShowSelection
)
{
baseFields
.
unshift
({
key
:
'
checkbox
'
,
class
:
'
checkbox
'
,
});
}
// Apply gl-bg-white! to every header.
baseFields
.
forEach
((
field
)
=>
{
field
.
thClass
=
[
field
.
thClass
,
'
gl-bg-white!
'
];
// eslint-disable-line no-param-reassign
...
...
ee/app/assets/javascripts/security_dashboard/components/vulnerability_report.vue
View file @
8f4f2ff0
...
...
@@ -16,7 +16,7 @@ import DashboardNotConfiguredInstance from './empty_states/instance_dashboard_no
import
DashboardNotConfiguredProject
from
'
./empty_states/reports_not_configured.vue
'
;
import
GroupVulnerabilities
from
'
./first_class_group_security_dashboard_vulnerabilities.vue
'
;
import
InstanceVulnerabilities
from
'
./first_class_instance_security_dashboard_vulnerabilities.vue
'
;
import
Pipeline
Vulnerabilitie
s
from
'
./pipeline_findings.vue
'
;
import
Pipeline
Finding
s
from
'
./pipeline_findings.vue
'
;
import
ProjectPipelineStatus
from
'
./project_pipeline_status.vue
'
;
import
ProjectVulnerabilities
from
'
./project_vulnerabilities.vue
'
;
import
SurveyRequestBanner
from
'
./survey_request_banner.vue
'
;
...
...
@@ -29,7 +29,7 @@ export default {
GroupVulnerabilities
,
InstanceVulnerabilities
,
ProjectVulnerabilities
,
Pipeline
Vulnerabilitie
s
,
Pipeline
Finding
s
,
Filters
,
CsvExportButton
,
SurveyRequestBanner
,
...
...
@@ -163,7 +163,7 @@ export default {
<group-vulnerabilities
v-if=
"isGroup"
:filters=
"filters"
/>
<instance-vulnerabilities
v-else-if=
"isInstance"
:filters=
"filters"
/>
<project-vulnerabilities
v-else-if=
"isProject"
:filters=
"filters"
/>
<pipeline-
vulnerabilitie
s
v-else-if=
"isPipeline"
:filters=
"filters"
/>
<pipeline-
finding
s
v-else-if=
"isPipeline"
:filters=
"filters"
/>
</security-dashboard-layout>
</template>
</div>
...
...
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