runtimevulnerabilitydetection

package
v1.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MonitoringModes = struct {
	MonitoringOff MonitoringMode
	MonitoringOn  MonitoringMode
}{
	"MONITORING_OFF",
	"MONITORING_ON",
}

Functions

This section is empty.

Types

type MonitoringMode

type MonitoringMode string

type Settings

type Settings struct {
	EnableCodeLevelVulnerabilityDetection bool           `json:"enableCodeLevelVulnerabilityDetection"` // Enable Code-level Vulnerability Analytics
	EnableRuntimeVulnerabilityDetection   bool           `json:"enableRuntimeVulnerabilityDetection"`   // Enable Third-party Vulnerability Analytics
	GlobalMonitoringModeJava              MonitoringMode `json:"globalMonitoringModeJava"`              // Possible Values: `MONITORING_OFF`, `MONITORING_ON`
	Technologies                          *Technology    `json:"technologies"`                          // Vulnerability Analytics can be enabled/disabled per supported technology.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type Technology

type Technology struct {
	EnableDotNet        bool  `json:"enableDotNet"`                  // NET
	EnableDotNetRuntime *bool `json:"enableDotNetRuntime,omitempty"` // NET runtimes
	EnableGo            bool  `json:"enableGo"`                      // Go
	EnableJava          bool  `json:"enableJava"`                    // Java
	EnableJavaRuntime   *bool `json:"enableJavaRuntime,omitempty"`   // Java runtimes
	EnableKubernetes    bool  `json:"enableKubernetes"`              // Kubernetes
	EnableNodeJs        bool  `json:"enableNodeJs"`                  // Node.js
	EnableNodeJsRuntime *bool `json:"enableNodeJsRuntime,omitempty"` // Node.js runtimes
	EnablePhp           bool  `json:"enablePhp"`                     // PHP
}

func (*Technology) HandlePreconditions

func (me *Technology) HandlePreconditions() error

func (*Technology) MarshalHCL

func (me *Technology) MarshalHCL(properties hcl.Properties) error

func (*Technology) Schema

func (me *Technology) Schema() map[string]*schema.Schema

func (*Technology) UnmarshalHCL

func (me *Technology) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL