CircleCI allows teams to rapidly build quality projects, at scale.
This workflow can be used to trigger beagle penetration testing from CircleCI
Creating a Pipeline
- Login to CircleCI
- Select your Project
- Configure your config.yml in .circleci folder as follows
- Add the following snippet to `jobs:` section
-
Add the beagle-trigger line to jobs:of
workflow:
section
Example:workflows:
version: x
workflow-name:
jobs:
- job 1
- job 2
- beagle-trigger
beagle-trigger:
docker:
- image: beaglesecurity/beagle-test-trigger-common:latest
steps:
- run:
command: trigger-test -
Add the environment variables ACCESS_TOKEN and APPLICATION_TOKEN to CircleCI project.
- Click on Mechanical Wheel Icon
- Navigate to Environment Variables and click
on Add Variable
Ensure the variable names are named as follows : ACCESS_TOKEN, APPLICATION_TOKEN
- Now Trigger your build and you can see beagle-trigger workflow running
Walkthrough