Vagrant is a tool for building and distributing development environments.
590 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .ci/.ci-utility-files/common.sh | 773 | # Create a GPG signature. This uses signore to generate a |
| MEDIUM | .ci/.ci-utility-files/common.sh | 1371 | # Create a temporary directory to work from |
| MEDIUM | .ci/.ci-utility-files/common.sh | 1947 | # Create the prerelease |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2058 | # Create the draft release |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2071 | # Create a GitHub release |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2174 | # Create the draft release |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2438 | # This function is identical to the github_draft_release_assets |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2926 | # This function is used to make requests to the GitHub API. It |
| MEDIUM | .ci/.ci-utility-files/common.sh | 2958 | # Define the status here since we will set it in |
| MEDIUM | test/unit/base.rb | 35 | # Create a temporary directory where test vagrant will run. The reason we save |
| MEDIUM | test/unit/plugins/commands/init/command_test.rb | 89 | # Create an existing Vagrantfile |
| MEDIUM | test/unit/plugins/commands/init/command_test.rb | 98 | # Create an existing Vagrantfile |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 156 | # Create a few boxes, immediately destroy them |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 173 | # Create a few boxes, immediately destroy them |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 193 | # Create a few boxes, immediately destroy them |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 412 | # Create a V1 box. |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 427 | # Create the box we're adding |
| MEDIUM | test/unit/vagrant/box_collection_test.rb | 470 | # Create a VirtualBox box file |
| MEDIUM | test/unit/vagrant/machine_test.rb | 41 | # Create the Vagrant::Environment instance |
| MEDIUM | test/unit/vagrant/environment_test.rb | 323 | # Create a provider |
| MEDIUM | test/unit/vagrant/environment_test.rb | 326 | # Create the configuration |
| MEDIUM | test/unit/vagrant/environment_test.rb | 348 | # Create a provider |
| MEDIUM | test/unit/vagrant/environment_test.rb | 355 | # Create the configuration |
| MEDIUM | test/unit/vagrant/environment_test.rb | 381 | # Create a provider |
| MEDIUM | test/unit/vagrant/environment_test.rb | 385 | # Create the configuration |
| MEDIUM | test/unit/vagrant/environment_test.rb | 600 | # Create a provider |
| MEDIUM | test/unit/vagrant/environment_test.rb | 603 | # Create the configuration |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1397 | # Create a custom UI for our test |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1414 | # Create the config |
| MEDIUM | test/unit/vagrant/environment_test.rb | 1427 | # Create the config |
| MEDIUM | test/unit/vagrant/config/loader_test.rb | 111 | # Create the finalize method on our loader |
| MEDIUM | test/unit/vagrant/config/v1/loader_test.rb | 69 | # Create the proc we're testing |
| MEDIUM | test/unit/vagrant/config/v1/loader_test.rb | 91 | # Create the proc we're testing |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 38 | # Create the proc we're testing |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 60 | # Create the proc we're testing |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 128 | # Create the old V1 class that will be upgraded |
| MEDIUM | test/unit/vagrant/config/v2/loader_test.rb | 139 | # Create the new V2 plugin it is writing to |
| MEDIUM | test/unit/vagrant/action/builder_test.rb | 20 | # Define a to_s on it for helpful output |
| MEDIUM | test/unit/vagrant/action/builder_test.rb | 117 | # Create the proc then make sure it has a name |
| MEDIUM | test/unit/support/isolated_environment.rb | 44 | # Create the box directory |
| MEDIUM | test/unit/support/isolated_environment.rb | 59 | # Create an alias because "box" makes a V1 box, so "box1" |
| MEDIUM | test/unit/support/isolated_environment.rb | 77 | # Create a metadata.json file |
| MEDIUM | test/unit/support/isolated_environment.rb | 85 | # Create a Vagrantfile |
| MEDIUM | test/unit/support/isolated_environment.rb | 107 | # Create the directory for the box |
| MEDIUM | test/unit/support/isolated_environment.rb | 111 | # Create the metadata.json for it |
| MEDIUM | test/unit/support/isolated_environment.rb | 119 | # Create a Vagrantfile |
| MEDIUM | test/unit/support/isolated_environment.rb | 127 | # Create the metadata URL |
| MEDIUM | test/unit/support/isolated_environment.rb | 141 | # Create a temporary directory to store our data we will tar up |
| MEDIUM | test/unit/support/isolated_environment.rb | 186 | # Create a temporary directory to store our data we will tar up |
| MEDIUM | test/unit/support/shared/base_context.rb | 17 | # Create a thing to store our temporary files so that they aren't |
| MEDIUM | test/unit/support/shared/base_context.rb | 84 | # Create a temporary directory and append it to the instance |
| MEDIUM | test/support/isolated_environment.rb | 33 | # Create a temporary directory for our work |
| MEDIUM | plugins/synced_folders/rsync/default_unix_cap.rb | 8 | # This module provides default rsync capabilities for |
| MEDIUM | plugins/synced_folders/rsync/helper.rb | 94 | # Create the path for the control sockets. We used to do this |
| MEDIUM | plugins/synced_folders/rsync/command/rsync_auto.rb | 163 | # Create the callback that lets us know when we've been interrupted |
| MEDIUM | plugins/kernel_v2/config/push.rb | 80 | # Define a new push in the Vagrantfile with the given name. |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 312 | # Define a way to access the machine via a network. This exposes a |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 1014 | # Create a helper that will with the synced folders mixin |
| MEDIUM | plugins/pushes/ftp/adapter.rb | 78 | # Create the parent directories if they does not exist (naive mkdir -p) |
| MEDIUM | plugins/providers/docker/provider.rb | 95 | # Create the env to manage this machine |
| 108 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 101 | |
| LOW | .ci/.ci-utility-files/common.sh | 121 | # through directly |
| LOW | .ci/.ci-utility-files/common.sh | 1441 | |
| LOW | .ci/.ci-utility-files/common.sh | 2061 | failure "Failed to create draft release on %s" "${repo_owner}/${draft_repo}" |
| LOW | .ci/.ci-utility-files/common.sh | 2881 | |
| LOW | .ci/.ci-utility-files/common.sh | 2921 | # Still here, then we send back that hashibot token |
| LOW | test/unit/plugins/pushes/ftp/push_test.rb | 321 | #{dir}/.hidden.rb |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 41 | # end |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 61 | |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 81 | |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 101 | # with("foo", "-vcs", "-token", "atlas_token", app, env.root_path.to_s) |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 121 | # with("foo", "-vcs", "-metadata", "box=hashicorp/precise64", |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 141 | # config.uploader_path = "foo" |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 161 | # bin_path.open("w+") { |f| f.write("hi") } |
| LOW | test/unit/plugins/pushes/atlas/push_test.rb | 181 | # expect(subject.uploader_path).to be_nil |
| LOW | test/config/acceptance_boxes.yml | 1 | # Copyright IBM Corp. 2010, 2025 |
| LOW | plugins/synced_folders/nfs/plugin.rb | 1 | # Copyright IBM Corp. 2010, 2025 |
| LOW | plugins/kernel_v2/config/trigger.rb | 21 | |
| LOW | plugins/kernel_v2/config/push.rb | 81 | # |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 21 | |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 41 | # @return [String] |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 61 | # |
| LOW | plugins/kernel_v2/config/vm_trigger.rb | 81 | # Can also be configured to have a custom exit code |
| LOW | plugins/kernel_v2/config/vm.rb | 261 | end |
| LOW | plugins/kernel_v2/config/cloud_init.rb | 21 | |
| LOW | plugins/kernel_v2/config/vm_provisioner.rb | 21 | # Internal unique name for this provisioner |
| LOW | plugins/kernel_v2/config/vm_provisioner.rb | 41 | # When to run this provisioner. Either "once", "always", or "never" |
| LOW | plugins/kernel_v2/config/disk.rb | 21 | # |
| LOW | plugins/kernel_v2/config/disk.rb | 41 | |
| LOW | plugins/pushes/ftp/config.rb | 21 | attr_accessor :passive |
| LOW | plugins/pushes/heroku/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 |
| LOW | plugins/pushes/atlas/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 |
| LOW | plugins/pushes/atlas/config.rb | 21 | # user confirmation) if it doesn't already exist. |
| LOW | plugins/pushes/atlas/config.rb | 41 | # @return [Array<String>] |
| LOW | plugins/providers/docker/config.rb | 21 | # should be set. |
| LOW | plugins/providers/docker/config.rb | 41 | # |
| LOW | plugins/providers/docker/config.rb | 61 | |
| LOW | plugins/providers/docker/config.rb | 81 | attr_accessor :host_vm_build_dir_options |
| LOW | plugins/providers/docker/config.rb | 101 | # The time to wait before sending a SIGTERM to the container |
| LOW | plugins/providers/docker/config.rb | 121 | # |
| LOW | plugins/providers/docker/config.rb | 141 | # |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 261 | end |
| LOW | plugins/providers/hyperv/driver.rb | 161 | |
| LOW | plugins/providers/hyperv/driver.rb | 201 | |
| LOW | plugins/providers/hyperv/driver.rb | 221 | # @return [nil] |
| LOW | plugins/providers/hyperv/driver.rb | 241 | |
| LOW | plugins/providers/virtualbox/config.rb | 1 | # Copyright IBM Corp. 2010, 2025 |
| LOW | plugins/providers/virtualbox/config.rb | 21 | # |
| LOW | plugins/providers/virtualbox/config.rb | 41 | # |
| LOW | plugins/providers/virtualbox/driver/base.rb | 141 | # hostonly: "vboxnet0", |
| LOW | plugins/providers/virtualbox/driver/base.rb | 161 | |
| LOW | plugins/providers/virtualbox/driver/base.rb | 181 | # protocol: "tcp" |
| LOW | plugins/providers/virtualbox/driver/base.rb | 201 | end |
| LOW | plugins/providers/virtualbox/driver/base.rb | 221 | def read_bridged_interfaces |
| LOW | plugins/providers/virtualbox/driver/base.rb | 241 | # |
| LOW | plugins/providers/virtualbox/driver/base.rb | 261 | # :netmask => String, # netmask associated with the interface, e.g. "255.255.255.0" |
| LOW | plugins/providers/virtualbox/driver/base.rb | 301 | # Returns a list of all UUIDs of virtual machines currently |
| LOW | plugins/providers/virtualbox/driver/base.rb | 361 | |
| LOW | plugins/providers/virtualbox/driver/meta.rb | 161 | :verify!, |
| LOW | plugins/providers/virtualbox/driver/version_5_0.rb | 21 | |
| 176 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 22 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 24 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 99 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/trigger.rb | 101 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/vm_trigger.rb | 18 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/vm_trigger.rb | 20 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 505 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/vm.rb | 507 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/cloud_init.rb | 10 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/cloud_init.rb | 12 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/disk.rb | 12 | #------------------------------------------------------------------- |
| MEDIUM | plugins/kernel_v2/config/disk.rb | 14 | #------------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/communicator.rb | 22 | #------------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/communicator.rb | 24 | #------------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/communicator.rb | 137 | #------------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/communicator.rb | 139 | #------------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/config.rb | 129 | #-------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/config.rb | 131 | #-------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/config.rb | 353 | #-------------------------------------------------------------- |
| MEDIUM | plugins/providers/docker/config.rb | 355 | #-------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 475 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 477 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 511 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 513 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 576 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/network.rb | 578 | #----------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/forward_ports.rb | 14 | #-------------------------------------------------------------- |
| MEDIUM | plugins/providers/virtualbox/action/forward_ports.rb | 16 | #-------------------------------------------------------------- |
| MEDIUM | plugins/provisioners/chef/config/chef_solo.rb | 64 | #------------------------------------------------------------ |
| MEDIUM | plugins/provisioners/chef/config/chef_solo.rb | 66 | #------------------------------------------------------------ |
| MEDIUM | lib/vagrant/environment.rb | 836 | #--------------------------------------------------------------- |
| MEDIUM | lib/vagrant/environment.rb | 838 | #--------------------------------------------------------------- |
| MEDIUM | lib/vagrant/plugin/v2/trigger.rb | 113 | #------------------------------------------------------------------- |
| MEDIUM | lib/vagrant/plugin/v2/trigger.rb | 115 | #------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 476 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 478 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2046 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2048 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2257 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2259 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2265 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2267 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2456 | #------------------------------------------------------------------------------- |
| MEDIUM | templates/locales/en.yml | 2458 | #------------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 141 | # Check if a role has already been assumed. If it |
| LOW | .ci/.ci-utility-files/common.sh | 667 | # Set 50M to be a largish file |
| LOW | .ci/.ci-utility-files/common.sh | 928 | # Check if version string is valid for release |
| LOW | .ci/.ci-utility-files/common.sh | 1153 | # Check if a release for the given version |
| LOW | .ci/.ci-utility-files/common.sh | 1263 | # Check if gem version is already published to RubyGems |
| LOW | .ci/.ci-utility-files/common.sh | 1308 | # Check if gem version is already published to hashigems |
| LOW | .ci/.ci-utility-files/common.sh | 2167 | # Set repository to get correct token behavior on request |
| LOW | .ci/.ci-utility-files/common.sh | 2199 | # Check if a github release exists by tag name |
| LOW | .ci/.ci-utility-files/common.sh | 2237 | # Check if a github release exists using fuzzy match |
| LOW | .ci/.ci-utility-files/common.sh | 2303 | # Check if a draft release exists by name |
| LOW | .ci/.ci-utility-files/common.sh | 2962 | # Check if our response content starts with the info prefix. |
| LOW | .ci/.ci-utility-files/common.sh | 3180 | # Iterate through the list |
| LOW | .ci/.ci-utility-files/common.sh | 3213 | # Check if the issue is old enough to be locked |
| LOW | .ci/.ci-utility-files/common.sh | 3394 | # Check if we are running a job created by a tag. If so, |
| LOW | plugins/synced_folders/rsync/helper.rb | 246 | # Check if rsync versions support using chown option |
| LOW | plugins/synced_folders/smb/synced_folder.rb | 85 | # Check if this host can start and SMB service |
| LOW | plugins/kernel_v2/config/vm.rb | 445 | # Add the name to the array of VM keys. This array is used to |
| LOW | plugins/kernel_v2/config/vm.rb | 937 | # Check if there is more than one primary disk defined and throw an error |
| LOW | plugins/pushes/ftp/config.rb | 110 | # Add the filepath to the list of includes |
| LOW | plugins/pushes/ftp/config.rb | 117 | # Add the filepath to the list of excludes |
| LOW | plugins/pushes/heroku/push.rb | 28 | # Check if we need to add the git remote |
| LOW | plugins/pushes/heroku/push.rb | 94 | # Check if the git remote has the given remote. |
| LOW | plugins/pushes/atlas/config.rb | 115 | # Add the filepath to the list of includes |
| LOW | plugins/pushes/atlas/config.rb | 122 | # Add the filepath to the list of excludes |
| LOW | plugins/providers/docker/driver.rb | 60 | # Check if podman emulating docker CLI is enabled. |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 210 | # Check if network already exists for this subnet |
| LOW | …ns/providers/virtualbox/action/set_default_nic_type.rb | 38 | # Check if VirtualBox E1000 implementation is vulnerable |
| LOW | plugins/provisioners/chef/cap/omnios/chef_installed.rb | 10 | # Check if Chef is installed at the given version. |
| LOW | plugins/provisioners/chef/cap/freebsd/chef_installed.rb | 9 | # Check if Chef is installed at the given version. |
| LOW | plugins/provisioners/chef/cap/linux/chef_installed.rb | 9 | # Check if Chef is installed at the given version. |
| LOW | plugins/provisioners/chef/cap/windows/chef_installed.rb | 9 | # Check if Chef is installed at the given version. |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 283 | # Verify if host range patterns exist and warn |
| LOW | plugins/provisioners/ansible/provisioner/guest.rb | 66 | # Check if requested ansible version is available |
| LOW | …visioners/ansible/cap/guest/posix/ansible_installed.rb | 11 | # Check if Ansible is installed (at the given version). |
| LOW | plugins/commands/provider/command.rb | 50 | # Check if we're just doing a usability check |
| LOW | plugins/commands/provider/command.rb | 57 | # Check if we're requesting installation |
| LOW | plugins/commands/rdp/command.rb | 32 | # Check if the host even supports RDP |
| LOW | plugins/commands/powershell/command.rb | 73 | # Check if the host even supports ps remoting |
| LOW | plugins/commands/up/command.rb | 142 | # Check if we have this machine in the index |
| LOW | plugins/commands/cloud/publish.rb | 90 | # Display output to user describing action to be taken |
| LOW | plugins/commands/cloud/plugin.rb | 36 | # Set this to match Vagant logging level so we get |
| LOW | plugins/hosts/bsd/cap/nfs.rb | 122 | # Check if nfsd is running, and update or restart depending on the result |
| LOW | plugins/hosts/darwin/cap/smb.rb | 16 | # Check if the required SMB services are loaded and enabled. If they are |
| LOW | plugins/hosts/windows/cap/smb.rb | 83 | # Check if this name is already in use |
| LOW | plugins/communicators/winrm/plugin.rb | 39 | # Check if vagrant-winrm plugin is installed and |
| LOW | plugins/communicators/ssh/communicator.rb | 827 | # Check if server supports given key type |
| LOW | plugins/guests/darwin/cap/mount_vmware_shared_folder.rb | 79 | # Check if the line is already defined. If so, bail since we are done |
| LOW | plugins/guests/darwin/cap/mount_vmware_shared_folder.rb | 108 | # Check if firmlink is provided by the system |
| LOW | plugins/guests/windows/cap/public_key.rb | 49 | # Check if an authorized_keys file already exists |
| LOW | plugins/guests/redhat/cap/configure_networks.rb | 43 | # Check if NetworkManager is installed on the system |
| LOW | plugins/guests/alt/cap/configure_networks.rb | 23 | # Check if NetworkManager is installed on the system |
| LOW | lib/vagrant/environment.rb | 670 | # Return the result |
| LOW | lib/vagrant/environment.rb | 1022 | # Check if defined plugins are installed |
| LOW | lib/vagrant/batch_action.rb | 170 | # Check if any threads set an exit code and exit if found. If |
| LOW | lib/vagrant/vagrantfile.rb | 182 | # Check if this machine has a local box metadata file |
| LOW | lib/vagrant/box.rb | 210 | # Check if a box update check is allowed. Uses a file |
| LOW | lib/vagrant/util/directory.rb | 9 | # Check if directory has any new updates |
| LOW | lib/vagrant/util/guest_inspection.rb | 37 | # Check if a unit file with the given name is defined. Name can |
| LOW | lib/vagrant/util/guest_inspection.rb | 47 | # Check if a unit is currently active within systemd |
| LOW | lib/vagrant/util/guest_inspection.rb | 56 | # Check if given service is controlled by systemd |
| 13 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .ci/.ci-utility-files/common.sh | 120 | # provided, it will just pass the command |
| LOW | .ci/.ci-utility-files/common.sh | 136 | # configured. If it is not, just pass through. |
| LOW | .ci/.ci-utility-files/common.sh | 2624 | # so we can just return success |
| MEDIUM | …st/unit/plugins/communicators/ssh/communicator_test.rb | 1168 | # can be checked. To facilitate this, set it to a non-nil value |
| LOW | test/unit/vagrant/plugin/manager_test.rb | 425 | # We just add "i18n" because it is a dependency of Vagrant and |
| LOW | plugins/providers/docker/action.rb | 15 | # We just call the "up" action. We create a separate action |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 161 | # and instead just use the built-in `.prefix` method |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 271 | # and instead just use the built-in `.prefix` method |
| LOW | plugins/providers/docker/action/wait_for_running.rb | 28 | # If we're not waiting, just return |
| LOW | plugins/providers/virtualbox/driver/base.rb | 488 | # If already set, just return immediately |
| LOW | plugins/providers/virtualbox/action/import.rb | 88 | # If we're not supposed to destroy on error then just return |
| LOW | plugins/commands/plugin/gem_helper.rb | 75 | # some other configuration state. We need to just set everything |
| LOW | plugins/commands/cap/command.rb | 69 | # If we're just checking, then just return exit codes |
| LOW | plugins/commands/ssh/command.rb | 72 | # is to exec into the proper SSH shell, but we'll just return |
| LOW | plugins/commands/cloud/util.rb | 37 | # just return nil |
| LOW | plugins/hosts/linux/cap/nfs.rb | 157 | # just return folder, there are no duplicates |
| LOW | plugins/communicators/ssh/communicator.rb | 169 | # just return that we're ready (for Machine#guest). |
| LOW | ext/vagrant/vagrant_ssl/extconf.rb | 18 | # If the header file isn't found, just create a dummy |
| LOW | lib/vagrant/environment.rb | 264 | # If the machine folder is not a directory then we just return |
| LOW | lib/vagrant/environment.rb | 986 | # if a provider cannot be determined just return nil |
| LOW | lib/vagrant/box_metadata.rb | 202 | # If the architecture value is set to nil, then just return |
| LOW | lib/vagrant/util/safe_chdir.rb | 22 | # If we already hold the lock, just create a new lock so we |
| LOW | lib/vagrant/config/version_base.rb | 27 | # will simply return the same object. |
| LOW | lib/vagrant/plugin/v1/guest.rb | 41 | # in a reasonable amount of time, this method should just return. |
| LOW | lib/vagrant/action/builtin/box_add.rb | 97 | # will just return the same URLs. |
| LOW | lib/vagrant/action/builtin/box_add.rb | 336 | # If we have only one provider in the metadata, just use that |
| LOW | lib/vagrant/action/builtin/box_add.rb | 594 | # The downloader was interrupted, so just return, because that |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/unit/plugins/provisioners/support/shared/config.rb | 4 | def get_provisioner_option_names(provisioner_class) |
| LOW | plugins/synced_folders/unix_mount_helpers.rb | 97 | def emit_upstart_notification(machine, guest_path) |
| LOW | plugins/synced_folders/smb/synced_folder.rb | 182 | def clean_folder_configuration(data) |
| LOW | plugins/providers/docker/driver.rb | 370 | def network_containing_address(address) |
| LOW | plugins/providers/docker/action/connect_networks.rb | 25 | def generate_connect_cli_arguments(options) |
| LOW | plugins/providers/docker/action/prepare_networks.rb | 27 | def generate_create_cli_arguments(options) |
| LOW | plugins/providers/hyperv/driver.rb | 210 | def set_vm_integration_services(config) |
| LOW | plugins/providers/hyperv/driver.rb | 322 | def set_enhanced_session_transport_type(transport_type) |
| LOW | plugins/providers/virtualbox/synced_folder.rb | 144 | def display_symlink_create_warning(env) |
| LOW | plugins/providers/virtualbox/action/network.rb | 520 | def hostonly_find_matching_network(config) |
| LOW | plugins/providers/virtualbox/action/network.rb | 596 | def create_dhcp_server_if_necessary(interface, config) |
| LOW | plugins/providers/virtualbox/action/network.rb | 633 | def find_matching_dhcp_server(interface) |
| LOW | plugins/providers/virtualbox/action/network_fix_ipv6.rb | 72 | def host_only_interface_names(env) |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 235 | def get_inventory_host_vars_string(machine_name) |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 366 | def ui_running_ansible_command(name, command) |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 411 | def set_gathered_ansible_version(stdout_output) |
| LOW | plugins/provisioners/ansible/provisioner/base.rb | 426 | def set_gathered_ansible_package_version(ansible_package, stdout_output) |
| LOW | plugins/provisioners/ansible/provisioner/guest.rb | 113 | def execute_ansible_command_on_guest(name, command) |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 100 | def execute_command_from_host(command) |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 246 | def get_inventory_ssh_machine(machine, ssh_info) |
| LOW | plugins/provisioners/ansible/provisioner/host.rb | 255 | def get_inventory_winrm_machine(machine, winrm_net_info) |
| LOW | plugins/commands/cloud/provider/delete.rb | 62 | def select_provider_architecture(account, org, box, version, provider) |
| LOW | plugins/commands/cloud/client/client.rb | 229 | def store_two_factor_information(two_factor) |
| LOW | plugins/communicators/ssh/communicator.rb | 420 | def generate_environment_export(env_key, env_value) |
| LOW | plugins/guests/windows/guest_network.rb | 57 | def configure_static_interface(nic_index, net_connection_id, ip, netmask) |
| LOW | lib/vagrant/capability_host.rb | 119 | def autodetect_capability_host(hosts, *args) |
| LOW | lib/vagrant/util/guest_networks.rb | 11 | def configure_network_manager(machine, networks, **opts) |
| LOW | lib/vagrant/util/guest_hosts.rb | 19 | def add_hostname_to_loopback_interface(comm, name, loop_bound=DEAFAULT_LOOPBACK_CHECK_LIMIT) |
| LOW | lib/vagrant/patches/net-ssh.rb | 13 | def vagrant_read_private_keyblob(type) |
| LOW | lib/vagrant/plugin/v1/command.rb | 140 | def split_main_and_subcommand(argv) |
| LOW | lib/vagrant/plugin/v2/command.rb | 278 | def split_main_and_subcommand(argv) |
| LOW | lib/vagrant/action/builtin/mixin_synced_folders.rb | 16 | def default_synced_folder_type(machine, plugins) |
| LOW | lib/vagrant/action/builtin/mixin_provisioners.rb | 71 | def sort_provisioner_instances(pvs) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | lib/vagrant/action/builtin/box_remove.rb | 99 | architectures: box_info.values.first.values.first.sort.join(", ") |
| CRITICAL | lib/vagrant/action/builtin/box_remove.rb | 110 | architectures: box_info.values.first.values.first.sort.join(", ") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …oners/ansible/cap/guest/ubuntu/ansible_install_test.rb | 0 | add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install |
| HIGH | …oners/ansible/cap/guest/ubuntu/ansible_install_test.rb | 0 | add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install |
| HIGH | …ovisioners/ansible/cap/guest/ubuntu/ansible_install.rb | 0 | add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/vagrant/ui.rb | 389 | # Otherwise, make sure to prefix every line properly |
| LOW | lib/vagrant/ui.rb | 444 | # Color the message and make sure to reset the color at the end |
| LOW | lib/vagrant/machine_index.rb | 299 | # so make sure to lock around it. |
| LOW | lib/vagrant/action/builtin/synced_folders.rb | 42 | # Go through each folder and make sure to create it if |