azure

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RBACcallingModuleName = "rbac"

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(verbosity int, outputFormat string, outputDirectory 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
}

func (*RBACMapModule) RBACMap added in v1.7.0

func (m *RBACMapModule) RBACMap(verbosity int, outputFormat string, outputDirectory string, userFilter string)

Jump to

Keyboard shortcuts

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