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