google_securityposture_posture

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// PostureId: string, required
	PostureId terra.StringValue `hcl:"posture_id,attr" validate:"required"`
	// State: string, required
	State terra.StringValue `hcl:"state,attr" validate:"required"`
	// PolicySets: min=1
	PolicySets []PolicySets `hcl:"policy_sets,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_securityposture_posture.

type PolicySets

type PolicySets struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// PolicySetId: string, required
	PolicySetId terra.StringValue `hcl:"policy_set_id,attr" validate:"required"`
	// PolicySetsPolicies: min=1
	Policies []PolicySetsPolicies `hcl:"policies,block" validate:"min=1"`
}

type PolicySetsAttributes

type PolicySetsAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsAttributes) Description

func (ps PolicySetsAttributes) Description() terra.StringValue

func (PolicySetsAttributes) InternalRef

func (ps PolicySetsAttributes) InternalRef() (terra.Reference, error)

func (PolicySetsAttributes) InternalTokens

func (ps PolicySetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PolicySetsAttributes) InternalWithRef

func (ps PolicySetsAttributes) InternalWithRef(ref terra.Reference) PolicySetsAttributes

func (PolicySetsAttributes) Policies

func (PolicySetsAttributes) PolicySetId

func (ps PolicySetsAttributes) PolicySetId() terra.StringValue

type PolicySetsPolicies

type PolicySetsPolicies struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// PolicyId: string, required
	PolicyId terra.StringValue `hcl:"policy_id,attr" validate:"required"`
	// PolicySetsPoliciesComplianceStandards: min=0
	ComplianceStandards []PolicySetsPoliciesComplianceStandards `hcl:"compliance_standards,block" validate:"min=0"`
	// PolicySetsPoliciesConstraint: required
	Constraint *PolicySetsPoliciesConstraint `hcl:"constraint,block" validate:"required"`
}

type PolicySetsPolicies08943Acf

type PolicySetsPolicies08943Acf struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PolicySetsPoliciesA59E3B70: optional
	ValueExpression *PolicySetsPoliciesA59E3B70 `hcl:"value_expression,block"`
}

type PolicySetsPolicies08943AcfAttributes

type PolicySetsPolicies08943AcfAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies08943AcfAttributes) InternalRef

func (PolicySetsPolicies08943AcfAttributes) InternalTokens

func (PolicySetsPolicies08943AcfAttributes) InternalWithRef

func (PolicySetsPolicies08943AcfAttributes) Name

func (PolicySetsPolicies08943AcfAttributes) ValueExpression

type PolicySetsPolicies08943AcfState

type PolicySetsPolicies08943AcfState struct {
	Name            string                            `json:"name"`
	ValueExpression []PolicySetsPoliciesA59E3B70State `json:"value_expression"`
}

type PolicySetsPolicies0B2Db0C9

type PolicySetsPolicies0B2Db0C9 struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type PolicySetsPolicies0B2Db0C9Attributes

type PolicySetsPolicies0B2Db0C9Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies0B2Db0C9Attributes) Description

func (PolicySetsPolicies0B2Db0C9Attributes) Expression

func (PolicySetsPolicies0B2Db0C9Attributes) InternalRef

func (PolicySetsPolicies0B2Db0C9Attributes) InternalTokens

func (PolicySetsPolicies0B2Db0C9Attributes) InternalWithRef

func (PolicySetsPolicies0B2Db0C9Attributes) Location

func (PolicySetsPolicies0B2Db0C9Attributes) Title

type PolicySetsPolicies0B2Db0C9State

type PolicySetsPolicies0B2Db0C9State struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type PolicySetsPolicies16F7B602

type PolicySetsPolicies16F7B602 struct {
	// ActionType: string, required
	ActionType terra.StringValue `hcl:"action_type,attr" validate:"required"`
	// Condition: string, required
	Condition terra.StringValue `hcl:"condition,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// MethodTypes: list of string, required
	MethodTypes terra.ListValue[terra.StringValue] `hcl:"method_types,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceTypes: list of string, required
	ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr" validate:"required"`
}

type PolicySetsPolicies16F7B602Attributes

