azuresdkhacks

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnomalySecurityMLAnalyticsCustomizableObservations

type AnomalySecurityMLAnalyticsCustomizableObservations struct {
	MultiSelectObservations       *[]AnomalySecurityMLAnalyticsMultiSelectObservations       `json:"multiSelectObservations,omitempty"`
	SingleSelectObservations      *[]AnomalySecurityMLAnalyticsSingleSelectObservations      `json:"singleSelectObservations,omitempty"`
	PrioritizeExcludeObservations *[]AnomalySecurityMLAnalyticsPrioritizeExcludeObservations `json:"prioritizeExcludeObservations,omitempty"`
	ThresholdObservations         *[]AnomalySecurityMLAnalyticsThresholdObservations         `json:"thresholdObservations,omitempty"`
}

type AnomalySecurityMLAnalyticsMultiSelectObservations

type AnomalySecurityMLAnalyticsMultiSelectObservations struct {
	SupportValues      *[]string    `json:"supportedValues,omitempty"`
	Values             *[]string    `json:"values,omitempty"`
	Name               *string      `json:"name,omitempty"`
	Description        *string      `json:"description,omitempty"`
	SupportedValuesKql *interface{} `json:"supportedValuesKql,omitempty"`
	ValuesKql          *interface{} `json:"valuesKql,omitempty"`
	SequenceNumber     *interface{} `json:"sequenceNumber,omitempty"`
	Rerun              *interface{} `json:"rerun,omitempty"`
}

unused properties are defined to interface{}.

type AnomalySecurityMLAnalyticsPrioritizeExcludeObservations

type AnomalySecurityMLAnalyticsPrioritizeExcludeObservations struct {
	Name           *string      `json:"name,omitempty"`
	Description    *string      `json:"description,omitempty"`
	Prioritize     *string      `json:"prioritize,omitempty"`
	Exclude        *string      `json:"exclude,omitempty"`
	DataType       *interface{} `json:"dataType,omitempty"`
	SequenceNumber *interface{} `json:"sequenceNumber,omitempty"`
	Rerun          *interface{} `json:"rerun,omitempty"`
}

type AnomalySecurityMLAnalyticsSettings

type AnomalySecurityMLAnalyticsSettings struct {
	*AnomalySecurityMLAnalyticsSettingsProperties `json:"properties,omitempty"`
	Etag                                          *string                                             `json:"etag,omitempty"`
	ID                                            *string                                             `json:"id,omitempty"`
	Name                                          *string                                             `json:"name,omitempty"`
	Type                                          *string                                             `json:"type,omitempty"`
	SystemData                                    *securityinsight.SystemData                         `json:"systemData,omitempty"`
	Kind                                          securityinsight.KindBasicSecurityMLAnalyticsSetting `json:"kind,omitempty"`
}

func (AnomalySecurityMLAnalyticsSettings) AsAnomalySecurityMLAnalyticsSettings

func (asmas AnomalySecurityMLAnalyticsSettings) AsAnomalySecurityMLAnalyticsSettings() (*AnomalySecurityMLAnalyticsSettings, bool)

func (AnomalySecurityMLAnalyticsSettings) AsBasicSecurityMLAnalyticsSetting

func (asmas AnomalySecurityMLAnalyticsSettings) AsBasicSecurityMLAnalyticsSetting() (BasicSecurityMLAnalyticsSetting, bool)

func (AnomalySecurityMLAnalyticsSettings) AsSecurityMLAnalyticsSetting

func (asmas AnomalySecurityMLAnalyticsSettings) AsSecurityMLAnalyticsSetting() (*SecurityMLAnalyticsSetting, bool)

type AnomalySecurityMLAnalyticsSettingsProperties

type AnomalySecurityMLAnalyticsSettingsProperties struct {
	Description              *string                                                  `json:"description,omitempty"`
	DisplayName              *string                                                  `json:"displayName,omitempty"`
	Enabled                  *bool                                                    `json:"enabled,omitempty"`
	LastModifiedUtc          *date.Time                                               `json:"lastModifiedUtc,omitempty"`
	RequiredDataConnectors   *[]securityinsight.SecurityMLAnalyticsSettingsDataSource `json:"requiredDataConnectors,omitempty"`
	Tactics                  *[]securityinsight.AttackTactic                          `json:"tactics,omitempty"`
	Techniques               *[]string                                                `json:"techniques,omitempty"`
	AnomalyVersion           *string                                                  `json:"anomalyVersion,omitempty"`
	CustomizableObservations *AnomalySecurityMLAnalyticsCustomizableObservations      `json:"customizableObservations,omitempty"`
	Frequency                *string                                                  `json:"frequency,omitempty"`
	SettingsStatus           securityinsight.SettingsStatus                           `json:"settingsStatus,omitempty"`
	IsDefaultSettings        *bool                                                    `json:"isDefaultSettings,omitempty"`
	AnomalySettingsVersion   *int32                                                   `json:"anomalySettingsVersion,omitempty"`
	SettingsDefinitionID     *uuid.UUID                                               `json:"settingsDefinitionId,omitempty"`
}

type AnomalySecurityMLAnalyticsSingleSelectObservations

type AnomalySecurityMLAnalyticsSingleSelectObservations struct {
	SupportValues      *[]string    `json:"supportedValues,omitempty"`
	Value              *string      `json:"value,omitempty"`
	Name               *string      `json:"name,omitempty"`
	Description        *string      `json:"description,omitempty"`
	SupportedValuesKql *interface{} `json:"supportedValuesKql,omitempty"`
	SequenceNumber     *interface{} `json:"sequenceNumber,omitempty"`
	Rerun              *interface{} `json:"rerun,omitempty"`
}

type AnomalySecurityMLAnalyticsThresholdObservations

type AnomalySecurityMLAnalyticsThresholdObservations struct {
	Name           *string      `json:"name,omitempty"`
	Description    *string      `json:"description,omitempty"`
	Max            *string      `json:"maximum,omitempty"`
	Min            *string      `json:"minimum,omitempty"`
	Value          *string      `json:"value,omitempty"`
	SequenceNumber *interface{} `json:"sequenceNumber,omitempty"`
	Rerun          *interface{} `json:"rerun,omitempty"`
}

type BasicSecurityMLAnalyticsSetting

type BasicSecurityMLAnalyticsSetting interface {
	AsAnomalySecurityMLAnalyticsSettings() (*AnomalySecurityMLAnalyticsSettings, bool)
	AsSecurityMLAnalyticsSetting() (*SecurityMLAnalyticsSetting, bool)
}

BasicSecurityMLAnalyticsSetting security ML Analytics Setting

type BasicThreatIntelligenceInformation

type BasicThreatIntelligenceInformation interface {
	AsThreatIntelligenceIndicatorModel() (*ThreatIntelligenceIndicatorModel, bool)
	AsThreatIntelligenceInformation() (*securityinsight.ThreatIntelligenceInformation, bool)
}

type SecurityMLAnalyticsSetting

type SecurityMLAnalyticsSetting struct {
	autorest.Response `json:"-"`
	// Kind - Possible values include: 'KindBasicSecurityMLAnalyticsSettingKindSecurityMLAnalyticsSetting', 'KindBasicSecurityMLAnalyticsSettingKindAnomaly'
	Kind securityinsight.KindBasicSecurityMLAnalyticsSetting `json:"kind,omitempty"`
	// Etag - Etag of the azure resource
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *securityinsight.SystemData `json:"systemData,omitempty"`
}

SecurityMLAnalyticsSetting security ML Analytics Setting

func (SecurityMLAnalyticsSetting) AsAnomalySecurityMLAnalyticsSettings

func (smas SecurityMLAnalyticsSetting) AsAnomalySecurityMLAnalyticsSettings() (*AnomalySecurityMLAnalyticsSettings, bool)

func (SecurityMLAnalyticsSetting) AsBasicSecurityMLAnalyticsSetting

func (smas SecurityMLAnalyticsSetting) AsBasicSecurityMLAnalyticsSetting() (BasicSecurityMLAnalyticsSetting, bool)

func (SecurityMLAnalyticsSetting) AsSecurityMLAnalyticsSetting

func (smas SecurityMLAnalyticsSetting) AsSecurityMLAnalyticsSetting() (*SecurityMLAnalyticsSetting, bool)

type SecurityMLAnalyticsSettingsClient

type SecurityMLAnalyticsSettingsClient struct {
	securityinsight.BaseClient
}

