sentinel

package
v1.44.1-0...-2cd6497 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertRuleAnomalyIdFromWorkspaceId

func AlertRuleAnomalyIdFromWorkspaceId(workspaceId workspaces.WorkspaceId, name string) string

when the id of workspace is too long, the service return without workspace name: "/subscriptions/{sub_id}/resourceGroups/{rg_name}/providers/Microsoft.OperationalInsights/workspaces//providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/5020e404-9768-4364-98f6-679940c21362", tracked on https://github.com/Azure/azure-rest-api-specs/issues/22500

func AlertRuleAnomalyReadWithPredicate

func AlertRuleAnomalyReadWithPredicate(ctx context.Context, baseClient securityinsight.BaseClient, workspaceId workspaces.WorkspaceId, predicateFunc func(v *azuresdkhacks.AnomalySecurityMLAnalyticsSettings) bool) (*azuresdkhacks.AnomalySecurityMLAnalyticsSettings, error)

the service always return a fixed one no matter what id we pass, tracked on https://github.com/Azure/azure-rest-api-specs/issues/22485

func AnomalyRuleMultiSelectSchema

func AnomalyRuleMultiSelectSchema() *pluginsdk.Schema

func AnomalyRulePrioritySchema

func AnomalyRulePrioritySchema() *pluginsdk.Schema

func AnomalyRuleSingleSelectSchema

func AnomalyRuleSingleSelectSchema() *pluginsdk.Schema

func AnomalyRuleThresholdSchema

func AnomalyRuleThresholdSchema() *pluginsdk.Schema

Types

type AlertRuleAnomalyBuiltInModel

type AlertRuleAnomalyBuiltInModel struct {
	Name                         string                                  `tfschema:"name"`
	DisplayName                  string                                  `tfschema:"display_name"`
	WorkspaceId                  string                                  `tfschema:"log_analytics_workspace_id"`
	Enabled                      bool                                    `tfschema:"enabled"`
	Mode                         string                                  `tfschema:"mode"`
	AnomalyVersion               string                                  `tfschema:"anomaly_version"`
	AnomalySettingsVersion       int64                                   `tfschema:"anomaly_settings_version"`
	Description                  string                                  `tfschema:"description"`
	Frequency                    string                                  `tfschema:"frequency"`
	RequiredDataConnectors       []AnomalyRuleRequiredDataConnectorModel `tfschema:"required_data_connector"`
	SettingsDefinitionId         string                                  `tfschema:"settings_definition_id"`
	Tactics                      []string                                `tfschema:"tactics"`
	Techniques                   []string                                `tfschema:"techniques"`
	ThresholdObservation         []AnomalyRuleThresholdModel             `tfschema:"threshold_observation"`
	MultiSelectObservation       []AnomalyRuleMultiSelectModel           `tfschema:"multi_select_observation"`
	SingleSelectObservation      []AnomalyRuleSingleSelectModel          `tfschema:"single_select_observation"`
	PrioritizeExcludeObservation []AnomalyRulePriorityModel              `tfschema:"prioritized_exclude_observation"`
}

type AlertRuleAnomalyBuiltInResource

type AlertRuleAnomalyBuiltInResource struct{}

func (AlertRuleAnomalyBuiltInResource) Arguments

func (AlertRuleAnomalyBuiltInResource) Attributes

func (AlertRuleAnomalyBuiltInResource) Create

func (AlertRuleAnomalyBuiltInResource) Delete

func (AlertRuleAnomalyBuiltInResource) IDValidationFunc

func (AlertRuleAnomalyBuiltInResource) ModelObject

func (r AlertRuleAnomalyBuiltInResource) ModelObject() interface{}

func (AlertRuleAnomalyBuiltInResource) Read

func (AlertRuleAnomalyBuiltInResource) ResourceType

func (r AlertRuleAnomalyBuiltInResource) ResourceType() string

