managed_rule_set

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManagedRuleSetDataSource

func NewManagedRuleSetDataSource() datasource.DataSource

func NewManagedRuleSetResource

func NewManagedRuleSetResource() resource.Resource

Types

type Model

type Model struct {
	Id        types.String `tfsdk:"id"` // needed by TF
	ProjectId types.String `tfsdk:"project_id"`
	Region    types.String `tfsdk:"region"`
	Name      types.String `tfsdk:"name"`
	Groups    types.Map    `tfsdk:"groups"`
	Type      types.String `tfsdk:"type"`
	Usage     types.Object `tfsdk:"usage"`
	Version   types.String `tfsdk:"version"`
}

type RuleGroupModel

type RuleGroupModel struct {
	Description types.String `tfsdk:"description"`
	GroupName   types.String `tfsdk:"group_name"`
	Rules       types.Map    `tfsdk:"rules"`
}

type RuleModel

type RuleModel struct {
	Description types.String `tfsdk:"description"`
	Mode        types.String `tfsdk:"mode"`
	Severity    types.String `tfsdk:"severity"`
}

type UsageModel

type UsageModel struct {
	Count types.Int32 `tfsdk:"count"`
	Items types.List  `tfsdk:"items"`
}

Jump to

Keyboard shortcuts

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