github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/azure/appservice/appservice.go (about) 1 package appservice 2 3 import ( 4 defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types" 5 ) 6 7 type AppService struct { 8 Services []Service 9 FunctionApps []FunctionApp 10 } 11 12 type Service struct { 13 Metadata defsecTypes.Metadata 14 EnableClientCert defsecTypes.BoolValue 15 Identity struct { 16 Type defsecTypes.StringValue 17 } 18 Authentication struct { 19 Enabled defsecTypes.BoolValue 20 } 21 Site struct { 22 EnableHTTP2 defsecTypes.BoolValue 23 MinimumTLSVersion defsecTypes.StringValue 24 } 25 } 26 27 type FunctionApp struct { 28 Metadata defsecTypes.Metadata 29 HTTPSOnly defsecTypes.BoolValue 30 }