Skip to content

Commit

Permalink
docs: update gitlab cloud docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed Jan 16, 2024
1 parent a19fb82 commit 26cb056
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/_data/examples/ci/gitlab/cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
bearer_cloud:
stage: bearer
image:
name: bearer/bearer
entrypoint: [""]
Expand Down
9 changes: 9 additions & 0 deletions docs/guides/bearer-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ Set up the [GitLab CI/CD configuration](/guides/gitlab), then adjust your settin

We recommend using [GitLab's CI/CD variables](https://docs.gitlab.com/ee/ci/variables/) to protect your token. In the example above, the variable is named `BEARER_TOKEN`.

#### Enhanced Integration

Once the above is configured and your first scan is complete, visit the integrations section to configure our direct GitLab integration. This gives developers the ability for ignore findings directly in the MR workflow, and for your Security team to review those in Bearer Cloud Dashboard. Setup is done per project with the following steps:

- Create an access token with the 'api' scope and 'maintainer' role. We recommend using a [project access token](https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html).
- Enter the details for your desired project.
- Behind the scenes we validate the token and automatically create and configure a webhook to capture MR events.
- Open a MR and see bearer findings directly in the comments!

### Local projects

Use the `--api-key` flag with the `scan` command:
Expand Down

0 comments on commit 26cb056

Please sign in to comment.