type PolicySetsPolicies16F7B602Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies16F7B602Attributes) ActionType

func (PolicySetsPolicies16F7B602Attributes) Condition

func (PolicySetsPolicies16F7B602Attributes) Description

func (PolicySetsPolicies16F7B602Attributes) DisplayName

func (PolicySetsPolicies16F7B602Attributes) InternalRef

func (PolicySetsPolicies16F7B602Attributes) InternalTokens

func (PolicySetsPolicies16F7B602Attributes) InternalWithRef

func (PolicySetsPolicies16F7B602Attributes) MethodTypes

func (PolicySetsPolicies16F7B602Attributes) Name

func (PolicySetsPolicies16F7B602Attributes) ResourceTypes

type PolicySetsPolicies16F7B602State

type PolicySetsPolicies16F7B602State struct {
	ActionType    string   `json:"action_type"`
	Condition     string   `json:"condition"`
	Description   string   `json:"description"`
	DisplayName   string   `json:"display_name"`
	MethodTypes   []string `json:"method_types"`
	Name          string   `json:"name"`
	ResourceTypes []string `json:"resource_types"`
}

type PolicySetsPolicies69Fbc333

type PolicySetsPolicies69Fbc333 struct {
	// AllowAll: bool, optional
	AllowAll terra.BoolValue `hcl:"allow_all,attr"`
	// DenyAll: bool, optional
	DenyAll terra.BoolValue `hcl:"deny_all,attr"`
	// Enforce: bool, optional
	Enforce terra.BoolValue `hcl:"enforce,attr"`
	// PolicySetsPolicies8Baf1924: optional
	Condition *PolicySetsPolicies8Baf1924 `hcl:"condition,block"`
	// PolicySetsPoliciesEc2A1A03: optional
	Values *PolicySetsPoliciesEc2A1A03 `hcl:"values,block"`
}

type PolicySetsPolicies69Fbc333Attributes

type PolicySetsPolicies69Fbc333Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies69Fbc333Attributes) AllowAll

func (PolicySetsPolicies69Fbc333Attributes) Condition

func (PolicySetsPolicies69Fbc333Attributes) DenyAll

func (PolicySetsPolicies69Fbc333Attributes) Enforce

func (PolicySetsPolicies69Fbc333Attributes) InternalRef

func (PolicySetsPolicies69Fbc333Attributes) InternalTokens

func (PolicySetsPolicies69Fbc333Attributes) InternalWithRef

func (PolicySetsPolicies69Fbc333Attributes) Values

type PolicySetsPolicies69Fbc333State

type PolicySetsPolicies69Fbc333State struct {
	AllowAll  bool                              `json:"allow_all"`
	DenyAll   bool                              `json:"deny_all"`
	Enforce   bool                              `json:"enforce"`
	Condition []PolicySetsPolicies8Baf1924State `json:"condition"`
	Values    []PolicySetsPoliciesEc2A1A03State `json:"values"`
}

type PolicySetsPolicies77Dcacfa

type PolicySetsPolicies77Dcacfa struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Recommendation: string, optional
	Recommendation terra.StringValue `hcl:"recommendation,attr"`
	// Severity: string, required
	Severity terra.StringValue `hcl:"severity,attr" validate:"required"`
	// PolicySetsPoliciesC218Ea62: optional
	CustomOutput *PolicySetsPoliciesC218Ea62 `hcl:"custom_output,block"`
	// PolicySetsPolicies0B2Db0C9: required
	Predicate *PolicySetsPolicies0B2Db0C9 `hcl:"predicate,block" validate:"required"`
	// PolicySetsPoliciesFa83299F: required
	ResourceSelector *PolicySetsPoliciesFa83299F `hcl:"resource_selector,block" validate:"required"`
}

type PolicySetsPolicies77DcacfaAttributes

type PolicySetsPolicies77DcacfaAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies77DcacfaAttributes) CustomOutput

func (PolicySetsPolicies77DcacfaAttributes) Description

func (PolicySetsPolicies77DcacfaAttributes) InternalRef

func (PolicySetsPolicies77DcacfaAttributes) InternalTokens

func (PolicySetsPolicies77DcacfaAttributes) InternalWithRef

