Skip to content

Commit

Permalink
fix: add missing Host.Config.Storage privilege & document (#212)
Browse files Browse the repository at this point in the history
## Issue
N/A

## Description
- Add `Host.Config.Storage`
- Document privilege list origin

Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
TylerGillson authored Sep 4, 2024
1 parent a02f6ad commit c7408a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const (
ValidatorVsphereEntityVirtualMachine = "Virtual Machine"
ValidatorVsphereEntityVirtualApp = "Virtual App"
ValidatorVsphereVersionConstraint = ">= 6.0, < 9.0"
ValidatorVspherePrivilegeFile = "vsphere-root-level-privileges-all.yaml"
ValidatorVspherePrivilegeFile = "vsphere-privileges-7.x.yaml"

AWSPolicyDocumentPrompt = "# Provide the AWS policy document for IAM validation rule. The policy document should be in JSON format. Type :wq to save and exit (if using vi).\n"
AzurePermissionSetPrompt = "# Provide the Azure permission set for IAM validation rule. The permission set should be in JSON format. Type :wq to save and exit (if using vi).\n"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# vSphere version: 7.0.3.01900
# retrieved via 'govc role.ls Admin'
privilegeIds:
- Alarm.Acknowledge
- Alarm.Create
Expand Down Expand Up @@ -167,6 +169,7 @@ privilegeIds:
- Host.Config.Resources
- Host.Config.Settings
- Host.Config.Snmp
- Host.Config.Storage
- Host.Config.SystemManagement
- Host.Hbr.HbrManagement
- Host.Inventory.AddHostToCluster
Expand Down

0 comments on commit c7408a6

Please sign in to comment.