Learn about our new features recently updated daily.
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
  1. Login to Bitbucket
  2. Select your Repo/Project
  3. Configure your bitbucket-pipelines.yml as follows
    • Add the following snippet to script: section
    • - pipe: beaglesecurity/beaglesecurity-test:1.1.0
        variables:
              ACCESS_TOKEN: $ACCESS_TOKEN
              APPLICATION_TOKEN: $APPLICATION_TOKEN
    • If your Repo/Project doesn't have any Pipelines Configured create new one as follows:
    • Select Pipelines from side Menu
      Navigate to "Choose a language template" -> Click on “Starter Pipeline”
      Configure the bitbucket-pipelines.yml as described above.
  4. 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
  5. Click on Commit
Walkthrough

Next

You have successfully triggered a test using BitBucket. Now you can try with other tools as well