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

     1  package sam
     2  
     3  import (
     4  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     5  )
     6  
     7  type HttpAPI struct {
     8  	Metadata             defsecTypes.Metadata
     9  	Name                 defsecTypes.StringValue
    10  	AccessLogging        AccessLogging
    11  	DefaultRouteSettings RouteSettings
    12  	DomainConfiguration  DomainConfiguration
    13  }
    14  
    15  type RouteSettings struct {
    16  	Metadata               defsecTypes.Metadata
    17  	LoggingEnabled         defsecTypes.BoolValue
    18  	DataTraceEnabled       defsecTypes.BoolValue
    19  	DetailedMetricsEnabled defsecTypes.BoolValue
    20  }