Drone is a relatively new continuous delivery platform built on docker. It can easily be integrated with various services such as GitHub, GitLab, or Bitbucket.
Since it is built on docker RIPS can be quickly integrated using our rips-cli docker container.
This article refers to Drone version 0.8.
In the most straightforward setup RIPS can be used as one of the build steps inside your
.drone.yml file. The following example showcases this setup that breaks the build if the analysis detects more than one security vulnerability:
RIPS_BASE_URI is the URI of the RIPS API that should be used for scanning. Our SaaS API is available at https://api-3.ripstech.com. This API also works for trial accounts. For On-premises, make sure to also add the port of your API, for example: http://192.168.201.1:8080
You will find your token here: https://your-drone-instance/account/token
You can test your build step by using the docker image mentioned in the above configuration (it will scan the directory you are currently in):
Since it is the rips-cli that is running in the docker container it is best to consult the rips-cli documentation to find out more commands and configuration options.