Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAttackTactic() []string + func PossibleValuesForIncidentClassification() []string + func PossibleValuesForIncidentClassificationReason() []string + func PossibleValuesForIncidentLabelType() []string + func PossibleValuesForIncidentSeverity() []string + func PossibleValuesForIncidentStatus() []string + func PossibleValuesForOwnerType() []string + func ValidateIncidentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error) + type AttackTactic string + const AttackTacticCollection + const AttackTacticCommandAndControl + const AttackTacticCredentialAccess + const AttackTacticDefenseEvasion + const AttackTacticDiscovery + const AttackTacticExecution + const AttackTacticExfiltration + const AttackTacticImpact + const AttackTacticImpairProcessControl + const AttackTacticInhibitResponseFunction + const AttackTacticInitialAccess + const AttackTacticLateralMovement + const AttackTacticPersistence + const AttackTacticPreAttack + const AttackTacticPrivilegeEscalation + const AttackTacticReconnaissance + const AttackTacticResourceDevelopment + func (s *AttackTactic) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Incident + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Incident + OData *odata.OData + type Incident struct + Etag *string + Id *string + Name *string + Properties *IncidentProperties + SystemData *systemdata.SystemData + Type *string + type IncidentAdditionalData struct + AlertProductNames *[]string + AlertsCount *int64 + BookmarksCount *int64 + CommentsCount *int64 + Tactics *[]AttackTactic + type IncidentClassification string + const IncidentClassificationBenignPositive + const IncidentClassificationFalsePositive + const IncidentClassificationTruePositive + const IncidentClassificationUndetermined + func (s *IncidentClassification) UnmarshalJSON(bytes []byte) error + type IncidentClassificationReason string + const IncidentClassificationReasonInaccurateData + const IncidentClassificationReasonIncorrectAlertLogic + const IncidentClassificationReasonSuspiciousActivity + const IncidentClassificationReasonSuspiciousButExpected + func (s *IncidentClassificationReason) UnmarshalJSON(bytes []byte) error + type IncidentId struct + IncidentId string + ResourceGroupName string + SubscriptionId string + WorkspaceName string + func NewIncidentID(subscriptionId string, resourceGroupName string, workspaceName string, ...) IncidentId + func ParseIncidentID(input string) (*IncidentId, error) + func ParseIncidentIDInsensitively(input string) (*IncidentId, error) + func (id *IncidentId) FromParseResult(input resourceids.ParseResult) error + func (id IncidentId) ID() string + func (id IncidentId) Segments() []resourceids.Segment + func (id IncidentId) String() string + type IncidentLabel struct + LabelName string + LabelType *IncidentLabelType + type IncidentLabelType string + const IncidentLabelTypeAutoAssigned + const IncidentLabelTypeUser + func (s *IncidentLabelType) UnmarshalJSON(bytes []byte) error + type IncidentOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p IncidentOperationPredicate) Matches(input Incident) bool + type IncidentOwnerInfo struct + AssignedTo *string + Email *string + ObjectId *string + OwnerType *OwnerType + UserPrincipalName *string + type IncidentProperties struct + AdditionalData *IncidentAdditionalData + Classification *IncidentClassification + ClassificationComment *string + ClassificationReason *IncidentClassificationReason + CreatedTimeUtc *string + Description *string + FirstActivityTimeUtc *string + IncidentNumber *int64 + IncidentURL *string + Labels *[]IncidentLabel + LastActivityTimeUtc *string + LastModifiedTimeUtc *string + Owner *IncidentOwnerInfo + RelatedAnalyticRuleIds *[]string + Severity IncidentSeverity + Status IncidentStatus + Title string + func (o *IncidentProperties) GetCreatedTimeUtcAsTime() (*time.Time, error) + func (o *IncidentProperties) GetFirstActivityTimeUtcAsTime() (*time.Time, error) + func (o *IncidentProperties) GetLastActivityTimeUtcAsTime() (*time.Time, error) + func (o *IncidentProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error) + func (o *IncidentProperties) SetCreatedTimeUtcAsTime(input time.Time) + func (o *IncidentProperties) SetFirstActivityTimeUtcAsTime(input time.Time) + func (o *IncidentProperties) SetLastActivityTimeUtcAsTime(input time.Time) + func (o *IncidentProperties) SetLastModifiedTimeUtcAsTime(input time.Time) + type IncidentSeverity string + const IncidentSeverityHigh + const IncidentSeverityInformational + const IncidentSeverityLow + const IncidentSeverityMedium + func (s *IncidentSeverity) UnmarshalJSON(bytes []byte) error + type IncidentStatus string + const IncidentStatusActive + const IncidentStatusClosed + const IncidentStatusNew + func (s *IncidentStatus) UnmarshalJSON(bytes []byte) error + type IncidentsClient struct + Client *resourcemanager.Client + func NewIncidentsClientWithBaseURI(sdkApi sdkEnv.Api) (*IncidentsClient, error) + func (c IncidentsClient) CreateOrUpdate(ctx context.Context, id IncidentId, input Incident) (result CreateOrUpdateOperationResponse, err error) + func (c IncidentsClient) Delete(ctx context.Context, id IncidentId) (result DeleteOperationResponse, err error) + func (c IncidentsClient) Get(ctx context.Context, id IncidentId) (result GetOperationResponse, err error) + func (c IncidentsClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c IncidentsClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error) + func (c IncidentsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + type ListCompleteResult struct + Items []Incident + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + Orderby *string + Top *int64 + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Incident + OData *odata.OData + type OwnerType string + const OwnerTypeGroup + const OwnerTypeUnknown + const OwnerTypeUser + func (s *OwnerType) UnmarshalJSON(bytes []byte) error + type WorkspaceId struct + ResourceGroupName string + SubscriptionId string + WorkspaceName string + func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId + func ParseWorkspaceID(input string) (*WorkspaceId, error) + func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error) + func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceId) ID() string + func (id WorkspaceId) Segments() []resourceids.Segment + func (id WorkspaceId) String() string