appsec_flow_anvil 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +2 -7
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -70
- data/README.md +0 -41
- data/anvil.gemspec +0 -22
- data/appsec_flow_anvil-0.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ee8c3cf8f38a733a3d871aa66ff16b9026157b
|
4
|
+
data.tar.gz: 4a77fb08f186a9f2179ab4948b91eff676967de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18a36e80e5229187d3d3deedcc28238789cfafc21b25f05920f08f7bd69c51ea56ef5cb563b627e6ff5cf253be2461dac2a815742d674123981cc34ee1f067e
|
7
|
+
data.tar.gz: 0f3be3b5e399dd43b020a80c02cd9f3e4446d084fdbd96752604f4eb29d6ed0252d80ce39581e7884c855e6d6ca3fd9e5ecf4d4a3c129233ab200e5697d7e7e8
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsec_flow_anvil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anezio Campos
|
@@ -58,11 +58,6 @@ executables: []
|
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
|
-
- Gemfile
|
62
|
-
- Gemfile.lock
|
63
|
-
- README.md
|
64
|
-
- anvil.gemspec
|
65
|
-
- appsec_flow_anvil-0.0.1.gem
|
66
61
|
- lib/anvil.rb
|
67
62
|
- lib/anvil/client.rb
|
68
63
|
- lib/anvil/vulnerability.rb
|
@@ -79,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
74
|
requirements:
|
80
75
|
- - ">="
|
81
76
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2
|
77
|
+
version: '2'
|
83
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
79
|
requirements:
|
85
80
|
- - ">="
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
binding.repl (3.0.0)
|
5
|
-
cd (1.0.1)
|
6
|
-
clipboard (1.1.2)
|
7
|
-
code (0.9.2)
|
8
|
-
coderay (~> 1.1)
|
9
|
-
method_source (~> 0.9)
|
10
|
-
coderay (1.1.2)
|
11
|
-
debugging (1.1.1)
|
12
|
-
binding.repl (~> 3.0)
|
13
|
-
paint (>= 0.9, < 3.0)
|
14
|
-
every_day_irb (2.0.0)
|
15
|
-
cd (~> 1.0)
|
16
|
-
fancy_irb (1.1.0)
|
17
|
-
paint (>= 0.9, < 3.0)
|
18
|
-
unicode-display_width (~> 1.1)
|
19
|
-
faraday (0.13.1)
|
20
|
-
multipart-post (>= 1.2, < 3)
|
21
|
-
ffi (1.9.25)
|
22
|
-
hirb (0.7.3)
|
23
|
-
instance (0.2.0)
|
24
|
-
interactive_editor (0.0.11)
|
25
|
-
spoon (>= 0.0.1)
|
26
|
-
irbtools (2.2.1)
|
27
|
-
binding.repl (~> 3.0)
|
28
|
-
clipboard (~> 1.1)
|
29
|
-
code (~> 0.9)
|
30
|
-
coderay (~> 1.1)
|
31
|
-
debugging (~> 1.1)
|
32
|
-
every_day_irb (~> 2.0)
|
33
|
-
fancy_irb (~> 1.1)
|
34
|
-
hirb (~> 0.7, >= 0.7.3)
|
35
|
-
instance (~> 0.2)
|
36
|
-
interactive_editor (~> 0.0, >= 0.0.10)
|
37
|
-
method_locator (~> 0.0, >= 0.0.4)
|
38
|
-
methodfinder (~> 2.0)
|
39
|
-
ori (~> 0.1.0)
|
40
|
-
os
|
41
|
-
paint (>= 0.9, < 3.0)
|
42
|
-
ruby_engine (~> 1.0)
|
43
|
-
ruby_info (~> 1.0)
|
44
|
-
ruby_version (~> 1.0)
|
45
|
-
wirb (~> 2.0)
|
46
|
-
method_locator (0.0.4)
|
47
|
-
method_source (0.9.0)
|
48
|
-
methodfinder (2.2.1)
|
49
|
-
multipart-post (2.0.0)
|
50
|
-
ori (0.1.0)
|
51
|
-
os (1.0.0)
|
52
|
-
paint (2.0.1)
|
53
|
-
ruby_engine (1.0.1)
|
54
|
-
ruby_info (1.0.1)
|
55
|
-
ruby_version (1.0.1)
|
56
|
-
spoon (0.0.6)
|
57
|
-
ffi
|
58
|
-
unicode-display_width (1.4.0)
|
59
|
-
wirb (2.1.2)
|
60
|
-
paint (>= 0.9, < 3.0)
|
61
|
-
|
62
|
-
PLATFORMS
|
63
|
-
ruby
|
64
|
-
|
65
|
-
DEPENDENCIES
|
66
|
-
faraday
|
67
|
-
irbtools
|
68
|
-
|
69
|
-
BUNDLED WITH
|
70
|
-
1.16.0
|
data/README.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# Anvil
|
2
|
-
|
3
|
-
## API version support
|
4
|
-
|
5
|
-
This client supports AppSec Flow
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
The Anvil can be installed using Rubygems or Bundler.
|
10
|
-
|
11
|
-
### Rubygems
|
12
|
-
|
13
|
-
```sh
|
14
|
-
gem install appsec_flow_anvil
|
15
|
-
```
|
16
|
-
|
17
|
-
### Bundler
|
18
|
-
|
19
|
-
Add it to your Gemfile
|
20
|
-
|
21
|
-
gem "appsec_flow_anvil"
|
22
|
-
|
23
|
-
and follow normal [Bundler](http://gembundler.com/) installation and execution procedures.
|
24
|
-
|
25
|
-
## Usage
|
26
|
-
|
27
|
-
You will use an instance of Anvil::Client with your api code and environment (production, staging) as parameters.
|
28
|
-
|
29
|
-
```ruby
|
30
|
-
client = Anvil::Client.new('my_api_code', 'staging')
|
31
|
-
```
|
32
|
-
|
33
|
-
And with the client instance you can create new vulnerabilities on AppSec Flow
|
34
|
-
|
35
|
-
```ruby
|
36
|
-
client.vulnerabilities.create!(client_impact: 'impact_here', project_id: 9999, vulnerability_model_id: 10,
|
37
|
-
failure_type: 'others', others_protocol: 'http', others_host: 'www.mytest.com',
|
38
|
-
others_vector: 'my vector', others_steps: 'first step, second step',
|
39
|
-
evidences: ['/myfile/image.png'])
|
40
|
-
```
|
41
|
-
You can check the details on the accepted parameters here: [Vulnerability parameters details](https://github.com/aneziocampos/anvil/wiki/Vulnerability-Parameters)
|
data/anvil.gemspec
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = 'appsec_flow_anvil'
|
6
|
-
s.version = '0.0.2'
|
7
|
-
s.date = '2017-11-19'
|
8
|
-
s.summary = 'AppSec Flow REST API Client'
|
9
|
-
s.description = 'Ruby wrapper for the REST API for Conviso Armature'
|
10
|
-
s.authors = ['Anezio Campos']
|
11
|
-
s.email = 'newdevas@gmail.com'
|
12
|
-
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
13
|
-
s.homepage = 'http://app.conviso.com.br'
|
14
|
-
s.license = 'MIT'
|
15
|
-
s.required_ruby_version = '>= 2.4.2'
|
16
|
-
s.bindir = 'exe'
|
17
|
-
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
-
s.require_paths = ['lib']
|
19
|
-
s.add_development_dependency 'bundler', '~> 1.8'
|
20
|
-
s.add_development_dependency 'rake', '~> 10.0'
|
21
|
-
s.add_development_dependency 'rspec'
|
22
|
-
end
|
data/appsec_flow_anvil-0.0.1.gem
DELETED
Binary file
|