azurerm_sentinel_threat_intelligence_indicator

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 {
	// Confidence: number, optional
	Confidence terra.NumberValue `hcl:"confidence,attr"`
	// CreatedBy: string, optional
	CreatedBy terra.StringValue `hcl:"created_by,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Extension: string, optional
	Extension terra.StringValue `hcl:"extension,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Language: string, optional
	Language terra.StringValue `hcl:"language,attr"`
	// ObjectMarkingRefs: list of string, optional
	ObjectMarkingRefs terra.ListValue[terra.StringValue] `hcl:"object_marking_refs,attr"`
	// Pattern: string, required
	Pattern terra.StringValue `hcl:"pattern,attr" validate:"required"`
	// PatternType: string, required
	PatternType terra.StringValue `hcl:"pattern_type,attr" validate:"required"`
	// PatternVersion: string, optional
	PatternVersion terra.StringValue `hcl:"pattern_version,attr"`
	// Revoked: bool, optional
	Revoked terra.BoolValue `hcl:"revoked,attr"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
	// ThreatTypes: list of string, optional
	ThreatTypes terra.ListValue[terra.StringValue] `hcl:"threat_types,attr"`
	// ValidateFromUtc: string, required
	ValidateFromUtc terra.StringValue `hcl:"validate_from_utc,attr" validate:"required"`
	// ValidateUntilUtc: string, optional
	ValidateUntilUtc terra.StringValue `hcl:"validate_until_utc,attr"`
	// WorkspaceId: string, required
	WorkspaceId terra.StringValue `hcl:"workspace_id,attr" validate:"required"`
	// ExternalReference: min=0
	ExternalReference []ExternalReference `hcl:"external_reference,block" validate:"min=0"`
	// GranularMarking: min=0
	GranularMarking []GranularMarking `hcl:"granular_marking,block" validate:"min=0"`
	// KillChainPhase: min=0
	KillChainPhase []KillChainPhase `hcl:"kill_chain_phase,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_sentinel_threat_intelligence_indicator.

type ExternalReference

type ExternalReference struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Hashes: map of string, optional
	Hashes terra.MapValue[terra.StringValue] `hcl:"hashes,attr"`
	// SourceName: string, optional
	SourceName terra.StringValue `hcl:"source_name,attr"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
}

type ExternalReferenceAttributes

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

func (ExternalReferenceAttributes) Description

func (ExternalReferenceAttributes) Hashes

func (ExternalReferenceAttributes) Id

func (ExternalReferenceAttributes) InternalRef

func (er ExternalReferenceAttributes) InternalRef() (terra.Reference, error)

func (ExternalReferenceAttributes) InternalTokens

func (er ExternalReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExternalReferenceAttributes) InternalWithRef

func (ExternalReferenceAttributes) SourceName

func (ExternalReferenceAttributes) Url

type ExternalReferenceState

type ExternalReferenceState struct {
	Description string            `json:"description"`
	Hashes      map[string]string `json:"hashes"`
	Id          string            `json:"id"`
	SourceName  string            `json:"source_name"`
	Url         string            `json:"url"`
}

type GranularMarking

type GranularMarking struct {
	// Language: string, optional
	Language terra.StringValue `hcl:"language,attr"`
	// MarkingRef: string, optional
	MarkingRef terra.StringValue `hcl:"marking_ref,attr"`
	// Selectors: list of string, optional
	Selectors terra.ListValue[terra.StringValue] `hcl:"selectors,attr"`
}

type GranularMarkingAttributes

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

func (GranularMarkingAttributes) InternalRef

func (gm GranularMarkingAttributes) InternalRef() (terra.Reference, error)

func (GranularMarkingAttributes) InternalTokens

func (gm GranularMarkingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GranularMarkingAttributes) InternalWithRef

func (GranularMarkingAttributes) Language

func (GranularMarkingAttributes) MarkingRef

func (GranularMarkingAttributes) Selectors

type GranularMarkingState

type GranularMarkingState struct {
	Language   string   `json:"language"`
	MarkingRef string   `json:"marking_ref"`
	Selectors  []string `json:"selectors"`
}

type KillChainPhase

type KillChainPhase struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type KillChainPhaseAttributes

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

func (KillChainPhaseAttributes) InternalRef

func (kcp KillChainPhaseAttributes) InternalRef() (terra.Reference, error)

func (KillChainPhaseAttributes) InternalTokens

func (kcp KillChainPhaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KillChainPhaseAttributes) InternalWithRef

func (KillChainPhaseAttributes) Name

type KillChainPhaseState

type KillChainPhaseState struct {
	Name string `json:"name"`
}

type ParsedPatternAttributes

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

func (ParsedPatternAttributes) InternalRef

func (pp ParsedPatternAttributes) InternalRef() (terra.Reference, error)

func (ParsedPatternAttributes) InternalTokens

func (pp ParsedPatternAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParsedPatternAttributes) InternalWithRef

func (ParsedPatternAttributes) PatternTypeKey

func (pp ParsedPatternAttributes) PatternTypeKey() terra.StringValue

func (ParsedPatternAttributes) PatternTypeValues

type ParsedPatternPatternTypeValuesAttributes

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

func (ParsedPatternPatternTypeValuesAttributes) InternalRef

func (ParsedPatternPatternTypeValuesAttributes) InternalTokens

func (ParsedPatternPatternTypeValuesAttributes) InternalWithRef

func (ParsedPatternPatternTypeValuesAttributes) Value

func (ParsedPatternPatternTypeValuesAttributes) ValueType

type ParsedPatternPatternTypeValuesState

type ParsedPatternPatternTypeValuesState struct {
	Value     string `json:"value"`
	ValueType string `json:"value_type"`
}

type ParsedPatternState

type ParsedPatternState struct {
	PatternTypeKey    string                                `json:"pattern_type_key"`
	PatternTypeValues []ParsedPatternPatternTypeValuesState `json:"pattern_type_values"`
}

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 azurerm_sentinel_threat_intelligence_indicator.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (astii *Resource) Attributes() azurermSentinelThreatIntelligenceIndicatorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (astii *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (astii *Resource) State() (*azurermSentinelThreatIntelligenceIndicatorState, bool)

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

func (*Resource) StateMust

func (astii *Resource) StateMust() *azurermSentinelThreatIntelligenceIndicatorState

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

func (*Resource) Type

func (astii *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"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,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) Read

func (TimeoutsAttributes) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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