otx_ruby 0.5.3 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/otx_ruby/types/indicators.rb +3 -1
- data/lib/otx_ruby/types/pulse.rb +1 -1
- data/lib/otx_ruby/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc33adb0291aed97327531004d8698eace0fdb7e
|
4
|
+
data.tar.gz: b46bef841df69aff20357623e898d6f791309d34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5133229aec3d86a0aae1535fd6b83d6172d1bc79aebb7e29a1d6c4b52b2ea77d0ac08d85454c070e99963c2755e3bd5037be8afe1f935734a7b341324576f33f
|
7
|
+
data.tar.gz: f91a3f25d56e814b5986ebdf2b1edb7c923387f1a3a2678f755ac622ccfc7ba4aebfdc47bca0583218438724de150920b132fd13147509610f36dd781a49bcd1
|
@@ -8,6 +8,7 @@ module OTX
|
|
8
8
|
# @attr [String] description Description associated with the IoC
|
9
9
|
# @attr [String] title
|
10
10
|
# @attr [String] content
|
11
|
+
# @attr [String] is_active value 0 or 1 if active
|
11
12
|
#
|
12
13
|
# Indicator of Compromise types:
|
13
14
|
# IPv4 - An IPv4 address indicating the online location of a server or other computer.
|
@@ -28,6 +29,7 @@ module OTX
|
|
28
29
|
# CVE - Common Vulnerability and Exposure (CVE) entry describing a software vulnerability that can be exploited to engage in malicious activity.
|
29
30
|
#
|
30
31
|
class Indicators < OTX::Type::Base
|
31
|
-
attr_accessor :_id, :indicator, :type, :description, :title, :content
|
32
|
+
attr_accessor :id, :_id, :indicator, :type, :description, :title, :content, :is_active, :access_reason, :access_type, :access_groups,
|
33
|
+
:expiration, :observations, :role, :created
|
32
34
|
end
|
33
35
|
end
|
data/lib/otx_ruby/types/pulse.rb
CHANGED
@@ -25,7 +25,7 @@ module OTX
|
|
25
25
|
attr_accessor :id, :name, :description, :author_name,
|
26
26
|
:tags, :references, :revision, :indicators, :tlp, :public, :in_group,
|
27
27
|
:group_id, :group_name, :groups, :adversary, :targeted_countries,
|
28
|
-
:industries
|
28
|
+
:industries, :modified, :created
|
29
29
|
|
30
30
|
def initialize(attributes={})
|
31
31
|
attributes.each do |key, value|
|
data/lib/otx_ruby/version.rb
CHANGED
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.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Kapp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -158,3 +158,4 @@ signing_key:
|
|
158
158
|
specification_version: 4
|
159
159
|
summary: AlienVault OTX Ruby Gem
|
160
160
|
test_files: []
|
161
|
+
has_rdoc:
|