func (PolicySetsPolicies77DcacfaAttributes) Predicate

func (PolicySetsPolicies77DcacfaAttributes) Recommendation

func (PolicySetsPolicies77DcacfaAttributes) ResourceSelector

func (PolicySetsPolicies77DcacfaAttributes) Severity

type PolicySetsPolicies77DcacfaState

type PolicySetsPolicies77DcacfaState struct {
	Description      string                            `json:"description"`
	Recommendation   string                            `json:"recommendation"`
	Severity         string                            `json:"severity"`
	CustomOutput     []PolicySetsPoliciesC218Ea62State `json:"custom_output"`
	Predicate        []PolicySetsPolicies0B2Db0C9State `json:"predicate"`
	ResourceSelector []PolicySetsPoliciesFa83299FState `json:"resource_selector"`
}

type PolicySetsPolicies89E2F497

type PolicySetsPolicies89E2F497 struct {
	// AllowedValues: list of string, optional
	AllowedValues terra.ListValue[terra.StringValue] `hcl:"allowed_values,attr"`
	// DeniedValues: list of string, optional
	DeniedValues terra.ListValue[terra.StringValue] `hcl:"denied_values,attr"`
}

type PolicySetsPolicies89E2F497Attributes

type PolicySetsPolicies89E2F497Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies89E2F497Attributes) AllowedValues

func (PolicySetsPolicies89E2F497Attributes) DeniedValues

func (PolicySetsPolicies89E2F497Attributes) InternalRef

func (PolicySetsPolicies89E2F497Attributes) InternalTokens

func (PolicySetsPolicies89E2F497Attributes) InternalWithRef

type PolicySetsPolicies89E2F497State

type PolicySetsPolicies89E2F497State struct {
	AllowedValues []string `json:"allowed_values"`
	DeniedValues  []string `json:"denied_values"`
}

type PolicySetsPolicies8Baf1924

type PolicySetsPolicies8Baf1924 struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type PolicySetsPolicies8Baf1924Attributes

type PolicySetsPolicies8Baf1924Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPolicies8Baf1924Attributes) Description

func (PolicySetsPolicies8Baf1924Attributes) Expression

func (PolicySetsPolicies8Baf1924Attributes) InternalRef

func (PolicySetsPolicies8Baf1924Attributes) InternalTokens

func (PolicySetsPolicies8Baf1924Attributes) InternalWithRef

func (PolicySetsPolicies8Baf1924Attributes) Location

func (PolicySetsPolicies8Baf1924Attributes) Title

type PolicySetsPolicies8Baf1924State

type PolicySetsPolicies8Baf1924State struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type PolicySetsPoliciesA1Efb203

type PolicySetsPoliciesA1Efb203 struct {
	// AllowAll: bool, optional
	AllowAll terra.BoolValue `hcl:"allow_all,attr"`
	// DenyAll: bool, optional
	DenyAll terra.BoolValue `hcl:"deny_all,attr"`
	// Enforce: bool, optional
	Enforce terra.BoolValue `hcl:"enforce,attr"`
	// PolicySetsPoliciesE3A3Ce9B: optional
	Condition *PolicySetsPoliciesE3A3Ce9B `hcl:"condition,block"`
	// PolicySetsPolicies89E2F497: optional
	Values *PolicySetsPolicies89E2F497 `hcl:"values,block"`
}

type PolicySetsPoliciesA1Efb203Attributes

type PolicySetsPoliciesA1Efb203Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesA1Efb203Attributes) AllowAll

func (PolicySetsPoliciesA1Efb203Attributes) Condition

func (PolicySetsPoliciesA1Efb203Attributes) DenyAll

func (PolicySetsPoliciesA1Efb203Attributes) Enforce

func (PolicySetsPoliciesA1Efb203Attributes) InternalRef

func (PolicySetsPoliciesA1Efb203Attributes) InternalTokens

func (PolicySetsPoliciesA1Efb203Attributes) InternalWithRef

func (PolicySetsPoliciesA1Efb203Attributes) Values

type PolicySetsPoliciesA1Efb203State

