2020-10-30 17:08:52 -04:00
---
2020-11-17 10:09:28 -05:00
stage: Secure
group: Static Analysis
2020-11-26 01:09:20 -05:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-30 17:08:52 -04:00
---
2020-03-17 08:09:52 -04:00
# Secure Partner Integration - Onboarding Process
2020-03-22 23:09:21 -04:00
If you want to integrate your product with the [Secure Stage ](https://about.gitlab.com/direction/secure/ ),
2020-11-19 13:09:13 -05:00
this page describes the developer workflow GitLab intends for
2020-03-17 08:09:52 -04:00
our users to follow with regards to security results. These should be used as
guidelines so you can build an integration that fits with the workflow GitLab
users are already familiar with.
This page also provides resources for the technical work associated
2021-02-18 19:11:06 -05:00
with [onboarding as a partner ](https://about.gitlab.com/partners/technology-partners/integrate/ ).
2020-03-17 08:09:52 -04:00
The steps below are a high-level view of what needs to be done to complete an
integration as well as linking to more detailed resources for how to do so.
2020-06-24 17:08:46 -04:00
## Integration Tiers
2021-01-28 19:09:17 -05:00
The security offerings in GitLab are designed for GitLab Ultimate users, and the
2020-06-24 17:08:46 -04:00
[DevSecOps ](https://about.gitlab.com/handbook/use-cases/#4-devsecops-shift-left-security )
use case. All the features are in those tiers. This includes the APIs and standard reporting
framework needed to provide a consistent experience for users to easily bring their preferred
security tools into GitLab. We ask that our integration partners focus their work on those license
tiers so that we can provide the most value to our mutual customers.
2020-03-17 08:09:52 -04:00
## What is the GitLab Developer Workflow?
This workflow is how GitLab users interact with our product and expect it to
2020-11-19 13:09:13 -05:00
function. Understanding how users use GitLab today helps you choose the
2020-03-17 08:09:52 -04:00
best place to integrate your own product and its results into GitLab.
- Developers want to write code without using a new tool to consume results
or address feedback about the item they are working on. Staying inside a
single tool, GitLab, helps them to stay focused on finishing the code and
projects they are working on.
- Developers commit code to a Git branch. The developer creates a merge request (MR)
inside GitLab where these changes can be reviewed. The MR triggers a GitLab
pipeline to run associated jobs, including security checks, on the code.
- Pipeline jobs serve a variety of purposes. Jobs can do scanning for and have
implications for app security, corporate policy, or compliance. When complete,
the job reports back on its status and creates a
2020-09-28 02:09:56 -04:00
[job artifact ](../../ci/pipelines/job_artifacts.md ) as a result.
2020-09-07 11:09:04 -04:00
- The [Merge Request Security Widget ](../../user/project/merge_requests/testing_and_reports_in_merge_requests.md#security-reports )
2020-03-17 08:09:52 -04:00
displays the results of the pipeline's security checks and the developer can
review them. The developer can review both a summary and a detailed version
of the results.
2021-04-28 17:10:01 -04:00
- If certain policies (such as [merge request approvals ](../../user/project/merge_requests/approvals/index.md ))
2020-03-17 08:09:52 -04:00
are in place for a project, developers must resolve specific findings or get
an approval from a specific list of people.
2020-09-18 17:10:11 -04:00
- The [security dashboard ](../../user/application_security/security_dashboard/index.md )
2020-03-17 08:09:52 -04:00
also shows results which can developers can use to quickly see all the
vulnerabilities that need to be addressed in the code.
- When the developer reads the details about a vulnerability, they are
presented with additional information and choices on next steps:
1. Create Issue (Confirm finding): Creates a new issue to be prioritized.
1. Add Comment and Dismiss Vulnerability: When dismissing a finding, users
can comment to note items that they
have mitigated, that they accept the vulnerability, or that the
vulnerability is a false positive.
1. Auto-Remediation / Create Merge Request: A fix for the vulnerability can
be offered, allowing an easy solution that does not require extra effort
from users. This should be offered whenever possible.
1. Links: Vulnerabilities can link out external sites or sources for users
to get more data around the vulnerability.
## How to onboard
This section describes the steps you need to complete to onboard as a partner
2020-06-03 02:08:34 -04:00
and complete an integration with the Secure stage.
2020-03-17 08:09:52 -04:00
2021-03-25 11:09:35 -04:00
1. Read about our [partnerships ](https://about.gitlab.com/partners/technology-partners/integrate/ ).
2020-05-29 11:08:14 -04:00
1. [Create an issue ](https://gitlab.com/gitlab-com/alliances/alliances/-/issues/new?issuable_template=new_partner )
2020-03-17 08:09:52 -04:00
using our new partner issue template to begin the discussion.
1. Get a test account to begin developing your integration. You can
2021-03-25 11:09:35 -04:00
request a [GitLab.com Subscription Sandbox ](https://about.gitlab.com/partners/technology-partners/integrate/#gitlabcom-subscription-sandbox-request )
or an [EE Developer License ](https://about.gitlab.com/partners/technology-partners/integrate/#requesting-ultimate-dev-license-for-rd ).
2020-03-17 08:09:52 -04:00
1. Provide a [pipeline job ](../../development/pipelines.md )
template that users could integrate into their own GitLab pipelines.
1. Create a report artifact with your pipeline jobs.
1. Ensure your pipeline jobs create a report artifact that GitLab can process
to successfully display your own product's results with the rest of GitLab.
- See detailed [technical directions ](secure.md ) for this step.
2021-04-13 23:09:18 -04:00
- Read more about [job report artifacts ](../../ci/yaml/README.md#artifactsreports ).
2020-09-28 02:09:56 -04:00
- Read about [job artifacts ](../../ci/pipelines/job_artifacts.md ).
2020-03-17 08:09:52 -04:00
- Your report artifact must be in one of our currently supported formats.
For more information, see the [documentation on reports ](secure.md#report ).
2020-03-22 23:09:21 -04:00
- Documentation for [SAST reports ](../../user/application_security/sast/index.md#reports-json-format ).
- Documentation for [Dependency Scanning reports ](../../user/application_security/dependency_scanning/index.md#reports-json-format ).
- Documentation for [Container Scanning reports ](../../user/application_security/container_scanning/index.md#reports-json-format ).
2021-06-08 14:10:23 -04:00
- See this [example secure job definition that also defines the artifact created ](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/Container-Scanning.gitlab-ci.yml ).
2020-05-21 02:08:25 -04:00
- If you need a new kind of scan or report, [create an issue ](https://gitlab.com/gitlab-org/gitlab/-/issues/new# )
2020-03-22 23:09:21 -04:00
and add the label `devops::secure` .
2020-03-17 08:09:52 -04:00
- Once the job is completed, the data can be seen:
2020-09-07 11:09:04 -04:00
- In the [Merge Request Security Report ](../../user/project/merge_requests/testing_and_reports_in_merge_requests.md#security-reports ) ([MR Security Report data flow](https://gitlab.com/snippets/1910005#merge-request-view)).
2020-09-28 02:09:56 -04:00
- While [browsing a Job Artifact ](../../ci/pipelines/job_artifacts.md ).
2020-03-17 08:09:52 -04:00
- In the [Security Dashboard ](../../user/application_security/security_dashboard/index.md ) ([Dashboard data flow](https://gitlab.com/snippets/1910005#project-and-group-dashboards)).
1. Optional: Provide a way to interact with results as Vulnerabilities:
- 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.
2020-12-15 22:09:46 -05:00
- To automatically create issues without user interaction, use the [issue API ](../../api/issues.md ).
2020-03-17 08:09:52 -04:00
1. Optional: Provide auto-remediation steps:
2021-05-26 11:10:57 -04:00
- If you specified `remediations` in your artifact, it is proposed through our [remediation ](../../user/application_security/vulnerabilities/index.md#resolve-a-vulnerability )
2020-03-22 23:09:21 -04:00
interface.
2020-03-17 08:09:52 -04:00
1. Demo the integration to GitLab:
- After you have tested and are ready to demo your integration please
2021-03-25 11:09:35 -04:00
[reach out ](https://about.gitlab.com/partners/technology-partners/integrate/ ) to us. If you
2021-03-17 11:09:03 -04:00
skip this step you won't be able to do supported marketing.
2020-03-17 08:09:52 -04:00
1. Begin doing supported marketing of your GitLab integration.
2021-03-25 11:09:35 -04:00
- Work with our [partner team ](https://about.gitlab.com/partners/technology-partners/integrate/ )
2020-03-22 23:09:21 -04:00
to support your go-to-market as appropriate.
- Examples of supported marketing could include being listed on our [Security Partner page ](https://about.gitlab.com/partners/#security ),
doing an [Unfiltered blog post ](https://about.gitlab.com/handbook/marketing/blog/unfiltered/ ),
2020-11-19 13:09:13 -05:00
doing a co-branded webinar, or producing a co-branded white paper.
2020-03-17 08:09:52 -04:00
2021-01-26 16:09:04 -05:00
We have a < i class = "fa fa-youtube-play youtube" aria-hidden = "true" ></ i > [video playlist ](https://www.youtube.com/playlist?list=PL05JrBw4t0KpMqYxJiOLz-uBIr5w-yP4A )
2020-06-11 14:08:28 -04:00
that may be helpful as part of this process. This covers various topics related to integrating your
tool.
2020-03-17 08:09:52 -04:00
If you have any issues while working through your integration or the steps
above, please create an issue to discuss with us further.