azureProvider

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ProviderTypeAzure string = "azure"

Variables

This section is empty.

Functions

func WithAzureClient

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

Types

type AzurePolicyMapper

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

func NewAzurePolicyMapper

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

func (*AzurePolicyMapper) ToIDQL

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

type AzureProvider

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

func NewAzureProvider

func NewAzureProvider(opts ...ProviderOpt) *AzureProvider

func (*AzureProvider) DiscoverApplications

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

func (*AzureProvider) GetPolicyInfo

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

func (*AzureProvider) Name

func (a *AzureProvider) Name() string

func (*AzureProvider) SetPolicyInfo

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

type ProviderOpt

type ProviderOpt func(provider *AzureProvider)

Jump to

Keyboard shortcuts

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