tenable-ruby 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tenable-ruby.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 308dad5caf81a5698d4d843db16c1ccb8542a028
4
- data.tar.gz: a9b6209b5872575f1b8c0c347baec1e084c7c66a
3
+ metadata.gz: 7e9c680c3a0f7e8bdd1491ff10626d32c2618fa1
4
+ data.tar.gz: 53121b959fbd30f550901eb9ef5e0f4f1ed43515
5
5
  SHA512:
6
- metadata.gz: 56834fec7855f929a12008e107cfd8411bea1b2de7de07044a0683d633742643250b9c242f0c2b1843e82b58bb7f9add04f1d513856d2e4d2c5feadd2da24ec1
7
- data.tar.gz: '00914cc0fba9fc1901f3e53c6c0cfaf2ac589cc6b167bbe552c9b40a5faf474eff74f919accd1650fc9cf2bd05259d58b4a1118118fa4c9fde53f227089d7485'
6
+ metadata.gz: 5b4d296d6021975cc14eefa09fd7e22c8062b212cb9a0ef84bfb5eea53a3c69ff73ff014c5254694406fcaa90bd4625b7d1389149dbce8c8a388b95e99fb028e
7
+ data.tar.gz: 6b93787760cd22a9cc7a4cd394b446fe70f1f257ac689c36fe7a86a421b5396c01603b99fa269b58ae021835c80a44fbe1f7714c924398743a1e9f84c0f719a9
data/lib/tenable-ruby.rb CHANGED
@@ -99,13 +99,13 @@ module TenableRuby
99
99
  @token = "token=#{res['token']}"
100
100
  @header = {'X-Cookie' => @token}
101
101
  else
102
- fail NessusREST::Error::AuthenticationError, "Authentication failed. Could not authenticate using
102
+ fail TenableRuby::Error::AuthenticationError, "Authentication failed. Could not authenticate using
103
103
  username/password."
104
104
  end
105
105
  elsif @credentials[:access_key] and @credentials[:secret_key]
106
106
  @header = {'X-ApiKeys' => "accessKey=#{@credentials[:access_key]}; secretKey=#{@credentials[:secret_key]}"}
107
107
  else
108
- fail NessusREST::Error::AuthenticationError, "Authentication credentials were not provided. You must provide" \
108
+ fail TenableRuby::Error::AuthenticationError, "Authentication credentials were not provided. You must provide" \
109
109
  " either a username and password or an API access key and secret key (these can be generated at " \
110
110
  "https://cloud.tenable.com/app.html#/settings/my-account/api-keys."
111
111
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenable-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlatko Kosturjak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-21 00:00:00.000000000 Z
12
+ date: 2018-12-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: "Unofficial Ruby library for communicating with the tenable.io API (also
15
15
  works with Nessus 6).\n You can start, stop, pause and resume scan. Get status