soar_pl 0.0.14 → 0.0.15

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: 307483efdd6ca574abf7094ad8a63baef330da7e
4
- data.tar.gz: 4d2ba23107245095953a1cfe8579399b799a6891
3
+ metadata.gz: f802d031f07cd33fad36f7067c204ee69e0d67af
4
+ data.tar.gz: 762b6649bf337e4cff270df3d6e5b8edc7d89b9f
5
5
  SHA512:
6
- metadata.gz: d511bf2526b886de82b9b6b81b6bcf81979cf12203949e5d698e23cc02748f69639acb4bb7f70a806221744b81f22ba6d1fa8e739048ca96b42762c64654b7b0
7
- data.tar.gz: 08ff2d596d6612101e896c06a110295bbd6e6b0738e6fb36ff8ae9afe81946b79d0fc51b14d6a20ec91e35cd1b6d350b0e2f721d00614d4f477af976a70caab5
6
+ metadata.gz: b2797e1c5454e7ebab50463c189bead9bed92acd98a24de0fc7164790f1996e2bd30e05475b5465949e9a67f45c85edfff3667ddf911af58a179ee386af03688
7
+ data.tar.gz: 6deba40353f7c431f06cfabe1f6284568f6a2e915a9aecc06e396853af36bd2fd9b62fb6a57d9bf66567d32675d4f67d265b0b0ec840bfdd48b0a5acfac70aa2
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # SoarPl
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/soar_pl.png)](https://badge.fury.io/rb/soar_pl)
4
+
3
5
  SoarPl is a generic authorization policy implementation. It was designed for use in the SOAR architecture. Extend the AuthorizationPolicy class with your own, and provide the needed IDM interaction and rule set for interrogating subject_identifier, requestor_identifier, resource_identifier and request in order to make an authorization decision. The policy communicates the result using jsend.
4
6
 
5
7
  The policy can be given a subject identifier, representing the subject to be authorized. Optionally, the resource identifier of the resource the subject wants to access can be supplied, as well as details of the request itself. Additionally, the identifier of the requestor asking the authorization question of the policy can also be supplied. This information in conjunction with the subject's roles and attributes as discovered from the (optional) IDM provided, form the full information set that the rule set can use to make the authorization decision.
@@ -97,9 +99,3 @@ Bug reports and feature requests are welcome by email to ernst dot van dot graan
97
99
  ## License
98
100
 
99
101
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
100
-
101
- ## TODO
102
-
103
- - The IDM API will be published in a future gem, along with a SOAR reference identity registry implementation
104
- - Examples are currently in a private repo, this will be made public as the use matures
105
- - Helper methods for interrogating status may be added (e.g. valid?, configuration_valid?, allowed?, denied?, etc.)
@@ -1,3 +1,3 @@
1
1
  module SoarPl
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -11,18 +11,18 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Generic implementation of a SOAR authorization policy}
13
13
  spec.description = %q{Generic implementation of a SOAR authorization policy}
14
- # spec.homepage = "TODO: Put your gem's website or public repo URL here."
14
+ spec.homepage = "https://github.com/hetznerZA/soar_pl"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.bindir = "exe"
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
- # spec.required_ruby_version = ['>=2.0.0']
21
+ spec.required_ruby_version = ['>=2.0.0']
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.10"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency "rspec", "~> 3.5.0"
26
26
  spec.add_development_dependency "byebug"
27
- spec.add_dependency "jsender"
27
+ spec.add_dependency "jsender", "~> 0.2.2"
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_pl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst van Graan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-05 00:00:00.000000000 Z
11
+ date: 2016-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 3.5.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 3.5.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: byebug
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: jsender
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.2.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.2.2
83
83
  description: Generic implementation of a SOAR authorization policy
84
84
  email:
85
85
  - ernst.van.graan@hetzner.co.za
@@ -98,7 +98,7 @@ files:
98
98
  - lib/soar_pl/authorization_policy.rb
99
99
  - lib/soar_pl/version.rb
100
100
  - soar_pl.gemspec
101
- homepage:
101
+ homepage: https://github.com/hetznerZA/soar_pl
102
102
  licenses:
103
103
  - MIT
104
104
  metadata: {}
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: '0'
113
+ version: 2.0.0
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="