Skip to content

anees264/beagle-travis-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Beagle Security Plugin for Travis-CI

This plugin can be used to trigger beagle penetration testing from Travis-CI

Prerequisites

  • Obtain Application Token and Access Token from Beagle Dashboard
  • Add the environment variables "ACCESS_TOKEN" and "APPLICATION_TOKEN" to Travis CI.

Generate your Access Token From Beagle User Settings:

Settings -> Access token -> Generate your new personal access token

Generate user token

Generate your Application Token From Beagle

Home -> Applications -> Select your application -> Settings -> Application token

Get 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!

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 ->
  1. Login to Travis Dashboard
  2. Select your repo
  3. Go to repo settings Step 1
  4. Navigate to Environment Variables
  5. Add tokens, make sure you use environment variable names as follows:
    • For Access token -> ACCESS_TOKEN
    • For Application token -> APPLICATION_TOKEN
    • Final View Step 3
  6. Also make sure that "Display value in build log" is off
  7. Build the project!

Authors

  • Beagle Security

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%