outliers 0.5.0.beta2 → 0.5.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb0feb018d90f51f8ff6e487ca1f998a8caa159e
4
- data.tar.gz: 1e4fce7ffb9366090015f6faba8c2cbc62765b78
3
+ metadata.gz: 92725c253807fde388c5d8d0adf0e4a47257deed
4
+ data.tar.gz: fefd18089e50dec2a181da3f9f85b06b983d7d50
5
5
  SHA512:
6
- metadata.gz: a1f0b6c91d8fc01c35bb5a3350879ead6b0572258579ae84be98f43ad8e18c701958b8346e8f9a36c2a7fa1e7ae5d96b58161ad8fa78fc2151cf233aa8922508
7
- data.tar.gz: 2084159476cd4acc1186b84d73892b30dbde2bd17703ffce9ac55697c91abfaacb051a7a5f1c2cbc53c55a087499b7a445cf00fc0460ba36533e1e096cc53a80
6
+ metadata.gz: ecc1faa33cc67e5bbc5002fb39dfcb3903b95204c27c8812f80c5973f6229ecd6d0ddd12ad943c12aa3e75a0d9799be37d0025e47d91e3ad92a056a561942a24
7
+ data.tar.gz: 87fba161b0aa7264f22bf451370221ab3566988a890ed0de00c4a5d2d218174de36e042054cd2b7c93e784fbe2ec387c6e7144f3767b5838b1ac58e9769dad46
data/README.md CHANGED
@@ -5,15 +5,6 @@
5
5
 
6
6
  A framework to detect misconfigurations (Outliers).
7
7
 
8
- ## Overview
9
-
10
- To detect misconfigurations at scale, Outliers provides a framework for performing complex evaluations of cloud resources based on the following:
11
-
12
- * Applications rely on **resources** delivered from multiple **providers** (EC2, S3, etc).
13
- * Resource configuration can be evaluated against specific **verifications** (Instance launched from given AMI, S3 bucket contains no public objects, etc).
14
- * Verifications can be performed against a subset of resources based on a **filter**.
15
- * Those not passing verification, are flagged as Outliers.
16
-
17
8
  ## Requirements
18
9
 
19
10
  * Ruby 1.9.3 or greater
@@ -60,29 +51,11 @@ Sample Output:
60
51
  I, [2013-09-24T09:42:39.925657 #4940] INFO -- : Connecting via 'aws_prod' to 'aws_ec2'.
61
52
  I, [2013-09-24T09:42:39.925703 #4940] INFO -- : Including connection options 'provider=aws_ec2,region=us-east-1'.
62
53
  I, [2013-09-24T09:42:39.928945 #4940] INFO -- : Loading 'instance' resource collection.
63
- D, [2013-09-24T09:42:39.929015 #4940] DEBUG -- : Connecting to region 'us-east-1'.
64
- I, [2013-09-24T09:42:41.192295 #4940] INFO -- : Verifying 'vpc?'.
65
- D, [2013-09-24T09:42:41.192498 #4940] DEBUG -- : Target resources 'i-abcd0001, i-abcd0002, i-abcd0003, i-abcd0004'.
66
- D, [2013-09-24T09:42:41.476478 #4940] DEBUG -- : Verification of resource 'i-abcd0001' passed.
67
- D, [2013-09-24T09:42:42.025429 #4940] DEBUG -- : Verification of resource 'i-abcd0002' passed.
68
- D, [2013-09-24T09:42:42.278990 #4940] DEBUG -- : Verification of resource 'i-abcd0003' passed.
69
- D, [2013-09-24T09:42:44.803911 #4940] DEBUG -- : Verification of resource 'i-abcd0004' passed.
70
- I, [2013-09-24T09:42:44.804036 #4940] INFO -- : Verification 'vpc?' passed.
54
+ I, [2013-09-24T09:42:41.192295 #4940] INFO -- : Verifying 'vpc'.
55
+ I, [2013-09-24T09:42:44.804036 #4940] INFO -- : Verification 'vpc' passed.
71
56
  I, [2013-09-24T09:42:44.804147 #4940] INFO -- : Evaluations completed.
72
57
  I, [2013-09-24T09:42:44.804211 #4940] INFO -- : (0 evaluations failed, 1 evaluations passed.)
73
58
 
74
- ## Results
75
-
76
- To return outliers results, you must set the **OUTLIERS_KEY** environment variable.
77
-
78
- export OUTLIERS_KEY=abcd1234
79
-
80
- To modify the URL where reuslts are sent, set **OUTLIERS_URL** environment variable.
81
-
82
- By default, results are sent to **https://api.getoutliers.com**
83
-
84
- export OUTLIERS_URL=http://localhost:3000
85
-
86
59
  ## Examples
87
60
 
88
61
  See [examples](http://www.getoutliers.com/documentation/examples) for a list of more advanced evaluations.
@@ -8,7 +8,7 @@ module Outliers
8
8
  end
9
9
 
10
10
  def backup_retention_period?(args)
11
- days = args
11
+ days = args.first
12
12
 
13
13
  current = source.backup_retention_period
14
14
  logger.debug "Verifying '#{id}' retention period of '#{current}' equals '#{days}' days."
@@ -1,3 +1,3 @@
1
1
  module Outliers
2
- VERSION = "0.5.0.beta2"
2
+ VERSION = "0.5.0.beta3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outliers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta2
4
+ version: 0.5.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Weaver