func (AlertRuleAnomalyBuiltInResource) Update

type AlertRuleAnomalyDataSource

type AlertRuleAnomalyDataSource struct{}

func (AlertRuleAnomalyDataSource) Arguments

func (a AlertRuleAnomalyDataSource) Arguments() map[string]*schema.Schema

func (AlertRuleAnomalyDataSource) Attributes

func (a AlertRuleAnomalyDataSource) Attributes() map[string]*schema.Schema

func (AlertRuleAnomalyDataSource) ModelObject

func (a AlertRuleAnomalyDataSource) ModelObject() interface{}

func (AlertRuleAnomalyDataSource) Read

func (AlertRuleAnomalyDataSource) ResourceType

func (a AlertRuleAnomalyDataSource) ResourceType() string

type AlertRuleAnomalyDataSourceModel

type AlertRuleAnomalyDataSourceModel struct {
	Name                         string                                  `tfschema:"name"`
	DisplayName                  string                                  `tfschema:"display_name"`
	WorkspaceId                  string                                  `tfschema:"log_analytics_workspace_id"`
	AnomalyVersion               string                                  `tfschema:"anomaly_version"`
	AnomalySettingsVersion       int64                                   `tfschema:"anomaly_settings_version"`
	Description                  string                                  `tfschema:"description"`
	Enabled                      bool                                    `tfschema:"enabled"`
	Frequency                    string                                  `tfschema:"frequency"`
	RequiredDataConnectors       []AnomalyRuleRequiredDataConnectorModel `tfschema:"required_data_connector"`
	SettingsDefinitionId         string                                  `tfschema:"settings_definition_id"`
	Mode                         string                                  `tfschema:"mode"`
	Tactics                      []string                                `tfschema:"tactics"`
	Techniques                   []string                                `tfschema:"techniques"`
	ThresholdObservation         []AnomalyRuleThresholdModel             `tfschema:"threshold_observation"`
	MultiSelectObservation       []AnomalyRuleMultiSelectModel           `tfschema:"multi_select_observation"`
	SingleSelectObservation      []AnomalyRuleSingleSelectModel          `tfschema:"single_select_observation"`
	PrioritizeExcludeObservation []AnomalyRulePriorityModel              `tfschema:"prioritized_exclude_observation"`
}

type AlertRuleAnomalyDuplicateModel

type AlertRuleAnomalyDuplicateModel struct {
	Name                         string                                  `tfschema:"name"`
	DisplayName                  string                                  `tfschema:"display_name"`
	BuiltInRuleId                string                                  `tfschema:"built_in_rule_id"`
	WorkspaceId                  string                                  `tfschema:"log_analytics_workspace_id"`
	Enabled                      bool                                    `tfschema:"enabled"`
	Mode                         string                                  `tfschema:"mode"`
	AnomalyVersion               string                                  `tfschema:"anomaly_version"`
	AnomalySettingsVersion       int64                                   `tfschema:"anomaly_settings_version"`
	Description                  string                                  `tfschema:"description"`
	Frequency                    string                                  `tfschema:"frequency"`
	IsDefaultSettings            bool                                    `tfschema:"is_default_settings"`
	RequiredDataConnectors       []AnomalyRuleRequiredDataConnectorModel `tfschema:"required_data_connector"`
	SettingsDefinitionId         string                                  `tfschema:"settings_definition_id"`
	Tactics                      []string                                `tfschema:"tactics"`
	Techniques                   []string                                `tfschema:"techniques"`
	ThresholdObservation         []AnomalyRuleThresholdModel             `tfschema:"threshold_observation"`
	MultiSelectObservation       []AnomalyRuleMultiSelectModel           `tfschema:"multi_select_observation"`
	SingleSelectObservation      []AnomalyRuleSingleSelectModel          `tfschema:"single_select_observation"`
	PrioritizeExcludeObservation []AnomalyRulePriorityModel              `tfschema:"prioritized_exclude_observation"`
}

