Files
trivy/pkg/iac/providers/azure/appservice/appservice.go
yagreut c6d95d7cd2 feat(misconf): Update AppService schema (#9792)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
Co-authored-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
2025-11-19 07:21:09 +00:00

44 lines
904 B
Go
Executable File

package appservice
import (
iacTypes "github.com/aquasecurity/trivy/pkg/iac/types"
)
type AppService struct {
Services []Service
FunctionApps []FunctionApp
}
type Identity struct {
Metadata iacTypes.Metadata
Type iacTypes.StringValue
}
type Authentication struct {
Metadata iacTypes.Metadata
Enabled iacTypes.BoolValue
}
type Service struct {
Metadata iacTypes.Metadata
EnableClientCert iacTypes.BoolValue
HTTPSOnly iacTypes.BoolValue
Identity Identity
Authentication Authentication
Site Site
}
type Site struct {
Metadata iacTypes.Metadata
EnableHTTP2 iacTypes.BoolValue
MinimumTLSVersion iacTypes.StringValue
PHPVersion iacTypes.StringValue
PythonVersion iacTypes.StringValue
FTPSState iacTypes.StringValue
}
type FunctionApp struct {
Metadata iacTypes.Metadata
HTTPSOnly iacTypes.BoolValue
}