type PolicySetsPoliciesA1Efb203State struct {
	AllowAll  bool                              `json:"allow_all"`
	DenyAll   bool                              `json:"deny_all"`
	Enforce   bool                              `json:"enforce"`
	Condition []PolicySetsPoliciesE3A3Ce9BState `json:"condition"`
	Values    []PolicySetsPolicies89E2F497State `json:"values"`
}

type PolicySetsPoliciesA59E3B70

type PolicySetsPoliciesA59E3B70 struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type PolicySetsPoliciesA59E3B70Attributes

type PolicySetsPoliciesA59E3B70Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesA59E3B70Attributes) Description

func (PolicySetsPoliciesA59E3B70Attributes) Expression

func (PolicySetsPoliciesA59E3B70Attributes) InternalRef

func (PolicySetsPoliciesA59E3B70Attributes) InternalTokens

func (PolicySetsPoliciesA59E3B70Attributes) InternalWithRef

func (PolicySetsPoliciesA59E3B70Attributes) Location

func (PolicySetsPoliciesA59E3B70Attributes) Title

type PolicySetsPoliciesA59E3B70State

type PolicySetsPoliciesA59E3B70State struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type PolicySetsPoliciesAttributes

type PolicySetsPoliciesAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesAttributes) ComplianceStandards

func (PolicySetsPoliciesAttributes) Constraint

func (PolicySetsPoliciesAttributes) Description

func (PolicySetsPoliciesAttributes) InternalRef

func (PolicySetsPoliciesAttributes) InternalTokens

func (p PolicySetsPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PolicySetsPoliciesAttributes) InternalWithRef

func (PolicySetsPoliciesAttributes) PolicyId

type PolicySetsPoliciesC218Ea62

type PolicySetsPoliciesC218Ea62 struct {
	// PolicySetsPolicies08943Acf: min=0
	Properties []PolicySetsPolicies08943Acf `hcl:"properties,block" validate:"min=0"`
}

type PolicySetsPoliciesC218Ea62Attributes

type PolicySetsPoliciesC218Ea62Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesC218Ea62Attributes) InternalRef

func (PolicySetsPoliciesC218Ea62Attributes) InternalTokens

func (PolicySetsPoliciesC218Ea62Attributes) InternalWithRef

func (PolicySetsPoliciesC218Ea62Attributes) Properties

type PolicySetsPoliciesC218Ea62State

type PolicySetsPoliciesC218Ea62State struct {
	Properties []PolicySetsPolicies08943AcfState `json:"properties"`
}

type PolicySetsPoliciesComplianceStandards

type PolicySetsPoliciesComplianceStandards struct {
	// Control: string, optional
	Control terra.StringValue `hcl:"control,attr"`
	// Standard: string, optional
	Standard terra.StringValue `hcl:"standard,attr"`
}

type PolicySetsPoliciesComplianceStandardsAttributes

type PolicySetsPoliciesComplianceStandardsAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesComplianceStandardsAttributes) Control

func (PolicySetsPoliciesComplianceStandardsAttributes) InternalRef

func (PolicySetsPoliciesComplianceStandardsAttributes) InternalTokens

func (PolicySetsPoliciesComplianceStandardsAttributes) InternalWithRef

func (PolicySetsPoliciesComplianceStandardsAttributes) Standard

type PolicySetsPoliciesComplianceStandardsState

type PolicySetsPoliciesComplianceStandardsState struct {
	Control  string `json:"control"`
	Standard string `json:"standard"`
}

type PolicySetsPoliciesConstraint

type PolicySetsPoliciesConstraint struct {
	// PolicySetsPoliciesConstraintOrgPolicyConstraint: optional
	OrgPolicyConstraint *PolicySetsPoliciesConstraintOrgPolicyConstraint `hcl:"org_policy_constraint,block"`
	// PolicySetsPoliciesConstraintOrgPolicyConstraintCustom: optional
	OrgPolicyConstraintCustom *PolicySetsPoliciesConstraintOrgPolicyConstraintCustom `hcl:"org_policy_constraint_custom,block"`
	// PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModule: optional
	SecurityHealthAnalyticsCustomModule *PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModule `hcl:"security_health_analytics_custom_module,block"`
	// PolicySetsPoliciesConstraintSecurityHealthAnalyticsModule: optional
	SecurityHealthAnalyticsModule *PolicySetsPoliciesConstraintSecurityHealthAnalyticsModule `hcl:"security_health_analytics_module,block"`
}