type AlertRuleAnomalyDuplicateResource

type AlertRuleAnomalyDuplicateResource struct{}

func (AlertRuleAnomalyDuplicateResource) Arguments

func (AlertRuleAnomalyDuplicateResource) Attributes

func (AlertRuleAnomalyDuplicateResource) Create

func (AlertRuleAnomalyDuplicateResource) Delete

func (AlertRuleAnomalyDuplicateResource) IDValidationFunc

func (AlertRuleAnomalyDuplicateResource) ModelObject

func (r AlertRuleAnomalyDuplicateResource) ModelObject() interface{}

func (AlertRuleAnomalyDuplicateResource) Read

func (AlertRuleAnomalyDuplicateResource) ResourceType

func (r AlertRuleAnomalyDuplicateResource) ResourceType() string

func (AlertRuleAnomalyDuplicateResource) Update

type AlertRuleThreatIntelligenceModel

type AlertRuleThreatIntelligenceModel struct {
	Name         string `tfschema:"name"`
	WorkspaceId  string `tfschema:"log_analytics_workspace_id"`
	TemplateName string `tfschema:"alert_rule_template_guid"`
	Enabled      bool   `tfschema:"enabled"`
}

type AlertRuleThreatIntelligenceResource

type AlertRuleThreatIntelligenceResource struct{}

func (AlertRuleThreatIntelligenceResource) Arguments

func (AlertRuleThreatIntelligenceResource) Attributes

func (AlertRuleThreatIntelligenceResource) Create

func (AlertRuleThreatIntelligenceResource) CustomImporter

func (AlertRuleThreatIntelligenceResource) Delete

func (AlertRuleThreatIntelligenceResource) IDValidationFunc

func (AlertRuleThreatIntelligenceResource) ModelObject

func (a AlertRuleThreatIntelligenceResource) ModelObject() interface{}

func (AlertRuleThreatIntelligenceResource) Read

func (AlertRuleThreatIntelligenceResource) ResourceType

func (AlertRuleThreatIntelligenceResource) Update

type AnomalyRuleMultiSelectModel

type AnomalyRuleMultiSelectModel struct {
	SupportValues []string `tfschema:"supported_values"`
	Values        []string `tfschema:"values"`
	Name          string   `tfschema:"name"`
	Description   string   `tfschema:"description"`
}

type AnomalyRulePriorityModel

type AnomalyRulePriorityModel struct {
	Name        string `tfschema:"name"`
	Description string `tfschema:"description"`
	Prioritize  string `tfschema:"prioritize"`
	Exclude     string `tfschema:"exclude"`
}

type AnomalyRuleRequiredDataConnectorModel

type AnomalyRuleRequiredDataConnectorModel struct {
	ConnectorId string   `tfschema:"connector_id"`
	DataTypes   []string `tfschema:"data_types"`
}

type AnomalyRuleSingleSelectModel

type AnomalyRuleSingleSelectModel struct {
	Name          string   `tfschema:"name"`
	Description   string   `tfschema:"description"`
	SupportValues []string `tfschema:"supported_values"`
	Value         string   `tfschema:"value"`
}

type AnomalyRuleThresholdModel

type AnomalyRuleThresholdModel struct {
	Name        string `tfschema:"name"`
	Description string `tfschema:"description"`
	Max         string `tfschema:"max"`
	Min         string `tfschema:"min"`
	Value       string `tfschema:"value"`
}

type DataConnectorAwsS3Model

type DataConnectorAwsS3Model struct {
	Name                    string   `tfschema:"name"`
	LogAnalyticsWorkspaceId string   `tfschema:"log_analytics_workspace_id"`
	AwsRoleArm              string   `tfschema:"aws_role_arn"`
	DestinationTable        string   `tfschema:"destination_table"`
	SqsUrls                 []string `tfschema:"sqs_urls"`
}

type DataConnectorAwsS3Resource

