Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compute ¶
type Compute struct { Disks []Disk Networks []Network SSLPolicies []SSLPolicy ProjectMetadata ProjectMetadata Instances []Instance }
type Disk ¶
type Disk struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Encryption DiskEncryption }
type DiskEncryption ¶
type DiskEncryption struct { Metadata defsecTypes.Metadata RawKey defsecTypes.BytesValue KMSKeyLink defsecTypes.StringValue }
type EgressRule ¶
type EgressRule struct { Metadata defsecTypes.Metadata FirewallRule DestinationRanges []defsecTypes.StringValue }
type Firewall ¶
type Firewall struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue IngressRules []IngressRule EgressRules []EgressRule SourceTags []defsecTypes.StringValue TargetTags []defsecTypes.StringValue }
type FirewallRule ¶
type FirewallRule struct { Metadata defsecTypes.Metadata Enforced defsecTypes.BoolValue IsAllow defsecTypes.BoolValue Protocol defsecTypes.StringValue Ports []defsecTypes.IntValue }
type IngressRule ¶
type IngressRule struct { Metadata defsecTypes.Metadata FirewallRule SourceRanges []defsecTypes.StringValue }
type Instance ¶
type Instance struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue NetworkInterfaces []NetworkInterface ShieldedVM ShieldedVMConfig ServiceAccount ServiceAccount CanIPForward defsecTypes.BoolValue OSLoginEnabled defsecTypes.BoolValue EnableProjectSSHKeyBlocking defsecTypes.BoolValue EnableSerialPort defsecTypes.BoolValue BootDisks []Disk AttachedDisks []Disk }
type Network ¶
type Network struct { Metadata types.Metadata Firewall *Firewall Subnetworks []SubNetwork }
type NetworkInterface ¶
type NetworkInterface struct { Metadata defsecTypes.Metadata Network *Network SubNetwork *SubNetwork HasPublicIP defsecTypes.BoolValue NATIP defsecTypes.StringValue }
type ProjectMetadata ¶
type ProjectMetadata struct { Metadata defsecTypes.Metadata EnableOSLogin defsecTypes.BoolValue }
type SSLPolicy ¶
type SSLPolicy struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Profile defsecTypes.StringValue MinimumTLSVersion defsecTypes.StringValue }
type ServiceAccount ¶
type ServiceAccount struct { Metadata defsecTypes.Metadata Email defsecTypes.StringValue IsDefault defsecTypes.BoolValue Scopes []defsecTypes.StringValue }
type ShieldedVMConfig ¶
type ShieldedVMConfig struct { Metadata defsecTypes.Metadata SecureBootEnabled defsecTypes.BoolValue IntegrityMonitoringEnabled defsecTypes.BoolValue VTPMEnabled defsecTypes.BoolValue }
type SubNetwork ¶
type SubNetwork struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Purpose defsecTypes.StringValue EnableFlowLogs defsecTypes.BoolValue }
Click to show internal directories.
Click to hide internal directories.