conjur-cli 5.6.6 → 6.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.dockerignore +1 -1
- data/.gitignore +2 -0
- data/.rubocop.yml +1 -1
- data/APPLIANCE_VERSION +1 -1
- data/CHANGELOG.md +3 -42
- data/Gemfile +4 -7
- data/Humanfile.md +31 -0
- data/Jenkinsfile +34 -63
- data/README.md +41 -55
- data/Rakefile +5 -1
- data/bin/conjur +0 -2
- data/build-deb.sh +1 -3
- data/ci/cli-test.sh +6 -0
- data/ci/package.sh +3 -1
- data/ci/publish.sh +2 -2
- data/ci/secrets/publish.yml +2 -2
- data/ci/wait_for_server.sh +10 -0
- data/conjur-cli.gemspec +7 -7
- data/dev/docker-compose.yml +24 -0
- data/dev/start.sh +15 -0
- data/dev/stop.sh +5 -0
- data/docker-compose.yml +30 -0
- data/features/authentication/authenticate.feature +34 -0
- data/features/authentication/login.feature +13 -0
- data/features/authentication/logout.feature +15 -0
- data/{acceptance-features → features}/authentication/whoami.feature +0 -0
- data/features/authorization/resource/annotate.feature +22 -0
- data/features/authorization/resource/check.feature +47 -0
- data/{acceptance-features → features}/authorization/resource/exists.feature +18 -6
- data/features/authorization/resource/permitted_roles.feature +35 -0
- data/features/authorization/resource/show.feature +34 -0
- data/features/authorization/role/exists.feature +28 -0
- data/features/authorization/role/members.feature +45 -0
- data/features/authorization/role/memberships.feature +43 -0
- data/features/conjurenv/check.feature +34 -0
- data/features/conjurenv/run.feature +15 -0
- data/{acceptance-features → features}/conjurenv/template.feature +8 -3
- data/{acceptance-features → features}/directory/user/update_password.feature +8 -2
- data/{acceptance-features → features}/directory/variable/value.feature +9 -5
- data/{acceptance-features → features}/directory/variable/values-add.feature +8 -3
- data/features/hostfactory/tokens.feature +22 -0
- data/features/pubkeys/show.feature +18 -0
- data/features/step_definitions/authn_steps.rb +22 -0
- data/features/step_definitions/cli_steps.rb +28 -0
- data/features/step_definitions/file_steps.rb +12 -0
- data/features/step_definitions/flow_control_steps.rb +7 -0
- data/features/step_definitions/graph_steps.rb +4 -3
- data/{acceptance-features → features}/step_definitions/http_steps.rb +0 -0
- data/features/step_definitions/overrides.rb +9 -0
- data/features/step_definitions/policy_steps.rb +11 -0
- data/{acceptance-features → features}/step_definitions/trusted_proxy_steps.rb +0 -0
- data/features/support/blank.yml +1 -0
- data/features/support/env.rb +21 -7
- data/features/support/hooks.rb +31 -116
- data/features/support/world.rb +16 -76
- data/jenkins.sh +33 -0
- data/lib/conjur/authenticator.rb +83 -0
- data/lib/conjur/authn.rb +5 -20
- data/lib/conjur/cli.rb +13 -6
- data/lib/conjur/command.rb +30 -350
- data/lib/conjur/command/authn.rb +23 -15
- data/lib/conjur/command/host_factories.rb +2 -74
- data/lib/conjur/command/hosts.rb +6 -113
- data/lib/conjur/command/init.rb +20 -35
- data/lib/conjur/command/{secrets.rb → policies.rb} +33 -22
- data/lib/conjur/command/pubkeys.rb +3 -63
- data/lib/conjur/command/resources.rb +45 -162
- data/lib/conjur/command/roles.rb +11 -181
- data/lib/conjur/command/rspec/helpers.rb +0 -1
- data/lib/conjur/command/rspec/mock_services.rb +4 -4
- data/lib/conjur/command/users.rb +2 -159
- data/lib/conjur/command/variables.rb +5 -218
- data/lib/conjur/complete.rb +2 -2
- data/lib/conjur/config.rb +1 -11
- data/lib/conjur/conjurenv.rb +12 -9
- data/lib/conjur/identifier_manipulation.rb +3 -5
- data/lib/conjur/version.rb +2 -2
- data/{publish-rubygem.sh → publish.sh} +0 -4
- data/spec/authn_spec.rb +4 -0
- data/spec/command/hosts_spec.rb +2 -69
- data/spec/command/init_spec.rb +16 -11
- data/spec/command/pubkeys_spec.rb +1 -46
- data/spec/command/resources_spec.rb +21 -170
- data/spec/command/roles_spec.rb +5 -181
- data/spec/command/users_spec.rb +3 -79
- data/spec/command_spec.rb +1 -20
- data/spec/complete_spec.rb +1 -23
- data/spec/config_spec.rb +1 -1
- data/spec/spec_helper.rb +4 -5
- data/test.sh +29 -25
- metadata +92 -212
- data/.githooks/pre_commit/run_specs.rb +0 -23
- data/Dockerfile +0 -15
- data/Dockerfile.fpm +0 -18
- data/Dockerfile.publish +0 -12
- data/Dockerfile.standalone +0 -33
- data/Dockerfile.validate-packaging +0 -9
- data/VERSION +0 -1
- data/acceptance-features/audit/audit_event_send.feature +0 -107
- data/acceptance-features/audit/fetch.feature +0 -16
- data/acceptance-features/audit/send.feature +0 -51
- data/acceptance-features/authentication/authenticate.feature +0 -10
- data/acceptance-features/authentication/login.feature +0 -12
- data/acceptance-features/authentication/logout.feature +0 -13
- data/acceptance-features/authorization/resource/annotate.feature +0 -35
- data/acceptance-features/authorization/resource/check.feature +0 -24
- data/acceptance-features/authorization/resource/create.feature +0 -21
- data/acceptance-features/authorization/resource/deny.feature +0 -12
- data/acceptance-features/authorization/resource/give.feature +0 -24
- data/acceptance-features/authorization/resource/permit.feature +0 -20
- data/acceptance-features/authorization/resource/permitted_roles.feature +0 -16
- data/acceptance-features/authorization/resource/show.feature +0 -28
- data/acceptance-features/authorization/role/create.feature +0 -13
- data/acceptance-features/authorization/role/exists.feature +0 -19
- data/acceptance-features/authorization/role/grant_to.feature +0 -21
- data/acceptance-features/authorization/role/graph.feature +0 -57
- data/acceptance-features/authorization/role/members.feature +0 -23
- data/acceptance-features/authorization/role/memberships.feature +0 -27
- data/acceptance-features/bootstrap.feature +0 -13
- data/acceptance-features/conjurenv/check.feature +0 -21
- data/acceptance-features/conjurenv/run.feature +0 -10
- data/acceptance-features/directory/group/create.feature +0 -20
- data/acceptance-features/directory/group/retire.feature +0 -54
- data/acceptance-features/directory/host/create.feature +0 -23
- data/acceptance-features/directory/host/retire.feature +0 -6
- data/acceptance-features/directory/hostfactory/create.feature +0 -28
- data/acceptance-features/directory/hostfactory/tokens.feature +0 -16
- data/acceptance-features/directory/layer/create.feature +0 -10
- data/acceptance-features/directory/layer/hosts-add.feature +0 -9
- data/acceptance-features/directory/layer/hosts-remove.feature +0 -10
- data/acceptance-features/directory/layer/retire.feature +0 -43
- data/acceptance-features/directory/user/create.feature +0 -23
- data/acceptance-features/directory/user/retire.feature +0 -6
- data/acceptance-features/directory/variable/create.feature +0 -14
- data/acceptance-features/directory/variable/retire.feature +0 -17
- data/acceptance-features/dsl/policy_owner.feature +0 -45
- data/acceptance-features/dsl/resource_owner.feature +0 -17
- data/acceptance-features/dsl/retire.feature +0 -15
- data/acceptance-features/global-privilege/elevate.feature +0 -20
- data/acceptance-features/global-privilege/reveal.privilege +0 -20
- data/acceptance-features/pubkeys/add.feature +0 -22
- data/acceptance-features/pubkeys/delete.feature +0 -9
- data/acceptance-features/pubkeys/names.feature +0 -26
- data/acceptance-features/pubkeys/show.feature +0 -27
- data/acceptance-features/step_definitions/cli_steps.rb +0 -57
- data/acceptance-features/step_definitions/graph_steps.rb +0 -22
- data/acceptance-features/step_definitions/user_steps.rb +0 -51
- data/acceptance-features/support/env.rb +0 -23
- data/acceptance-features/support/hooks.rb +0 -178
- data/acceptance-features/support/world.rb +0 -176
- data/acceptance-features/trusted_proxies.feature +0 -82
- data/bin/conjurize +0 -26
- data/bin/jsonfield +0 -70
- data/build-standalone +0 -6
- data/deprecations.sh +0 -38
- data/features/conjurize.feature +0 -134
- data/features/dsl_context.feature +0 -36
- data/features/dsl_host_create.feature +0 -11
- data/features/dsl_ownership.feature +0 -30
- data/features/dsl_permission.feature +0 -45
- data/features/dsl_resource_create.feature +0 -23
- data/features/dsl_role_create.feature +0 -11
- data/features/dsl_user_create.feature +0 -23
- data/features/jsonfield.feature +0 -49
- data/features/role_graph.feature +0 -58
- data/features/step_definitions/conjurize_steps.rb +0 -5
- data/features/step_definitions/dsl_steps.rb +0 -52
- data/features/support/conjur.conf +0 -6
- data/lib/conjur/command/assets.rb +0 -121
- data/lib/conjur/command/audit.rb +0 -155
- data/lib/conjur/command/bootstrap.rb +0 -129
- data/lib/conjur/command/dsl_command.rb +0 -75
- data/lib/conjur/command/elevate.rb +0 -76
- data/lib/conjur/command/field.rb +0 -45
- data/lib/conjur/command/groups.rb +0 -208
- data/lib/conjur/command/ids.rb +0 -34
- data/lib/conjur/command/layers.rb +0 -211
- data/lib/conjur/command/ldapsync.rb +0 -118
- data/lib/conjur/command/rspec/audit_helpers.rb +0 -68
- data/lib/conjur/command/rubydsl.rb +0 -93
- data/lib/conjur/command/script.rb +0 -48
- data/lib/conjur/command/server.rb +0 -67
- data/lib/conjur/conjurize.rb +0 -71
- data/lib/conjur/conjurize/script.rb +0 -150
- data/lib/conjur/dsl/runner.rb +0 -273
- data/publish-deb.sh +0 -6
- data/push-image +0 -29
- data/spec/command/assets_spec.rb +0 -115
- data/spec/command/audit_spec.rb +0 -376
- data/spec/command/elevate_spec.rb +0 -28
- data/spec/command/env_spec.rb +0 -168
- data/spec/command/groups_spec.rb +0 -77
- data/spec/command/host_factories_spec.rb +0 -38
- data/spec/command/layers_spec.rb +0 -35
- data/spec/command/ldapsync_spec.rb +0 -28
- data/spec/command/rubydsl_spec.rb +0 -63
- data/spec/command/variable_expiration_spec.rb +0 -164
- data/spec/command/variables_spec.rb +0 -192
- data/spec/conjurize/script_spec.rb +0 -62
- data/spec/conjurize_spec.rb +0 -70
- data/spec/dsl/runner_spec.rb +0 -93
- data/spec/env_spec.rb +0 -214
data/test.sh
CHANGED
@@ -1,36 +1,40 @@
|
|
1
1
|
#!/bin/bash -ex
|
2
2
|
|
3
|
-
|
4
|
-
RUBY_VERSION_DEFAULT="2.2.4"
|
3
|
+
: ${RUBY_VERSION=2.2.5}
|
5
4
|
|
6
|
-
#
|
7
|
-
RUBY_VERSION=$
|
5
|
+
# My local RUBY_VERSION is set to ruby-#.#.# so this allows running locally.
|
6
|
+
RUBY_VERSION=$(cut -d '-' -f 2 <<< $RUBY_VERSION)
|
8
7
|
|
9
|
-
|
8
|
+
main() {
|
9
|
+
build
|
10
10
|
|
11
|
-
|
12
|
-
function dockerfile_path {
|
13
|
-
echo "Setting Ruby version as ${RUBY_VERSION}" >&2
|
14
|
-
cp "Dockerfile" "Dockerfile.${RUBY_VERSION}"
|
15
|
-
if ! grep "Dockerfile.${RUBY_VERSION}" .git/info/exclude >/dev/null; then
|
16
|
-
echo "Dockerfile.${RUBY_VERSION}*" >>.git/info/exclude
|
17
|
-
fi
|
18
|
-
sed -i -e "s/${RUBY_VERSION_DEFAULT}/${RUBY_VERSION}/g" Dockerfile.${RUBY_VERSION}
|
11
|
+
start_conjur
|
19
12
|
|
20
|
-
|
13
|
+
run_tests
|
21
14
|
}
|
22
15
|
|
23
|
-
|
16
|
+
# internal functions
|
24
17
|
|
25
|
-
|
18
|
+
build() {
|
19
|
+
# we can get rid of this once we upgrade to docker 17.06+
|
20
|
+
sed "s/\${RUBY_VERSION}/$RUBY_VERSION/" Dockerfile > Dockerfile.$RUBY_VERSION
|
26
21
|
|
27
|
-
docker build
|
22
|
+
docker-compose build --pull
|
23
|
+
}
|
24
|
+
|
25
|
+
start_conjur() {
|
26
|
+
docker-compose pull pg conjur
|
27
|
+
|
28
|
+
env CONJUR_DATA_KEY="$(docker-compose run -T --no-deps conjur data-key generate)" \
|
29
|
+
docker-compose up -d conjur
|
30
|
+
trap "docker-compose down" EXIT
|
31
|
+
|
32
|
+
docker-compose run test ci/wait_for_server.sh
|
33
|
+
}
|
34
|
+
|
35
|
+
run_tests() {
|
36
|
+
env CONJUR_AUTHN_API_KEY=$(docker-compose exec -T conjur rails r "print Credentials['cucumber:user:admin'].api_key") \
|
37
|
+
docker-compose run test "$@"
|
38
|
+
}
|
28
39
|
|
29
|
-
|
30
|
-
-v $PWD:/src \
|
31
|
-
${IMAGE_NAME} \
|
32
|
-
bash -c '''
|
33
|
-
bundle update
|
34
|
-
bundle exec rake jenkins
|
35
|
-
bundle exec rake build
|
36
|
-
'''
|
40
|
+
main
|
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
|
+
version: 6.0.0.rc1
|
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:
|
12
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,34 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: '6'
|
20
|
+
version: '0'
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
25
|
- - ">="
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '6'
|
27
|
+
version: '0'
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
29
|
name: conjur-api
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
37
31
|
requirements:
|
38
32
|
- - "~>"
|
39
33
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
34
|
+
version: 5.0.0.beta
|
41
35
|
type: :runtime
|
42
36
|
prerelease: false
|
43
37
|
version_requirements: !ruby/object:Gem::Requirement
|
44
38
|
requirements:
|
45
39
|
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
41
|
+
version: 5.0.0.beta
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
43
|
name: gli
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,20 +81,6 @@ dependencies:
|
|
87
81
|
- - "~>"
|
88
82
|
- !ruby/object:Gem::Version
|
89
83
|
version: '0.10'
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: methadone
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.9'
|
97
|
-
type: :runtime
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.9'
|
104
84
|
- !ruby/object:Gem::Dependency
|
105
85
|
name: deep_merge
|
106
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,34 +123,6 @@ dependencies:
|
|
143
123
|
- - "~>"
|
144
124
|
- !ruby/object:Gem::Version
|
145
125
|
version: '1.5'
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
name: semantic
|
148
|
-
requirement: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 1.4.1
|
153
|
-
type: :runtime
|
154
|
-
prerelease: false
|
155
|
-
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 1.4.1
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: cas_rest_client
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '1.3'
|
167
|
-
type: :runtime
|
168
|
-
prerelease: false
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.3'
|
174
126
|
- !ruby/object:Gem::Dependency
|
175
127
|
name: rspec
|
176
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -311,6 +263,20 @@ dependencies:
|
|
311
263
|
- - ">="
|
312
264
|
- !ruby/object:Gem::Version
|
313
265
|
version: '0'
|
266
|
+
- !ruby/object:Gem::Dependency
|
267
|
+
name: pry-byebug
|
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'
|
314
280
|
description:
|
315
281
|
email:
|
316
282
|
- rafal@conjur.net
|
@@ -318,13 +284,10 @@ email:
|
|
318
284
|
executables:
|
319
285
|
- _conjur
|
320
286
|
- conjur
|
321
|
-
- conjurize
|
322
|
-
- jsonfield
|
323
287
|
extensions: []
|
324
288
|
extra_rdoc_files: []
|
325
289
|
files:
|
326
290
|
- ".dockerignore"
|
327
|
-
- ".githooks/pre_commit/run_specs.rb"
|
328
291
|
- ".gitignore"
|
329
292
|
- ".kateproject"
|
330
293
|
- ".overcommit.yml"
|
@@ -332,190 +295,108 @@ files:
|
|
332
295
|
- ".rubocop.yml"
|
333
296
|
- APPLIANCE_VERSION
|
334
297
|
- CHANGELOG.md
|
335
|
-
- Dockerfile
|
336
|
-
- Dockerfile.fpm
|
337
|
-
- Dockerfile.publish
|
338
|
-
- Dockerfile.standalone
|
339
|
-
- Dockerfile.validate-packaging
|
340
298
|
- Gemfile
|
299
|
+
- Humanfile.md
|
341
300
|
- Jenkinsfile
|
342
301
|
- LICENSE.md
|
343
302
|
- PUBLISH.md
|
344
303
|
- README.md
|
345
304
|
- Rakefile
|
346
|
-
- VERSION
|
347
|
-
- acceptance-features/audit/audit_event_send.feature
|
348
|
-
- acceptance-features/audit/fetch.feature
|
349
|
-
- acceptance-features/audit/send.feature
|
350
|
-
- acceptance-features/authentication/authenticate.feature
|
351
|
-
- acceptance-features/authentication/login.feature
|
352
|
-
- acceptance-features/authentication/logout.feature
|
353
|
-
- acceptance-features/authentication/whoami.feature
|
354
|
-
- acceptance-features/authorization/resource/annotate.feature
|
355
|
-
- acceptance-features/authorization/resource/check.feature
|
356
|
-
- acceptance-features/authorization/resource/create.feature
|
357
|
-
- acceptance-features/authorization/resource/deny.feature
|
358
|
-
- acceptance-features/authorization/resource/exists.feature
|
359
|
-
- acceptance-features/authorization/resource/give.feature
|
360
|
-
- acceptance-features/authorization/resource/permit.feature
|
361
|
-
- acceptance-features/authorization/resource/permitted_roles.feature
|
362
|
-
- acceptance-features/authorization/resource/show.feature
|
363
|
-
- acceptance-features/authorization/role/create.feature
|
364
|
-
- acceptance-features/authorization/role/exists.feature
|
365
|
-
- acceptance-features/authorization/role/grant_to.feature
|
366
|
-
- acceptance-features/authorization/role/graph.feature
|
367
|
-
- acceptance-features/authorization/role/members.feature
|
368
|
-
- acceptance-features/authorization/role/memberships.feature
|
369
|
-
- acceptance-features/bootstrap.feature
|
370
|
-
- acceptance-features/conjurenv/check.feature
|
371
|
-
- acceptance-features/conjurenv/run.feature
|
372
|
-
- acceptance-features/conjurenv/template.feature
|
373
|
-
- acceptance-features/directory/group/create.feature
|
374
|
-
- acceptance-features/directory/group/retire.feature
|
375
|
-
- acceptance-features/directory/host/create.feature
|
376
|
-
- acceptance-features/directory/host/retire.feature
|
377
|
-
- acceptance-features/directory/hostfactory/create.feature
|
378
|
-
- acceptance-features/directory/hostfactory/tokens.feature
|
379
|
-
- acceptance-features/directory/layer/create.feature
|
380
|
-
- acceptance-features/directory/layer/hosts-add.feature
|
381
|
-
- acceptance-features/directory/layer/hosts-remove.feature
|
382
|
-
- acceptance-features/directory/layer/retire.feature
|
383
|
-
- acceptance-features/directory/user/create.feature
|
384
|
-
- acceptance-features/directory/user/retire.feature
|
385
|
-
- acceptance-features/directory/user/update_password.feature
|
386
|
-
- acceptance-features/directory/variable/create.feature
|
387
|
-
- acceptance-features/directory/variable/retire.feature
|
388
|
-
- acceptance-features/directory/variable/value.feature
|
389
|
-
- acceptance-features/directory/variable/values-add.feature
|
390
|
-
- acceptance-features/dsl/policy_owner.feature
|
391
|
-
- acceptance-features/dsl/resource_owner.feature
|
392
|
-
- acceptance-features/dsl/retire.feature
|
393
|
-
- acceptance-features/global-privilege/elevate.feature
|
394
|
-
- acceptance-features/global-privilege/reveal.privilege
|
395
|
-
- acceptance-features/pubkeys/add.feature
|
396
|
-
- acceptance-features/pubkeys/delete.feature
|
397
|
-
- acceptance-features/pubkeys/names.feature
|
398
|
-
- acceptance-features/pubkeys/show.feature
|
399
|
-
- acceptance-features/step_definitions/cli_steps.rb
|
400
|
-
- acceptance-features/step_definitions/graph_steps.rb
|
401
|
-
- acceptance-features/step_definitions/http_steps.rb
|
402
|
-
- acceptance-features/step_definitions/trusted_proxy_steps.rb
|
403
|
-
- acceptance-features/step_definitions/user_steps.rb
|
404
|
-
- acceptance-features/support/env.rb
|
405
|
-
- acceptance-features/support/hooks.rb
|
406
|
-
- acceptance-features/support/world.rb
|
407
|
-
- acceptance-features/trusted_proxies.feature
|
408
305
|
- bin/_conjur
|
409
306
|
- bin/conjur
|
410
|
-
- bin/conjurize
|
411
|
-
- bin/jsonfield
|
412
307
|
- build-deb.sh
|
413
|
-
-
|
308
|
+
- ci/cli-test.sh
|
414
309
|
- ci/install.sh
|
415
310
|
- ci/package.sh
|
416
311
|
- ci/publish.sh
|
417
312
|
- ci/secrets/publish.yml
|
418
313
|
- ci/test.sh
|
314
|
+
- ci/wait_for_server.sh
|
419
315
|
- conjur-cli.gemspec
|
420
316
|
- debify.sh
|
421
|
-
-
|
422
|
-
-
|
423
|
-
-
|
424
|
-
-
|
425
|
-
- features/
|
426
|
-
- features/
|
427
|
-
- features/
|
428
|
-
- features/
|
429
|
-
- features/
|
430
|
-
- features/
|
431
|
-
- features/
|
432
|
-
- features/
|
433
|
-
- features/
|
317
|
+
- dev/docker-compose.yml
|
318
|
+
- dev/start.sh
|
319
|
+
- dev/stop.sh
|
320
|
+
- docker-compose.yml
|
321
|
+
- features/authentication/authenticate.feature
|
322
|
+
- features/authentication/login.feature
|
323
|
+
- features/authentication/logout.feature
|
324
|
+
- features/authentication/whoami.feature
|
325
|
+
- features/authorization/resource/annotate.feature
|
326
|
+
- features/authorization/resource/check.feature
|
327
|
+
- features/authorization/resource/exists.feature
|
328
|
+
- features/authorization/resource/permitted_roles.feature
|
329
|
+
- features/authorization/resource/show.feature
|
330
|
+
- features/authorization/role/exists.feature
|
331
|
+
- features/authorization/role/members.feature
|
332
|
+
- features/authorization/role/memberships.feature
|
333
|
+
- features/conjurenv/check.feature
|
334
|
+
- features/conjurenv/run.feature
|
335
|
+
- features/conjurenv/template.feature
|
336
|
+
- features/directory/user/update_password.feature
|
337
|
+
- features/directory/variable/value.feature
|
338
|
+
- features/directory/variable/values-add.feature
|
339
|
+
- features/hostfactory/tokens.feature
|
340
|
+
- features/pubkeys/show.feature
|
341
|
+
- features/step_definitions/authn_steps.rb
|
342
|
+
- features/step_definitions/cli_steps.rb
|
343
|
+
- features/step_definitions/file_steps.rb
|
344
|
+
- features/step_definitions/flow_control_steps.rb
|
434
345
|
- features/step_definitions/graph_steps.rb
|
435
|
-
- features/
|
436
|
-
- features/
|
346
|
+
- features/step_definitions/http_steps.rb
|
347
|
+
- features/step_definitions/overrides.rb
|
348
|
+
- features/step_definitions/policy_steps.rb
|
349
|
+
- features/step_definitions/trusted_proxy_steps.rb
|
350
|
+
- features/support/blank.yml
|
437
351
|
- features/support/env.rb
|
438
352
|
- features/support/hooks.rb
|
439
|
-
- features/support/host.json
|
440
353
|
- features/support/world.rb
|
354
|
+
- jenkins.sh
|
441
355
|
- lib/conjur-cli.rb
|
442
356
|
- lib/conjur.rb
|
443
357
|
- lib/conjur/audit/follower.rb
|
358
|
+
- lib/conjur/authenticator.rb
|
444
359
|
- lib/conjur/authn.rb
|
445
360
|
- lib/conjur/cli.rb
|
446
361
|
- lib/conjur/command.rb
|
447
|
-
- lib/conjur/command/assets.rb
|
448
|
-
- lib/conjur/command/audit.rb
|
449
362
|
- lib/conjur/command/authn.rb
|
450
|
-
- lib/conjur/command/bootstrap.rb
|
451
|
-
- lib/conjur/command/dsl_command.rb
|
452
|
-
- lib/conjur/command/elevate.rb
|
453
363
|
- lib/conjur/command/env.rb
|
454
|
-
- lib/conjur/command/field.rb
|
455
|
-
- lib/conjur/command/groups.rb
|
456
364
|
- lib/conjur/command/host_factories.rb
|
457
365
|
- lib/conjur/command/hosts.rb
|
458
|
-
- lib/conjur/command/ids.rb
|
459
366
|
- lib/conjur/command/init.rb
|
460
|
-
- lib/conjur/command/layers.rb
|
461
|
-
- lib/conjur/command/ldapsync.rb
|
462
367
|
- lib/conjur/command/plugin.rb
|
368
|
+
- lib/conjur/command/policies.rb
|
463
369
|
- lib/conjur/command/pubkeys.rb
|
464
370
|
- lib/conjur/command/resources.rb
|
465
371
|
- lib/conjur/command/roles.rb
|
466
|
-
- lib/conjur/command/rspec/audit_helpers.rb
|
467
372
|
- lib/conjur/command/rspec/describe_command.rb
|
468
373
|
- lib/conjur/command/rspec/helpers.rb
|
469
374
|
- lib/conjur/command/rspec/mock_services.rb
|
470
375
|
- lib/conjur/command/rspec/output_matchers.rb
|
471
|
-
- lib/conjur/command/rubydsl.rb
|
472
|
-
- lib/conjur/command/script.rb
|
473
|
-
- lib/conjur/command/secrets.rb
|
474
|
-
- lib/conjur/command/server.rb
|
475
376
|
- lib/conjur/command/shellinit.rb
|
476
377
|
- lib/conjur/command/users.rb
|
477
378
|
- lib/conjur/command/variables.rb
|
478
379
|
- lib/conjur/complete.rb
|
479
380
|
- lib/conjur/config.rb
|
480
381
|
- lib/conjur/conjurenv.rb
|
481
|
-
- lib/conjur/conjurize.rb
|
482
|
-
- lib/conjur/conjurize/script.rb
|
483
|
-
- lib/conjur/dsl/runner.rb
|
484
382
|
- lib/conjur/identifier_manipulation.rb
|
485
383
|
- lib/conjur/version.rb
|
486
384
|
- lib/patches/conjur/error.rb
|
487
385
|
- lib/patches/gli.rb
|
488
386
|
- profile.rb
|
489
|
-
- publish
|
490
|
-
- publish-rubygem.sh
|
491
|
-
- push-image
|
387
|
+
- publish.sh
|
492
388
|
- spec/authn_spec.rb
|
493
|
-
- spec/command/assets_spec.rb
|
494
|
-
- spec/command/audit_spec.rb
|
495
389
|
- spec/command/authn_spec.rb
|
496
|
-
- spec/command/elevate_spec.rb
|
497
|
-
- spec/command/env_spec.rb
|
498
|
-
- spec/command/groups_spec.rb
|
499
|
-
- spec/command/host_factories_spec.rb
|
500
390
|
- spec/command/hosts_spec.rb
|
501
391
|
- spec/command/init_spec.rb
|
502
|
-
- spec/command/layers_spec.rb
|
503
|
-
- spec/command/ldapsync_spec.rb
|
504
392
|
- spec/command/pubkeys_spec.rb
|
505
393
|
- spec/command/resources_spec.rb
|
506
394
|
- spec/command/roles_spec.rb
|
507
|
-
- spec/command/rubydsl_spec.rb
|
508
395
|
- spec/command/users_spec.rb
|
509
|
-
- spec/command/variable_expiration_spec.rb
|
510
|
-
- spec/command/variables_spec.rb
|
511
396
|
- spec/command_spec.rb
|
512
397
|
- spec/complete_spec.rb
|
513
398
|
- spec/config_spec.rb
|
514
|
-
- spec/conjurize/script_spec.rb
|
515
|
-
- spec/conjurize_spec.rb
|
516
399
|
- spec/conjurrc
|
517
|
-
- spec/dsl/runner_spec.rb
|
518
|
-
- spec/env_spec.rb
|
519
400
|
- spec/spec_helper.rb
|
520
401
|
- standalone.entrypoint
|
521
402
|
- test.sh
|
@@ -534,60 +415,59 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
534
415
|
version: '0'
|
535
416
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
536
417
|
requirements:
|
537
|
-
- - "
|
418
|
+
- - ">"
|
538
419
|
- !ruby/object:Gem::Version
|
539
|
-
version:
|
420
|
+
version: 1.3.1
|
540
421
|
requirements: []
|
541
422
|
rubyforge_project:
|
542
|
-
rubygems_version: 2.
|
423
|
+
rubygems_version: 2.6.13
|
543
424
|
signing_key:
|
544
425
|
specification_version: 4
|
545
426
|
summary: Conjur command line interface
|
546
427
|
test_files:
|
547
|
-
- features/
|
548
|
-
- features/
|
549
|
-
- features/
|
550
|
-
- features/
|
551
|
-
- features/
|
552
|
-
- features/
|
553
|
-
- features/
|
554
|
-
- features/
|
555
|
-
- features/
|
556
|
-
- features/
|
557
|
-
- features/
|
558
|
-
- features/
|
428
|
+
- features/authentication/authenticate.feature
|
429
|
+
- features/authentication/login.feature
|
430
|
+
- features/authentication/logout.feature
|
431
|
+
- features/authentication/whoami.feature
|
432
|
+
- features/authorization/resource/annotate.feature
|
433
|
+
- features/authorization/resource/check.feature
|
434
|
+
- features/authorization/resource/exists.feature
|
435
|
+
- features/authorization/resource/permitted_roles.feature
|
436
|
+
- features/authorization/resource/show.feature
|
437
|
+
- features/authorization/role/exists.feature
|
438
|
+
- features/authorization/role/members.feature
|
439
|
+
- features/authorization/role/memberships.feature
|
440
|
+
- features/conjurenv/check.feature
|
441
|
+
- features/conjurenv/run.feature
|
442
|
+
- features/conjurenv/template.feature
|
443
|
+
- features/directory/user/update_password.feature
|
444
|
+
- features/directory/variable/value.feature
|
445
|
+
- features/directory/variable/values-add.feature
|
446
|
+
- features/hostfactory/tokens.feature
|
447
|
+
- features/pubkeys/show.feature
|
448
|
+
- features/step_definitions/authn_steps.rb
|
449
|
+
- features/step_definitions/cli_steps.rb
|
450
|
+
- features/step_definitions/file_steps.rb
|
451
|
+
- features/step_definitions/flow_control_steps.rb
|
559
452
|
- features/step_definitions/graph_steps.rb
|
560
|
-
- features/
|
561
|
-
- features/
|
453
|
+
- features/step_definitions/http_steps.rb
|
454
|
+
- features/step_definitions/overrides.rb
|
455
|
+
- features/step_definitions/policy_steps.rb
|
456
|
+
- features/step_definitions/trusted_proxy_steps.rb
|
457
|
+
- features/support/blank.yml
|
562
458
|
- features/support/env.rb
|
563
459
|
- features/support/hooks.rb
|
564
|
-
- features/support/host.json
|
565
460
|
- features/support/world.rb
|
566
461
|
- spec/authn_spec.rb
|
567
|
-
- spec/command/assets_spec.rb
|
568
|
-
- spec/command/audit_spec.rb
|
569
462
|
- spec/command/authn_spec.rb
|
570
|
-
- spec/command/elevate_spec.rb
|
571
|
-
- spec/command/env_spec.rb
|
572
|
-
- spec/command/groups_spec.rb
|
573
|
-
- spec/command/host_factories_spec.rb
|
574
463
|
- spec/command/hosts_spec.rb
|
575
464
|
- spec/command/init_spec.rb
|
576
|
-
- spec/command/layers_spec.rb
|
577
|
-
- spec/command/ldapsync_spec.rb
|
578
465
|
- spec/command/pubkeys_spec.rb
|
579
466
|
- spec/command/resources_spec.rb
|
580
467
|
- spec/command/roles_spec.rb
|
581
|
-
- spec/command/rubydsl_spec.rb
|
582
468
|
- spec/command/users_spec.rb
|
583
|
-
- spec/command/variable_expiration_spec.rb
|
584
|
-
- spec/command/variables_spec.rb
|
585
469
|
- spec/command_spec.rb
|
586
470
|
- spec/complete_spec.rb
|
587
471
|
- spec/config_spec.rb
|
588
|
-
- spec/conjurize/script_spec.rb
|
589
|
-
- spec/conjurize_spec.rb
|
590
472
|
- spec/conjurrc
|
591
|
-
- spec/dsl/runner_spec.rb
|
592
|
-
- spec/env_spec.rb
|
593
473
|
- spec/spec_helper.rb
|