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 Criteria ¶
type Criteria struct {
ProcessGroup *string `json:"processGroup,omitempty"` // Process group
}
func (*Criteria) MarshalHCL ¶
func (me *Criteria) MarshalHCL(properties hcl.Properties) error
type Metadata ¶
type Metadata struct {
Comment string `json:"comment"`
}
func (*Metadata) MarshalHCL ¶
func (me *Metadata) MarshalHCL(properties hcl.Properties) error
type MonitoringMode ¶
type MonitoringMode string
type Settings ¶
type Settings struct { Criteria *Criteria `json:"criteria"` // Step 1: Define criteria Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Metadata *Metadata `json:"metadata"` // Step 3: Leave comment VulnerabilityDetectionControl *VulnerabilityDetectionControl `json:"vulnerabilityDetectionControl"` // Step 2: Define code-level vulnerability detection control for chosen criteria InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type VulnerabilityDetectionControl ¶
type VulnerabilityDetectionControl struct {
MonitoringMode MonitoringMode `json:"monitoringMode"` // Possible Values: `MONITORING_OFF`, `MONITORING_ON`
}
func (*VulnerabilityDetectionControl) MarshalHCL ¶
func (me *VulnerabilityDetectionControl) MarshalHCL(properties hcl.Properties) error
func (*VulnerabilityDetectionControl) Schema ¶
func (me *VulnerabilityDetectionControl) Schema() map[string]*schema.Schema
func (*VulnerabilityDetectionControl) UnmarshalHCL ¶
func (me *VulnerabilityDetectionControl) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.