{"id":23903112,"url":"https://github.com/chef-boneyard/inspec-vmware","last_synced_at":"2025-07-29T02:04:42.384Z","repository":{"id":66633092,"uuid":"70803730","full_name":"chef-boneyard/inspec-vmware","owner":"chef-boneyard","description":"InSpec VMware Resource Pack (Incubation)","archived":false,"fork":false,"pushed_at":"2018-10-16T18:46:09.000Z","size":39,"stargazers_count":19,"open_issues_count":1,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-11T00:27:14.350Z","etag":null,"topics":["esx","inspec","vmware","vsphere"],"latest_commit_sha":null,"homepage":"https://www.inspec.io/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chef-boneyard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-13T12:23:43.000Z","updated_at":"2023-12-14T06:22:06.000Z","dependencies_parsed_at":"2023-03-21T06:52:57.267Z","dependency_job_id":null,"html_url":"https://github.com/chef-boneyard/inspec-vmware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chef-boneyard/inspec-vmware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-boneyard%2Finspec-vmware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-boneyard%2Finspec-vmware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-boneyard%2Finspec-vmware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-boneyard%2Finspec-vmware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chef-boneyard","download_url":"https://codeload.github.com/chef-boneyard/inspec-vmware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-boneyard%2Finspec-vmware/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267617643,"owners_count":24116208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esx","inspec","vmware","vsphere"],"created_at":"2025-01-04T22:52:25.786Z","updated_at":"2025-07-29T02:04:42.360Z","avatar_url":"https://github.com/chef-boneyard.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InSpec VMware\n\nThis repository contains a collection of InSpec resources used to interact with the VMware platform.\n\n\u003e This resource pack requires an InSpec version greater than `2.2.34`\n\n## Using this Resource Pack\n\nIn order to use the resources in this resource pack you must declare the dependency in your InSpec profile.\n\nExample:\n\n```yaml\ndepends:\n  - name: inspec-vmware\n    git: git@github.com:inspec/inspec-vmware.git\n```\n\n## Using the VMware Target\n\nAfter defining a dependency on `inspec-vmware` in `your_profile` you are ready to use these resources with the `vmware://` target.\n\n### Via Arguments\n\n```shell\n~$ inspec exec your_profile -t vmware://USERNAME@VISERVER --password MY_PASSWORD\n```\n\n### Via Environment Variables\n\n```shell\n~$ export VISERVER=10.0.0.10\n~$ export VISERVER_USERNAME=demouser\n~$ export VISERVER_PASSWORD=s0m3t1ngs3cuRe\n~$ inspec exec inspec-vmware -t vmware://\n```\n\n### Via the InSpec Shell\n\n```shell\n~$ inspec shell -t vmware://USERNAME@VISERVER --password MY_PASSWORD --depends ./inspec-vmware\n```\n\n## Pre-Requisites\n\nWe have a [cookbook][cookbook] that can install PowerCLI leveraging Chef also.\n\n### Windows\n\n#### Install PowerCLI on Windows 2012R2\n\n```powershell\nPS \u003e Invoke-WebRequest -Uri \"https://download.microsoft.com/download/C/4/1/C41378D4-7F41-4BBE-9D0D-0E4F98585C61/PackageManagement_x64.msi\" -OutFile PackageManagement.msi\nPS \u003e msiexec.exe /i C:\\Users\\vagrant\\PackageManagement.msi /quiet\nPS \u003e Set-PSRepository -Name \"PSGallery\" -InstallationPolicy \"Trusted\"\nPS \u003e Install-Module -Name VMware.PowerCLI\n```\n\n#### Install PowerCLI on Windows 10, 2016+\n\n```powershell\nPS \u003e Set-PSRepository -Name \"PSGallery\" -InstallationPolicy \"Trusted\"\nPS \u003e Install-Module -Name VMware.PowerCLI\n```\n\n### Linux\n\n#### Install PowerCLI on Debian based OSs\n\n```shell\n~$ sudo apt-get install curl\n~$ curl  https://packages.microsoft.com/keys/microsoft.asc \u003e MS.key\n~$ sudo apt-key add MS.key\n~$ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list\n~$ sudo apt-get update\n~$ sudo apt-get install -y powershell\n~$ pwsh -Command \"\u0026 {Set-PSRepository -Name PSGallery -InstallationPolicy Trusted}\"\n~$ pwsh -Command \"\u0026 {Install-Module -Name VMware.PowerCLI -Force}\"\n```\n\n#### Install PowerCLI on Redhat based OSs\n\n```shell\n~$ curl https://packages.microsoft.com/config/rhel/7/prod.repo \u003e /etc/yum.repos.d/microsoft.repo\n~$ yum install powershell\n~$ pwsh -Command \"\u0026 {Set-PSRepository -Name PSGallery -InstallationPolicy Trusted}\"\n~$ pwsh -Command \"\u0026 {Install-Module -Name VMware.PowerCLI -Force}\"\n```\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n[cookbook]: https://supermarket.chef.io/cookbooks/powercli_install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchef-boneyard%2Finspec-vmware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchef-boneyard%2Finspec-vmware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchef-boneyard%2Finspec-vmware/lists"}