Documentation ¶
Index ¶
- func PossibleValuesForCustomEntityQueryKind() []string
- func PossibleValuesForEntityQueryKind() []string
- func PossibleValuesForEntityQueryTemplateKind() []string
- func PossibleValuesForEntityType() []string
- func PossibleValuesForKind() []string
- func ValidateEntityQueriesID(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 EntityQueriesId, input CustomEntityQuery) (result CreateOrUpdateOperationResponse, err error)
- func (c EntityQueriesClient) Delete(ctx context.Context, id EntityQueriesId) (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 EntityQueriesId) (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 EntityQueriesId
- type EntityQuery
- 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 ValidateEntityQueriesID ¶
ValidateEntityQueriesID checks that 'input' can be parsed as a Entity Queries 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 EntityQueriesId, input CustomEntityQuery) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EntityQueriesClient) Delete ¶
func (c EntityQueriesClient) Delete(ctx context.Context, id EntityQueriesId) (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 EntityQueriesId) (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 EntityQueriesId ¶
type EntityQueriesId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EntityQueryId string }
EntityQueriesId is a struct representing the Resource ID for a Entity Queries
func NewEntityQueriesID ¶
func NewEntityQueriesID(subscriptionId string, resourceGroupName string, workspaceName string, entityQueryId string) EntityQueriesId
NewEntityQueriesID returns a new EntityQueriesId struct
func ParseEntityQueriesID ¶
func ParseEntityQueriesID(input string) (*EntityQueriesId, error)
ParseEntityQueriesID parses 'input' into a EntityQueriesId
func ParseEntityQueriesIDInsensitively ¶
func ParseEntityQueriesIDInsensitively(input string) (*EntityQueriesId, error)
ParseEntityQueriesIDInsensitively parses 'input' case-insensitively into a EntityQueriesId note: this method should only be used for API response data and not user input
func (EntityQueriesId) ID ¶
func (id EntityQueriesId) ID() string
ID returns the formatted Entity Queries ID
func (EntityQueriesId) Segments ¶
func (id EntityQueriesId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Entity Queries ID
func (EntityQueriesId) String ¶
func (id EntityQueriesId) String() string
String returns a human-readable description of this Entity Queries ID
type EntityQuery ¶
type EntityQuery interface { }
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_entityqueries.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