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
bd2da5a2
Commit
bd2da5a2
authored
Aug 21, 2020
by
Lindsay Kerr
Committed by
Kushal Pandya
Aug 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace Bootstrap Button & LoadingButton w/ GitLab UI GlButton in vulnerability_action_buttons.vue
parent
563e34f5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
31 deletions
+33
-31
changelogs/unreleased/229297-migrate-bootstrap-button-to-gitlab-ui-glbutton-in-ee-app-assets-ja.yml
...trap-button-to-gitlab-ui-glbutton-in-ee-app-assets-ja.yml
+5
-0
doc/user/application_security/security_dashboard/img/pipeline_security_dashboard_v13_2.png
...urity_dashboard/img/pipeline_security_dashboard_v13_2.png
+0
-0
doc/user/application_security/security_dashboard/img/pipeline_security_dashboard_v13_3.png
...urity_dashboard/img/pipeline_security_dashboard_v13_3.png
+0
-0
doc/user/application_security/security_dashboard/index.md
doc/user/application_security/security_dashboard/index.md
+1
-1
doc/user/project/import/gemnasium.md
doc/user/project/import/gemnasium.md
+1
-1
ee/app/assets/javascripts/security_dashboard/components/vulnerability_action_buttons.vue
...ity_dashboard/components/vulnerability_action_buttons.vue
+26
-29
No files found.
changelogs/unreleased/229297-migrate-bootstrap-button-to-gitlab-ui-glbutton-in-ee-app-assets-ja.yml
0 → 100644
View file @
bd2da5a2
---
title
:
GlButton migrations for pipeline security tab
merge_request
:
39651
author
:
type
:
performance
doc/user/application_security/security_dashboard/img/pipeline_security_dashboard_v13_2.png
deleted
100644 → 0
View file @
563e34f5
71.4 KB
doc/user/application_security/security_dashboard/img/pipeline_security_dashboard_v13_3.png
0 → 100644
View file @
bd2da5a2
50 KB
doc/user/application_security/security_dashboard/index.md
View file @
bd2da5a2
...
...
@@ -43,7 +43,7 @@ To use the instance, group, project, or pipeline security dashboard:
At the pipeline level, the Security section displays the vulnerabilities present in the branch of the project the pipeline was run against.
![
Pipeline Security Dashboard
](
img/pipeline_security_dashboard_v13_
2
.png
)
![
Pipeline Security Dashboard
](
img/pipeline_security_dashboard_v13_
3
.png
)
Visit the page for any pipeline that ran any of the
[
supported reports
](
#supported-reports
)
. To view
the pipeline's security findings, select the
**Security**
tab when viewing the pipeline.
...
...
doc/user/project/import/gemnasium.md
View file @
bd2da5a2
...
...
@@ -105,7 +105,7 @@ back to both GitLab and GitHub when completed.
1.
The result of the job will be visible directly from the pipeline view:
!
[
Security Dashboard
](
../../application_security/security_dashboard/img/pipeline_security_dashboard_v13_
2
.png
)
!
[
Security Dashboard
](
../../application_security/security_dashboard/img/pipeline_security_dashboard_v13_
3
.png
)
NOTE:
**Note:**
If you don't commit very often to your project, you may want to use
...
...
ee/app/assets/javascripts/security_dashboard/components/vulnerability_action_buttons.vue
View file @
bd2da5a2
<
script
>
import
{
mapActions
,
mapState
}
from
'
vuex
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
LoadingButton
from
'
~/vue_shared/components/loading_button.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
GlTooltipDirective
,
GlButton
}
from
'
@gitlab/ui
'
;
export
default
{
name
:
'
SecurityDashboardActionButtons
'
,
components
:
{
Icon
,
LoadingButton
,
GlButton
,
},
directives
:
{
GlTooltip
:
GlTooltipDirective
,
...
...
@@ -62,57 +59,57 @@ export default {
<
template
>
<div
class=
"btn-group"
>
<button
<
gl-
button
key=
"more-info"
v-gl-tooltip
:aria-label=
"s__('SecurityReports|More info')"
:title=
"s__('SecurityReports|More info')"
class=
"btn btn-inverted btn-info btn-secondary btn-border-color btn-icon js-more-info"
type=
"button"
class=
"js-more-info"
variant=
"info"
category=
"secondary"
icon=
"information-o"
@
click=
"openModal(
{ vulnerability })"
>
<icon
name=
"information-o"
/>
</button>
<loading-button
/>
<gl-button
v-if=
"canCreateIssue"
key=
"create-issue"
v-gl-tooltip
:aria-label=
"s__('SecurityReports|Create issue')"
:loading=
"isCreatingIssue"
:title=
"s__('SecurityReports|Create issue')"
container-class=
"btn btn-inverted btn-success btn-border-color js-create-issue"
type=
"button"
class=
"js-create-issue"
variant=
"success"
category=
"secondary"
icon=
"issue-new"
@
click=
"handleCreateIssue"
>
<icon
name=
"issue-new"
/>
</loading-button>
/>
<template
v-if=
"canDismissVulnerability"
>
<
loading
-button
<
gl
-button
v-if=
"isDismissed"
key=
"undo-dismiss"
v-gl-tooltip
:aria-label=
"s__('SecurityReports|Undo dismiss')"
:loading=
"isDismissingVulnerability"
:title=
"s__('SecurityReports|Undo dismiss')"
container-class=
"btn btn-inverted btn-warning btn-border-color js-undo-dismiss"
type=
"button"
class=
"js-undo-dismiss"
variant=
"warning"
category=
"secondary"
icon=
"redo"
@
click=
"handleUndoDismiss"
>
<icon
name=
"redo"
/>
</loading-button>
<loading-button
/>
<gl-button
v-else
key=
"dismiss-vulnerability"
v-gl-tooltip
:aria-label=
"s__('SecurityReports|Dismiss vulnerability')"
:loading=
"isDismissingVulnerability"
:title=
"s__('SecurityReports|Dismiss vulnerability')"
container-class=
"btn btn-inverted btn-warning btn-border-color js-dismiss-vulnerability"
type=
"button"
class=
"js-dismiss-vulnerability"
variant=
"warning"
category=
"secondary"
icon=
"cancel"
@
click=
"handleDismissVulnerability"
>
<icon
name=
"cancel"
/>
</loading-button>
/>
</
template
>
</div>
</template>
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