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
727520d2
Commit
727520d2
authored
Jul 23, 2021
by
Brandon Labuschagne
Committed by
Miguel Rincon
Jul 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DevOps Adoption - Add Dependency Scanning to the adoption table
parent
10e2c372
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
7 deletions
+31
-7
doc/user/admin_area/analytics/dev_ops_report.md
doc/user/admin_area/analytics/dev_ops_report.md
+3
-1
doc/user/group/devops_adoption/index.md
doc/user/group/devops_adoption/index.md
+3
-1
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/components/devops_adoption_table.vue
...port/devops_adoption/components/devops_adoption_table.vue
+4
-1
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/constants.js
...ipts/analytics/devops_report/devops_adoption/constants.js
+8
-3
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/graphql/fragments/latest_snapshot.fragment.graphql
...option/graphql/fragments/latest_snapshot.fragment.graphql
+1
-0
ee/spec/frontend/analytics/devops_report/devops_adoption/mock_data.js
...tend/analytics/devops_report/devops_adoption/mock_data.js
+6
-1
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
doc/user/admin_area/analytics/dev_ops_report.md
View file @
727520d2
...
@@ -47,6 +47,7 @@ feature is available.
...
@@ -47,6 +47,7 @@ feature is available.
> - The Overview tab [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330401) in GitLab 14.1.
> - The Overview tab [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330401) in GitLab 14.1.
> - DAST and SAST metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328033) in GitLab 14.1.
> - DAST and SAST metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328033) in GitLab 14.1.
> - Fuzz Testing metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/330398) in GitLab 14.2.
> - Fuzz Testing metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/330398) in GitLab 14.2.
> - Dependency Scanning metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328034) in GitLab 14.2.
DevOps Adoption shows you which groups in your organization are using the most essential features of GitLab:
DevOps Adoption shows you which groups in your organization are using the most essential features of GitLab:
...
@@ -57,8 +58,9 @@ DevOps Adoption shows you which groups in your organization are using the most e
...
@@ -57,8 +58,9 @@ DevOps Adoption shows you which groups in your organization are using the most e
-
Merge requests
-
Merge requests
-
Sec
-
Sec
-
DAST
-
DAST
-
SAST
-
Dependency Scanning
-
Fuzz Testing
-
Fuzz Testing
-
SAST
-
Ops
-
Ops
-
Deployments
-
Deployments
-
Pipelines
-
Pipelines
...
...
doc/user/group/devops_adoption/index.md
View file @
727520d2
...
@@ -11,6 +11,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -11,6 +11,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
> - The Overview tab [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330401) in GitLab 14.1.
> - The Overview tab [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330401) in GitLab 14.1.
> - DAST and SAST metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328033) in GitLab 14.1.
> - DAST and SAST metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328033) in GitLab 14.1.
> - Fuzz Testing metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/330398) in GitLab 14.2.
> - Fuzz Testing metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/330398) in GitLab 14.2.
> - Dependency Scanning metrics [added](https://gitlab.com/gitlab-org/gitlab/-/issues/328034) in GitLab 14.2.
Prerequisites:
Prerequisites:
...
@@ -27,8 +28,9 @@ Group DevOps Adoption shows you how individual groups and sub-groups within your
...
@@ -27,8 +28,9 @@ Group DevOps Adoption shows you how individual groups and sub-groups within your
-
Merge requests
-
Merge requests
-
Sec
-
Sec
-
DAST
-
DAST
-
SAST
-
Dependency Scanning
-
Fuzz Testing
-
Fuzz Testing
-
SAST
-
Ops
-
Ops
-
Deployments
-
Deployments
-
Pipelines
-
Pipelines
...
...
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/components/devops_adoption_table.vue
View file @
727520d2
...
@@ -40,8 +40,10 @@ const formatter = (value, key, item) => {
...
@@ -40,8 +40,10 @@ const formatter = (value, key, item) => {
return
0
;
return
0
;
};
};
const
thClass
=
[
'
gl-bg-white!
'
,
'
gl-text-gray-400
'
];
const
fieldOptions
=
{
const
fieldOptions
=
{
thClass
:
'
gl-bg-white! gl-text-gray-400
'
,
thClass
,
thAttr
:
{
'
data-testid
'
:
TABLE_TEST_IDS_HEADERS
},
thAttr
:
{
'
data-testid
'
:
TABLE_TEST_IDS_HEADERS
},
formatter
,
formatter
,
sortable
:
true
,
sortable
:
true
,
...
@@ -105,6 +107,7 @@ export default {
...
@@ -105,6 +107,7 @@ export default {
key
:
'
name
'
,
key
:
'
name
'
,
label
:
I18N_GROUP_COL_LABEL
,
label
:
I18N_GROUP_COL_LABEL
,
...
fieldOptions
,
...
fieldOptions
,
thClass
:
[
'
gl-w-grid-size-30
'
,
...
thClass
],
},
},
...
this
.
cols
.
map
((
item
)
=>
({
...
this
.
cols
.
map
((
item
)
=>
({
...
item
,
...
item
,
...
...
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/constants.js
View file @
727520d2
...
@@ -122,15 +122,20 @@ export const DEVOPS_ADOPTION_TABLE_CONFIGURATION = [
...
@@ -122,15 +122,20 @@ export const DEVOPS_ADOPTION_TABLE_CONFIGURATION = [
tooltip
:
s__
(
'
DevopsAdoption|DAST enabled for at least one project
'
),
tooltip
:
s__
(
'
DevopsAdoption|DAST enabled for at least one project
'
),
},
},
{
{
key
:
'
sast
EnabledCount
'
,
key
:
'
dependencyScanning
EnabledCount
'
,
label
:
s__
(
'
DevopsAdoption|
SAST
'
),
label
:
s__
(
'
DevopsAdoption|
Dependency Scanning
'
),
tooltip
:
s__
(
'
DevopsAdoption|
SAST
enabled for at least one project
'
),
tooltip
:
s__
(
'
DevopsAdoption|
Dependency Scanning
enabled for at least one project
'
),
},
},
{
{
key
:
'
coverageFuzzingEnabledCount
'
,
key
:
'
coverageFuzzingEnabledCount
'
,
label
:
s__
(
'
DevopsAdoption|Fuzz Testing
'
),
label
:
s__
(
'
DevopsAdoption|Fuzz Testing
'
),
tooltip
:
s__
(
'
DevopsAdoption|Fuzz Testing enabled for at least one project
'
),
tooltip
:
s__
(
'
DevopsAdoption|Fuzz Testing enabled for at least one project
'
),
},
},
{
key
:
'
sastEnabledCount
'
,
label
:
s__
(
'
DevopsAdoption|SAST
'
),
tooltip
:
s__
(
'
DevopsAdoption|SAST enabled for at least one project
'
),
},
],
],
},
},
{
{
...
...
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/graphql/fragments/latest_snapshot.fragment.graphql
View file @
727520d2
...
@@ -10,4 +10,5 @@ fragment LatestSnapshot on DevopsAdoptionSnapshot {
...
@@ -10,4 +10,5 @@ fragment LatestSnapshot on DevopsAdoptionSnapshot {
sastEnabledCount
sastEnabledCount
dastEnabledCount
dastEnabledCount
coverageFuzzingEnabledCount
coverageFuzzingEnabledCount
dependencyScanningEnabledCount
}
}
ee/spec/frontend/analytics/devops_report/devops_adoption/mock_data.js
View file @
727520d2
...
@@ -44,6 +44,7 @@ export const devopsAdoptionNamespaceData = {
...
@@ -44,6 +44,7 @@ export const devopsAdoptionNamespaceData = {
sastEnabledCount
:
0
,
sastEnabledCount
:
0
,
dastEnabledCount
:
0
,
dastEnabledCount
:
0
,
coverageFuzzingEnabledCount
:
0
,
coverageFuzzingEnabledCount
:
0
,
dependencyScanningEnabledCount
:
0
,
recordedAt
:
'
2020-10-31T23:59:59Z
'
,
recordedAt
:
'
2020-10-31T23:59:59Z
'
,
__typename
:
'
latestSnapshot
'
,
__typename
:
'
latestSnapshot
'
,
},
},
...
@@ -127,12 +128,16 @@ export const overallAdoptionData = {
...
@@ -127,12 +128,16 @@ export const overallAdoptionData = {
},
},
{
{
adopted
:
false
,
adopted
:
false
,
title
:
'
SAST
'
,
title
:
'
Dependency Scanning
'
,
},
},
{
{
adopted
:
false
,
adopted
:
false
,
title
:
'
Fuzz Testing
'
,
title
:
'
Fuzz Testing
'
,
},
},
{
adopted
:
false
,
title
:
'
SAST
'
,
},
{
{
adopted
:
false
,
adopted
:
false
,
title
:
'
Deploys
'
,
title
:
'
Deploys
'
,
...
...
locale/gitlab.pot
View file @
727520d2
...
@@ -11267,6 +11267,12 @@ msgstr ""
...
@@ -11267,6 +11267,12 @@ msgstr ""
msgid "DevopsAdoption|DAST enabled for at least one project"
msgid "DevopsAdoption|DAST enabled for at least one project"
msgstr ""
msgstr ""
msgid "DevopsAdoption|Dependency Scanning"
msgstr ""
msgid "DevopsAdoption|Dependency Scanning enabled for at least one project"
msgstr ""
msgid "DevopsAdoption|Deploys"
msgid "DevopsAdoption|Deploys"
msgstr ""
msgstr ""
...
...
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