Documentation ¶
Index ¶
- func PossibleValuesForCustomEntityQueryKind() []string
- func PossibleValuesForEntityQueryKind() []string
- func PossibleValuesForEntityQueryTemplateKind() []string
- func PossibleValuesForEntityType() []string
- func PossibleValuesForKind() []string
- func ValidateEntityQueryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEntityQueryTemplateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ActivityCustomEntityQuery
- type ActivityEntityQueriesProperties
- func (o *ActivityEntityQueriesProperties) GetCreatedTimeUtcAsTime() (*time.Time, error)
- func (o *ActivityEntityQueriesProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error)
- func (o *ActivityEntityQueriesProperties) SetCreatedTimeUtcAsTime(input time.Time)
- func (o *ActivityEntityQueriesProperties) SetLastModifiedTimeUtcAsTime(input time.Time)
- type ActivityEntityQueriesPropertiesQueryDefinitions
- type ActivityEntityQuery
- type ActivityEntityQueryTemplate
- type ActivityEntityQueryTemplateProperties
- type ActivityEntityQueryTemplatePropertiesQueryDefinitions
- type CreateOrUpdateOperationResponse
- type CustomEntityQuery
- type CustomEntityQueryKind
- type DataTypeDefinitions
- type DeleteOperationResponse
- type EntityQueriesClient
- func (c EntityQueriesClient) CreateOrUpdate(ctx context.Context, id EntityQueryId, input CustomEntityQuery) (result CreateOrUpdateOperationResponse, err error)
- func (c EntityQueriesClient) Delete(ctx context.Context, id EntityQueryId) (result DeleteOperationResponse, err error)
- func (c EntityQueriesClient) EntityQueryTemplatesGet(ctx context.Context, id EntityQueryTemplateId) (result EntityQueryTemplatesGetOperationResponse, err error)
- func (c EntityQueriesClient) EntityQueryTemplatesList(ctx context.Context, id WorkspaceId, ...) (resp EntityQueryTemplatesListOperationResponse, err error)
- func (c EntityQueriesClient) EntityQueryTemplatesListComplete(ctx context.Context, id WorkspaceId, ...) (EntityQueryTemplatesListCompleteResult, error)
- func (c EntityQueriesClient) EntityQueryTemplatesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (resp EntityQueryTemplatesListCompleteResult, err error)
- func (c EntityQueriesClient) Get(ctx context.Context, id EntityQueryId) (result GetOperationResponse, err error)
- func (c EntityQueriesClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c EntityQueriesClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EntityQueriesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type EntityQuery
- type EntityQueryId
- type EntityQueryKind
- type EntityQueryOperationPredicate
- type EntityQueryTemplate
- type EntityQueryTemplateId
- type EntityQueryTemplateKind
- type EntityQueryTemplateOperationPredicate
- type EntityQueryTemplatesGetOperationResponse
- type EntityQueryTemplatesListCompleteResult
- type EntityQueryTemplatesListOperationOptions
- type EntityQueryTemplatesListOperationResponse
- type EntityType
- type ExpansionEntityQueriesProperties
- type ExpansionEntityQuery
- type GetOperationResponse
- type Kind
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCustomEntityQueryKind ¶
func PossibleValuesForCustomEntityQueryKind() []string
func PossibleValuesForEntityQueryKind ¶
func PossibleValuesForEntityQueryKind() []string
func PossibleValuesForEntityQueryTemplateKind ¶
func PossibleValuesForEntityQueryTemplateKind() []string
func PossibleValuesForEntityType ¶
func PossibleValuesForEntityType() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func ValidateEntityQueryID ¶ added in v0.20220907.1111434
ValidateEntityQueryID checks that 'input' can be parsed as a Entity Query ID
func ValidateEntityQueryTemplateID ¶
func ValidateEntityQueryTemplateID(input interface{}, key string) (warnings []string, errors []error)
ValidateEntityQueryTemplateID checks that 'input' can be parsed as a Entity Query Template ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ActivityCustomEntityQuery ¶
type ActivityCustomEntityQuery struct { Properties *ActivityEntityQueriesProperties `json:"properties,omitempty"` // Fields inherited from CustomEntityQuery 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 (ActivityCustomEntityQuery) MarshalJSON ¶
func (s ActivityCustomEntityQuery) MarshalJSON() ([]byte, error)
type ActivityEntityQueriesProperties ¶
type ActivityEntityQueriesProperties struct { Content *string `json:"content,omitempty"` CreatedTimeUtc *string `json:"createdTimeUtc,omitempty"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` EntitiesFilter *map[string][]string `json:"entitiesFilter,omitempty"` InputEntityType *EntityType `json:"inputEntityType,omitempty"` LastModifiedTimeUtc *string `json:"lastModifiedTimeUtc,omitempty"` QueryDefinitions *ActivityEntityQueriesPropertiesQueryDefinitions `json:"queryDefinitions,omitempty"` RequiredInputFieldsSets *[][]string `json:"requiredInputFieldsSets,omitempty"` TemplateName *string `json:"templateName,omitempty"` Title *string `json:"title,omitempty"` }
func (*ActivityEntityQueriesProperties) GetCreatedTimeUtcAsTime ¶
func (o *ActivityEntityQueriesProperties) GetCreatedTimeUtcAsTime() (*time.Time, error)
func (*ActivityEntityQueriesProperties) GetLastModifiedTimeUtcAsTime ¶
func (o *ActivityEntityQueriesProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error)
func (*ActivityEntityQueriesProperties) SetCreatedTimeUtcAsTime ¶
func (o *ActivityEntityQueriesProperties) SetCreatedTimeUtcAsTime(input time.Time)
func (*ActivityEntityQueriesProperties) SetLastModifiedTimeUtcAsTime ¶
func (o *ActivityEntityQueriesProperties) SetLastModifiedTimeUtcAsTime(input time.Time)
type ActivityEntityQueriesPropertiesQueryDefinitions ¶
type ActivityEntityQueriesPropertiesQueryDefinitions struct {
Query *string `json:"query,omitempty"`
}
type ActivityEntityQuery ¶
type ActivityEntityQuery struct { Properties *ActivityEntityQueriesProperties `json:"properties,omitempty"` // Fields inherited from EntityQuery 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 (ActivityEntityQuery) MarshalJSON ¶
func (s ActivityEntityQuery) MarshalJSON() ([]byte, error)
type ActivityEntityQueryTemplate ¶
type ActivityEntityQueryTemplate struct { Properties *ActivityEntityQueryTemplateProperties `json:"properties,omitempty"` // Fields inherited from EntityQueryTemplate Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (ActivityEntityQueryTemplate) MarshalJSON ¶
func (s ActivityEntityQueryTemplate) MarshalJSON() ([]byte, error)
type ActivityEntityQueryTemplateProperties ¶
type ActivityEntityQueryTemplateProperties struct { Content *string `json:"content,omitempty"` DataTypes *[]DataTypeDefinitions `json:"dataTypes,omitempty"` Description *string `json:"description,omitempty"` EntitiesFilter *map[string][]string `json:"entitiesFilter,omitempty"` InputEntityType *EntityType `json:"inputEntityType,omitempty"` QueryDefinitions *ActivityEntityQueryTemplatePropertiesQueryDefinitions `json:"queryDefinitions,omitempty"` RequiredInputFieldsSets *[][]string `json:"requiredInputFieldsSets,omitempty"` Title *string `json:"title,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *EntityQuery }
type CustomEntityQuery ¶
type CustomEntityQuery interface { }
type CustomEntityQueryKind ¶
type CustomEntityQueryKind string
const (
CustomEntityQueryKindActivity CustomEntityQueryKind = "Activity"
)
type DataTypeDefinitions ¶
type DataTypeDefinitions struct {
DataType *string `json:"dataType,omitempty"`
}
type DeleteOperationResponse ¶
type EntityQueriesClient ¶
type EntityQueriesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEntityQueriesClientWithBaseURI ¶
func NewEntityQueriesClientWithBaseURI(endpoint string) EntityQueriesClient
func (EntityQueriesClient) CreateOrUpdate ¶
func (c EntityQueriesClient) CreateOrUpdate(ctx context.Context, id EntityQueryId, input CustomEntityQuery) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EntityQueriesClient) Delete ¶
func (c EntityQueriesClient) Delete(ctx context.Context, id EntityQueryId) (result DeleteOperationResponse, err error)
Delete ...
func (EntityQueriesClient) EntityQueryTemplatesGet ¶
func (c EntityQueriesClient) EntityQueryTemplatesGet(ctx context.Context, id EntityQueryTemplateId) (result EntityQueryTemplatesGetOperationResponse, err error)
EntityQueryTemplatesGet ...
func (EntityQueriesClient) EntityQueryTemplatesList ¶
func (c EntityQueriesClient) EntityQueryTemplatesList(ctx context.Context, id WorkspaceId, options EntityQueryTemplatesListOperationOptions) (resp EntityQueryTemplatesListOperationResponse, err error)
EntityQueryTemplatesList ...
func (EntityQueriesClient) EntityQueryTemplatesListComplete ¶
func (c EntityQueriesClient) EntityQueryTemplatesListComplete(ctx context.Context, id WorkspaceId, options EntityQueryTemplatesListOperationOptions) (EntityQueryTemplatesListCompleteResult, error)
EntityQueryTemplatesListComplete retrieves all of the results into a single object
func (EntityQueriesClient) EntityQueryTemplatesListCompleteMatchingPredicate ¶
func (c EntityQueriesClient) EntityQueryTemplatesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options EntityQueryTemplatesListOperationOptions, predicate EntityQueryTemplateOperationPredicate) (resp EntityQueryTemplatesListCompleteResult, err error)
EntityQueryTemplatesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (EntityQueriesClient) Get ¶
func (c EntityQueriesClient) Get(ctx context.Context, id EntityQueryId) (result GetOperationResponse, err error)
Get ...
func (EntityQueriesClient) List ¶
func (c EntityQueriesClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (EntityQueriesClient) ListComplete ¶
func (c EntityQueriesClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EntityQueriesClient) ListCompleteMatchingPredicate ¶
func (c EntityQueriesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate EntityQueryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type EntityQuery ¶
type EntityQuery interface { }
type EntityQueryId ¶ added in v0.20220907.1111434
type EntityQueryId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EntityQueryId string }
EntityQueryId is a struct representing the Resource ID for a Entity Query
func NewEntityQueryID ¶ added in v0.20220907.1111434
func NewEntityQueryID(subscriptionId string, resourceGroupName string, workspaceName string, entityQueryId string) EntityQueryId
NewEntityQueryID returns a new EntityQueryId struct
func ParseEntityQueryID ¶ added in v0.20220907.1111434
func ParseEntityQueryID(input string) (*EntityQueryId, error)
ParseEntityQueryID parses 'input' into a EntityQueryId
func ParseEntityQueryIDInsensitively ¶ added in v0.20220907.1111434
func ParseEntityQueryIDInsensitively(input string) (*EntityQueryId, error)
ParseEntityQueryIDInsensitively parses 'input' case-insensitively into a EntityQueryId note: this method should only be used for API response data and not user input
func (EntityQueryId) ID ¶ added in v0.20220907.1111434
func (id EntityQueryId) ID() string
ID returns the formatted Entity Query ID
func (EntityQueryId) Segments ¶ added in v0.20220907.1111434
func (id EntityQueryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Entity Query ID
func (EntityQueryId) String ¶ added in v0.20220907.1111434
func (id EntityQueryId) String() string
String returns a human-readable description of this Entity Query ID
type EntityQueryKind ¶
type EntityQueryKind string
const ( EntityQueryKindActivity EntityQueryKind = "Activity" EntityQueryKindExpansion EntityQueryKind = "Expansion" EntityQueryKindInsight EntityQueryKind = "Insight" )
type EntityQueryOperationPredicate ¶
type EntityQueryOperationPredicate struct { }
func (EntityQueryOperationPredicate) Matches ¶
func (p EntityQueryOperationPredicate) Matches(input EntityQuery) bool
type EntityQueryTemplate ¶
type EntityQueryTemplate interface { }
type EntityQueryTemplateId ¶
type EntityQueryTemplateId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EntityQueryTemplateId string }
EntityQueryTemplateId is a struct representing the Resource ID for a Entity Query Template
func NewEntityQueryTemplateID ¶
func NewEntityQueryTemplateID(subscriptionId string, resourceGroupName string, workspaceName string, entityQueryTemplateId string) EntityQueryTemplateId
NewEntityQueryTemplateID returns a new EntityQueryTemplateId struct
func ParseEntityQueryTemplateID ¶
func ParseEntityQueryTemplateID(input string) (*EntityQueryTemplateId, error)
ParseEntityQueryTemplateID parses 'input' into a EntityQueryTemplateId
func ParseEntityQueryTemplateIDInsensitively ¶
func ParseEntityQueryTemplateIDInsensitively(input string) (*EntityQueryTemplateId, error)
ParseEntityQueryTemplateIDInsensitively parses 'input' case-insensitively into a EntityQueryTemplateId note: this method should only be used for API response data and not user input
func (EntityQueryTemplateId) ID ¶
func (id EntityQueryTemplateId) ID() string
ID returns the formatted Entity Query Template ID
func (EntityQueryTemplateId) Segments ¶
func (id EntityQueryTemplateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Entity Query Template ID
func (EntityQueryTemplateId) String ¶
func (id EntityQueryTemplateId) String() string
String returns a human-readable description of this Entity Query Template ID
type EntityQueryTemplateKind ¶
type EntityQueryTemplateKind string
const (
EntityQueryTemplateKindActivity EntityQueryTemplateKind = "Activity"
)
type EntityQueryTemplateOperationPredicate ¶
type EntityQueryTemplateOperationPredicate struct { }
func (EntityQueryTemplateOperationPredicate) Matches ¶
func (p EntityQueryTemplateOperationPredicate) Matches(input EntityQueryTemplate) bool
type EntityQueryTemplatesGetOperationResponse ¶
type EntityQueryTemplatesGetOperationResponse struct { HttpResponse *http.Response Model *EntityQueryTemplate }
type EntityQueryTemplatesListCompleteResult ¶
type EntityQueryTemplatesListCompleteResult struct {
Items []EntityQueryTemplate
}
type EntityQueryTemplatesListOperationOptions ¶
type EntityQueryTemplatesListOperationOptions struct {
Kind *Kind
}
func DefaultEntityQueryTemplatesListOperationOptions ¶
func DefaultEntityQueryTemplatesListOperationOptions() EntityQueryTemplatesListOperationOptions
type EntityQueryTemplatesListOperationResponse ¶
type EntityQueryTemplatesListOperationResponse struct { HttpResponse *http.Response Model *[]EntityQueryTemplate // contains filtered or unexported fields }
func (EntityQueryTemplatesListOperationResponse) HasMore ¶
func (r EntityQueryTemplatesListOperationResponse) HasMore() bool
func (EntityQueryTemplatesListOperationResponse) LoadMore ¶
func (r EntityQueryTemplatesListOperationResponse) LoadMore(ctx context.Context) (resp EntityQueryTemplatesListOperationResponse, err error)
type EntityType ¶
type EntityType string
const ( EntityTypeAccount EntityType = "Account" EntityTypeAzureResource EntityType = "AzureResource" EntityTypeCloudApplication EntityType = "CloudApplication" EntityTypeDNS EntityType = "DNS" EntityTypeFile EntityType = "File" EntityTypeFileHash EntityType = "FileHash" EntityTypeHost EntityType = "Host" EntityTypeHuntingBookmark EntityType = "HuntingBookmark" EntityTypeIP EntityType = "IP" EntityTypeIoTDevice EntityType = "IoTDevice" EntityTypeMailCluster EntityType = "MailCluster" EntityTypeMailMessage EntityType = "MailMessage" EntityTypeMailbox EntityType = "Mailbox" EntityTypeMalware EntityType = "Malware" EntityTypeProcess EntityType = "Process" EntityTypeRegistryKey EntityType = "RegistryKey" EntityTypeRegistryValue EntityType = "RegistryValue" EntityTypeSecurityAlert EntityType = "SecurityAlert" EntityTypeSecurityGroup EntityType = "SecurityGroup" EntityTypeSubmissionMail EntityType = "SubmissionMail" EntityTypeURL EntityType = "URL" )
type ExpansionEntityQueriesProperties ¶
type ExpansionEntityQueriesProperties struct { DataSources *[]string `json:"dataSources,omitempty"` DisplayName *string `json:"displayName,omitempty"` InputEntityType *EntityType `json:"inputEntityType,omitempty"` InputFields *[]string `json:"inputFields,omitempty"` OutputEntityTypes *[]EntityType `json:"outputEntityTypes,omitempty"` QueryTemplate *string `json:"queryTemplate,omitempty"` }
type ExpansionEntityQuery ¶
type ExpansionEntityQuery struct { Properties *ExpansionEntityQueriesProperties `json:"properties,omitempty"` // Fields inherited from EntityQuery 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 (ExpansionEntityQuery) MarshalJSON ¶
func (s ExpansionEntityQuery) MarshalJSON() ([]byte, error)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *EntityQuery }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EntityQuery
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Kind *Kind
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EntityQuery // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err 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) 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_entityquery.go
- id_entityquerytemplate.go
- id_workspace.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_entityquerytemplatesget_autorest.go
- method_entityquerytemplateslist_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_activitycustomentityquery.go
- model_activityentityqueriesproperties.go
- model_activityentityqueriespropertiesquerydefinitions.go
- model_activityentityquery.go
- model_activityentityquerytemplate.go
- model_activityentityquerytemplateproperties.go
- model_activityentityquerytemplatepropertiesquerydefinitions.go
- model_customentityquery.go
- model_datatypedefinitions.go
- model_entityquery.go
- model_entityquerytemplate.go
- model_expansionentityqueriesproperties.go
- model_expansionentityquery.go
- predicates.go
- version.go