Bitbucket is a web-based version control repository hosting service owned by Atlassian,
for source code and development projects that use either Mercurial or Git revision control
systems. This plugin can be used to trigger beagle penetration testing from Bitbucket
Creating a Pipeline
- Login to Bitbucket
- Select your Repo/Project
- Configure your
bitbucket-pipelines.yml
as follows- Add the following snippet to
script:
section - If your Repo/Project doesn't have any Pipelines Configured create new one as follows:
- pipe: beaglesecurity/beaglesecurity-test:1.1.0
variables:
ACCESS_TOKEN: $ACCESS_TOKEN
APPLICATION_TOKEN: $APPLICATION_TOKEN
Select Pipelines from side MenuNavigate to "Choose a language template" -> Click on “Starter Pipeline”Configure thebitbucket-pipelines.yml
as described above. - Add the following snippet to
- Add the repository variables ACCESS_TOKEN and APPLICATION_TOKEN to Bitbucket
Pipelines
- click on Mechanical Wheel Icon -> Add Name:ACCESS_TOKEN and Value: access token generated from Beagle Dashboard. Repeat same for APPLICATION_TOKEN, Check "Secured" for keeping the tokens as secret
- Click on Commit
Walkthrough