Jenkins
Jenkins - an open source automation server which enables developers around the world to reliably build, test, and deploy their software. This plugin can be used to trigger beagle penetration testing from jenkins
Step 1: Installing Beagle Security in Jenkins
  • Login to Jenkins.
  • Navigate to Manage Jenkins -> Plugins
  • Click Check Now for latest plugin info.
  • Open Available plugins.
  • Search for Beagle Security.
  • Select Beagle Security and install.
  • Restart Jenkins if prompted (recommended).
Step 2: Setting up Application token and Access token in Jenkins

You have to setup APPLICATION TOKEN and ACCESS TOKEN in Jenkins in order to trigger the test

Setting up Application token
Application Token authenticates your project and enables automated penetration testing during the build process. Follow below step to set this up:
  1. Select project -> Configure
  2. In Build Steps, click Add build step -> Trigger Beagle Penetration Testing
  3. Provide the Application Token and Save.
Setting up Access token
Method 1: Global Access Token
Configuring an access token globally will make it the default token for the plugin. Follow these steps to set it up:
  1. Select Manage Jenkins -> Jenkins profile
  2. Select System configuration from here
  3. Go to System and select Beagle Security.
  4. Go to Set Access Token, setup the token and click save
Method 2: Project-level Access Token
You can also configure an access token specifically for a project. This token will override any global token for that project. To set it up:
  1. Select the project
  2. Select Configure -> Build steps
  3. Go to Add build steps -> Trigger Beagle Penetration Testing
  4. Go to Advanced -> Set Access Token
  5. Click Save