conjur-cli 4.26.0 → 4.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/acceptance-features/audit/audit_event_send.feature +104 -0
  4. data/acceptance-features/audit/send.feature +70 -0
  5. data/acceptance-features/authentication/authenticate.feature +10 -0
  6. data/acceptance-features/authentication/login.feature +14 -0
  7. data/acceptance-features/authentication/logout.feature +16 -0
  8. data/acceptance-features/authentication/whoami.feature +5 -0
  9. data/acceptance-features/authorization/resource/annotate.feature +35 -0
  10. data/acceptance-features/authorization/resource/check.feature +22 -0
  11. data/acceptance-features/authorization/resource/create.feature +19 -0
  12. data/acceptance-features/authorization/resource/deny.feature +12 -0
  13. data/acceptance-features/authorization/resource/exists.feature +16 -0
  14. data/acceptance-features/authorization/resource/give.feature +22 -0
  15. data/acceptance-features/authorization/resource/permit.feature +20 -0
  16. data/acceptance-features/authorization/resource/permitted_roles.feature +16 -0
  17. data/acceptance-features/authorization/resource/show.feature +26 -0
  18. data/acceptance-features/authorization/role/create.feature +13 -0
  19. data/acceptance-features/authorization/role/exists.feature +19 -0
  20. data/acceptance-features/authorization/role/grant_to.feature +21 -0
  21. data/acceptance-features/authorization/role/graph.feature +58 -0
  22. data/acceptance-features/authorization/role/members.feature +23 -0
  23. data/acceptance-features/authorization/role/memberships.feature +27 -0
  24. data/acceptance-features/conjurenv/check.feature +28 -0
  25. data/acceptance-features/conjurenv/run.feature +10 -0
  26. data/acceptance-features/conjurenv/template.feature +11 -0
  27. data/acceptance-features/directory/group/create.feature +20 -0
  28. data/acceptance-features/directory/group/retire.feature +54 -0
  29. data/acceptance-features/directory/host/create.feature +23 -0
  30. data/acceptance-features/directory/host/retire.feature +6 -0
  31. data/acceptance-features/directory/layer/create.feature +10 -0
  32. data/acceptance-features/directory/layer/hosts-add.feature +9 -0
  33. data/acceptance-features/directory/layer/hosts-remove.feature +10 -0
  34. data/acceptance-features/directory/user/create.feature +23 -0
  35. data/acceptance-features/directory/user/retire.feature +6 -0
  36. data/acceptance-features/directory/user/update_password.feature +16 -0
  37. data/acceptance-features/directory/variable/create.feature +14 -0
  38. data/acceptance-features/directory/variable/retire.feature +17 -0
  39. data/acceptance-features/directory/variable/value.feature +13 -0
  40. data/acceptance-features/directory/variable/values-add.feature +12 -0
  41. data/acceptance-features/global-privilege/elevate.feature +20 -0
  42. data/acceptance-features/global-privilege/reveal.privilege +20 -0
  43. data/acceptance-features/pubkeys/add.feature +20 -0
  44. data/acceptance-features/pubkeys/delete.feature +9 -0
  45. data/acceptance-features/pubkeys/names.feature +23 -0
  46. data/acceptance-features/pubkeys/show.feature +25 -0
  47. data/acceptance-features/step_definitions/cli.rb +21 -0
  48. data/acceptance-features/step_definitions/graph_steps.rb +22 -0
  49. data/acceptance-features/step_definitions/user_steps.rb +54 -0
  50. data/acceptance-features/support/env.rb +5 -0
  51. data/acceptance-features/support/hooks.rb +179 -0
  52. data/acceptance-features/support/world.rb +153 -0
  53. data/conjur.gemspec +4 -1
  54. data/features/step_definitions/graph_steps.rb +2 -2
  55. data/features/support/hooks.rb +1 -5
  56. data/lib/conjur/cli.rb +1 -1
  57. data/lib/conjur/command/bootstrap.rb +3 -2
  58. data/lib/conjur/command/elevate.rb +76 -0
  59. data/lib/conjur/command/rspec/mock_services.rb +3 -3
  60. data/lib/conjur/command.rb +15 -0
  61. data/lib/conjur/version.rb +1 -1
  62. data/spec/command/elevate_spec.rb +28 -0
  63. metadata +85 -4
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjur-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.26.0
4
+ version: 4.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafal Rzepecki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-21 00:00:00.000000000 Z
12
+ date: 2015-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: '4.16'
34
+ version: '4.19'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: '4.16'
41
+ version: '4.19'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: gli
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -249,6 +249,34 @@ dependencies:
249
249
  - - '>='
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
+ - !ruby/object:Gem::Dependency
253
+ name: conjur-asset-audit-send
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - '>='
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ type: :development
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - '>='
264
+ - !ruby/object:Gem::Version
265
+ version: '0'
266
+ - !ruby/object:Gem::Dependency
267
+ name: conjur-asset-host-factory
268
+ requirement: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - '>='
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ type: :development
274
+ prerelease: false
275
+ version_requirements: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - '>='
278
+ - !ruby/object:Gem::Version
279
+ version: '0'
252
280
  description:
253
281
  email:
254
282
  - rafal@conjur.net
@@ -271,6 +299,56 @@ files:
271
299
  - PUBLISH.md
272
300
  - README.md
273
301
  - Rakefile
302
+ - acceptance-features/audit/audit_event_send.feature
303
+ - acceptance-features/audit/send.feature
304
+ - acceptance-features/authentication/authenticate.feature
305
+ - acceptance-features/authentication/login.feature
306
+ - acceptance-features/authentication/logout.feature
307
+ - acceptance-features/authentication/whoami.feature
308
+ - acceptance-features/authorization/resource/annotate.feature
309
+ - acceptance-features/authorization/resource/check.feature
310
+ - acceptance-features/authorization/resource/create.feature
311
+ - acceptance-features/authorization/resource/deny.feature
312
+ - acceptance-features/authorization/resource/exists.feature
313
+ - acceptance-features/authorization/resource/give.feature
314
+ - acceptance-features/authorization/resource/permit.feature
315
+ - acceptance-features/authorization/resource/permitted_roles.feature
316
+ - acceptance-features/authorization/resource/show.feature
317
+ - acceptance-features/authorization/role/create.feature
318
+ - acceptance-features/authorization/role/exists.feature
319
+ - acceptance-features/authorization/role/grant_to.feature
320
+ - acceptance-features/authorization/role/graph.feature
321
+ - acceptance-features/authorization/role/members.feature
322
+ - acceptance-features/authorization/role/memberships.feature
323
+ - acceptance-features/conjurenv/check.feature
324
+ - acceptance-features/conjurenv/run.feature
325
+ - acceptance-features/conjurenv/template.feature
326
+ - acceptance-features/directory/group/create.feature
327
+ - acceptance-features/directory/group/retire.feature
328
+ - acceptance-features/directory/host/create.feature
329
+ - acceptance-features/directory/host/retire.feature
330
+ - acceptance-features/directory/layer/create.feature
331
+ - acceptance-features/directory/layer/hosts-add.feature
332
+ - acceptance-features/directory/layer/hosts-remove.feature
333
+ - acceptance-features/directory/user/create.feature
334
+ - acceptance-features/directory/user/retire.feature
335
+ - acceptance-features/directory/user/update_password.feature
336
+ - acceptance-features/directory/variable/create.feature
337
+ - acceptance-features/directory/variable/retire.feature
338
+ - acceptance-features/directory/variable/value.feature
339
+ - acceptance-features/directory/variable/values-add.feature
340
+ - acceptance-features/global-privilege/elevate.feature
341
+ - acceptance-features/global-privilege/reveal.privilege
342
+ - acceptance-features/pubkeys/add.feature
343
+ - acceptance-features/pubkeys/delete.feature
344
+ - acceptance-features/pubkeys/names.feature
345
+ - acceptance-features/pubkeys/show.feature
346
+ - acceptance-features/step_definitions/cli.rb
347
+ - acceptance-features/step_definitions/graph_steps.rb
348
+ - acceptance-features/step_definitions/user_steps.rb
349
+ - acceptance-features/support/env.rb
350
+ - acceptance-features/support/hooks.rb
351
+ - acceptance-features/support/world.rb
274
352
  - bin/_conjur
275
353
  - bin/conjur
276
354
  - bin/conjurize
@@ -305,6 +383,7 @@ files:
305
383
  - lib/conjur/command/authn.rb
306
384
  - lib/conjur/command/bootstrap.rb
307
385
  - lib/conjur/command/dsl_command.rb
386
+ - lib/conjur/command/elevate.rb
308
387
  - lib/conjur/command/env.rb
309
388
  - lib/conjur/command/field.rb
310
389
  - lib/conjur/command/groups.rb
@@ -340,6 +419,7 @@ files:
340
419
  - spec/command/assets_spec.rb
341
420
  - spec/command/audit_spec.rb
342
421
  - spec/command/authn_spec.rb
422
+ - spec/command/elevate_spec.rb
343
423
  - spec/command/env_spec.rb
344
424
  - spec/command/groups_spec.rb
345
425
  - spec/command/hosts_spec.rb
@@ -406,6 +486,7 @@ test_files:
406
486
  - spec/command/assets_spec.rb
407
487
  - spec/command/audit_spec.rb
408
488
  - spec/command/authn_spec.rb
489
+ - spec/command/elevate_spec.rb
409
490
  - spec/command/env_spec.rb
410
491
  - spec/command/groups_spec.rb
411
492
  - spec/command/hosts_spec.rb