otx_ruby 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/circle.yml +1 -1
  3. data/lib/otx_ruby/activity.rb +90 -0
  4. data/lib/otx_ruby/base.rb +42 -2
  5. data/lib/otx_ruby/correlation_rule.rb +13 -0
  6. data/lib/otx_ruby/cve.rb +22 -0
  7. data/lib/otx_ruby/domain.rb +90 -0
  8. data/lib/otx_ruby/events.rb +28 -4
  9. data/lib/otx_ruby/export.rb +103 -0
  10. data/lib/otx_ruby/file.rb +23 -0
  11. data/lib/otx_ruby/hostname.rb +95 -0
  12. data/lib/otx_ruby/ip.rb +105 -0
  13. data/lib/otx_ruby/nids.rb +13 -0
  14. data/lib/otx_ruby/pulses.rb +150 -0
  15. data/lib/otx_ruby/subscribed.rb +19 -4
  16. data/lib/otx_ruby/types/author.rb +8 -0
  17. data/lib/otx_ruby/types/base_indicator.rb +8 -0
  18. data/lib/otx_ruby/types/correlation_rule.rb +21 -0
  19. data/lib/otx_ruby/types/cve.rb +36 -0
  20. data/lib/otx_ruby/types/file_analysis.rb +6 -0
  21. data/lib/otx_ruby/types/indicator_type.rb +6 -0
  22. data/lib/otx_ruby/types/indicator_type_counts.rb +8 -0
  23. data/lib/otx_ruby/types/ip/dns.rb +8 -0
  24. data/lib/otx_ruby/types/ip/general.rb +24 -0
  25. data/lib/otx_ruby/types/ip/geo.rb +8 -0
  26. data/lib/otx_ruby/types/ip/http_scan.rb +8 -0
  27. data/lib/otx_ruby/types/ip/malware.rb +21 -0
  28. data/lib/otx_ruby/types/{ip_reputation.rb → ip/reputation.rb} +0 -0
  29. data/lib/otx_ruby/types/ip/url.rb +8 -0
  30. data/lib/otx_ruby/types/ip/whois.rb +8 -0
  31. data/lib/otx_ruby/types/observation.rb +8 -0
  32. data/lib/otx_ruby/types/pulse.rb +14 -3
  33. data/lib/otx_ruby/types/pulse_info.rb +24 -0
  34. data/lib/otx_ruby/types/reference.rb +8 -0
  35. data/lib/otx_ruby/types/user.rb +21 -0
  36. data/lib/otx_ruby/url.rb +35 -0
  37. data/lib/otx_ruby/users.rb +97 -0
  38. data/lib/otx_ruby/version.rb +1 -1
  39. data/lib/otx_ruby.rb +32 -1
  40. metadata +33 -5
data/lib/otx_ruby.rb CHANGED
@@ -7,12 +7,43 @@ require "otx_ruby/subscribed"
7
7
  require "otx_ruby/events"
8
8
  require "otx_ruby/pulses"
9
9
  require "otx_ruby/reputation"
10
+ require "otx_ruby/cve"
11
+ require "otx_ruby/users"
12
+ require "otx_ruby/activity"
13
+ require "otx_ruby/ip"
14
+ require "otx_ruby/domain"
15
+ require "otx_ruby/hostname"
16
+ require "otx_ruby/file"
17
+ require "otx_ruby/url"
18
+ require "otx_ruby/nids"
19
+ require "otx_ruby/correlation_rule"
20
+ require "otx_ruby/export"
21
+
10
22
  require "otx_ruby/types/pulse"
23
+ require "otx_ruby/types/observation"
24
+ require "otx_ruby/types/author"
25
+ require "otx_ruby/types/indicator_type_counts"
11
26
  require "otx_ruby/types/event"
12
27
  require "otx_ruby/types/indicators"
13
- require "otx_ruby/types/ip_reputation"
14
28
  require "otx_ruby/types/activity"
15
29
  require "otx_ruby/types/data"
