To trigger Beagle penetration testing from Wercker
- Obtain Application Token and Access Token from Beagle Dashboard
- Add the Environment variables
ACCESS_TOKEN
andAPPLICATION_TOKEN
to Wercker Project.
Beagle is an intelligent and holistic platform to make your applications hack-proof. The platform provides continuous and automated Penetration Testing (under human supervision) for organizations, so that they can always stay on top of the cyber threats.
In short, Beagle finds out how deep your system can be penetrated. Know it before the hackers do!
- Beagle Security - Visit for more Details!
Settings -> Access token -> Generate your new personal access token
Home -> Applications -> Select your application -> Settings -> Application token
- Open your Wercker project
- Navigate to
Environment
- Add the environment variables
ACCESS_TOKEN
andAPPLICATION_TOKEN
, CheckProtected
(Recommended).
steps:
- beaglesecurity/[email protected]:
ACCESS_TOKEN: <string>
APPLICATION_TOKEN: <string>
- For
ACCESS_TOKEN
Replace<string>
with$ACCESS_TOKEN
- For
APPLICATION_TOKEN
Replace<string>
with$APPLICATION_TOKEN
- For Security Reasons it is always recommended to set tokens in your project environment. Never pass tokens as plaintext through steps!!
In order to use this step you've have to install curl
in your box
. If already installed skip this step.
- For installing
curl
, for debian basedbox
add the following snippet to yourwercker.yml
file'ssteps:
ofyaml-pipeline-name:
section.
- install-packeges:
packages: curl
- An example will look like this, my
yaml-pipeline-name
isbuild
box: ubuntu
build:
steps:
- install-packages:
packages: curl
box: ubuntu
build:
steps:
- install-packages:
packages: curl
- beaglesecurity/beagle-security:
ACCESS_TOKEN: $ACCESS_TOKEN
APPLICATION_TOKEN: $APPLICATION_TOKEN
If you want to create a new pipline for beagle test trigger. Add the following snippet to your wercker.yml
file.
beagle-trigger:
steps:
- install-packages:
packages: curl
- beaglesecurity/beagle-security:
ACCESS_TOKEN: $ACCESS_TOKEN
APPLICATION_TOKEN: $APPLICATION_TOKEN
- Create a new pipline from
workflow
. configure as follows - You can add this to your work flow, or your can trigger this after your build from
Actions
- Beagle Security
This project is licensed under the MIT License - see the LICENSE.md file for details