iam

package
v0.0.25 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AccountIDFromARNRegex = "arn:[a-z]*:[a-z]*::([?<AccountID>\\d{12}$]*):[0-9A-Za-z]*\\/[0-9A-Za-z]*"

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMRuleService

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

func NewIAMRuleService

func NewIAMRuleService(log logr.Logger, iamSvc iamApi) *IAMRuleService

func (*IAMRuleService) ReconcileIAMGroupRule

func (s *IAMRuleService) ReconcileIAMGroupRule(rule iamRule) (*types.ValidationRuleResult, error)

ReconcileIAMGroupRule reconciles an IAM group validation rule from an AWSValidator config

func (*IAMRuleService) ReconcileIAMPolicyRule

func (s *IAMRuleService) ReconcileIAMPolicyRule(rule iamRule) (*types.ValidationRuleResult, error)

ReconcileIAMPolicyRule reconciles an IAM policy validation rule from an AWSValidator config

func (*IAMRuleService) ReconcileIAMRoleRule

func (s *IAMRuleService) ReconcileIAMRoleRule(rule iamRule) (*types.ValidationRuleResult, error)

ReconcileIAMRoleRule reconciles an IAM role validation rule from an AWSValidator config

func (*IAMRuleService) ReconcileIAMUserRule

func (s *IAMRuleService) ReconcileIAMUserRule(rule iamRule) (*types.ValidationRuleResult, error)

ReconcileIAMUserRule reconciles an IAM user validation rule from an AWSValidator config

Jump to

Keyboard shortcuts

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