type DataConnectorAwsS3Resource struct{}

func (DataConnectorAwsS3Resource) Arguments

func (DataConnectorAwsS3Resource) Attributes

func (r DataConnectorAwsS3Resource) Attributes() map[string]*pluginsdk.Schema

func (DataConnectorAwsS3Resource) Create

func (DataConnectorAwsS3Resource) CustomImporter

func (r DataConnectorAwsS3Resource) CustomImporter() sdk.ResourceRunFunc

func (DataConnectorAwsS3Resource) Delete

func (DataConnectorAwsS3Resource) IDValidationFunc

func (DataConnectorAwsS3Resource) ModelObject

func (r DataConnectorAwsS3Resource) ModelObject() interface{}

func (DataConnectorAwsS3Resource) Read

func (DataConnectorAwsS3Resource) ResourceType

func (r DataConnectorAwsS3Resource) ResourceType() string

func (DataConnectorAwsS3Resource) Update

type DataConnectorDynamics365Model

type DataConnectorDynamics365Model struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorDynamics365Resource

type DataConnectorDynamics365Resource struct{}

func (DataConnectorDynamics365Resource) Arguments

func (DataConnectorDynamics365Resource) Attributes

func (DataConnectorDynamics365Resource) Create

func (DataConnectorDynamics365Resource) CustomImporter

func (DataConnectorDynamics365Resource) Delete

func (DataConnectorDynamics365Resource) IDValidationFunc

func (DataConnectorDynamics365Resource) ModelObject

func (r DataConnectorDynamics365Resource) ModelObject() interface{}

func (DataConnectorDynamics365Resource) Read

func (DataConnectorDynamics365Resource) ResourceType

func (r DataConnectorDynamics365Resource) ResourceType() string

type DataConnectorIOTModel

type DataConnectorIOTModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	SubscriptionId          string `tfschema:"subscription_id"`
}

type DataConnectorIOTResource

type DataConnectorIOTResource struct{}

func (DataConnectorIOTResource) Arguments

func (r DataConnectorIOTResource) Arguments() map[string]*pluginsdk.Schema

func (DataConnectorIOTResource) Attributes

func (r DataConnectorIOTResource) Attributes() map[string]*pluginsdk.Schema

func (DataConnectorIOTResource) Create

func (DataConnectorIOTResource) CustomImporter

func (r DataConnectorIOTResource) CustomImporter() sdk.ResourceRunFunc

func (DataConnectorIOTResource) Delete

func (DataConnectorIOTResource) IDValidationFunc

func (DataConnectorIOTResource) ModelObject

func (r DataConnectorIOTResource) ModelObject() interface{}

func (DataConnectorIOTResource) Read

func (DataConnectorIOTResource) ResourceType

func (r DataConnectorIOTResource) ResourceType() string

type DataConnectorMicrosoftThreatIntelligenceDataType

type DataConnectorMicrosoftThreatIntelligenceDataType struct {
	Enabled      bool   `tfschema:"enabled"`
	LookbackDate string `tfschema:"lookback_date"`
}

type DataConnectorMicrosoftThreatIntelligenceModel

type DataConnectorMicrosoftThreatIntelligenceModel struct {
	Name                                    string `tfschema:"name"`
	WorkspaceId                             string `tfschema:"log_analytics_workspace_id"`
	TenantId                                string `tfschema:"tenant_id"`
	BingSafetyPhishingUrlLookBackDate       string `tfschema:"bing_safety_phishing_url_lookback_date"`
	MicrosoftEmergingThreatFeedLookBackDate string `tfschema:"microsoft_emerging_threat_feed_lookback_date"`
}

type DataConnectorMicrosoftThreatIntelligenceResource

type DataConnectorMicrosoftThreatIntelligenceResource struct{}

func (DataConnectorMicrosoftThreatIntelligenceResource) Arguments

func (DataConnectorMicrosoftThreatIntelligenceResource) Attributes

