Documentation ¶
Index ¶
- func PossibleValuesForThreatIntelligenceResourceKindEnum() []string
- func PossibleValuesForThreatIntelligenceSortingCriteriaEnum() []string
- func ValidateIndicatorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type IndicatorAppendTagsOperationResponse
- type IndicatorCreateIndicatorOperationResponse
- type IndicatorCreateOperationResponse
- type IndicatorDeleteOperationResponse
- type IndicatorGetOperationResponse
- type IndicatorId
- type IndicatorMetricsListOperationResponse
- type IndicatorQueryIndicatorsCompleteResult
- type IndicatorQueryIndicatorsOperationResponse
- type IndicatorReplaceTagsOperationResponse
- type IndicatorsListCompleteResult
- type IndicatorsListOperationOptions
- type IndicatorsListOperationResponse
- type ThreatIntelligenceAppendTags
- type ThreatIntelligenceClient
- func (c ThreatIntelligenceClient) IndicatorAppendTags(ctx context.Context, id IndicatorId, input ThreatIntelligenceAppendTags) (result IndicatorAppendTagsOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorCreate(ctx context.Context, id IndicatorId, input ThreatIntelligenceIndicatorModel) (result IndicatorCreateOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorCreateIndicator(ctx context.Context, id WorkspaceId, input ThreatIntelligenceIndicatorModel) (result IndicatorCreateIndicatorOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorDelete(ctx context.Context, id IndicatorId) (result IndicatorDeleteOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorGet(ctx context.Context, id IndicatorId) (result IndicatorGetOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorMetricsList(ctx context.Context, id WorkspaceId) (result IndicatorMetricsListOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorQueryIndicators(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria) (resp IndicatorQueryIndicatorsOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsComplete(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria) (IndicatorQueryIndicatorsCompleteResult, error)
- func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria, ...) (resp IndicatorQueryIndicatorsCompleteResult, err error)
- func (c ThreatIntelligenceClient) IndicatorReplaceTags(ctx context.Context, id IndicatorId, input ThreatIntelligenceIndicatorModel) (result IndicatorReplaceTagsOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorsList(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions) (resp IndicatorsListOperationResponse, err error)
- func (c ThreatIntelligenceClient) IndicatorsListComplete(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions) (IndicatorsListCompleteResult, error)
- func (c ThreatIntelligenceClient) IndicatorsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions, ...) (resp IndicatorsListCompleteResult, err error)
- type ThreatIntelligenceExternalReference
- type ThreatIntelligenceFilteringCriteria
- type ThreatIntelligenceGranularMarkingModel
- type ThreatIntelligenceIndicatorModel
- type ThreatIntelligenceIndicatorProperties
- type ThreatIntelligenceInformation
- type ThreatIntelligenceInformationOperationPredicate
- type ThreatIntelligenceKillChainPhase
- type ThreatIntelligenceMetric
- type ThreatIntelligenceMetricEntity
- type ThreatIntelligenceMetrics
- type ThreatIntelligenceMetricsList
- type ThreatIntelligenceParsedPattern
- type ThreatIntelligenceParsedPatternTypeValue
- type ThreatIntelligenceResourceKindEnum
- type ThreatIntelligenceSortingCriteria
- type ThreatIntelligenceSortingCriteriaEnum
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForThreatIntelligenceResourceKindEnum ¶
func PossibleValuesForThreatIntelligenceResourceKindEnum() []string
func PossibleValuesForThreatIntelligenceSortingCriteriaEnum ¶
func PossibleValuesForThreatIntelligenceSortingCriteriaEnum() []string
func ValidateIndicatorID ¶
ValidateIndicatorID checks that 'input' can be parsed as a Indicator ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type IndicatorCreateIndicatorOperationResponse ¶
type IndicatorCreateIndicatorOperationResponse struct { HttpResponse *http.Response Model *ThreatIntelligenceInformation }
type IndicatorCreateOperationResponse ¶
type IndicatorCreateOperationResponse struct { HttpResponse *http.Response Model *ThreatIntelligenceInformation }
type IndicatorGetOperationResponse ¶
type IndicatorGetOperationResponse struct { HttpResponse *http.Response Model *ThreatIntelligenceInformation }
type IndicatorId ¶
type IndicatorId struct { SubscriptionId string ResourceGroupName string WorkspaceName string Name string }
IndicatorId is a struct representing the Resource ID for a Indicator
func NewIndicatorID ¶
func NewIndicatorID(subscriptionId string, resourceGroupName string, workspaceName string, name string) IndicatorId
NewIndicatorID returns a new IndicatorId struct
func ParseIndicatorID ¶
func ParseIndicatorID(input string) (*IndicatorId, error)
ParseIndicatorID parses 'input' into a IndicatorId
func ParseIndicatorIDInsensitively ¶
func ParseIndicatorIDInsensitively(input string) (*IndicatorId, error)
ParseIndicatorIDInsensitively parses 'input' case-insensitively into a IndicatorId note: this method should only be used for API response data and not user input
func (IndicatorId) Segments ¶
func (id IndicatorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Indicator ID
func (IndicatorId) String ¶
func (id IndicatorId) String() string
String returns a human-readable description of this Indicator ID
type IndicatorMetricsListOperationResponse ¶
type IndicatorMetricsListOperationResponse struct { HttpResponse *http.Response Model *ThreatIntelligenceMetricsList }
type IndicatorQueryIndicatorsCompleteResult ¶
type IndicatorQueryIndicatorsCompleteResult struct {
Items []ThreatIntelligenceInformation
}
type IndicatorQueryIndicatorsOperationResponse ¶
type IndicatorQueryIndicatorsOperationResponse struct { HttpResponse *http.Response Model *[]ThreatIntelligenceInformation // contains filtered or unexported fields }
func (IndicatorQueryIndicatorsOperationResponse) HasMore ¶
func (r IndicatorQueryIndicatorsOperationResponse) HasMore() bool
func (IndicatorQueryIndicatorsOperationResponse) LoadMore ¶
func (r IndicatorQueryIndicatorsOperationResponse) LoadMore(ctx context.Context) (resp IndicatorQueryIndicatorsOperationResponse, err error)
type IndicatorReplaceTagsOperationResponse ¶
type IndicatorReplaceTagsOperationResponse struct { HttpResponse *http.Response Model *ThreatIntelligenceInformation }
type IndicatorsListCompleteResult ¶
type IndicatorsListCompleteResult struct {
Items []ThreatIntelligenceInformation
}
type IndicatorsListOperationOptions ¶
func DefaultIndicatorsListOperationOptions ¶
func DefaultIndicatorsListOperationOptions() IndicatorsListOperationOptions
type IndicatorsListOperationResponse ¶
type IndicatorsListOperationResponse struct { HttpResponse *http.Response Model *[]ThreatIntelligenceInformation // contains filtered or unexported fields }
func (IndicatorsListOperationResponse) HasMore ¶
func (r IndicatorsListOperationResponse) HasMore() bool
func (IndicatorsListOperationResponse) LoadMore ¶
func (r IndicatorsListOperationResponse) LoadMore(ctx context.Context) (resp IndicatorsListOperationResponse, err error)
type ThreatIntelligenceAppendTags ¶
type ThreatIntelligenceAppendTags struct {
ThreatIntelligenceTags *[]string `json:"threatIntelligenceTags,omitempty"`
}
type ThreatIntelligenceClient ¶
type ThreatIntelligenceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewThreatIntelligenceClientWithBaseURI ¶
func NewThreatIntelligenceClientWithBaseURI(endpoint string) ThreatIntelligenceClient
func (ThreatIntelligenceClient) IndicatorAppendTags ¶
func (c ThreatIntelligenceClient) IndicatorAppendTags(ctx context.Context, id IndicatorId, input ThreatIntelligenceAppendTags) (result IndicatorAppendTagsOperationResponse, err error)
IndicatorAppendTags ...
func (ThreatIntelligenceClient) IndicatorCreate ¶
func (c ThreatIntelligenceClient) IndicatorCreate(ctx context.Context, id IndicatorId, input ThreatIntelligenceIndicatorModel) (result IndicatorCreateOperationResponse, err error)
IndicatorCreate ...
func (ThreatIntelligenceClient) IndicatorCreateIndicator ¶
func (c ThreatIntelligenceClient) IndicatorCreateIndicator(ctx context.Context, id WorkspaceId, input ThreatIntelligenceIndicatorModel) (result IndicatorCreateIndicatorOperationResponse, err error)
IndicatorCreateIndicator ...
func (ThreatIntelligenceClient) IndicatorDelete ¶
func (c ThreatIntelligenceClient) IndicatorDelete(ctx context.Context, id IndicatorId) (result IndicatorDeleteOperationResponse, err error)
IndicatorDelete ...
func (ThreatIntelligenceClient) IndicatorGet ¶
func (c ThreatIntelligenceClient) IndicatorGet(ctx context.Context, id IndicatorId) (result IndicatorGetOperationResponse, err error)
IndicatorGet ...
func (ThreatIntelligenceClient) IndicatorMetricsList ¶
func (c ThreatIntelligenceClient) IndicatorMetricsList(ctx context.Context, id WorkspaceId) (result IndicatorMetricsListOperationResponse, err error)
IndicatorMetricsList ...
func (ThreatIntelligenceClient) IndicatorQueryIndicators ¶
func (c ThreatIntelligenceClient) IndicatorQueryIndicators(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria) (resp IndicatorQueryIndicatorsOperationResponse, err error)
IndicatorQueryIndicators ...
func (ThreatIntelligenceClient) IndicatorQueryIndicatorsComplete ¶
func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsComplete(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria) (IndicatorQueryIndicatorsCompleteResult, error)
IndicatorQueryIndicatorsComplete retrieves all of the results into a single object
func (ThreatIntelligenceClient) IndicatorQueryIndicatorsCompleteMatchingPredicate ¶
func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria, predicate ThreatIntelligenceInformationOperationPredicate) (resp IndicatorQueryIndicatorsCompleteResult, err error)
IndicatorQueryIndicatorsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ThreatIntelligenceClient) IndicatorReplaceTags ¶
func (c ThreatIntelligenceClient) IndicatorReplaceTags(ctx context.Context, id IndicatorId, input ThreatIntelligenceIndicatorModel) (result IndicatorReplaceTagsOperationResponse, err error)
IndicatorReplaceTags ...
func (ThreatIntelligenceClient) IndicatorsList ¶
func (c ThreatIntelligenceClient) IndicatorsList(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions) (resp IndicatorsListOperationResponse, err error)
IndicatorsList ...
func (ThreatIntelligenceClient) IndicatorsListComplete ¶
func (c ThreatIntelligenceClient) IndicatorsListComplete(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions) (IndicatorsListCompleteResult, error)
IndicatorsListComplete retrieves all of the results into a single object
func (ThreatIntelligenceClient) IndicatorsListCompleteMatchingPredicate ¶
func (c ThreatIntelligenceClient) IndicatorsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions, predicate ThreatIntelligenceInformationOperationPredicate) (resp IndicatorsListCompleteResult, err error)
IndicatorsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ThreatIntelligenceFilteringCriteria ¶
type ThreatIntelligenceFilteringCriteria struct { Ids *[]string `json:"ids,omitempty"` IncludeDisabled *bool `json:"includeDisabled,omitempty"` Keywords *[]string `json:"keywords,omitempty"` MaxConfidence *int64 `json:"maxConfidence,omitempty"` MaxValidUntil *string `json:"maxValidUntil,omitempty"` MinConfidence *int64 `json:"minConfidence,omitempty"` MinValidUntil *string `json:"minValidUntil,omitempty"` PageSize *int64 `json:"pageSize,omitempty"` PatternTypes *[]string `json:"patternTypes,omitempty"` SkipToken *string `json:"skipToken,omitempty"` SortBy *[]ThreatIntelligenceSortingCriteria `json:"sortBy,omitempty"` Sources *[]string `json:"sources,omitempty"` ThreatTypes *[]string `json:"threatTypes,omitempty"` }
type ThreatIntelligenceIndicatorModel ¶
type ThreatIntelligenceIndicatorModel struct { Properties *ThreatIntelligenceIndicatorProperties `json:"properties,omitempty"` // Fields inherited from ThreatIntelligenceInformation Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (ThreatIntelligenceIndicatorModel) MarshalJSON ¶
func (s ThreatIntelligenceIndicatorModel) MarshalJSON() ([]byte, error)
type ThreatIntelligenceIndicatorProperties ¶
type ThreatIntelligenceIndicatorProperties struct { AdditionalData *map[string]interface{} `json:"additionalData,omitempty"` Confidence *int64 `json:"confidence,omitempty"` Created *string `json:"created,omitempty"` CreatedByRef *string `json:"createdByRef,omitempty"` Defanged *bool `json:"defanged,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Extensions *interface{} `json:"extensions,omitempty"` ExternalId *string `json:"externalId,omitempty"` ExternalLastUpdatedTimeUtc *string `json:"externalLastUpdatedTimeUtc,omitempty"` ExternalReferences *[]ThreatIntelligenceExternalReference `json:"externalReferences,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` GranularMarkings *[]ThreatIntelligenceGranularMarkingModel `json:"granularMarkings,omitempty"` IndicatorTypes *[]string `json:"indicatorTypes,omitempty"` KillChainPhases *[]ThreatIntelligenceKillChainPhase `json:"killChainPhases,omitempty"` Labels *[]string `json:"labels,omitempty"` Language *string `json:"language,omitempty"` LastUpdatedTimeUtc *string `json:"lastUpdatedTimeUtc,omitempty"` Modified *string `json:"modified,omitempty"` ObjectMarkingRefs *[]string `json:"objectMarkingRefs,omitempty"` ParsedPattern *[]ThreatIntelligenceParsedPattern `json:"parsedPattern,omitempty"` Pattern *string `json:"pattern,omitempty"` PatternType *string `json:"patternType,omitempty"` PatternVersion *string `json:"patternVersion,omitempty"` Revoked *bool `json:"revoked,omitempty"` Source *string `json:"source,omitempty"` ThreatIntelligenceTags *[]string `json:"threatIntelligenceTags,omitempty"` ThreatTypes *[]string `json:"threatTypes,omitempty"` ValidFrom *string `json:"validFrom,omitempty"` ValidUntil *string `json:"validUntil,omitempty"` }
type ThreatIntelligenceInformation ¶
type ThreatIntelligenceInformation interface { }
type ThreatIntelligenceInformationOperationPredicate ¶
type ThreatIntelligenceInformationOperationPredicate struct { }
func (ThreatIntelligenceInformationOperationPredicate) Matches ¶
func (p ThreatIntelligenceInformationOperationPredicate) Matches(input ThreatIntelligenceInformation) bool
type ThreatIntelligenceMetric ¶
type ThreatIntelligenceMetric struct { LastUpdatedTimeUtc *string `json:"lastUpdatedTimeUtc,omitempty"` PatternTypeMetrics *[]ThreatIntelligenceMetricEntity `json:"patternTypeMetrics,omitempty"` SourceMetrics *[]ThreatIntelligenceMetricEntity `json:"sourceMetrics,omitempty"` ThreatTypeMetrics *[]ThreatIntelligenceMetricEntity `json:"threatTypeMetrics,omitempty"` }
type ThreatIntelligenceMetrics ¶
type ThreatIntelligenceMetrics struct {
Properties *ThreatIntelligenceMetric `json:"properties,omitempty"`
}
type ThreatIntelligenceMetricsList ¶
type ThreatIntelligenceMetricsList struct {
Value []ThreatIntelligenceMetrics `json:"value"`
}
type ThreatIntelligenceParsedPattern ¶
type ThreatIntelligenceParsedPattern struct { PatternTypeKey *string `json:"patternTypeKey,omitempty"` PatternTypeValues *[]ThreatIntelligenceParsedPatternTypeValue `json:"patternTypeValues,omitempty"` }
type ThreatIntelligenceResourceKindEnum ¶
type ThreatIntelligenceResourceKindEnum string
const (
ThreatIntelligenceResourceKindEnumIndicator ThreatIntelligenceResourceKindEnum = "indicator"
)
type ThreatIntelligenceSortingCriteria ¶
type ThreatIntelligenceSortingCriteria struct { ItemKey *string `json:"itemKey,omitempty"` SortOrder *ThreatIntelligenceSortingCriteriaEnum `json:"sortOrder,omitempty"` }
type ThreatIntelligenceSortingCriteriaEnum ¶
type ThreatIntelligenceSortingCriteriaEnum string
const ( ThreatIntelligenceSortingCriteriaEnumAscending ThreatIntelligenceSortingCriteriaEnum = "ascending" ThreatIntelligenceSortingCriteriaEnumDescending ThreatIntelligenceSortingCriteriaEnum = "descending" ThreatIntelligenceSortingCriteriaEnumUnsorted ThreatIntelligenceSortingCriteriaEnum = "unsorted" )
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_indicator.go
- id_workspace.go
- method_indicatorappendtags_autorest.go
- method_indicatorcreate_autorest.go
- method_indicatorcreateindicator_autorest.go
- method_indicatordelete_autorest.go
- method_indicatorget_autorest.go
- method_indicatormetricslist_autorest.go
- method_indicatorqueryindicators_autorest.go
- method_indicatorreplacetags_autorest.go
- method_indicatorslist_autorest.go
- model_threatintelligenceappendtags.go
- model_threatintelligenceexternalreference.go
- model_threatintelligencefilteringcriteria.go
- model_threatintelligencegranularmarkingmodel.go
- model_threatintelligenceindicatormodel.go
- model_threatintelligenceindicatorproperties.go
- model_threatintelligenceinformation.go
- model_threatintelligencekillchainphase.go
- model_threatintelligencemetric.go
- model_threatintelligencemetricentity.go
- model_threatintelligencemetrics.go
- model_threatintelligencemetricslist.go
- model_threatintelligenceparsedpattern.go
- model_threatintelligenceparsedpatterntypevalue.go
- model_threatintelligencesortingcriteria.go
- predicates.go
- version.go