GitLab is a web-based DevOps lifecycle tool that provides a Git-repository manager providing
wiki, issue-tracking and CI/CD pipeline features, using an open-source license.This pipeline
can be used to trigger beagle penetration testing from GitLab
Creating Pipeline
- Login to GitLab
- Select your Project
- Configure your
.gitlab-ci.yml
as follows- Add the following snippet
beagle-trigger :
image: beaglesecurity/beagle-gitlab-pipeline
script:
trigger-test
- Add the following snippet
- Add the environment variables ACCESS_TOKEN and APPLICATION_TOKEN to GitLab project.
- Navigate to Settings -> CI/CD -> Variables
- Add Variables, ensure the variable names are named as follows : ACCESS_TOKEN, APPLICATION_TOKEN. Make sure that Variables are State is Protected and Masked(Recommended)
- Click Save Variables
- Now Trigger your build and you can see beagle-trigger running in CI/CD -> Jobs
Walkthrough