Documentation
¶
Index ¶
- Variables
- type ArchiveConfig
- type GoBinaryConfig
- type GovulncheckConfig
- func (*GovulncheckConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GovulncheckConfig) GetOfflineVulnDbPath() string
- func (*GovulncheckConfig) ProtoMessage()
- func (x *GovulncheckConfig) ProtoReflect() protoreflect.Message
- func (x *GovulncheckConfig) Reset()
- func (x *GovulncheckConfig) String() string
- type OVAConfig
- type PluginConfig
- func (*PluginConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PluginConfig) GetMaxFileSizeBytes() int64
- func (x *PluginConfig) GetPluginSpecific() []*PluginSpecificConfig
- func (*PluginConfig) ProtoMessage()
- func (x *PluginConfig) ProtoReflect() protoreflect.Message
- func (x *PluginConfig) Reset()
- func (x *PluginConfig) String() string
- type PluginSpecificConfig
- func (*PluginSpecificConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PluginSpecificConfig) GetArchive() *ArchiveConfig
- func (x *PluginSpecificConfig) GetConfig() isPluginSpecificConfig_Config
- func (x *PluginSpecificConfig) GetGoBinary() *GoBinaryConfig
- func (x *PluginSpecificConfig) GetGovulncheck() *GovulncheckConfig
- func (x *PluginSpecificConfig) GetOva() *OVAConfig
- func (x *PluginSpecificConfig) GetVdi() *VDIConfig
- func (x *PluginSpecificConfig) GetVmdk() *VMDKConfig
- func (*PluginSpecificConfig) ProtoMessage()
- func (x *PluginSpecificConfig) ProtoReflect() protoreflect.Message
- func (x *PluginSpecificConfig) Reset()
- func (x *PluginSpecificConfig) String() string
- type PluginSpecificConfig_Archive
- type PluginSpecificConfig_GoBinary
- type PluginSpecificConfig_Govulncheck
- type PluginSpecificConfig_Ova
- type PluginSpecificConfig_Vdi
- type PluginSpecificConfig_Vmdk
- type VDIConfig
- type VMDKConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArchiveConfig ¶
type ArchiveConfig struct {
// The maximum file size the plugin will process.
// If set, this overrides the global max_file_size_bytes configuration
// for this specific plugin.
MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*ArchiveConfig) Descriptor
deprecated
func (*ArchiveConfig) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveConfig.ProtoReflect.Descriptor instead.
func (*ArchiveConfig) GetMaxFileSizeBytes ¶
func (x *ArchiveConfig) GetMaxFileSizeBytes() int64
func (*ArchiveConfig) ProtoMessage ¶
func (*ArchiveConfig) ProtoMessage()
func (*ArchiveConfig) ProtoReflect ¶
func (x *ArchiveConfig) ProtoReflect() protoreflect.Message
func (*ArchiveConfig) Reset ¶
func (x *ArchiveConfig) Reset()
func (*ArchiveConfig) String ¶
func (x *ArchiveConfig) String() string
type GoBinaryConfig ¶
type GoBinaryConfig struct {
// Enables extracting the module version from the Go binary content.
VersionFromContent bool `protobuf:"varint,1,opt,name=version_from_content,json=versionFromContent,proto3" json:"version_from_content,omitempty"`
// contains filtered or unexported fields
}
func (*GoBinaryConfig) Descriptor
deprecated
func (*GoBinaryConfig) Descriptor() ([]byte, []int)
Deprecated: Use GoBinaryConfig.ProtoReflect.Descriptor instead.
func (*GoBinaryConfig) GetVersionFromContent ¶
func (x *GoBinaryConfig) GetVersionFromContent() bool
func (*GoBinaryConfig) ProtoMessage ¶
func (*GoBinaryConfig) ProtoMessage()
func (*GoBinaryConfig) ProtoReflect ¶
func (x *GoBinaryConfig) ProtoReflect() protoreflect.Message
func (*GoBinaryConfig) Reset ¶
func (x *GoBinaryConfig) Reset()
func (*GoBinaryConfig) String ¶
func (x *GoBinaryConfig) String() string
type GovulncheckConfig ¶
type GovulncheckConfig struct {
// Path to the offline vuln DB to pass to govunlcheck. If empty,
// the detector will query vulns from the net instead.
OfflineVulnDbPath string `protobuf:"bytes,1,opt,name=offline_vuln_db_path,json=offlineVulnDbPath,proto3" json:"offline_vuln_db_path,omitempty"`
// contains filtered or unexported fields
}
func (*GovulncheckConfig) Descriptor
deprecated
func (*GovulncheckConfig) Descriptor() ([]byte, []int)
Deprecated: Use GovulncheckConfig.ProtoReflect.Descriptor instead.
func (*GovulncheckConfig) GetOfflineVulnDbPath ¶
func (x *GovulncheckConfig) GetOfflineVulnDbPath() string
func (*GovulncheckConfig) ProtoMessage ¶
func (*GovulncheckConfig) ProtoMessage()
func (*GovulncheckConfig) ProtoReflect ¶
func (x *GovulncheckConfig) ProtoReflect() protoreflect.Message
func (*GovulncheckConfig) Reset ¶
func (x *GovulncheckConfig) Reset()
func (*GovulncheckConfig) String ¶
func (x *GovulncheckConfig) String() string
type OVAConfig ¶
type OVAConfig struct {
// The maximum file size the plugin will process.
// If set, this overrides the global max_file_size_bytes configuration
// for this specific plugin.
MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*OVAConfig) Descriptor
deprecated
func (*OVAConfig) GetMaxFileSizeBytes ¶
func (*OVAConfig) ProtoMessage ¶
func (*OVAConfig) ProtoMessage()
func (*OVAConfig) ProtoReflect ¶
func (x *OVAConfig) ProtoReflect() protoreflect.Message
type PluginConfig ¶
type PluginConfig struct {
// The maximum file size the plugin will process.
MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
// Config values that only apply to a single plugin.
PluginSpecific []*PluginSpecificConfig `protobuf:"bytes,2,rep,name=plugin_specific,json=pluginSpecific,proto3" json:"plugin_specific,omitempty"`
// contains filtered or unexported fields
}
func (*PluginConfig) Descriptor
deprecated
func (*PluginConfig) Descriptor() ([]byte, []int)
Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead.
func (*PluginConfig) GetMaxFileSizeBytes ¶
func (x *PluginConfig) GetMaxFileSizeBytes() int64
func (*PluginConfig) GetPluginSpecific ¶
func (x *PluginConfig) GetPluginSpecific() []*PluginSpecificConfig
func (*PluginConfig) ProtoMessage ¶
func (*PluginConfig) ProtoMessage()
func (*PluginConfig) ProtoReflect ¶
func (x *PluginConfig) ProtoReflect() protoreflect.Message
func (*PluginConfig) Reset ¶
func (x *PluginConfig) Reset()
func (*PluginConfig) String ¶
func (x *PluginConfig) String() string
type PluginSpecificConfig ¶
type PluginSpecificConfig struct {
// Types that are valid to be assigned to Config:
//
// *PluginSpecificConfig_GoBinary
// *PluginSpecificConfig_Govulncheck
// *PluginSpecificConfig_Archive
// *PluginSpecificConfig_Ova
// *PluginSpecificConfig_Vdi
// *PluginSpecificConfig_Vmdk
Config isPluginSpecificConfig_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
func (*PluginSpecificConfig) Descriptor
deprecated
func (*PluginSpecificConfig) Descriptor() ([]byte, []int)
Deprecated: Use PluginSpecificConfig.ProtoReflect.Descriptor instead.
func (*PluginSpecificConfig) GetArchive ¶
func (x *PluginSpecificConfig) GetArchive() *ArchiveConfig
func (*PluginSpecificConfig) GetConfig ¶
func (x *PluginSpecificConfig) GetConfig() isPluginSpecificConfig_Config
func (*PluginSpecificConfig) GetGoBinary ¶
func (x *PluginSpecificConfig) GetGoBinary() *GoBinaryConfig
func (*PluginSpecificConfig) GetGovulncheck ¶
func (x *PluginSpecificConfig) GetGovulncheck() *GovulncheckConfig
func (*PluginSpecificConfig) GetOva ¶
func (x *PluginSpecificConfig) GetOva() *OVAConfig
func (*PluginSpecificConfig) GetVdi ¶
func (x *PluginSpecificConfig) GetVdi() *VDIConfig
func (*PluginSpecificConfig) GetVmdk ¶
func (x *PluginSpecificConfig) GetVmdk() *VMDKConfig
func (*PluginSpecificConfig) ProtoMessage ¶
func (*PluginSpecificConfig) ProtoMessage()
func (*PluginSpecificConfig) ProtoReflect ¶
func (x *PluginSpecificConfig) ProtoReflect() protoreflect.Message
func (*PluginSpecificConfig) Reset ¶
func (x *PluginSpecificConfig) Reset()
func (*PluginSpecificConfig) String ¶
func (x *PluginSpecificConfig) String() string
type PluginSpecificConfig_Archive ¶
type PluginSpecificConfig_Archive struct {
Archive *ArchiveConfig `protobuf:"bytes,3,opt,name=archive,proto3,oneof"`
}
type PluginSpecificConfig_GoBinary ¶
type PluginSpecificConfig_GoBinary struct {
GoBinary *GoBinaryConfig `protobuf:"bytes,1,opt,name=go_binary,json=goBinary,proto3,oneof"`
}
type PluginSpecificConfig_Govulncheck ¶
type PluginSpecificConfig_Govulncheck struct {
Govulncheck *GovulncheckConfig `protobuf:"bytes,2,opt,name=govulncheck,proto3,oneof"`
}
type PluginSpecificConfig_Ova ¶
type PluginSpecificConfig_Ova struct {
Ova *OVAConfig `protobuf:"bytes,4,opt,name=ova,proto3,oneof"`
}
type PluginSpecificConfig_Vdi ¶
type PluginSpecificConfig_Vdi struct {
Vdi *VDIConfig `protobuf:"bytes,5,opt,name=vdi,proto3,oneof"`
}
type PluginSpecificConfig_Vmdk ¶
type PluginSpecificConfig_Vmdk struct {
Vmdk *VMDKConfig `protobuf:"bytes,6,opt,name=vmdk,proto3,oneof"`
}
type VDIConfig ¶
type VDIConfig struct {
// The maximum file size the plugin will process.
// If set, this overrides the global max_file_size_bytes configuration
// for this specific plugin.
MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*VDIConfig) Descriptor
deprecated
func (*VDIConfig) GetMaxFileSizeBytes ¶
func (*VDIConfig) ProtoMessage ¶
func (*VDIConfig) ProtoMessage()
func (*VDIConfig) ProtoReflect ¶
func (x *VDIConfig) ProtoReflect() protoreflect.Message
type VMDKConfig ¶
type VMDKConfig struct {
// The maximum file size the plugin will process.
// If set, this overrides the global max_file_size_bytes configuration
// for this specific plugin.
MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*VMDKConfig) Descriptor
deprecated
func (*VMDKConfig) Descriptor() ([]byte, []int)
Deprecated: Use VMDKConfig.ProtoReflect.Descriptor instead.
func (*VMDKConfig) GetMaxFileSizeBytes ¶
func (x *VMDKConfig) GetMaxFileSizeBytes() int64
func (*VMDKConfig) ProtoMessage ¶
func (*VMDKConfig) ProtoMessage()
func (*VMDKConfig) ProtoReflect ¶
func (x *VMDKConfig) ProtoReflect() protoreflect.Message
func (*VMDKConfig) Reset ¶
func (x *VMDKConfig) Reset()
func (*VMDKConfig) String ¶
func (x *VMDKConfig) String() string
Click to show internal directories.
Click to hide internal directories.