func (DataConnectorMicrosoftThreatIntelligenceResource) Create

func (DataConnectorMicrosoftThreatIntelligenceResource) Delete

func (DataConnectorMicrosoftThreatIntelligenceResource) IDValidationFunc

func (DataConnectorMicrosoftThreatIntelligenceResource) ModelObject

func (s DataConnectorMicrosoftThreatIntelligenceResource) ModelObject() interface{}

func (DataConnectorMicrosoftThreatIntelligenceResource) Read

func (DataConnectorMicrosoftThreatIntelligenceResource) ResourceType

type DataConnectorMicrosoftThreatProtectionModel

type DataConnectorMicrosoftThreatProtectionModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorMicrosoftThreatProtectionResource

type DataConnectorMicrosoftThreatProtectionResource struct{}

func (DataConnectorMicrosoftThreatProtectionResource) Arguments

func (DataConnectorMicrosoftThreatProtectionResource) Attributes

func (DataConnectorMicrosoftThreatProtectionResource) Create

func (DataConnectorMicrosoftThreatProtectionResource) CustomImporter

func (DataConnectorMicrosoftThreatProtectionResource) Delete

func (DataConnectorMicrosoftThreatProtectionResource) IDValidationFunc

func (DataConnectorMicrosoftThreatProtectionResource) ModelObject

func (r DataConnectorMicrosoftThreatProtectionResource) ModelObject() interface{}

func (DataConnectorMicrosoftThreatProtectionResource) Read

func (DataConnectorMicrosoftThreatProtectionResource) ResourceType

type DataConnectorOffice365ProjectModel

type DataConnectorOffice365ProjectModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorOffice365ProjectResource

type DataConnectorOffice365ProjectResource struct{}

func (DataConnectorOffice365ProjectResource) Arguments

func (DataConnectorOffice365ProjectResource) Attributes

func (DataConnectorOffice365ProjectResource) Create

func (DataConnectorOffice365ProjectResource) CustomImporter

func (DataConnectorOffice365ProjectResource) Delete

func (DataConnectorOffice365ProjectResource) IDValidationFunc

func (DataConnectorOffice365ProjectResource) ModelObject

func (r DataConnectorOffice365ProjectResource) ModelObject() interface{}

func (DataConnectorOffice365ProjectResource) Read

func (DataConnectorOffice365ProjectResource) ResourceType

type DataConnectorOfficeIRMModel

type DataConnectorOfficeIRMModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorOfficeIRMResource

type DataConnectorOfficeIRMResource struct{}

func (DataConnectorOfficeIRMResource) Arguments

func (DataConnectorOfficeIRMResource) Attributes

func (DataConnectorOfficeIRMResource) Create

func (DataConnectorOfficeIRMResource) CustomImporter

func (DataConnectorOfficeIRMResource) Delete

func (DataConnectorOfficeIRMResource) IDValidationFunc

func (DataConnectorOfficeIRMResource) ModelObject

func (r DataConnectorOfficeIRMResource) ModelObject() interface{}

func (DataConnectorOfficeIRMResource) Read

func (DataConnectorOfficeIRMResource) ResourceType

func (r DataConnectorOfficeIRMResource) ResourceType() string

type DataConnectorOfficePowerBIModel

type DataConnectorOfficePowerBIModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorOfficePowerBIResource

type DataConnectorOfficePowerBIResource struct{}

func (DataConnectorOfficePowerBIResource) Arguments

func (DataConnectorOfficePowerBIResource) Attributes

func (DataConnectorOfficePowerBIResource) Create

func (DataConnectorOfficePowerBIResource) CustomImporter

func (DataConnectorOfficePowerBIResource) Delete

func (DataConnectorOfficePowerBIResource) IDValidationFunc

func (DataConnectorOfficePowerBIResource) ModelObject

func (r DataConnectorOfficePowerBIResource) ModelObject() interface{}

