Documentation ¶
Index ¶
- Constants
- func WithAzureClient(clientOverride azad.AzureClient) func(provider *AzureProvider)
- type AzurePolicyMapper
- type AzureProvider
- func (a *AzureProvider) DiscoverApplications(info policyprovider.IntegrationInfo) (apps []policyprovider.ApplicationInfo, err error)
- func (a *AzureProvider) GetPolicyInfo(integrationInfo policyprovider.IntegrationInfo, ...) ([]hexapolicy.PolicyInfo, error)
- func (a *AzureProvider) Name() string
- func (a *AzureProvider) SetPolicyInfo(integrationInfo policyprovider.IntegrationInfo, ...) (int, error)
- type ProviderOpt
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)
Click to show internal directories.
Click to hide internal directories.