microsoftazure

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAzureClient added in v0.5.0

func WithAzureClient(clientOverride azad.AzureClient) func(provider *AzureProvider)

Types

type AzurePolicyMapper added in v0.5.0

type AzurePolicyMapper struct {
	// contains filtered or unexported fields
}

func NewAzurePolicyMapper added in v0.5.0

func NewAzurePolicyMapper(sps azad.AzureServicePrincipals, existingAssignments []azad.AzureAppRoleAssignment, azureUserEmail map[string]string) *AzurePolicyMapper

func (*AzurePolicyMapper) ToIDQL added in v0.5.0

func (azm *AzurePolicyMapper) ToIDQL() []policysupport.PolicyInfo

type AzureProvider

type AzureProvider struct {
	// contains filtered or unexported fields
}

func NewAzureProvider added in v0.5.0

func NewAzureProvider(opts ...ProviderOpt) *AzureProvider

func (*AzureProvider) DiscoverApplications

func (a *AzureProvider) DiscoverApplications(info orchestrator.IntegrationInfo) (apps []orchestrator.ApplicationInfo, err error)

func (*AzureProvider) GetPolicyInfo

func (a *AzureProvider) GetPolicyInfo(integrationInfo orchestrator.IntegrationInfo, applicationInfo orchestrator.ApplicationInfo) ([]policysupport.PolicyInfo, error)

func (*AzureProvider) Name

func (a *AzureProvider) Name() string

func (*AzureProvider) SetPolicyInfo

func (a *AzureProvider) SetPolicyInfo(integrationInfo orchestrator.IntegrationInfo, applicationInfo orchestrator.ApplicationInfo, policyInfos []policysupport.PolicyInfo) (int, error)

type ProviderOpt added in v0.5.0

type ProviderOpt func(provider *AzureProvider)

Jump to

Keyboard shortcuts

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