Sha256: 506ed35989146fbbcfa63c6b5a9cc940c095ff0311934492ffeaa3cb94c8192e

Contents?: true

Size: 1.85 KB

Versions: 34

Compression:

Stored size: 1.85 KB

Contents

runOn:
  - minServerVersion: "4.1.10"
database_name: &database_name "default"
collection_name: &collection_name "default"

data: []
json_schema: {}
key_vault_data: [{'status': 1, '_id': {'$binary': {'base64': 'AAAAAAAAAAAAAAAAAAAAAA==', 'subType': '04'}}, 'masterKey': {'provider': 'aws', 'key': 'arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0', 'region': 'us-east-1'}, 'updateDate': {'$date': {'$numberLong': '1552949630483'}}, 'keyMaterial': {'$binary': {'base64': 'AQICAHhQNmWG2CzOm1dq3kWLM+iDUZhEqnhJwH9wZVpuZ94A8gEqnsxXlR51T5EbEVezUqqKAAAAwjCBvwYJKoZIhvcNAQcGoIGxMIGuAgEAMIGoBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDHa4jo6yp0Z18KgbUgIBEIB74sKxWtV8/YHje5lv5THTl0HIbhSwM6EqRlmBiFFatmEWaeMk4tO4xBX65eq670I5TWPSLMzpp8ncGHMmvHqRajNBnmFtbYxN3E3/WjxmdbOOe+OXpnGJPcGsftc7cB2shRfA4lICPnE26+oVNXT6p0Lo20nY5XC7jyCO', 'subType': '00'}}, 'creationDate': {'$date': {'$numberLong': '1552949630483'}}, 'keyAltNames': ['altname', 'another_altname']}]

tests:
  - description: "ping is bypassed"
    clientOptions:
      autoEncryptOpts:
        kmsProviders:
          aws: {} # Credentials filled in from environment.
    operations:
      - name: runCommand
        object: database
        command_name: ping
        arguments:
          command:
            ping: 1
    expectations:
      # No listCollections, no mongocryptd command, just the ping.
      - command_started_event:
          command:
            ping: 1
          command_name: ping
  - description: "current op is not bypassed"
    clientOptions:
      autoEncryptOpts:
        kmsProviders:
          aws: {} # Credentials filled in from environment.
    operations:
      - name: runCommand
        object: database
        command_name: currentOp
        arguments:
          command:
            currentOp: 1
        result:
          errorContains: "command not supported for auto encryption: currentOp"

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
mongo-2.16.4 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.17.4 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.18.3 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.19.0 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.18.2 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.17.3 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.18.1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.18.0 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.17.2 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.16.3 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.18.0.beta1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.16.2 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.17.1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.16.1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.17.0 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.16.0 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.13.3 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.14.1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.15.1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/client_side_encryption/bypassedCommand.yml