Sha256: f7c50e3de09fc7cd49c6f5fd29ebcd3e704cedc0c89c405abca89649bc1da357

Contents?: true

Size: 596 Bytes

Versions: 5

Compression:

Stored size: 596 Bytes

Contents

Feature: Resources created by a policy are owned by the policy

  Background:
    Given a file named "policy.rb" with:
    """
policy 'test-policy-1.0' do
  resource 'webservice', 'web1'
end
    """

  Scenario: resource is create with correct ownership
    When I run `conjur policy load --collection $ns` interactively
    And I pipe in the file "policy.rb"
    And the command completes successfully
    And I reset the command list
    When I run `conjur resource show webservice:$ns/test-policy-1.0/web1`
    Then the JSON at "owner" should be "cucumber:policy:%{NAMESPACE}/test-policy-1.0"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-cli-5.1.1 acceptance-features/dsl/resource_owner.feature
conjur-cli-5.1.0 acceptance-features/dsl/resource_owner.feature
conjur-cli-4.30.1 acceptance-features/dsl/resource_owner.feature
conjur-cli-4.30.0 acceptance-features/dsl/resource_owner.feature
conjur-cli-4.29.0 acceptance-features/dsl/resource_owner.feature