All Projects → chef-boneyard → inspec-vmware

chef-boneyard / inspec-vmware

Licence: other
InSpec VMware Resource Pack (Incubation)

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to inspec-vmware

vmSafeguard
vmSafeguard is a management, planning, backup system for a Vmware ESXi(s) solution, orchestrated through a Web Admin Panel. RTFM for more info. Under develop since Jun 2020
Stars: ✭ 20 (+11.11%)
Mutual labels:  vmware, vsphere, esx
Rbvmomi
Ruby interface to the VMware vSphere API.
Stars: ✭ 304 (+1588.89%)
Mutual labels:  vmware, vsphere
vmware.vmware rest
Ansible Collection for VMWare (REST modules)
Stars: ✭ 60 (+233.33%)
Mutual labels:  vmware, vsphere
vic-ui
vSphere Integrated Containers Plug-In for vSphere Client provides information about your VIC setup and allows you to deploy VCHs directly from the vSphere Client.
Stars: ✭ 23 (+27.78%)
Mutual labels:  vmware, vsphere
ansible-vmware-http
Examples of Ansible playbook to manage VMware using HTTP APIs
Stars: ✭ 29 (+61.11%)
Mutual labels:  vmware, vsphere
vcenter-event-broker-appliance
The VMware Event Broker Appliance Fling enables customers to unlock the hidden potential of events in their SDDC to easily create event-driven automation.
Stars: ✭ 120 (+566.67%)
Mutual labels:  vmware, vsphere
Vsphere Modules
This is my Module Collection for VMware vSphere
Stars: ✭ 18 (+0%)
Mutual labels:  vmware, vsphere
Vic
vSphere Integrated Containers Engine is a container runtime for vSphere.
Stars: ✭ 607 (+3272.22%)
Mutual labels:  vmware, vsphere
Cloud Portal
Self service web portal for different Cloud platforms like Azure, AWS and VMWare vSphere.
Stars: ✭ 60 (+233.33%)
Mutual labels:  vmware, vsphere
vSphere-6.5-API-Playbook-Examples
Examples of how to create Ansible playbooks to leverage vSphere 6.5 RESTful APIs. Playbooks will be isolate to specific APIs and roles added for example use cases.
Stars: ✭ 16 (-11.11%)
Mutual labels:  vmware, vsphere
Cloud Provider Vsphere
Kubernetes Cloud Provider for vSphere https://cloud-provider-vsphere.sigs.k8s.io
Stars: ✭ 120 (+566.67%)
Mutual labels:  vmware, vsphere
AsBuiltReport.VMware.vSphere
Repository for AsBuiltReport VMware vSphere module
Stars: ✭ 75 (+316.67%)
Mutual labels:  vmware, vsphere
tfc-agent
Examples related to the Terraform Cloud Agent, a remote runner for Terraform Cloud Business and Terraform Enterprise
Stars: ✭ 44 (+144.44%)
Mutual labels:  vmware, vsphere
pyVirtualize
A python interface to access and manage VMware vSphere and ~Horizon View~
Stars: ✭ 13 (-27.78%)
Mutual labels:  vmware, vsphere
vauth
VMware vSphere VM Identity Platform
Stars: ✭ 32 (+77.78%)
Mutual labels:  vmware, vsphere
Vsphere2metrics
VMware vSphere Performance Metrics Integration with Graphite & InfluxDB
Stars: ✭ 28 (+55.56%)
Mutual labels:  vmware, vsphere
Terraform Vsphere Kubespray
Deploy a Kubernetes HA cluster on VMware vSphere
Stars: ✭ 141 (+683.33%)
Mutual labels:  vmware, vsphere
Vic Product
vSphere Integrated Containers enables VMware customers to deliver a production-ready container solution to their developers and DevOps teams.
Stars: ✭ 143 (+694.44%)
Mutual labels:  vmware, vsphere
game-of-thrones-hacking-ctf
Game of Thrones hacking CTF (Capture the flag)
Stars: ✭ 57 (+216.67%)
Mutual labels:  vmware
packer-windows
Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
Stars: ✭ 1,116 (+6100%)
Mutual labels:  vmware

InSpec VMware

This repository contains a collection of InSpec resources used to interact with the VMware platform.

This resource pack requires an InSpec version greater than 2.2.34

Using this Resource Pack

In order to use the resources in this resource pack you must declare the dependency in your InSpec profile.

Example:

depends:
  - name: inspec-vmware
    git: [email protected]:inspec/inspec-vmware.git

Using the VMware Target

After defining a dependency on inspec-vmware in your_profile you are ready to use these resources with the vmware:// target.

Via Arguments

~$ inspec exec your_profile -t vmware://USERNAME@VISERVER --password MY_PASSWORD

Via Environment Variables

~$ export VISERVER=10.0.0.10
~$ export VISERVER_USERNAME=demouser
~$ export VISERVER_PASSWORD=s0m3t1ngs3cuRe
~$ inspec exec inspec-vmware -t vmware://

Via the InSpec Shell

~$ inspec shell -t vmware://USERNAME@VISERVER --password MY_PASSWORD --depends ./inspec-vmware

Pre-Requisites

We have a cookbook that can install PowerCLI leveraging Chef also.

Windows

Install PowerCLI on Windows 2012R2

PS > Invoke-WebRequest -Uri "https://download.microsoft.com/download/C/4/1/C41378D4-7F41-4BBE-9D0D-0E4F98585C61/PackageManagement_x64.msi" -OutFile PackageManagement.msi
PS > msiexec.exe /i C:\Users\vagrant\PackageManagement.msi /quiet
PS > Set-PSRepository -Name "PSGallery" -InstallationPolicy "Trusted"
PS > Install-Module -Name VMware.PowerCLI

Install PowerCLI on Windows 10, 2016+

PS > Set-PSRepository -Name "PSGallery" -InstallationPolicy "Trusted"
PS > Install-Module -Name VMware.PowerCLI

Linux

Install PowerCLI on Debian based OSs

~$ sudo apt-get install curl
~$ curl  https://packages.microsoft.com/keys/microsoft.asc > MS.key
~$ sudo apt-key add MS.key
~$ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
~$ sudo apt-get update
~$ sudo apt-get install -y powershell
~$ pwsh -Command "& {Set-PSRepository -Name PSGallery -InstallationPolicy Trusted}"
~$ pwsh -Command "& {Install-Module -Name VMware.PowerCLI -Force}"

Install PowerCLI on Redhat based OSs

~$ curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo
~$ yum install powershell
~$ pwsh -Command "& {Set-PSRepository -Name PSGallery -InstallationPolicy Trusted}"
~$ pwsh -Command "& {Install-Module -Name VMware.PowerCLI -Force}"

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].