func (DataConnectorOfficePowerBIResource) Read

func (DataConnectorOfficePowerBIResource) ResourceType

func (r DataConnectorOfficePowerBIResource) ResourceType() string

type DataConnectorThreatIntelligenceTAXIIModel

type DataConnectorThreatIntelligenceTAXIIModel struct {
	Name                    string `tfschema:"name"`
	LogAnalyticsWorkspaceId string `tfschema:"log_analytics_workspace_id"`
	DisplayName             string `tfschema:"display_name"`
	APIRootURL              string `tfschema:"api_root_url"`
	CollectionID            string `tfschema:"collection_id"`
	UserName                string `tfschema:"user_name"`
	Password                string `tfschema:"password"`
	PollingFrequency        string `tfschema:"polling_frequency"`
	LookbackDate            string `tfschema:"lookback_date"`
	TenantId                string `tfschema:"tenant_id"`
}

type DataConnectorThreatIntelligenceTAXIIResource

type DataConnectorThreatIntelligenceTAXIIResource struct{}

func (DataConnectorThreatIntelligenceTAXIIResource) Arguments

func (DataConnectorThreatIntelligenceTAXIIResource) Attributes

func (DataConnectorThreatIntelligenceTAXIIResource) Create

func (DataConnectorThreatIntelligenceTAXIIResource) CustomImporter

func (DataConnectorThreatIntelligenceTAXIIResource) Delete

func (DataConnectorThreatIntelligenceTAXIIResource) IDValidationFunc

func (DataConnectorThreatIntelligenceTAXIIResource) ModelObject

func (r DataConnectorThreatIntelligenceTAXIIResource) ModelObject() interface{}

func (DataConnectorThreatIntelligenceTAXIIResource) Read

func (DataConnectorThreatIntelligenceTAXIIResource) ResourceType

func (DataConnectorThreatIntelligenceTAXIIResource) Update

type IndicatorModel

type IndicatorModel struct {
	Name                       string                   `tfschema:"guid"`
	WorkspaceId                string                   `tfschema:"workspace_id"`
	Confidence                 int64                    `tfschema:"confidence"`
	CreatedByRef               string                   `tfschema:"created_by"`
	Description                string                   `tfschema:"description"`
	DisplayName                string                   `tfschema:"display_name"`
	Extensions                 string                   `tfschema:"extension"`
	ExternalRefrence           []externalReferenceModel `tfschema:"external_reference"`
	GranularMarkings           []granularMarkingModel   `tfschema:"granular_marking"`
	IndicatorTypes             []string                 `tfschema:"indicator_type"`
	KillChainPhases            []killChainPhaseModel    `tfschema:"kill_chain_phase"`
	Labels                     []string                 `tfschema:"tags"`
	Language                   string                   `tfschema:"language"`
	ObjectMarking              []string                 `tfschema:"object_marking_refs"`
	ParsedPattern              []parsedPatternModel     `tfschema:"parsed_pattern"`
	Pattern                    string                   `tfschema:"pattern"`
	PatternType                string                   `tfschema:"pattern_type"`
	PatternVersion             string                   `tfschema:"pattern_version"`
	Revoked                    bool                     `tfschema:"revoked"`
	Source                     string                   `tfschema:"source"`
	ThreatTypes                []string                 `tfschema:"threat_types"`
	ValidFrom                  string                   `tfschema:"validate_from_utc"`
	ValidUntil                 string                   `tfschema:"validate_until_utc"`
	CreatedOn                  string                   `tfschema:"created_on"`
	ExternalId                 string                   `tfschema:"external_id"`
	ExternalLastUpdatedTimeUtc string                   `tfschema:"external_last_updated_time_utc"`
	LastUpdatedTimeUtc         string                   `tfschema:"last_updated_time_utc"`
	Defanged                   bool                     `tfschema:"defanged"`
}

type IndicatorPatternType