type PolicySetsPoliciesConstraintAttributes

type PolicySetsPoliciesConstraintAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesConstraintAttributes) InternalRef

func (PolicySetsPoliciesConstraintAttributes) InternalTokens

func (PolicySetsPoliciesConstraintAttributes) InternalWithRef

type PolicySetsPoliciesConstraintOrgPolicyConstraint

type PolicySetsPoliciesConstraintOrgPolicyConstraint struct {
	// CannedConstraintId: string, required
	CannedConstraintId terra.StringValue `hcl:"canned_constraint_id,attr" validate:"required"`
	// PolicySetsPoliciesA1Efb203: min=1
	PolicyRules []PolicySetsPoliciesA1Efb203 `hcl:"policy_rules,block" validate:"min=1"`
}

type PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes

type PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes) CannedConstraintId

func (PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes) InternalRef

func (PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes) InternalTokens

func (PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes) InternalWithRef

func (PolicySetsPoliciesConstraintOrgPolicyConstraintAttributes) PolicyRules

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustom

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustom struct {
	// PolicySetsPolicies16F7B602: optional
	CustomConstraint *PolicySetsPolicies16F7B602 `hcl:"custom_constraint,block"`
	// PolicySetsPolicies69Fbc333: min=1
	PolicyRules []PolicySetsPolicies69Fbc333 `hcl:"policy_rules,block" validate:"min=1"`
}

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes) CustomConstraint

func (PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes) InternalRef

func (PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes) InternalTokens

func (PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes) InternalWithRef

func (PolicySetsPoliciesConstraintOrgPolicyConstraintCustomAttributes) PolicyRules

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustomState

type PolicySetsPoliciesConstraintOrgPolicyConstraintCustomState struct {
	CustomConstraint []PolicySetsPolicies16F7B602State `json:"custom_constraint"`
	PolicyRules      []PolicySetsPolicies69Fbc333State `json:"policy_rules"`
}

type PolicySetsPoliciesConstraintOrgPolicyConstraintState

type PolicySetsPoliciesConstraintOrgPolicyConstraintState struct {
	CannedConstraintId string                            `json:"canned_constraint_id"`
	PolicyRules        []PolicySetsPoliciesA1Efb203State `json:"policy_rules"`
}

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModule

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModule struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// ModuleEnablementState: string, optional
	ModuleEnablementState terra.StringValue `hcl:"module_enablement_state,attr"`
	// PolicySetsPolicies77Dcacfa: required
	Config *PolicySetsPolicies77Dcacfa `hcl:"config,block" validate:"required"`
}

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) Config

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) DisplayName

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) Id

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) InternalRef

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) InternalTokens

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) InternalWithRef

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleAttributes) ModuleEnablementState

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleState

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleState struct {
	DisplayName           string                            `json:"display_name"`
	Id                    string                            `json:"id"`
	ModuleEnablementState string                            `json:"module_enablement_state"`
	Config                []PolicySetsPolicies77DcacfaState `json:"config"`
}

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModule

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModule struct {
	// ModuleEnablementState: string, optional
	ModuleEnablementState terra.StringValue `hcl:"module_enablement_state,attr"`
	// ModuleName: string, required
	ModuleName terra.StringValue `hcl:"module_name,attr" validate:"required"`
}

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes) InternalRef

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes) InternalTokens

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes) InternalWithRef

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes) ModuleEnablementState

func (PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleAttributes) ModuleName

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleState

type PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleState struct {
	ModuleEnablementState string `json:"module_enablement_state"`
	ModuleName            string `json:"module_name"`
}

type PolicySetsPoliciesConstraintState

