This client supports AppSec Flow
The Anvil can be installed using Rubygems or Bundler.
gem install appsec_flow_anvil
Add it to your Gemfile
gem "appsec_flow_anvil"
and follow normal Bundler installation and execution procedures.
You will use an instance of Anvil::Client with your api code and environment (production, staging) as parameters.
client = Anvil::Client.new('my_api_code', 'staging')
And with the client instance you can create new vulnerabilities on AppSec Flow
client.vulnerabilities.create!(client_impact: 'impact_here', project_id: 9999, vulnerability_model_id: 10,
failure_type: 'others', others_protocol: 'http', others_host: 'www.mytest.com',
others_vector: 'my vector', others_steps: 'first step, second step',
evidences: ['/myfile/image.png'])
You can check the details on the accepted parameters here: Vulnerability parameters details