type IndicatorPatternType string
const (
	PatternTypeDomainName IndicatorPatternType = "domain-name"
	PatternTypeFile       IndicatorPatternType = "file"
	PatternTypeIpV4Addr   IndicatorPatternType = "ipv4-addr"
	PatternTypeIpV6Addr   IndicatorPatternType = "ipv6-addr"
	PatternTypeUrl        IndicatorPatternType = "url"
)

type LogAnalyticsWorkspaceOnboardResource

type LogAnalyticsWorkspaceOnboardResource struct{}

func (LogAnalyticsWorkspaceOnboardResource) Arguments

func (LogAnalyticsWorkspaceOnboardResource) Attributes

func (LogAnalyticsWorkspaceOnboardResource) Create

func (LogAnalyticsWorkspaceOnboardResource) Delete

func (LogAnalyticsWorkspaceOnboardResource) IDValidationFunc

func (LogAnalyticsWorkspaceOnboardResource) ModelObject

func (r LogAnalyticsWorkspaceOnboardResource) ModelObject() interface{}

func (LogAnalyticsWorkspaceOnboardResource) Read

func (LogAnalyticsWorkspaceOnboardResource) ResourceType

type MetadataAuthorModel

type MetadataAuthorModel struct {
	Name  string `tfschema:"name"`
	Email string `tfschema:"email"`
	Link  string `tfschema:"link"`
}

type MetadataCategoryModel

type MetadataCategoryModel struct {
	Domains   []string `tfschema:"domains"`
	Verticals []string `tfschema:"verticals"`
}

type MetadataModel

type MetadataModel struct {
	Name                     string                  `tfschema:"name"`
	WorkspaceId              string                  `tfschema:"workspace_id"`
	ContentId                string                  `tfschema:"content_id"`
	Kind                     string                  `tfschema:"kind"`
	ParentId                 string                  `tfschema:"parent_id"`
	Source                   []MetadataSourceModel   `tfschema:"source"`
	Author                   []MetadataAuthorModel   `tfschema:"author"`
	Support                  []MetadataSupportModel  `tfschema:"support"`
	Dependency               string                  `tfschema:"dependency"`
	Category                 []MetadataCategoryModel `tfschema:"category"`
	Providers                []string                `tfschema:"providers"`
	FirstPublishDate         string                  `tfschema:"first_publish_date"`
	LastPublishDate          string                  `tfschema:"last_publish_date"`
	ContentSchemaVersion     string                  `tfschema:"content_schema_version"`
	CustomVersion            string                  `tfschema:"custom_version"`
	IconId                   string                  `tfschema:"icon_id"`
	PreviewImages            []string                `tfschema:"preview_images"`
	PreviewImagesDark        []string                `tfschema:"preview_images_dark"`
	ThreatAnalysisTactics    []string                `tfschema:"threat_analysis_tactics"`
	ThreatAnalysisTechniques []string                `tfschema:"threat_analysis_techniques"`
	Version                  string                  `tfschema:"version"`
}

type MetadataResource

type MetadataResource struct{}

func (MetadataResource) Arguments

func (a MetadataResource) Arguments() map[string]*pluginsdk.Schema

func (MetadataResource) Attributes

func (a MetadataResource) Attributes() map[string]*pluginsdk.Schema

func (MetadataResource) Create

func (a MetadataResource) Create() sdk.ResourceFunc

func (MetadataResource) Delete

func (a MetadataResource) Delete() sdk.ResourceFunc

func (MetadataResource) IDValidationFunc