type PolicySetsPoliciesConstraintState struct {
	OrgPolicyConstraint                 []PolicySetsPoliciesConstraintOrgPolicyConstraintState                 `json:"org_policy_constraint"`
	OrgPolicyConstraintCustom           []PolicySetsPoliciesConstraintOrgPolicyConstraintCustomState           `json:"org_policy_constraint_custom"`
	SecurityHealthAnalyticsCustomModule []PolicySetsPoliciesConstraintSecurityHealthAnalyticsCustomModuleState `json:"security_health_analytics_custom_module"`
	SecurityHealthAnalyticsModule       []PolicySetsPoliciesConstraintSecurityHealthAnalyticsModuleState       `json:"security_health_analytics_module"`
}

type PolicySetsPoliciesE3A3Ce9B

type PolicySetsPoliciesE3A3Ce9B struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type PolicySetsPoliciesE3A3Ce9BAttributes

type PolicySetsPoliciesE3A3Ce9BAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesE3A3Ce9BAttributes) Description

func (PolicySetsPoliciesE3A3Ce9BAttributes) Expression

func (PolicySetsPoliciesE3A3Ce9BAttributes) InternalRef

func (PolicySetsPoliciesE3A3Ce9BAttributes) InternalTokens

func (PolicySetsPoliciesE3A3Ce9BAttributes) InternalWithRef

func (PolicySetsPoliciesE3A3Ce9BAttributes) Location

func (PolicySetsPoliciesE3A3Ce9BAttributes) Title

type PolicySetsPoliciesE3A3Ce9BState

type PolicySetsPoliciesE3A3Ce9BState struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type PolicySetsPoliciesEc2A1A03

type PolicySetsPoliciesEc2A1A03 struct {
	// AllowedValues: list of string, optional
	AllowedValues terra.ListValue[terra.StringValue] `hcl:"allowed_values,attr"`
	// DeniedValues: list of string, optional
	DeniedValues terra.ListValue[terra.StringValue] `hcl:"denied_values,attr"`
}

type PolicySetsPoliciesEc2A1A03Attributes

type PolicySetsPoliciesEc2A1A03Attributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesEc2A1A03Attributes) AllowedValues

func (PolicySetsPoliciesEc2A1A03Attributes) DeniedValues

func (PolicySetsPoliciesEc2A1A03Attributes) InternalRef

func (PolicySetsPoliciesEc2A1A03Attributes) InternalTokens

func (PolicySetsPoliciesEc2A1A03Attributes) InternalWithRef

type PolicySetsPoliciesEc2A1A03State

type PolicySetsPoliciesEc2A1A03State struct {
	AllowedValues []string `json:"allowed_values"`
	DeniedValues  []string `json:"denied_values"`
}

type PolicySetsPoliciesFa83299F

type PolicySetsPoliciesFa83299F struct {
	// ResourceTypes: list of string, required
	ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr" validate:"required"`
}

type PolicySetsPoliciesFa83299FAttributes

type PolicySetsPoliciesFa83299FAttributes struct {
	// contains filtered or unexported fields
}

func (PolicySetsPoliciesFa83299FAttributes) InternalRef

func (PolicySetsPoliciesFa83299FAttributes) InternalTokens

func (PolicySetsPoliciesFa83299FAttributes) InternalWithRef

func (PolicySetsPoliciesFa83299FAttributes) ResourceTypes

type PolicySetsPoliciesFa83299FState

type PolicySetsPoliciesFa83299FState struct {
	ResourceTypes []string `json:"resource_types"`
}

type PolicySetsPoliciesState

type PolicySetsPoliciesState struct {
	Description         string                                       `json:"description"`
	PolicyId            string                                       `json:"policy_id"`
	ComplianceStandards []PolicySetsPoliciesComplianceStandardsState `json:"compliance_standards"`
	Constraint          []PolicySetsPoliciesConstraintState          `json:"constraint"`
}

type PolicySetsState

type PolicySetsState struct {
	Description string                    `json:"description"`
	PolicySetId string                    `json:"policy_set_id"`
	Policies    []PolicySetsPoliciesState `json:"policies"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_securityposture_posture.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gsp *Resource) Attributes() googleSecurityposturePostureAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gsp *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gsp *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gsp *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gsp *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gsp *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gsp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gsp *Resource) State() (*googleSecurityposturePostureState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gsp *Resource) StateMust() *googleSecurityposturePostureState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gsp *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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