azure

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetComputeVMsPerResourceGroup = getComputeVMsPerResourceGroup
View Source
var GetNICdetails = getNICdetails
View Source
var GetPublicIP = getPublicIP

Functions

func GetInstancesDataPerResourceGroup

func GetInstancesDataPerResourceGroup(subscriptionID string, resourceGroup string) (table.Row, []table.Row)

verbosity = 1 (control messages only). verbosity = 2 (control messages and module output). verbosity = 3 (control messages, module output and loot file output).

Types

type InstancesMapModule

type InstancesMapModule struct {
	// Tenants, Subs and RGs: map[TenantID]map[SubscriptionID][]ResourceGroups
	Scope map[string]map[string][]string
	// contains filtered or unexported fields
}

func (*InstancesMapModule) InstancesMap

func (m *InstancesMapModule) InstancesMap(outputFormat string, resourceGroupFilter string)

type ListAPIClientInterface

type ListAPIClientInterface interface {
	List(ctx context.Context, resourceGroupName string) (result compute.VirtualMachineListResultPage, err error)
}

type RBACMapModule

type RBACMapModule struct {
	// Tenants, Subs and RGs: map[TenantID]map[SubscriptionID][]ResourceGroups
	Scope map[string]map[string][]string
	// Module's Results
	Users           map[string]userObject
	Roles           map[string]roleDefinitionObject
	RoleAssignments []roleAssignmentObject
	// contains filtered or unexported fields
}

func (*RBACMapModule) RBACMapModule

func (m *RBACMapModule) RBACMapModule(outputFormat string, userFilter string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL