github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/aws/sam/state_machine.go (about)

     1  package sam
     2  
     3  import (
     4  	"github.com/khulnasoft-lab/defsec/pkg/providers/aws/iam"
     5  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     6  )
     7  
     8  type StateMachine struct {
     9  	Metadata             defsecTypes.Metadata
    10  	Name                 defsecTypes.StringValue
    11  	LoggingConfiguration LoggingConfiguration
    12  	ManagedPolicies      []defsecTypes.StringValue
    13  	Policies             []iam.Policy
    14  	Tracing              TracingConfiguration
    15  }
    16  
    17  type LoggingConfiguration struct {
    18  	Metadata       defsecTypes.Metadata
    19  	LoggingEnabled defsecTypes.BoolValue
    20  }
    21  
    22  type TracingConfiguration struct {
    23  	Metadata defsecTypes.Metadata
    24  	Enabled  defsecTypes.BoolValue
    25  }