Beagle Security Plugin for Travis-CI
This plugin can be used to trigger beagle penetration testing from Travis-CI
Prerequisites
- Obtain Application Token and User Token from Beagle Dashboard
- Add the environment variables "USER_TOKEN" and "APPLICATION_TOKEN" to Travis CI.
Generate your User Token From Beagle User Settings:
Settings -> Access token -> Generate your new personal access token
Home -> Applications -> Select your application -> Settings -> Application token
What is Beagle?
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!
Deployment
Add generic to the language section of your .travis.yml file
language: generic
Add the snippet to script section of your .travis.yml file
script:
curl --silent -L https://git.io/fjXpA | bash -s
Creating Environment Variables
In-order to trigger beagle penetration testing you need to create two encrypted variables in Travis environment.
Follow the steps ->
- Login to Travis Dashboard
- Select your repo
- Go to repo settings
- Navigate to Environment Variables
- Add tokens, make sure you use environment variable names as follows:
- Also make sure that "Display value in build log" is off
- Build the project!
Authors
- Beagle Security
License
This project is licensed under the MIT License - see the LICENSE.md file for details