Documentation ¶
Index ¶
- Constants
- func MapAvpMeta(item types.PolicyItem) hexapolicy.MetaInfo
- func MapAvpTemplate(item *verifiedpermissions.GetPolicyTemplateOutput) hexapolicy.MetaInfo
- type AmazonAvpProvider
- func (a AmazonAvpProvider) DiscoverApplications(info policyprovider.IntegrationInfo) ([]policyprovider.ApplicationInfo, error)
- func (a AmazonAvpProvider) GetPolicyInfo(info policyprovider.IntegrationInfo, ...) ([]hexapolicy.PolicyInfo, error)
- func (a AmazonAvpProvider) GetSchema(info policyprovider.IntegrationInfo, ...) (*policyInfoModel.Namespaces, error)
- func (a AmazonAvpProvider) Name() string
- func (a AmazonAvpProvider) Reconcile(info policyprovider.IntegrationInfo, ...) ([]hexapolicy.PolicyDif, error)
- func (a AmazonAvpProvider) SetPolicyInfo(info policyprovider.IntegrationInfo, ...) (int, error)
Constants ¶
View Source
const ( ProviderTypeAvp string = "avp" ParamResource string = "resource" ParamPrincipal string = "principal" ParamPolicyType string = "policyType" )
Variables ¶
This section is empty.
Functions ¶
func MapAvpMeta ¶
func MapAvpMeta(item types.PolicyItem) hexapolicy.MetaInfo
func MapAvpTemplate ¶
func MapAvpTemplate(item *verifiedpermissions.GetPolicyTemplateOutput) hexapolicy.MetaInfo
Types ¶
type AmazonAvpProvider ¶
type AmazonAvpProvider struct { AwsClientOpts awscommon.AWSClientOptions CedarMapper *cedar.CedarMapper }
func (AmazonAvpProvider) DiscoverApplications ¶
func (a AmazonAvpProvider) DiscoverApplications(info policyprovider.IntegrationInfo) ([]policyprovider.ApplicationInfo, error)
func (AmazonAvpProvider) GetPolicyInfo ¶
func (a AmazonAvpProvider) GetPolicyInfo(info policyprovider.IntegrationInfo, applicationInfo policyprovider.ApplicationInfo) ([]hexapolicy.PolicyInfo, error)
func (AmazonAvpProvider) GetSchema ¶ added in v0.7.0
func (a AmazonAvpProvider) GetSchema(info policyprovider.IntegrationInfo, applicationInfo policyprovider.ApplicationInfo) (*policyInfoModel.Namespaces, error)
func (AmazonAvpProvider) Name ¶
func (a AmazonAvpProvider) Name() string
func (AmazonAvpProvider) Reconcile ¶
func (a AmazonAvpProvider) Reconcile(info policyprovider.IntegrationInfo, applicationInfo policyprovider.ApplicationInfo, compareHexaPolicies []hexapolicy.PolicyInfo, diffsOnly bool) ([]hexapolicy.PolicyDif, error)
func (AmazonAvpProvider) SetPolicyInfo ¶
func (a AmazonAvpProvider) SetPolicyInfo(info policyprovider.IntegrationInfo, applicationInfo policyprovider.ApplicationInfo, hexaPolicies []hexapolicy.PolicyInfo) (int, error)
Click to show internal directories.
Click to hide internal directories.