Documentation ¶
Index ¶
- func PossibleValuesForThreatIntelligenceResourceInnerKind() []string
- func PossibleValuesForThreatIntelligenceSortingOrder() []string
- func ValidateIndicatorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type BaseThreatIntelligenceInformationImpl
- type IndicatorAppendTagsOperationResponse
- type IndicatorCreateIndicatorOperationResponse
- type IndicatorCreateOperationResponse
- type IndicatorDeleteOperationResponse
- type IndicatorGetOperationResponse
- type IndicatorId
- type IndicatorMetricsListOperationResponse
- type IndicatorQueryIndicatorsCompleteResult
- type IndicatorQueryIndicatorsCustomPager
- type IndicatorQueryIndicatorsOperationResponse
- type IndicatorReplaceTagsOperationResponse
- type IndicatorsListCompleteResult
- type IndicatorsListCustomPager
- type IndicatorsListOperationOptions
- type IndicatorsListOperationResponse
- type RawThreatIntelligenceInformationImpl
- 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) (result 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, ...) (result 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) (result 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, ...) (result 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 ThreatIntelligenceResourceInnerKind
- type ThreatIntelligenceSortingCriteria
- type ThreatIntelligenceSortingOrder
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForThreatIntelligenceResourceInnerKind ¶
func PossibleValuesForThreatIntelligenceResourceInnerKind() []string
func PossibleValuesForThreatIntelligenceSortingOrder ¶
func PossibleValuesForThreatIntelligenceSortingOrder() []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 BaseThreatIntelligenceInformationImpl ¶
type BaseThreatIntelligenceInformationImpl struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind ThreatIntelligenceResourceInnerKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseThreatIntelligenceInformationImpl) ThreatIntelligenceInformation ¶
func (s BaseThreatIntelligenceInformationImpl) ThreatIntelligenceInformation() BaseThreatIntelligenceInformationImpl
type IndicatorCreateIndicatorOperationResponse ¶
type IndicatorCreateIndicatorOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model ThreatIntelligenceInformation }
type IndicatorCreateOperationResponse ¶
type IndicatorCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model ThreatIntelligenceInformation }
type IndicatorGetOperationResponse ¶
type IndicatorGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model ThreatIntelligenceInformation }
type IndicatorId ¶
type IndicatorId struct { SubscriptionId string ResourceGroupName string WorkspaceName string IndicatorName string }
IndicatorId is a struct representing the Resource ID for a Indicator
func NewIndicatorID ¶
func NewIndicatorID(subscriptionId string, resourceGroupName string, workspaceName string, indicatorName 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) FromParseResult ¶
func (id *IndicatorId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *ThreatIntelligenceMetricsList }
type IndicatorQueryIndicatorsCompleteResult ¶
type IndicatorQueryIndicatorsCompleteResult struct { LatestHttpResponse *http.Response Items []ThreatIntelligenceInformation }
type IndicatorQueryIndicatorsCustomPager ¶
func (*IndicatorQueryIndicatorsCustomPager) NextPageLink ¶
func (p *IndicatorQueryIndicatorsCustomPager) NextPageLink() *odata.Link
type IndicatorQueryIndicatorsOperationResponse ¶
type IndicatorQueryIndicatorsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ThreatIntelligenceInformation }
type IndicatorReplaceTagsOperationResponse ¶
type IndicatorReplaceTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model ThreatIntelligenceInformation }
type IndicatorsListCompleteResult ¶
type IndicatorsListCompleteResult struct { LatestHttpResponse *http.Response Items []ThreatIntelligenceInformation }
type IndicatorsListCustomPager ¶
func (*IndicatorsListCustomPager) NextPageLink ¶
func (p *IndicatorsListCustomPager) NextPageLink() *odata.Link
type IndicatorsListOperationOptions ¶
func DefaultIndicatorsListOperationOptions ¶
func DefaultIndicatorsListOperationOptions() IndicatorsListOperationOptions
func (IndicatorsListOperationOptions) ToHeaders ¶
func (o IndicatorsListOperationOptions) ToHeaders() *client.Headers
func (IndicatorsListOperationOptions) ToOData ¶
func (o IndicatorsListOperationOptions) ToOData() *odata.Query
func (IndicatorsListOperationOptions) ToQuery ¶
func (o IndicatorsListOperationOptions) ToQuery() *client.QueryParams
type IndicatorsListOperationResponse ¶
type IndicatorsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ThreatIntelligenceInformation }
type RawThreatIntelligenceInformationImpl ¶
type RawThreatIntelligenceInformationImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawThreatIntelligenceInformationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawThreatIntelligenceInformationImpl) ThreatIntelligenceInformation ¶
func (s RawThreatIntelligenceInformationImpl) ThreatIntelligenceInformation() BaseThreatIntelligenceInformationImpl
type ThreatIntelligenceAppendTags ¶
type ThreatIntelligenceAppendTags struct {
ThreatIntelligenceTags *[]string `json:"threatIntelligenceTags,omitempty"`
}
type ThreatIntelligenceClient ¶
type ThreatIntelligenceClient struct {
Client *resourcemanager.Client
}
func NewThreatIntelligenceClientWithBaseURI ¶
func NewThreatIntelligenceClientWithBaseURI(sdkApi sdkEnv.Api) (*ThreatIntelligenceClient, error)
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) (result IndicatorQueryIndicatorsOperationResponse, err error)
IndicatorQueryIndicators ...
func (ThreatIntelligenceClient) IndicatorQueryIndicatorsComplete ¶
func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsComplete(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria) (IndicatorQueryIndicatorsCompleteResult, error)
IndicatorQueryIndicatorsComplete retrieves all the results into a single object
func (ThreatIntelligenceClient) IndicatorQueryIndicatorsCompleteMatchingPredicate ¶
func (c ThreatIntelligenceClient) IndicatorQueryIndicatorsCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, input ThreatIntelligenceFilteringCriteria, predicate ThreatIntelligenceInformationOperationPredicate) (result IndicatorQueryIndicatorsCompleteResult, err error)
IndicatorQueryIndicatorsCompleteMatchingPredicate retrieves all the results and then applies 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) (result IndicatorsListOperationResponse, err error)
IndicatorsList ...
func (ThreatIntelligenceClient) IndicatorsListComplete ¶
func (c ThreatIntelligenceClient) IndicatorsListComplete(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions) (IndicatorsListCompleteResult, error)
IndicatorsListComplete retrieves all the results into a single object
func (ThreatIntelligenceClient) IndicatorsListCompleteMatchingPredicate ¶
func (c ThreatIntelligenceClient) IndicatorsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options IndicatorsListOperationOptions, predicate ThreatIntelligenceInformationOperationPredicate) (result IndicatorsListCompleteResult, err error)
IndicatorsListCompleteMatchingPredicate retrieves all the results and then applies 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"` Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind ThreatIntelligenceResourceInnerKind `json:"kind"` 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)
func (ThreatIntelligenceIndicatorModel) ThreatIntelligenceInformation ¶
func (s ThreatIntelligenceIndicatorModel) ThreatIntelligenceInformation() BaseThreatIntelligenceInformationImpl
type ThreatIntelligenceIndicatorProperties ¶
type ThreatIntelligenceIndicatorProperties struct { AdditionalData *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 *map[string]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 {
ThreatIntelligenceInformation() BaseThreatIntelligenceInformationImpl
}
func UnmarshalThreatIntelligenceInformationImplementation ¶
func UnmarshalThreatIntelligenceInformationImplementation(input []byte) (ThreatIntelligenceInformation, error)
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 ThreatIntelligenceResourceInnerKind ¶
type ThreatIntelligenceResourceInnerKind string
const (
ThreatIntelligenceResourceInnerKindIndicator ThreatIntelligenceResourceInnerKind = "indicator"
)
func (*ThreatIntelligenceResourceInnerKind) UnmarshalJSON ¶
func (s *ThreatIntelligenceResourceInnerKind) UnmarshalJSON(bytes []byte) error
type ThreatIntelligenceSortingCriteria ¶
type ThreatIntelligenceSortingCriteria struct { ItemKey *string `json:"itemKey,omitempty"` SortOrder *ThreatIntelligenceSortingOrder `json:"sortOrder,omitempty"` }
type ThreatIntelligenceSortingOrder ¶
type ThreatIntelligenceSortingOrder string
const ( ThreatIntelligenceSortingOrderAscending ThreatIntelligenceSortingOrder = "ascending" ThreatIntelligenceSortingOrderDescending ThreatIntelligenceSortingOrder = "descending" ThreatIntelligenceSortingOrderUnsorted ThreatIntelligenceSortingOrder = "unsorted" )
func (*ThreatIntelligenceSortingOrder) UnmarshalJSON ¶
func (s *ThreatIntelligenceSortingOrder) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_indicatorcreate.go
- method_indicatorcreateindicator.go
- method_indicatordelete.go
- method_indicatorget.go
- method_indicatormetricslist.go
- method_indicatorqueryindicators.go
- method_indicatorreplacetags.go
- method_indicatorslist.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