github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/nifcloud/computing/security_group.go (about) 1 package computing 2 3 import ( 4 defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types" 5 ) 6 7 type SecurityGroup struct { 8 Metadata defsecTypes.Metadata 9 Description defsecTypes.StringValue 10 IngressRules []SecurityGroupRule 11 EgressRules []SecurityGroupRule 12 } 13 14 type SecurityGroupRule struct { 15 Metadata defsecTypes.Metadata 16 Description defsecTypes.StringValue 17 CIDR defsecTypes.StringValue 18 }