GO-2024-2617: Authentication bypass in github.com/hashicorp/vault
package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Jul 18, 2020
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ParseMongoURL(rawURL string) (*mgo.DialInfo, error)
ParseMongoURL will parse a connection string and return a configured dialer
PrepareTestContainer calls PrepareTestContainerWithDatabase without a
database name value, which results in configuring a database named "test"
func PrepareTestContainerWithDatabase(t *testing.T, version, dbName string) (cleanup func(), retURL string)
PrepareTestContainerWithDatabase configures a test container with a given
database name, to test non-test/admin database configurations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.