Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/application_security/security_dashboard/index.md')
-rw-r--r--doc/user/application_security/security_dashboard/index.md166
1 files changed, 61 insertions, 105 deletions
diff --git a/doc/user/application_security/security_dashboard/index.md b/doc/user/application_security/security_dashboard/index.md
index 53a6dfe6d0a..89c950f2473 100644
--- a/doc/user/application_security/security_dashboard/index.md
+++ b/doc/user/application_security/security_dashboard/index.md
@@ -7,64 +7,42 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# GitLab Security Dashboards and Security Center **(ULTIMATE ALL)**
-You can use Security Dashboards to view trends about vulnerabilities
-detected by [security scanners](../index.md#application-coverage).
-These trends are shown in projects, groups, and the Security Center.
+## Security Dashboards
-To use the Security Dashboards, you must:
+Security Dashboards are used to assess the security posture of your applications. GitLab provides
+you with a collection of metrics, ratings, and charts for the vulnerabilities detected by the [security scanners](../index.md#application-coverage) run on your project. The security dashboard provides data such as:
-- Configure at least one [security scanner](../index.md#application-coverage) in a project.
-- Configure jobs to use the [`reports` syntax](../../../ci/yaml/index.md#artifactsreports).
-- Use [GitLab Runner](https://docs.gitlab.com/runner/) 11.5 or later. If you use the
- shared runners on GitLab.com, you are using the correct version.
-- Have the [correct role](../../permissions.md) for the project or group.
+- Vulnerability trends over a 30, 60, or 90-day time-frame for all projects in a group
+- A letter grade rating for each project based on vulnerability severity
+- The total number of vulnerabilities detected within the last 365 days including their severity
+
+The data provided by the Security Dashboards can be used supply to insight on what decisions can be made to improve your security posture. For example, using the 365 day trend view, you can see on which days a significant number of vulnerabilities were introduced. Then you can examine the code changes performed on those particular days in order perform a root-cause analysis to create better policies for preventing the introduction of vulnerabilities in the future.
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
For an overview, see [Security Dashboard](https://www.youtube.com/watch?v=QHQHN4luNpc).
-## When Security Dashboards are updated
-
-The Security Dashboards show results of scans from the most recent completed pipeline on the
-[default branch](../../project/repository/branches/default.md).
-Dashboards are updated with the result of completed pipelines run on the default branch; they do not include vulnerabilities discovered in pipelines from other un-merged branches.
-
-If you use manual jobs, for example gate deployments, in the default branch's pipeline,
-the results of any scans are only updated when the job has been successfully run.
-If manual jobs are skipped regularly, you should to define the job as optional,
-using the [`allow_failure`](../../../ci/jobs/job_control.md#types-of-manual-jobs) attribute.
-
-To ensure regular security scans (even on infrequently developed projects),
-you should use [scan execution policies](../../../user/application_security/policies/scan-execution-policies.md).
-Alternatively, you can
-[configure a scheduled pipeline](../../../ci/pipelines/schedules.md).
+## Prerequisites
-## Reduce false negatives in dependency scans
+To view the Security Dashboards, the following is required:
-WARNING:
-False negatives occur when you resolve dependency versions during a scan, which differ from those
-resolved when your project built and released in a previous pipeline.
+- [Maintainer Role](../../permissions.md#roles) for the project or group.
+- At least one [security scanner](../index.md#application-coverage) configured within your project.
+- A successful security scan performed on the [default branch](../../project/repository/branches/default.md) of your project
-To reduce false negatives in [dependency scans](../../../user/application_security/dependency_scanning/index.md) in scheduled pipelines, ensure you:
-
-- Include a lock file in your project. A lock file lists all transient dependencies and tracks their versions.
- - Java projects can't have lock files.
- - Python projects can have lock files, but GitLab Secure tools don't support them.
-- Configure your project for [Continuous Delivery](../../../ci/introduction/index.md).
+**Note**:
+The Security Dashboards show results of scans from the most recent completed pipeline on the
+[default branch](../../project/repository/branches/default.md). Dashboards are updated with the result of completed pipelines run on the default branch; they do not include vulnerabilities discovered in pipelines from other un-merged branches.
-## View vulnerabilities over time for a project
+## Viewing the Security Dashboard
-> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235558) in GitLab 13.6.
-> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/285476) in GitLab 13.10, options to zoom in on a date range, and download the vulnerabilities chart.
-> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/285477) in GitLab 13.11, date range slider to visualize data between given dates.
+The Security Dashboard can be seen at the project, group, and the Security Center levels.
+Each dashboard provides a unique viewpoint of your security posture.
-The project Security Dashboard shows the total number of vulnerabilities
-over time, with up to 365 days of historical data. Data refresh begins daily at 01:15 UTC via a scheduled job.
-Each refresh captures a snapshot of open vulnerabilities. Data is not backported to prior days
-so vulnerabilities opened after the job has already run for the day cannot be reflected in the
-counts until the following day's refresh job.
-Project Security Dashboards show statistics for all vulnerabilities with a current status of `Needs triage` or `Confirmed` .
+### Project Security Dashboard
-To view total number of vulnerabilities over time:
+The Project Security Dashboard shows the total number of vulnerabilities detected over time,
+with up to 365 days of historical data for a given project. You can view the Project Security
+Dashboard:
1. On the left sidebar, select **Search or go to** and find your project.
1. Select **Secure > Security dashboard**.
@@ -75,70 +53,63 @@ To view total number of vulnerabilities over time:
across the chart.
- To reset to the original range, select **Remove Selection** (**{redo}**).
-### Download the vulnerabilities chart
+![Project Security Dashboard](img/project_security_dashboard.png)
-To download an SVG image of the vulnerabilities chart:
+#### Downloading the vulnerability chart
+
+You can download an image of the vulnerability chart from the Project Security Dashboard
+to use in documentation, presentations, and so on. To download the image of the vulnerability
+chart:
1. On the left sidebar, select **Search or go to** and find your project.
1. Select **Secure > Security dashboard**.
1. Select **Save chart as an image** (**{download}**).
-## View vulnerabilities over time for a group
-
-The group Security Dashboard gives an overview of vulnerabilities found in the default
-branches of projects in a group and its subgroups.
-
-To view vulnerabilities over time for a group:
-
-1. On the left sidebar, select **Search or go to** and find your group.
-1. Select **Security > Security dashboard**.
-1. Hover over the chart to get more details about vulnerabilities.
- - You can display the vulnerability trends over a 30, 60, or 90-day time frame (the default is 90 days).
- - To view aggregated data beyond a 90-day time frame, use the
- [VulnerabilitiesCountByDay GraphQL API](../../../api/graphql/reference/index.md#vulnerabilitiescountbyday).
- GitLab retains the data for 365 days.
-
-## View project security status for a group
-
-Use the group Security Dashboard to view the security status of projects.
-
-To view project security status for a group:
+You will then be prompted to download the image in SVG format.
-1. On the left sidebar, select **Search or go to** and find your group.
-1. Select **Secure > Security dashboard**.
-
-Each project is assigned a letter [grade](#project-vulnerability-grades) according to the highest-severity open vulnerability.
-Dismissed or resolved vulnerabilities are excluded. Each project can receive only one letter grade and appears only once
-in the Project security status report.
+### Group Security Dashboard
-To view vulnerabilities, go to the group's [vulnerability report](../vulnerability_report/index.md).
+The group Security Dashboard provides an overview of vulnerabilities found in the default
+branches of all projects in a group and its subgroups. The Group Security Dashboard
+supplies the following:
-### Project vulnerability grades
+- Vulnerability trends over a 30, 60, or 90-day time frame
+- A letter grade for each project in the group according to its highest-severity open vulnerability. The letter grades are assigned using the following criteria:
| Grade | Description |
-| --- | --- |
+| ----- | ----------- |
| **F** | One or more `critical` vulnerabilities |
| **D** | One or more `high` or `unknown` vulnerabilities |
| **C** | One or more `medium` vulnerabilities |
| **B** | One or more `low` vulnerabilities |
| **A** | Zero vulnerabilities |
-## Security Center
+To view group security dashboard:
-> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/3426) in GitLab 13.4.
+1. On the left sidebar, select **Search or go to** and find your group.
+1. Select **Security > Security dashboard**.
+1. Hover over the **Vulnerabilities over time** chart to get more details about vulnerabilities.
+ - You can display the vulnerability trends over a 30, 60, or 90-day time frame (the default is 90 days).
+ - To view aggregated data beyond a 90-day time frame, use the [VulnerabilitiesCountByDay GraphQL API](../../../api/graphql/reference/index.md#vulnerabilitiescountbyday). GitLab retains the data for 365 days.
-The Security Center is a personal space where you view vulnerabilities across all your projects. It
-shows the vulnerabilities present in the default branches of the projects.
+1. Select the arrows under the **Project security status** section to see the what projects fall under a particular letter-grade rating:
+ - You can see how many vulnerabilities of a particular severity are found in a project
+ - You can select a project's name to directly access its project security dashboard
-The Security Center includes:
+![Group Security Dashboard](img/group_security_dashboard.png)
-- The group Security Dashboard.
-- A [vulnerability report](../vulnerability_report/index.md).
-- A settings area to configure which projects to display.
+## Security Center
-![Security Center Dashboard with projects](img/security_center_dashboard_v15_10.png)
+> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/3426) in GitLab 13.4.
+
+The Security Center is a configurable personal space where you can view vulnerabilities across all the
+projects you belong to. The Security Center includes:
-### View the Security Center
+- The group Security Dashboard
+- A [vulnerability report](../vulnerability_report/index.md)
+- A settings area to configure which projects to display
+
+### Viewing the Security Center
To view the Security Center:
@@ -146,7 +117,9 @@ To view the Security Center:
1. Select **Your work**.
1. Select **Security > Security dashboard**.
-### Add projects to the Security Center
+The Security Center is blank by default. You must add a project which have been configured with at least one security scanner.
+
+### Adding Projects to the Security Center
To add projects to the Security Center:
@@ -157,26 +130,9 @@ To add projects to the Security Center:
1. Use the **Search your projects** text box to search for and select projects.
1. Select **Add projects**.
-After you add projects, the security dashboard and vulnerability report show the vulnerabilities
-found in those projects' default branches.
-
-You can add a maximum of 1,000 projects, however the **Project** filter in the **Vulnerability
-Report** is limited to 100 projects.
-
-<!-- ## Troubleshooting
-
-Include any troubleshooting steps that you can foresee. If you know beforehand what issues
-one might have when setting this up, or when something is changed, or on upgrading, it's
-important to describe those, too. Think of things that may go wrong and include them here.
-This is important to minimize requests for support, and to avoid doc comments with
-questions that you know someone might ask.
-
-Each scenario can be a third-level heading, for example `### Getting error message X`.
-If you have none to add when creating a doc, leave this section in place
-but commented out to help encourage others to add to it in the future. -->
+After you add projects, the security dashboard and vulnerability report show the vulnerabilities found in those projects' default branches. You can add a maximum of 1,000 projects, however the **Project** filter in the **Vulnerability Report** is limited to 100 projects.
## Related topics
-- [Address the vulnerabilities](../vulnerabilities/index.md)
- [Vulnerability reports](../vulnerability_report/index.md)
- [Vulnerability Page](../vulnerabilities/index.md)