func (a MetadataResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (MetadataResource) ModelObject

func (a MetadataResource) ModelObject() interface{}

func (MetadataResource) Read

func (MetadataResource) ResourceType

func (a MetadataResource) ResourceType() string

func (MetadataResource) Update

func (a MetadataResource) Update() sdk.ResourceFunc

type MetadataSourceModel

type MetadataSourceModel struct {
	Kind string `tfschema:"kind"`
	Name string `tfschema:"name"`
	Id   string `tfschema:"id"`
}

type MetadataSupportModel

type MetadataSupportModel struct {
	Tier  string `tfschema:"tier"`
	Name  string `tfschema:"name"`
	Email string `tfschema:"email"`
	Link  string `tfschema:"link"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type SecurityInsightsSentinelOnboardingStateModel

type SecurityInsightsSentinelOnboardingStateModel struct {
	ResourceGroupName         string `tfschema:"resource_group_name,removedInNextMajorVersion"`
	WorkspaceName             string `tfschema:"workspace_name,removedInNextMajorVersion"`
	CustomerManagedKeyEnabled bool   `tfschema:"customer_managed_key_enabled"`
	WorkspaceId               string `tfschema:"workspace_id"`
}

type ThreatIntelligenceIndicator

type ThreatIntelligenceIndicator struct{}

func (ThreatIntelligenceIndicator) Arguments

func (ThreatIntelligenceIndicator) Attributes

func (r ThreatIntelligenceIndicator) Attributes() map[string]*pluginsdk.Schema

func (ThreatIntelligenceIndicator) Create

func (ThreatIntelligenceIndicator) Delete

func (ThreatIntelligenceIndicator) IDValidationFunc

func (ThreatIntelligenceIndicator) ModelObject

func (r ThreatIntelligenceIndicator) ModelObject() interface{}

func (ThreatIntelligenceIndicator) Read

func (ThreatIntelligenceIndicator) ResourceType

func (r ThreatIntelligenceIndicator) ResourceType() string

func (ThreatIntelligenceIndicator) Update

type WatchlistItemModel

type WatchlistItemModel struct {
	Name        string                 `tfschema:"name"`
	WatchlistID string                 `tfschema:"watchlist_id"`
	Properties  map[string]interface{} `tfschema:"properties"`
}

type WatchlistItemResource

type WatchlistItemResource struct{}

func (WatchlistItemResource) Arguments

func (r WatchlistItemResource) Arguments() map[string]*pluginsdk.Schema

func (WatchlistItemResource) Attributes

func (r WatchlistItemResource) Attributes() map[string]*pluginsdk.Schema

func (WatchlistItemResource) Create

func (WatchlistItemResource) Delete

func (WatchlistItemResource) IDValidationFunc

func (r WatchlistItemResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (WatchlistItemResource) ModelObject

func (r WatchlistItemResource) ModelObject() interface{}

func (WatchlistItemResource) Read

func (WatchlistItemResource) ResourceType

func (r WatchlistItemResource) ResourceType() string

func (WatchlistItemResource) Update

type WatchlistModel

type WatchlistModel struct {
	Name                    string   `tfschema:"name"`
	LogAnalyticsWorkspaceId string   `tfschema:"log_analytics_workspace_id"`
	DisplayName             string   `tfschema:"display_name"`
	Description             string   `tfschema:"description"`
	Labels                  []string `tfschema:"labels"`
	DefaultDuration         string   `tfschema:"default_duration"`
	ItemSearchKey           string   `tfschema:"item_search_key"`
}

type WatchlistResource

type WatchlistResource struct{}

func (WatchlistResource) Arguments

func (r WatchlistResource) Arguments() map[string]*pluginsdk.Schema

func (WatchlistResource) Attributes

func (r WatchlistResource) Attributes() map[string]*pluginsdk.Schema

func (WatchlistResource) Create

func (r WatchlistResource) Create() sdk.ResourceFunc

func (WatchlistResource) Delete

func (r WatchlistResource) Delete() sdk.ResourceFunc

func (WatchlistResource) IDValidationFunc

func (r WatchlistResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (WatchlistResource) ModelObject

func (r WatchlistResource) ModelObject() interface{}

func (WatchlistResource) Read

func (WatchlistResource) ResourceType

func (r WatchlistResource) ResourceType() string

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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