This is example of integration Wallarm FAST with the rails app using rspec, capybara and selenium.
Install docker and docker-compose
Get your UUID and Secret key: https://docs.wallarm.com/en/admin-en/api-creds-en.html#get-your-uuid
Create your FAST node here: https://my.wallarm.com/nodes
export TOKEN=<YOUR WALLARM NODE TOKEN>
sudo -E docker-compose build
# Run specs & record baselines
sudo -E docker-compose up -d fast selenium
sudo -E docker-compose run --use-aliases app-test bundle exec rspec spec/features/posts_spec.rb
sudo -E docker-compose down
# Run security specs based on recorded baselines
sudo -E docker-compose up -d app-test
sudo -E docker-compose run --rm -e CI_MODE=testing -e TEST_RUN_URI=http://app-test:3000 fast
sudo -E docker-compose down
Create a project and pass following ENV variables:
TOKEN <YOUR WALLARM NODE TOKEN>
Example builds: https://circleci.com/gh/wallarm/fast-examples-rails/
In previous versions could be vary key principles which are used to integrate FAST with ci/cd processes. Please read releases page.