func (SecurityMLAnalyticsSettingsClient) List

func (client SecurityMLAnalyticsSettingsClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result SecurityMLAnalyticsSettingsListPage, err error)

func (SecurityMLAnalyticsSettingsClient) ListComplete

func (client SecurityMLAnalyticsSettingsClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result SecurityMLAnalyticsSettingsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecurityMLAnalyticsSettingsClient) ListPreparer

func (client SecurityMLAnalyticsSettingsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecurityMLAnalyticsSettingsClient) ListResponder

func (client SecurityMLAnalyticsSettingsClient) ListResponder(resp *http.Response) (result SecurityMLAnalyticsSettingsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecurityMLAnalyticsSettingsClient) ListSender

func (client SecurityMLAnalyticsSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecurityMLAnalyticsSettingsList

type SecurityMLAnalyticsSettingsList struct {
	autorest.Response `json:"-"`
	// NextLink - READ-ONLY; URL to fetch the next set of SecurityMLAnalyticsSettings.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - Array of SecurityMLAnalyticsSettings
	Value *[]BasicSecurityMLAnalyticsSetting `json:"value,omitempty"`
}

func (SecurityMLAnalyticsSettingsList) IsEmpty

func (smasl SecurityMLAnalyticsSettingsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecurityMLAnalyticsSettingsList) MarshalJSON

func (smasl SecurityMLAnalyticsSettingsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityMLAnalyticsSettingsList.

func (*SecurityMLAnalyticsSettingsList) UnmarshalJSON

func (smasl *SecurityMLAnalyticsSettingsList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecurityMLAnalyticsSettingsList struct.

type SecurityMLAnalyticsSettingsListIterator

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

func (*SecurityMLAnalyticsSettingsListIterator) Next

func (*SecurityMLAnalyticsSettingsListIterator) NextWithContext

func (iter *SecurityMLAnalyticsSettingsListIterator) NextWithContext(ctx context.Context) (err error)

func (SecurityMLAnalyticsSettingsListIterator) NotDone

func (SecurityMLAnalyticsSettingsListIterator) Response

func (SecurityMLAnalyticsSettingsListIterator) Value

type SecurityMLAnalyticsSettingsListPage

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

func (*SecurityMLAnalyticsSettingsListPage) Next

func (*SecurityMLAnalyticsSettingsListPage) NextWithContext

func (page *SecurityMLAnalyticsSettingsListPage) NextWithContext(ctx context.Context) (err error)

func (SecurityMLAnalyticsSettingsListPage) NotDone

func (SecurityMLAnalyticsSettingsListPage) Response

func (SecurityMLAnalyticsSettingsListPage) Values

type ThreatIntelligenceGranularMarkingModel

type ThreatIntelligenceGranularMarkingModel struct {
	Language   *string   `json:"language,omitempty"`
	MarkingRef *string   `json:"markingRef,omitempty"`
	Selectors  *[]string `json:"selectors,omitempty"`
}

type ThreatIntelligenceIndicatorClient

type ThreatIntelligenceIndicatorClient struct {
	securityinsight.BaseClient
}

func (ThreatIntelligenceIndicatorClient) Create

func (client ThreatIntelligenceIndicatorClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceProperties ThreatIntelligenceIndicatorModel) (result ThreatIntelligenceInformationModel, err error)

func (ThreatIntelligenceIndicatorClient) CreateIndicator

func (client ThreatIntelligenceIndicatorClient) CreateIndicator(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceProperties ThreatIntelligenceIndicatorModel) (result ThreatIntelligenceInformationModel, err error)

func (ThreatIntelligenceIndicatorClient) CreateIndicatorPreparer

func (client ThreatIntelligenceIndicatorClient) CreateIndicatorPreparer(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceProperties ThreatIntelligenceIndicatorModel) (*http.Request, error)

CreateIndicatorPreparer prepares the CreateIndicator request.

func (ThreatIntelligenceIndicatorClient) CreateIndicatorResponder

func (client ThreatIntelligenceIndicatorClient) CreateIndicatorResponder(resp *http.Response) (result ThreatIntelligenceInformationModel, err error)

func (ThreatIntelligenceIndicatorClient) CreateIndicatorSender

func (client ThreatIntelligenceIndicatorClient) CreateIndicatorSender(req *http.Request) (*http.Response, error)

func (ThreatIntelligenceIndicatorClient) CreatePreparer

func (client ThreatIntelligenceIndicatorClient) CreatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, name string, threatIntelligenceProperties ThreatIntelligenceIndicatorModel) (*http.Request, error)

func (ThreatIntelligenceIndicatorClient) CreateResponder

func (client ThreatIntelligenceIndicatorClient) CreateResponder(resp *http.Response) (result ThreatIntelligenceInformationModel, err error)

func (ThreatIntelligenceIndicatorClient) CreateSender

func (client ThreatIntelligenceIndicatorClient) CreateSender(req *http.Request) (*http.Response, error)

func (ThreatIntelligenceIndicatorClient) Get

func (client ThreatIntelligenceIndicatorClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, name string) (result ThreatIntelligenceInformationModel, err error)

func (ThreatIntelligenceIndicatorClient) GetPreparer

func (client ThreatIntelligenceIndicatorClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, name string) (*http.Request, error)

func (ThreatIntelligenceIndicatorClient) GetResponder

func (ThreatIntelligenceIndicatorClient) GetSender

func (client ThreatIntelligenceIndicatorClient) GetSender(req *http.Request) (*http.Response, error)

func (ThreatIntelligenceIndicatorClient) QueryIndicators

func (client ThreatIntelligenceIndicatorClient) QueryIndicators(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceFilteringCriteria securityinsight.ThreatIntelligenceFilteringCriteria) (result ThreatIntelligenceInformationListPage, err error)

func (ThreatIntelligenceIndicatorClient) QueryIndicatorsPreparer

func (client ThreatIntelligenceIndicatorClient) QueryIndicatorsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, threatIntelligenceFilteringCriteria securityinsight.ThreatIntelligenceFilteringCriteria) (*http.Request, error)

func (ThreatIntelligenceIndicatorClient) QueryIndicatorsResponder

func (client ThreatIntelligenceIndicatorClient) QueryIndicatorsResponder(resp *http.Response) (result ThreatIntelligenceInformationList, err error)

QueryIndicatorsResponder handles the response to the QueryIndicators request. The method always closes the http.Response Body.

func (ThreatIntelligenceIndicatorClient) QueryIndicatorsSender

func (client ThreatIntelligenceIndicatorClient) QueryIndicatorsSender(req *http.Request) (*http.Response, error)

QueryIndicatorsSender sends the QueryIndicators request. The method will close the http.Response Body if it receives an error.

type ThreatIntelligenceIndicatorModel

type ThreatIntelligenceIndicatorModel struct {
	*ThreatIntelligenceIndicatorProperties `json:"properties,omitempty"`
	Etag                                   *string                                                `json:"etag,omitempty"`
	ID                                     *string                                                `json:"id,omitempty"`
	Name                                   *string                                                `json:"name,omitempty"`
	Type                                   *string                                                `json:"type,omitempty"`
	SystemData                             *securityinsight.SystemData                            `json:"systemData,omitempty"`
	Kind                                   securityinsight.KindBasicThreatIntelligenceInformation `json:"kind,omitempty"`
}

func (ThreatIntelligenceIndicatorModel) AsThreatIntelligenceIndicatorModel

func (tiim ThreatIntelligenceIndicatorModel) AsThreatIntelligenceIndicatorModel() (*ThreatIntelligenceIndicatorModel, bool)

func (ThreatIntelligenceIndicatorModel) AsThreatIntelligenceInformation

func (tiim ThreatIntelligenceIndicatorModel) AsThreatIntelligenceInformation() (*securityinsight.ThreatIntelligenceInformation, bool)

func (ThreatIntelligenceIndicatorModel) MarshalJSON

func (tiim ThreatIntelligenceIndicatorModel) MarshalJSON() ([]byte, error)

func (*ThreatIntelligenceIndicatorModel) UnmarshalJSON

func (tiim *ThreatIntelligenceIndicatorModel) UnmarshalJSON(body []byte) error

type ThreatIntelligenceIndicatorProperties

type ThreatIntelligenceIndicatorProperties struct {
	ThreatIntelligenceTags     *[]string                                              `json:"threatIntelligenceTags,omitempty"`
	LastUpdatedTimeUtc         *string                                                `json:"lastUpdatedTimeUtc,omitempty"`
	Source                     *string                                                `json:"source,omitempty"`
	DisplayName                *string                                                `json:"displayName,omitempty"`
	Description                *string                                                `json:"description,omitempty"`
	IndicatorTypes             *[]string                                              `json:"indicatorTypes,omitempty"`
	Pattern                    *string                                                `json:"pattern,omitempty"`
	PatternType                *string                                                `json:"patternType,omitempty"`
	PatternVersion             *string                                                `json:"patternVersion,omitempty"`
	KillChainPhases            *[]securityinsight.ThreatIntelligenceKillChainPhase    `json:"killChainPhases,omitempty"`
	ParsedPattern              *[]securityinsight.ThreatIntelligenceParsedPattern     `json:"parsedPattern,omitempty"`
	ExternalID                 *string                                                `json:"externalId,omitempty"`
	CreatedByRef               *string                                                `json:"createdByRef,omitempty"`
	Defanged                   *bool                                                  `json:"defanged,omitempty"`
	ExternalLastUpdatedTimeUtc *string                                                `json:"externalLastUpdatedTimeUtc,omitempty"`
	ExternalReferences         *[]securityinsight.ThreatIntelligenceExternalReference `json:"externalReferences,omitempty"`
	GranularMarkings           *[]ThreatIntelligenceGranularMarkingModel              `json:"granularMarkings,omitempty"`
	Labels                     *[]string                                              `json:"labels,omitempty"`
	Revoked                    *bool                                                  `json:"revoked,omitempty"`
	Confidence                 *int32                                                 `json:"confidence,omitempty"`
	ObjectMarkingRefs          *[]string                                              `json:"objectMarkingRefs,omitempty"`
	Language                   *string                                                `json:"language,omitempty"`
	ThreatTypes                *[]string                                              `json:"threatTypes,omitempty"`
	ValidFrom                  *string                                                `json:"validFrom,omitempty"`
	ValidUntil                 *string                                                `json:"validUntil,omitempty"`
	Created                    *string                                                `json:"created,omitempty"`
	Modified                   *string                                                `json:"modified,omitempty"`
	Extensions                 map[string]interface{}                                 `json:"extensions"`
	AdditionalData             map[string]interface{}                                 `json:"additionalData"`
	FriendlyName               *string                                                `json:"friendlyName,omitempty"`
}

func (ThreatIntelligenceIndicatorProperties) MarshalJSON

func (tiip ThreatIntelligenceIndicatorProperties) MarshalJSON() ([]byte, error)

type ThreatIntelligenceInformationList

type ThreatIntelligenceInformationList struct {
	autorest.Response `json:"-"`
	NextLink          *string                               `json:"nextLink,omitempty"`
	Value             *[]BasicThreatIntelligenceInformation `json:"value,omitempty"`
}

func (ThreatIntelligenceInformationList) IsEmpty

func (tiil ThreatIntelligenceInformationList) IsEmpty() bool

func (ThreatIntelligenceInformationList) MarshalJSON

func (tiil ThreatIntelligenceInformationList) MarshalJSON() ([]byte, error)

func (*ThreatIntelligenceInformationList) UnmarshalJSON

func (tiil *ThreatIntelligenceInformationList) UnmarshalJSON(body []byte) error

type ThreatIntelligenceInformationListPage

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

func (*ThreatIntelligenceInformationListPage) Next

func (*ThreatIntelligenceInformationListPage) NextWithContext

func (page *ThreatIntelligenceInformationListPage) NextWithContext(ctx context.Context) (err error)

func (ThreatIntelligenceInformationListPage) NotDone

func (ThreatIntelligenceInformationListPage) Response

func (ThreatIntelligenceInformationListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ThreatIntelligenceInformationModel

type ThreatIntelligenceInformationModel struct {
	autorest.Response `json:"-"`
	Value             BasicThreatIntelligenceInformation `json:"value,omitempty"`
}

func (*ThreatIntelligenceInformationModel) UnmarshalJSON

func (tiim *ThreatIntelligenceInformationModel) UnmarshalJSON(body []byte) error

Jump to

Keyboard shortcuts

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