conjur-api 4.31.0 → 5.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +1 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +22 -3
- data/Dockerfile +12 -3
- data/Gemfile +3 -3
- data/Jenkinsfile +69 -0
- data/LICENSE.md +195 -0
- data/README.md +16 -0
- data/Rakefile +34 -18
- data/ci/wait_for_server.sh +10 -0
- data/conjur-api.gemspec +6 -14
- data/dev/docker-compose.yml +23 -0
- data/dev/empty.yml +2 -0
- data/dev/start.sh +15 -0
- data/dev/stop.sh +6 -0
- data/docker-compose.yml +27 -0
- data/features/exists.feature +37 -0
- data/features/group.feature +11 -0
- data/features/host.feature +20 -0
- data/features/host_factory_create_host.feature +28 -0
- data/features/host_factory_token.feature +63 -0
- data/features/load_policy.feature +61 -0
- data/features/members.feature +51 -0
- data/features/new_api.feature +36 -0
- data/features/permitted.feature +43 -0
- data/features/permitted_roles.feature +30 -0
- data/features/public_keys.feature +11 -0
- data/features/resource_fields.feature +53 -0
- data/features/role_fields.feature +15 -0
- data/features/rotate_api_key.feature +13 -0
- data/features/step_definitions/api_steps.rb +4 -54
- data/features/step_definitions/policy_steps.rb +35 -0
- data/features/step_definitions/result_steps.rb +7 -0
- data/features/support/env.rb +14 -5
- data/features/support/hooks.rb +3 -0
- data/features/support/world.rb +5 -6
- data/features/update_password.feature +14 -0
- data/features/user.feature +17 -0
- data/features/variable_fields.feature +20 -0
- data/features/variable_value.feature +67 -0
- data/lib/conjur/acts_as_resource.rb +95 -65
- data/lib/conjur/acts_as_role.rb +102 -51
- data/lib/conjur/{audit-api.rb → acts_as_rolsource.rb} +10 -14
- data/lib/conjur/acts_as_user.rb +13 -22
- data/lib/conjur/api/authn.rb +37 -72
- data/lib/conjur/api/host_factories.rb +35 -55
- data/lib/conjur/api/policies.rb +56 -0
- data/lib/conjur/api/pubkeys.rb +36 -160
- data/lib/conjur/api/resources.rb +32 -116
- data/lib/conjur/api/roles.rb +28 -105
- data/lib/conjur/api/variables.rb +22 -91
- data/lib/conjur/api.rb +19 -46
- data/lib/conjur/base.rb +21 -132
- data/lib/conjur/base_object.rb +57 -0
- data/lib/conjur/{authn-api.rb → build_object.rb} +23 -11
- data/lib/conjur/cast.rb +12 -17
- data/lib/conjur/cert_utils.rb +1 -1
- data/lib/conjur/cidr.rb +1 -1
- data/lib/conjur/configuration.rb +13 -91
- data/lib/conjur/escape.rb +1 -2
- data/lib/conjur/group.rb +9 -65
- data/lib/conjur/has_attributes.rb +22 -59
- data/lib/conjur/host.rb +5 -35
- data/lib/conjur/host_factory.rb +40 -40
- data/lib/conjur/host_factory_token.rb +38 -23
- data/lib/conjur/id.rb +63 -0
- data/lib/conjur/layer.rb +5 -80
- data/lib/conjur/log.rb +1 -1
- data/lib/conjur/log_source.rb +1 -1
- data/lib/conjur/{secret.rb → policy.rb} +11 -14
- data/lib/conjur/{api/secrets.rb → policy_load_result.rb} +35 -22
- data/lib/conjur/query_string.rb +2 -1
- data/lib/conjur/resource.rb +5 -299
- data/lib/conjur/role.rb +5 -317
- data/lib/conjur/role_grant.rb +20 -28
- data/lib/conjur/user.rb +5 -63
- data/lib/conjur/variable.rb +31 -76
- data/lib/conjur/{authz-api.rb → webservice.rb} +8 -16
- data/lib/conjur-api/version.rb +2 -2
- data/publish.sh +7 -0
- data/spec/api_spec.rb +208 -0
- data/spec/cast_spec.rb +21 -0
- data/spec/{lib/cert_utils_spec.rb → cert_utils_spec.rb} +0 -0
- data/spec/{lib/cidr_spec.rb → cidr_spec.rb} +0 -0
- data/spec/{lib/configuration_spec.rb → configuration_spec.rb} +40 -140
- data/spec/{lib/has_attributes_spec.rb → has_attributes_spec.rb} +6 -2
- data/spec/{lib/log_source_spec.rb → log_source_spec.rb} +0 -0
- data/spec/{lib/log_spec.rb → log_spec.rb} +0 -0
- data/spec/roles_spec.rb +24 -0
- data/spec/spec_helper.rb +63 -78
- data/spec/ssl_spec.rb +3 -5
- data/spec/vendor/rest_client_spec.rb +0 -54
- data/test.sh +40 -0
- metadata +122 -281
- data/.kateproject +0 -5
- data/LICENSE +0 -22
- data/ci/test.sh +0 -9
- data/features/audit_resources.feature +0 -15
- data/features/audit_roles.feature +0 -15
- data/features/bootstrap.feature +0 -31
- data/features/step_definitions/cli_steps.rb +0 -5
- data/jenkins.sh +0 -27
- data/lib/conjur/acts_as_asset.rb +0 -88
- data/lib/conjur/annotations.rb +0 -186
- data/lib/conjur/api/audit.rb +0 -138
- data/lib/conjur/api/deputies.rb +0 -57
- data/lib/conjur/api/groups.rb +0 -111
- data/lib/conjur/api/hosts.rb +0 -109
- data/lib/conjur/api/info.rb +0 -126
- data/lib/conjur/api/layers.rb +0 -62
- data/lib/conjur/api/ldapsync.rb +0 -115
- data/lib/conjur/api/users.rb +0 -106
- data/lib/conjur/bootstrap.rb +0 -161
- data/lib/conjur/build_from_response.rb +0 -49
- data/lib/conjur/core-api.rb +0 -74
- data/lib/conjur/deputy.rb +0 -55
- data/lib/conjur/env.rb +0 -54
- data/lib/conjur/event_source.rb +0 -101
- data/lib/conjur/exists.rb +0 -60
- data/lib/conjur/graph.rb +0 -295
- data/lib/conjur/has_id.rb +0 -43
- data/lib/conjur/has_identifier.rb +0 -36
- data/lib/conjur/has_owner.rb +0 -51
- data/lib/conjur/host-factory-api.rb +0 -38
- data/lib/conjur/layer-api.rb +0 -13
- data/lib/conjur/ldap_sync_job.rb +0 -89
- data/lib/conjur/path_based.rb +0 -86
- data/lib/conjur/pubkeys-api.rb +0 -50
- data/lib/conjur/standard_methods.rb +0 -91
- data/reqspeed.rb +0 -20
- data/spec/api/authn_spec.rb +0 -81
- data/spec/api/graph_spec.rb +0 -117
- data/spec/api/groups_spec.rb +0 -40
- data/spec/api/hosts_spec.rb +0 -36
- data/spec/api/info_spec.rb +0 -89
- data/spec/api/layer_spec.rb +0 -18
- data/spec/api/ldapsync_spec.rb +0 -44
- data/spec/api/pubkeys_spec.rb +0 -66
- data/spec/api/resources_spec.rb +0 -92
- data/spec/api/roles_spec.rb +0 -100
- data/spec/api/secrets_spec.rb +0 -16
- data/spec/api/users_spec.rb +0 -71
- data/spec/api/variables_spec.rb +0 -112
- data/spec/cas_rest_client.rb +0 -17
- data/spec/cidr_helper.rb +0 -24
- data/spec/lib/acts_as_user_spec.rb +0 -27
- data/spec/lib/annotations_spec.rb +0 -109
- data/spec/lib/api_spec.rb +0 -480
- data/spec/lib/asset_spec.rb +0 -80
- data/spec/lib/audit_spec.rb +0 -155
- data/spec/lib/build_from_response_spec.rb +0 -49
- data/spec/lib/deputy_spec.rb +0 -25
- data/spec/lib/exists_spec.rb +0 -24
- data/spec/lib/group_spec.rb +0 -18
- data/spec/lib/host_spec.rb +0 -31
- data/spec/lib/resource_spec.rb +0 -240
- data/spec/lib/role_grant_spec.rb +0 -13
- data/spec/lib/role_spec.rb +0 -231
- data/spec/lib/standard_methods_spec.rb +0 -66
- data/spec/lib/user_spec.rb +0 -77
- data/spec/standard_methods_helper.rb +0 -41
- data/spec/variable_spec.rb +0 -101
- data/spec/vcr_cassettes/Conjur_Resource/_create/with_path-like_identifier.yml +0 -87
- data/spec/vcr_cassettes/Conjur_Resource/_create/with_un-encoded_path-like_identifier.yml +0 -87
- data/spec/vcr_cassettes/Conjur_Resource/_create/with_uuid_identifier.yml +0 -87
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafal Rzepecki
|
@@ -9,312 +9,202 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '1.7'
|
21
|
-
- - '>='
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.7.3
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
requirements:
|
28
|
-
- - ~>
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '1.7'
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.7.3
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: activesupport
|
36
|
-
requirement: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
18
|
+
- - ">="
|
39
19
|
- !ruby/object:Gem::Version
|
40
20
|
version: '0'
|
41
21
|
type: :runtime
|
42
22
|
prerelease: false
|
43
23
|
version_requirements: !ruby/object:Gem::Requirement
|
44
24
|
requirements:
|
45
|
-
- -
|
25
|
+
- - ">="
|
46
26
|
- !ruby/object:Gem::Version
|
47
27
|
version: '0'
|
48
28
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
29
|
+
name: activesupport
|
50
30
|
requirement: !ruby/object:Gem::Requirement
|
51
31
|
requirements:
|
52
|
-
- -
|
32
|
+
- - ">="
|
53
33
|
- !ruby/object:Gem::Version
|
54
34
|
version: '0'
|
55
35
|
type: :runtime
|
56
36
|
prerelease: false
|
57
37
|
version_requirements: !ruby/object:Gem::Requirement
|
58
38
|
requirements:
|
59
|
-
- -
|
39
|
+
- - ">="
|
60
40
|
- !ruby/object:Gem::Version
|
61
41
|
version: '0'
|
62
42
|
- !ruby/object:Gem::Dependency
|
63
43
|
name: rake
|
64
44
|
requirement: !ruby/object:Gem::Requirement
|
65
45
|
requirements:
|
66
|
-
- - ~>
|
46
|
+
- - "~>"
|
67
47
|
- !ruby/object:Gem::Version
|
68
48
|
version: '10.0'
|
69
49
|
type: :development
|
70
50
|
prerelease: false
|
71
51
|
version_requirements: !ruby/object:Gem::Requirement
|
72
52
|
requirements:
|
73
|
-
- - ~>
|
53
|
+
- - "~>"
|
74
54
|
- !ruby/object:Gem::Version
|
75
55
|
version: '10.0'
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: spork
|
78
|
-
requirement: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
56
|
- !ruby/object:Gem::Dependency
|
91
57
|
name: rspec
|
92
58
|
requirement: !ruby/object:Gem::Requirement
|
93
59
|
requirements:
|
94
|
-
- - ~>
|
60
|
+
- - "~>"
|
95
61
|
- !ruby/object:Gem::Version
|
96
62
|
version: '3'
|
97
63
|
type: :development
|
98
64
|
prerelease: false
|
99
65
|
version_requirements: !ruby/object:Gem::Requirement
|
100
66
|
requirements:
|
101
|
-
- - ~>
|
67
|
+
- - "~>"
|
102
68
|
- !ruby/object:Gem::Version
|
103
69
|
version: '3'
|
104
70
|
- !ruby/object:Gem::Dependency
|
105
71
|
name: rspec-expectations
|
106
72
|
requirement: !ruby/object:Gem::Requirement
|
107
73
|
requirements:
|
108
|
-
- - ~>
|
74
|
+
- - "~>"
|
109
75
|
- !ruby/object:Gem::Version
|
110
76
|
version: '3.4'
|
111
77
|
type: :development
|
112
78
|
prerelease: false
|
113
79
|
version_requirements: !ruby/object:Gem::Requirement
|
114
80
|
requirements:
|
115
|
-
- - ~>
|
81
|
+
- - "~>"
|
116
82
|
- !ruby/object:Gem::Version
|
117
83
|
version: '3.4'
|
118
84
|
- !ruby/object:Gem::Dependency
|
119
|
-
name:
|
85
|
+
name: json_spec
|
120
86
|
requirement: !ruby/object:Gem::Requirement
|
121
87
|
requirements:
|
122
|
-
- -
|
88
|
+
- - ">="
|
123
89
|
- !ruby/object:Gem::Version
|
124
90
|
version: '0'
|
125
91
|
type: :development
|
126
92
|
prerelease: false
|
127
93
|
version_requirements: !ruby/object:Gem::Requirement
|
128
94
|
requirements:
|
129
|
-
- -
|
95
|
+
- - ">="
|
130
96
|
- !ruby/object:Gem::Version
|
131
97
|
version: '0'
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
name: aruba
|
134
|
-
requirement: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ~>
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 0.12.0
|
139
|
-
type: :development
|
140
|
-
prerelease: false
|
141
|
-
version_requirements: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ~>
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 0.12.0
|
146
98
|
- !ruby/object:Gem::Dependency
|
147
99
|
name: cucumber
|
148
100
|
requirement: !ruby/object:Gem::Requirement
|
149
101
|
requirements:
|
150
|
-
- -
|
102
|
+
- - ">="
|
151
103
|
- !ruby/object:Gem::Version
|
152
104
|
version: '0'
|
153
105
|
type: :development
|
154
106
|
prerelease: false
|
155
107
|
version_requirements: !ruby/object:Gem::Requirement
|
156
108
|
requirements:
|
157
|
-
- -
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: conjur-cli
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
type: :development
|
168
|
-
prerelease: false
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - '>='
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: conjur-debify
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - '>='
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
type: :development
|
182
|
-
prerelease: false
|
183
|
-
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - '>='
|
109
|
+
- - ">="
|
186
110
|
- !ruby/object:Gem::Version
|
187
111
|
version: '0'
|
188
112
|
- !ruby/object:Gem::Dependency
|
189
113
|
name: ci_reporter_rspec
|
190
114
|
requirement: !ruby/object:Gem::Requirement
|
191
115
|
requirements:
|
192
|
-
- -
|
116
|
+
- - ">="
|
193
117
|
- !ruby/object:Gem::Version
|
194
118
|
version: '0'
|
195
119
|
type: :development
|
196
120
|
prerelease: false
|
197
121
|
version_requirements: !ruby/object:Gem::Requirement
|
198
122
|
requirements:
|
199
|
-
- -
|
123
|
+
- - ">="
|
200
124
|
- !ruby/object:Gem::Version
|
201
125
|
version: '0'
|
202
126
|
- !ruby/object:Gem::Dependency
|
203
127
|
name: simplecov
|
204
128
|
requirement: !ruby/object:Gem::Requirement
|
205
129
|
requirements:
|
206
|
-
- -
|
130
|
+
- - ">="
|
207
131
|
- !ruby/object:Gem::Version
|
208
132
|
version: '0'
|
209
133
|
type: :development
|
210
134
|
prerelease: false
|
211
135
|
version_requirements: !ruby/object:Gem::Requirement
|
212
136
|
requirements:
|
213
|
-
- -
|
137
|
+
- - ">="
|
214
138
|
- !ruby/object:Gem::Version
|
215
139
|
version: '0'
|
216
140
|
- !ruby/object:Gem::Dependency
|
217
141
|
name: io-grab
|
218
142
|
requirement: !ruby/object:Gem::Requirement
|
219
143
|
requirements:
|
220
|
-
- -
|
144
|
+
- - ">="
|
221
145
|
- !ruby/object:Gem::Version
|
222
146
|
version: '0'
|
223
147
|
type: :development
|
224
148
|
prerelease: false
|
225
149
|
version_requirements: !ruby/object:Gem::Requirement
|
226
150
|
requirements:
|
227
|
-
- -
|
151
|
+
- - ">="
|
228
152
|
- !ruby/object:Gem::Version
|
229
153
|
version: '0'
|
230
154
|
- !ruby/object:Gem::Dependency
|
231
155
|
name: rdoc
|
232
156
|
requirement: !ruby/object:Gem::Requirement
|
233
157
|
requirements:
|
234
|
-
- -
|
158
|
+
- - ">="
|
235
159
|
- !ruby/object:Gem::Version
|
236
160
|
version: '0'
|
237
161
|
type: :development
|
238
162
|
prerelease: false
|
239
163
|
version_requirements: !ruby/object:Gem::Requirement
|
240
164
|
requirements:
|
241
|
-
- -
|
165
|
+
- - ">="
|
242
166
|
- !ruby/object:Gem::Version
|
243
167
|
version: '0'
|
244
168
|
- !ruby/object:Gem::Dependency
|
245
169
|
name: yard
|
246
170
|
requirement: !ruby/object:Gem::Requirement
|
247
171
|
requirements:
|
248
|
-
- -
|
172
|
+
- - ">="
|
249
173
|
- !ruby/object:Gem::Version
|
250
174
|
version: '0'
|
251
175
|
type: :development
|
252
176
|
prerelease: false
|
253
177
|
version_requirements: !ruby/object:Gem::Requirement
|
254
178
|
requirements:
|
255
|
-
- -
|
179
|
+
- - ">="
|
256
180
|
- !ruby/object:Gem::Version
|
257
181
|
version: '0'
|
258
182
|
- !ruby/object:Gem::Dependency
|
259
|
-
name:
|
260
|
-
requirement: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - '>='
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '0'
|
265
|
-
type: :development
|
266
|
-
prerelease: false
|
267
|
-
version_requirements: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - '>='
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: '0'
|
272
|
-
- !ruby/object:Gem::Dependency
|
273
|
-
name: tins
|
274
|
-
requirement: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - ~>
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: '1.6'
|
279
|
-
- - <
|
280
|
-
- !ruby/object:Gem::Version
|
281
|
-
version: 1.7.0
|
282
|
-
type: :development
|
283
|
-
prerelease: false
|
284
|
-
version_requirements: !ruby/object:Gem::Requirement
|
285
|
-
requirements:
|
286
|
-
- - ~>
|
287
|
-
- !ruby/object:Gem::Version
|
288
|
-
version: '1.6'
|
289
|
-
- - <
|
290
|
-
- !ruby/object:Gem::Version
|
291
|
-
version: 1.7.0
|
292
|
-
- !ruby/object:Gem::Dependency
|
293
|
-
name: inch
|
183
|
+
name: fakefs
|
294
184
|
requirement: !ruby/object:Gem::Requirement
|
295
185
|
requirements:
|
296
|
-
- -
|
186
|
+
- - ">="
|
297
187
|
- !ruby/object:Gem::Version
|
298
188
|
version: '0'
|
299
189
|
type: :development
|
300
190
|
prerelease: false
|
301
191
|
version_requirements: !ruby/object:Gem::Requirement
|
302
192
|
requirements:
|
303
|
-
- -
|
193
|
+
- - ">="
|
304
194
|
- !ruby/object:Gem::Version
|
305
195
|
version: '0'
|
306
196
|
- !ruby/object:Gem::Dependency
|
307
|
-
name:
|
197
|
+
name: pry-byebug
|
308
198
|
requirement: !ruby/object:Gem::Requirement
|
309
199
|
requirements:
|
310
|
-
- -
|
200
|
+
- - ">="
|
311
201
|
- !ruby/object:Gem::Version
|
312
202
|
version: '0'
|
313
203
|
type: :development
|
314
204
|
prerelease: false
|
315
205
|
version_requirements: !ruby/object:Gem::Requirement
|
316
206
|
requirements:
|
317
|
-
- -
|
207
|
+
- - ">="
|
318
208
|
- !ruby/object:Gem::Version
|
319
209
|
version: '0'
|
320
210
|
description: Conjur API
|
@@ -325,142 +215,109 @@ executables: []
|
|
325
215
|
extensions: []
|
326
216
|
extra_rdoc_files: []
|
327
217
|
files:
|
328
|
-
- .
|
329
|
-
- .
|
330
|
-
- .project
|
331
|
-
- .yardopts
|
218
|
+
- ".dockerignore"
|
219
|
+
- ".gitignore"
|
220
|
+
- ".project"
|
221
|
+
- ".yardopts"
|
332
222
|
- CHANGELOG.md
|
333
223
|
- Dockerfile
|
334
224
|
- Gemfile
|
335
|
-
-
|
225
|
+
- Jenkinsfile
|
226
|
+
- LICENSE.md
|
336
227
|
- README.md
|
337
228
|
- Rakefile
|
338
|
-
- ci/
|
229
|
+
- ci/wait_for_server.sh
|
339
230
|
- conjur-api.gemspec
|
340
|
-
-
|
341
|
-
-
|
342
|
-
-
|
231
|
+
- dev/docker-compose.yml
|
232
|
+
- dev/empty.yml
|
233
|
+
- dev/start.sh
|
234
|
+
- dev/stop.sh
|
235
|
+
- docker-compose.yml
|
236
|
+
- features/exists.feature
|
237
|
+
- features/group.feature
|
238
|
+
- features/host.feature
|
239
|
+
- features/host_factory_create_host.feature
|
240
|
+
- features/host_factory_token.feature
|
241
|
+
- features/load_policy.feature
|
242
|
+
- features/members.feature
|
243
|
+
- features/new_api.feature
|
244
|
+
- features/permitted.feature
|
245
|
+
- features/permitted_roles.feature
|
246
|
+
- features/public_keys.feature
|
247
|
+
- features/resource_fields.feature
|
248
|
+
- features/role_fields.feature
|
249
|
+
- features/rotate_api_key.feature
|
343
250
|
- features/step_definitions/api_steps.rb
|
344
|
-
- features/step_definitions/
|
251
|
+
- features/step_definitions/policy_steps.rb
|
252
|
+
- features/step_definitions/result_steps.rb
|
345
253
|
- features/support/env.rb
|
254
|
+
- features/support/hooks.rb
|
346
255
|
- features/support/world.rb
|
347
|
-
-
|
256
|
+
- features/update_password.feature
|
257
|
+
- features/user.feature
|
258
|
+
- features/variable_fields.feature
|
259
|
+
- features/variable_value.feature
|
348
260
|
- lib/conjur-api.rb
|
349
261
|
- lib/conjur-api/version.rb
|
350
|
-
- lib/conjur/acts_as_asset.rb
|
351
262
|
- lib/conjur/acts_as_resource.rb
|
352
263
|
- lib/conjur/acts_as_role.rb
|
264
|
+
- lib/conjur/acts_as_rolsource.rb
|
353
265
|
- lib/conjur/acts_as_user.rb
|
354
|
-
- lib/conjur/annotations.rb
|
355
266
|
- lib/conjur/api.rb
|
356
|
-
- lib/conjur/api/audit.rb
|
357
267
|
- lib/conjur/api/authn.rb
|
358
|
-
- lib/conjur/api/deputies.rb
|
359
|
-
- lib/conjur/api/groups.rb
|
360
268
|
- lib/conjur/api/host_factories.rb
|
361
|
-
- lib/conjur/api/
|
362
|
-
- lib/conjur/api/info.rb
|
363
|
-
- lib/conjur/api/layers.rb
|
364
|
-
- lib/conjur/api/ldapsync.rb
|
269
|
+
- lib/conjur/api/policies.rb
|
365
270
|
- lib/conjur/api/pubkeys.rb
|
366
271
|
- lib/conjur/api/resources.rb
|
367
272
|
- lib/conjur/api/roles.rb
|
368
|
-
- lib/conjur/api/secrets.rb
|
369
|
-
- lib/conjur/api/users.rb
|
370
273
|
- lib/conjur/api/variables.rb
|
371
|
-
- lib/conjur/audit-api.rb
|
372
|
-
- lib/conjur/authn-api.rb
|
373
|
-
- lib/conjur/authz-api.rb
|
374
274
|
- lib/conjur/base.rb
|
375
|
-
- lib/conjur/
|
376
|
-
- lib/conjur/
|
275
|
+
- lib/conjur/base_object.rb
|
276
|
+
- lib/conjur/build_object.rb
|
377
277
|
- lib/conjur/cache.rb
|
378
278
|
- lib/conjur/cast.rb
|
379
279
|
- lib/conjur/cert_utils.rb
|
380
280
|
- lib/conjur/cidr.rb
|
381
281
|
- lib/conjur/configuration.rb
|
382
|
-
- lib/conjur/core-api.rb
|
383
|
-
- lib/conjur/deputy.rb
|
384
|
-
- lib/conjur/env.rb
|
385
282
|
- lib/conjur/escape.rb
|
386
|
-
- lib/conjur/event_source.rb
|
387
283
|
- lib/conjur/exceptions.rb
|
388
|
-
- lib/conjur/exists.rb
|
389
|
-
- lib/conjur/graph.rb
|
390
284
|
- lib/conjur/group.rb
|
391
285
|
- lib/conjur/has_attributes.rb
|
392
|
-
- lib/conjur/has_id.rb
|
393
|
-
- lib/conjur/has_identifier.rb
|
394
|
-
- lib/conjur/has_owner.rb
|
395
|
-
- lib/conjur/host-factory-api.rb
|
396
286
|
- lib/conjur/host.rb
|
397
287
|
- lib/conjur/host_factory.rb
|
398
288
|
- lib/conjur/host_factory_token.rb
|
399
|
-
- lib/conjur/
|
289
|
+
- lib/conjur/id.rb
|
400
290
|
- lib/conjur/layer.rb
|
401
|
-
- lib/conjur/ldap_sync_job.rb
|
402
291
|
- lib/conjur/log.rb
|
403
292
|
- lib/conjur/log_source.rb
|
404
|
-
- lib/conjur/
|
405
|
-
- lib/conjur/
|
293
|
+
- lib/conjur/policy.rb
|
294
|
+
- lib/conjur/policy_load_result.rb
|
406
295
|
- lib/conjur/query_string.rb
|
407
296
|
- lib/conjur/resource.rb
|
408
297
|
- lib/conjur/role.rb
|
409
298
|
- lib/conjur/role_grant.rb
|
410
|
-
- lib/conjur/secret.rb
|
411
|
-
- lib/conjur/standard_methods.rb
|
412
299
|
- lib/conjur/user.rb
|
413
300
|
- lib/conjur/variable.rb
|
414
|
-
-
|
415
|
-
-
|
416
|
-
- spec/
|
417
|
-
- spec/
|
418
|
-
- spec/
|
419
|
-
- spec/
|
420
|
-
- spec/
|
421
|
-
- spec/
|
422
|
-
- spec/api/pubkeys_spec.rb
|
423
|
-
- spec/api/resources_spec.rb
|
424
|
-
- spec/api/roles_spec.rb
|
425
|
-
- spec/api/secrets_spec.rb
|
426
|
-
- spec/api/users_spec.rb
|
427
|
-
- spec/api/variables_spec.rb
|
428
|
-
- spec/cas_rest_client.rb
|
429
|
-
- spec/cidr_helper.rb
|
301
|
+
- lib/conjur/webservice.rb
|
302
|
+
- publish.sh
|
303
|
+
- spec/api_spec.rb
|
304
|
+
- spec/cast_spec.rb
|
305
|
+
- spec/cert_utils_spec.rb
|
306
|
+
- spec/cidr_spec.rb
|
307
|
+
- spec/configuration_spec.rb
|
308
|
+
- spec/has_attributes_spec.rb
|
430
309
|
- spec/helpers/errors_matcher.rb
|
431
310
|
- spec/helpers/request_helpers.rb
|
432
|
-
- spec/
|
433
|
-
- spec/
|
434
|
-
- spec/
|
435
|
-
- spec/lib/asset_spec.rb
|
436
|
-
- spec/lib/audit_spec.rb
|
437
|
-
- spec/lib/build_from_response_spec.rb
|
438
|
-
- spec/lib/cert_utils_spec.rb
|
439
|
-
- spec/lib/cidr_spec.rb
|
440
|
-
- spec/lib/configuration_spec.rb
|
441
|
-
- spec/lib/deputy_spec.rb
|
442
|
-
- spec/lib/exists_spec.rb
|
443
|
-
- spec/lib/group_spec.rb
|
444
|
-
- spec/lib/has_attributes_spec.rb
|
445
|
-
- spec/lib/host_spec.rb
|
446
|
-
- spec/lib/log_source_spec.rb
|
447
|
-
- spec/lib/log_spec.rb
|
448
|
-
- spec/lib/resource_spec.rb
|
449
|
-
- spec/lib/role_grant_spec.rb
|
450
|
-
- spec/lib/role_spec.rb
|
451
|
-
- spec/lib/standard_methods_spec.rb
|
452
|
-
- spec/lib/user_spec.rb
|
311
|
+
- spec/log_source_spec.rb
|
312
|
+
- spec/log_spec.rb
|
313
|
+
- spec/roles_spec.rb
|
453
314
|
- spec/spec_helper.rb
|
454
315
|
- spec/ssl_spec.rb
|
455
|
-
- spec/standard_methods_helper.rb
|
456
|
-
- spec/variable_spec.rb
|
457
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_path-like_identifier.yml
|
458
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_un-encoded_path-like_identifier.yml
|
459
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_uuid_identifier.yml
|
460
316
|
- spec/vendor/rest_client_spec.rb
|
461
|
-
|
317
|
+
- test.sh
|
318
|
+
homepage: https://github.com/cyberark/conjur-api-ruby/
|
462
319
|
licenses:
|
463
|
-
-
|
320
|
+
- Apache-2.0
|
464
321
|
metadata: {}
|
465
322
|
post_install_message:
|
466
323
|
rdoc_options: []
|
@@ -468,72 +325,56 @@ require_paths:
|
|
468
325
|
- lib
|
469
326
|
required_ruby_version: !ruby/object:Gem::Requirement
|
470
327
|
requirements:
|
471
|
-
- -
|
328
|
+
- - ">="
|
472
329
|
- !ruby/object:Gem::Version
|
473
330
|
version: '1.9'
|
474
331
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
475
332
|
requirements:
|
476
|
-
- -
|
333
|
+
- - ">"
|
477
334
|
- !ruby/object:Gem::Version
|
478
|
-
version:
|
335
|
+
version: 1.3.1
|
479
336
|
requirements: []
|
480
337
|
rubyforge_project:
|
481
|
-
rubygems_version: 2.
|
338
|
+
rubygems_version: 2.6.13
|
482
339
|
signing_key:
|
483
340
|
specification_version: 4
|
484
341
|
summary: Conjur API
|
485
342
|
test_files:
|
486
|
-
- features/
|
487
|
-
- features/
|
488
|
-
- features/
|
343
|
+
- features/exists.feature
|
344
|
+
- features/group.feature
|
345
|
+
- features/host.feature
|
346
|
+
- features/host_factory_create_host.feature
|
347
|
+
- features/host_factory_token.feature
|
348
|
+
- features/load_policy.feature
|
349
|
+
- features/members.feature
|
350
|
+
- features/new_api.feature
|
351
|
+
- features/permitted.feature
|
352
|
+
- features/permitted_roles.feature
|
353
|
+
- features/public_keys.feature
|
354
|
+
- features/resource_fields.feature
|
355
|
+
- features/role_fields.feature
|
356
|
+
- features/rotate_api_key.feature
|
489
357
|
- features/step_definitions/api_steps.rb
|
490
|
-
- features/step_definitions/
|
358
|
+
- features/step_definitions/policy_steps.rb
|
359
|
+
- features/step_definitions/result_steps.rb
|
491
360
|
- features/support/env.rb
|
361
|
+
- features/support/hooks.rb
|
492
362
|
- features/support/world.rb
|
493
|
-
-
|
494
|
-
-
|
495
|
-
-
|
496
|
-
-
|
497
|
-
- spec/
|
498
|
-
- spec/
|
499
|
-
- spec/
|
500
|
-
- spec/
|
501
|
-
- spec/
|
502
|
-
- spec/
|
503
|
-
- spec/api/secrets_spec.rb
|
504
|
-
- spec/api/users_spec.rb
|
505
|
-
- spec/api/variables_spec.rb
|
506
|
-
- spec/cas_rest_client.rb
|
507
|
-
- spec/cidr_helper.rb
|
363
|
+
- features/update_password.feature
|
364
|
+
- features/user.feature
|
365
|
+
- features/variable_fields.feature
|
366
|
+
- features/variable_value.feature
|
367
|
+
- spec/api_spec.rb
|
368
|
+
- spec/cast_spec.rb
|
369
|
+
- spec/cert_utils_spec.rb
|
370
|
+
- spec/cidr_spec.rb
|
371
|
+
- spec/configuration_spec.rb
|
372
|
+
- spec/has_attributes_spec.rb
|
508
373
|
- spec/helpers/errors_matcher.rb
|
509
374
|
- spec/helpers/request_helpers.rb
|
510
|
-
- spec/
|
511
|
-
- spec/
|
512
|
-
- spec/
|
513
|
-
- spec/lib/asset_spec.rb
|
514
|
-
- spec/lib/audit_spec.rb
|
515
|
-
- spec/lib/build_from_response_spec.rb
|
516
|
-
- spec/lib/cert_utils_spec.rb
|
517
|
-
- spec/lib/cidr_spec.rb
|
518
|
-
- spec/lib/configuration_spec.rb
|
519
|
-
- spec/lib/deputy_spec.rb
|
520
|
-
- spec/lib/exists_spec.rb
|
521
|
-
- spec/lib/group_spec.rb
|
522
|
-
- spec/lib/has_attributes_spec.rb
|
523
|
-
- spec/lib/host_spec.rb
|
524
|
-
- spec/lib/log_source_spec.rb
|
525
|
-
- spec/lib/log_spec.rb
|
526
|
-
- spec/lib/resource_spec.rb
|
527
|
-
- spec/lib/role_grant_spec.rb
|
528
|
-
- spec/lib/role_spec.rb
|
529
|
-
- spec/lib/standard_methods_spec.rb
|
530
|
-
- spec/lib/user_spec.rb
|
375
|
+
- spec/log_source_spec.rb
|
376
|
+
- spec/log_spec.rb
|
377
|
+
- spec/roles_spec.rb
|
531
378
|
- spec/spec_helper.rb
|
532
379
|
- spec/ssl_spec.rb
|
533
|
-
- spec/standard_methods_helper.rb
|
534
|
-
- spec/variable_spec.rb
|
535
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_path-like_identifier.yml
|
536
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_un-encoded_path-like_identifier.yml
|
537
|
-
- spec/vcr_cassettes/Conjur_Resource/_create/with_uuid_identifier.yml
|
538
380
|
- spec/vendor/rest_client_spec.rb
|
539
|
-
has_rdoc:
|
data/.kateproject
DELETED
data/LICENSE
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Conjur Inc
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|