30
+ require "otx_ruby/types/cve"
31
+ require "otx_ruby/types/reference"
32
+ require "otx_ruby/types/base_indicator"
33
+ require "otx_ruby/types/pulse_info"
34
+ require "otx_ruby/types/user"
35
+ require "otx_ruby/types/indicator_type"
36
+ require "otx_ruby/types/file_analysis"
37
+ require "otx_ruby/types/correlation_rule"
38
+
39
+ require "otx_ruby/types/ip/general"
40
+ require "otx_ruby/types/ip/reputation"
41
+ require "otx_ruby/types/ip/geo"
42
+ require "otx_ruby/types/ip/malware"
43
+ require "otx_ruby/types/ip/url"
44
+ require "otx_ruby/types/ip/dns"
45
+ require "otx_ruby/types/ip/http_scan"
46
+ require "otx_ruby/types/ip/whois"
16
47
 
17
48
  #
18
49
  # Base AlienVault OTX Module
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: otx_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Kapp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -124,17 +124,46 @@ files:
124
124
  - bin/setup
125
125
  - circle.yml
126
126
  - lib/otx_ruby.rb
127
+ - lib/otx_ruby/activity.rb
127
128
  - lib/otx_ruby/base.rb
129
+ - lib/otx_ruby/correlation_rule.rb
130
+ - lib/otx_ruby/cve.rb
131
+ - lib/otx_ruby/domain.rb
128
132
  - lib/otx_ruby/events.rb
133
+ - lib/otx_ruby/export.rb
134
+ - lib/otx_ruby/file.rb
135
+ - lib/otx_ruby/hostname.rb
136
+ - lib/otx_ruby/ip.rb
137
+ - lib/otx_ruby/nids.rb
129
138
  - lib/otx_ruby/pulses.rb
130
139
  - lib/otx_ruby/reputation.rb
131
140
  - lib/otx_ruby/subscribed.rb
132
141
  - lib/otx_ruby/types/activity.rb
142
+ - lib/otx_ruby/types/author.rb
143
+ - lib/otx_ruby/types/base_indicator.rb
144
+ - lib/otx_ruby/types/correlation_rule.rb
145
+ - lib/otx_ruby/types/cve.rb
133
146
  - lib/otx_ruby/types/data.rb
134
147
  - lib/otx_ruby/types/event.rb
148
+ - lib/otx_ruby/types/file_analysis.rb
149
+ - lib/otx_ruby/types/indicator_type.rb
150
+ - lib/otx_ruby/types/indicator_type_counts.rb
135
151
  - lib/otx_ruby/types/indicators.rb
136
- - lib/otx_ruby/types/ip_reputation.rb
152
+ - lib/otx_ruby/types/ip/dns.rb
153
+ - lib/otx_ruby/types/ip/general.rb
154
+ - lib/otx_ruby/types/ip/geo.rb
155
+ - lib/otx_ruby/types/ip/http_scan.rb
156
+ - lib/otx_ruby/types/ip/malware.rb
157
+ - lib/otx_ruby/types/ip/reputation.rb
158
+ - lib/otx_ruby/types/ip/url.rb
159
+ - lib/otx_ruby/types/ip/whois.rb
160
+ - lib/otx_ruby/types/observation.rb
137
161
  - lib/otx_ruby/types/pulse.rb
162
+ - lib/otx_ruby/types/pulse_info.rb
163
+ - lib/otx_ruby/types/reference.rb
164
+ - lib/otx_ruby/types/user.rb
165
+ - lib/otx_ruby/url.rb
166
+ - lib/otx_ruby/users.rb
138
167
  - lib/otx_ruby/version.rb
139
168
  - otx_ruby.gemspec
140
169
  homepage: http://github.com/mort666/otx_ruby
@@ -157,9 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
186
  version: '0'
158
187
  requirements: []
159
188
  rubyforge_project:
160
- rubygems_version: 2.4.8
189
+ rubygems_version: 2.6.14
161
190
  signing_key:
162
191
  specification_version: 4
163
192
  summary: AlienVault OTX Ruby Gem
164
193
  test_files: []
165
- has_rdoc: