@@ -101,7 +101,7 @@ and complete an integration with the Secure stage.
...
@@ -101,7 +101,7 @@ and complete an integration with the Secure stage.
- Users can interact with the findings from your artifact within their workflow. They can dismiss the findings or accept them and create a backlog issue.
- Users can interact with the findings from your artifact within their workflow. They can dismiss the findings or accept them and create a backlog issue.
- To automatically create issues without user interaction, use the [issue API](../../api/issues.md).
- To automatically create issues without user interaction, use the [issue API](../../api/issues.md).
1. Optional: Provide auto-remediation steps:
1. Optional: Provide auto-remediation steps:
- If you specified `remediations` in your artifact, it is proposed through our [automatic remediation](../../user/application_security/index.md#apply-an-automatic-remediation-for-a-vulnerability)
- If you specified `remediations` in your artifact, it is proposed through our [automatic remediation](../../user/application_security/vulnerabilities/index.md#remediate-a-vulnerability-automatically)
interface.
interface.
1. Demo the integration to GitLab:
1. Demo the integration to GitLab:
- After you have tested and are ready to demo your integration please
- After you have tested and are ready to demo your integration please
@@ -59,14 +59,14 @@ mirroring the packages inside your own offline network.
...
@@ -59,14 +59,14 @@ mirroring the packages inside your own offline network.
### Interacting with the vulnerabilities
### Interacting with the vulnerabilities
Once a vulnerability is found, you can interact with it. Read more on how to
Once a vulnerability is found, you can interact with it. Read more on how to
[address the vulnerabilities](../index.md#addressing-vulnerabilities).
[address the vulnerabilities](../vulnerabilities/index.md).
Please note that in some cases the reported vulnerabilities provide metadata that can contain
Please note that in some cases the reported vulnerabilities provide metadata that can contain
external links exposed in the UI. These links might not be accessible within an offline environment.
external links exposed in the UI. These links might not be accessible within an offline environment.
### Automatic remediation for vulnerabilities
### Automatic remediation for vulnerabilities
The [automatic remediation for vulnerabilities](../index.md#apply-an-automatic-remediation-for-a-vulnerability) feature is available for offline Dependency Scanning and Container Scanning, but may not work
The [automatic remediation for vulnerabilities](../vulnerabilities/index.md#remediate-a-vulnerability-automatically) feature is available for offline Dependency Scanning and Container Scanning, but may not work
depending on your instance's configuration. We can only suggest solutions, which are generally more
depending on your instance's configuration. We can only suggest solutions, which are generally more
current versions that have been patched, when we are able to access up-to-date registry services
current versions that have been patched, when we are able to access up-to-date registry services
hosting the latest versions of that dependency or image.
hosting the latest versions of that dependency or image.
@@ -12,7 +12,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -12,7 +12,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
Each security vulnerability in a project's [Vulnerability Report](../vulnerability_report/index.md) has an individual page which includes:
Each security vulnerability in a project's [Vulnerability Report](../vulnerability_report/index.md) has an individual page which includes:
- Details of the vulnerability.
- Details of the vulnerability.
- The status of the vulnerability within the project.
- The status of the vulnerability in the project.
- Available actions for the vulnerability.
- Available actions for the vulnerability.
- Any issues related to the vulnerability.
- Any issues related to the vulnerability.
...
@@ -21,8 +21,10 @@ On the vulnerability's page, you can:
...
@@ -21,8 +21,10 @@ On the vulnerability's page, you can:
-[Change the vulnerability's status](#change-vulnerability-status).
-[Change the vulnerability's status](#change-vulnerability-status).
-[Create an issue](#create-an-issue-for-a-vulnerability).
-[Create an issue](#create-an-issue-for-a-vulnerability).
-[Link issues to the vulnerability](#link-gitlab-issues-to-the-vulnerability).
-[Link issues to the vulnerability](#link-gitlab-issues-to-the-vulnerability).
-[Automatically remediate the vulnerability](#automatically-remediate-the-vulnerability), if an
-[Remediate a vulnerability automatically](#remediate-a-vulnerability-automatically), if an
automatic solution is available.
automatic solution is available.
-[Remediate a vulnerability manually](#remediate-a-vulnerability-manually), if a solution is
available.
## Change vulnerability status
## Change vulnerability status
...
@@ -60,7 +62,7 @@ To create a GitLab issue for a vulnerability:
...
@@ -60,7 +62,7 @@ To create a GitLab issue for a vulnerability:
1. In GitLab, go to the vulnerability's page.
1. In GitLab, go to the vulnerability's page.
1. Select **Create issue**.
1. Select **Create issue**.
An issue is created in the project, prepopulated with information from the vulnerability report.
An issue is created in the project, pre-populated with information from the vulnerability report.
The issue is then opened so you can take further action.
The issue is then opened so you can take further action.
### Create a Jira issue for a vulnerability
### Create a Jira issue for a vulnerability
...
@@ -120,10 +122,59 @@ that the resolution of one issue would resolve multiple vulnerabilities.
...
@@ -120,10 +122,59 @@ that the resolution of one issue would resolve multiple vulnerabilities.
Linked issues are shown in the Vulnerability Report and the vulnerability's page.
Linked issues are shown in the Vulnerability Report and the vulnerability's page.
## Automatically remediate the vulnerability
## Link to an existing issue
You can fix some vulnerabilities by applying the solution that GitLab automatically
If you already have an open issue, you can link to it from the vulnerability.
generates for you. [Read more about the automatic remediation for vulnerabilities feature](../index.md#apply-an-automatic-remediation-for-a-vulnerability).
- The vulnerability page shows related issues, but the issue page doesn't show the vulnerability it's related to.
- An issue can only be related to one vulnerability at a time.
- Issues can be linked across groups and projects.
To link to an existing issue:
1. Open the vulnerability.
1.[Add a linked issue](../../project/issues/related_issues.md).
## Remediate a vulnerability automatically
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/5656) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 11.7.
Some vulnerabilities can be fixed by applying the solution that GitLab automatically generates.