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 GlobalMonitoringModeDotNet MonitoringMode `json:"globalMonitoringModeDotNet"` // (v1.290) Global .NET code-level vulnerability detection control defines the default for all process groups. You can use monitoring rules to override the default for certain process groups. GlobalMonitoringModeJava MonitoringMode `json:"globalMonitoringModeJava"` // Possible Values: `MONITORING_OFF`, `MONITORING_ON` GlobalMonitoringModeTPV MonitoringMode `json:"globalMonitoringModeTPV"` // 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
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) UnmarshalHCL ¶
func (me *Technology) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.