Sha256: 827923f731740d8787106c76613a7043533449e5e381d27a1b07809ee6a4975d

Contents?: true

Size: 737 Bytes

Versions: 11

Compression:

Stored size: 737 Bytes

Contents

Feature: Annotate a resource

  Background:
    Given I load the policy:
    """
    - !resource
      kind: food
      id: bacon
      annotations:
        preparation-style: crispy
    """
  
  Scenario: Annotations are stored and returned when the resource is displayed
    When I successfully run `conjur show food:bacon`
    And the JSON at "annotations" should have 1 entry
    And the JSON at "annotations/0/name" should be "preparation-style"
    And the JSON at "annotations/0/value" should be "crispy"
  
  Scenario: Annotations are searchable
    When I successfully run `conjur list --inspect -k food -s "crispy"`
    Then the JSON should have 1 entry
    And the JSON at "0/annotations/preparation-style" should be "crispy"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
conjur-cli-6.2.6 features/authorization/resource/annotate.feature
conjur-cli-6.2.5 features/authorization/resource/annotate.feature
conjur-cli-6.2.4 features/authorization/resource/annotate.feature
conjur-cli-6.2.3 features/authorization/resource/annotate.feature
conjur-cli-6.2.2 features/authorization/resource/annotate.feature
conjur-cli-6.2.1 features/authorization/resource/annotate.feature
conjur-cli-6.2.0 features/authorization/resource/annotate.feature
conjur-cli-6.1.0 features/authorization/resource/annotate.feature
conjur-cli-6.0.1 features/authorization/resource/annotate.feature
conjur-cli-6.0.0 features/authorization/resource/annotate.feature
conjur-cli-6.0.0.rc1 features/authorization/resource/annotate.feature