Documentation
¶
Index ¶
- Constants
- Variables
- func ActionNotFound(name string) errordeprecated
- func AggregateAlertNotFound(name string) errordeprecated
- func AlertNotFound(name string) errordeprecated
- func CloneHeader(in http.Header) http.Header
- func CloneRequest(req *http.Request) *http.Request
- func FilterAlertNotFound(name string) errordeprecated
- func IngestTokenNotFound(name string) errordeprecated
- func NewHttpTransport(config Config) *http.Transportdeprecated
- func ParserNotFound(name string) errordeprecated
- func RepositoryNotFound(name string) errordeprecated
- func ScheduledSearchNotFound(name string) errordeprecated
- func SearchDomainNotFound(name string) errordeprecated
- func ViewNotFound(name string) errordeprecated
- type Actiondeprecated
- type Actionsdeprecated
- func (n *Actions) Add(viewName string, newAction *Action) (*Action, error)deprecated
- func (n *Actions) Delete(viewName, actionName string) errordeprecated
- func (n *Actions) Get(viewName, actionName string) (*Action, error)deprecated
- func (n *Actions) GetByID(viewName, actionID string) (*Action, error)deprecated
- func (n *Actions) List(viewName string) ([]Action, error)deprecated
- func (n *Actions) Update(viewName string, newAction *Action) (*Action, error)deprecated
- type AggregateAlertdeprecated
- type AggregateAlertsdeprecated
- func (a *AggregateAlerts) Create(viewName string, newAggregateAlert *AggregateAlert) (*AggregateAlert, error)deprecated
- func (a *AggregateAlerts) Delete(viewName, aggregateAlertID string) errordeprecated
- func (a *AggregateAlerts) Get(viewName string, aggregateAlertID string) (*AggregateAlert, error)deprecated
- func (a *AggregateAlerts) List(viewName string) ([]*AggregateAlert, error)deprecated
- func (a *AggregateAlerts) Update(viewName string, updatedAggregateAlert *AggregateAlert) (*AggregateAlert, error)deprecated
- type Alertdeprecated
- type Alertsdeprecated
- func (a *Alerts) Add(viewName string, newAlert *Alert) (*Alert, error)deprecated
- func (a *Alerts) Delete(viewName, alertName string) errordeprecated
- func (a *Alerts) Get(viewName, alertName string) (*Alert, error)deprecated
- func (a *Alerts) List(viewName string) ([]Alert, error)deprecated
- func (a *Alerts) Update(viewName string, newAlert *Alert) (*Alert, error)deprecated
- type Clientdeprecated
- func (c *Client) Actions() *Actionsdeprecated
- func (c *Client) Address() *url.URLdeprecated
- func (c *Client) AggregateAlerts() *AggregateAlertsdeprecated
- func (c *Client) Alerts() *Alertsdeprecated
- func (c *Client) CACertificate() stringdeprecated
- func (c *Client) ClusterNodes() *ClusterNodesdeprecated
- func (c *Client) Clusters() *Clustersdeprecated
- func (c *Client) Config() Configdeprecated
- func (c *Client) FeatureFlags() *FeatureFlagsdeprecated
- func (c *Client) Files() *Filesdeprecated
- func (c *Client) FilterAlerts() *FilterAlertsdeprecated
- func (c *Client) Groups() *Groupsdeprecated
- func (c *Client) HTTPRequest(httpMethod string, path string, body io.Reader) (*http.Response, error)deprecated
- func (c *Client) HTTPRequestContext(ctx context.Context, httpMethod string, path string, body io.Reader, ...) (*http.Response, error)deprecated
- func (c *Client) Health() (Health, error)deprecated
- func (c *Client) HealthString() (string, error)deprecated
- func (c *Client) IngestTokens() *IngestTokensdeprecated
- func (c *Client) Insecure() booldeprecated
- func (c *Client) Licenses() *Licensesdeprecated
- func (c *Client) Mutate(mutation interface{}, variables map[string]interface{}) errordeprecated
- func (c *Client) Organizations() *Organizationsdeprecated
- func (c *Client) Packages() *Packages
- func (c *Client) Parsers() *Parsersdeprecated
- func (c *Client) Query(query interface{}, variables map[string]interface{}) errordeprecated
- func (c *Client) QueryJobs() *QueryJobsdeprecated
- func (c *Client) Repositories() *Repositoriesdeprecated
- func (c *Client) Roles() *Rolesdeprecated
- func (c *Client) ScheduledSearches() *ScheduledSearchesdeprecated
- func (s *Client) SearchDomains() *SearchDomainsdeprecated
- func (c *Client) Status() (*StatusResponse, error)deprecated
- func (c *Client) Token() stringdeprecated
- func (c *Client) Users() *Usersdeprecated
- func (c *Client) Viewer() *Viewerdeprecated
- func (c *Client) Views() *Viewsdeprecated
- type Clusterdeprecated
- type ClusterNodedeprecated
- type ClusterNodesdeprecated
- type Clustersdeprecated
- type Configdeprecated
- func DefaultConfig() Configdeprecated
- type DefaultGroupEnumdeprecated
- type EmailActiondeprecated
- type EntityNotFounddeprecated
- func (e EntityNotFound) EntityType() EntityTypedeprecated
- func (e EntityNotFound) Error() stringdeprecated
- func (e EntityNotFound) Key() stringdeprecated
- type EntityTypedeprecated
- func (e EntityType) String() stringdeprecated
- type FeatureFlagdeprecated
- type FeatureFlagsdeprecated
- func (f *FeatureFlags) DisableForOrganization(organizationID string, flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) DisableForUser(userID string, flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) DisableGlobally(flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) EnableForOrganization(organizationID string, flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) EnableForUser(userID string, flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) EnableGlobally(flag FeatureFlag) errordeprecated
- func (f *FeatureFlags) SupportedFlags() ([]FeatureFlag, error)deprecated
- type Filedeprecated
- type Filesdeprecated
- func (f *Files) Delete(viewName string, fileName string) errordeprecated
- func (f *Files) Download(viewName string, fileName string) (io.Reader, error)deprecated
- func (f *Files) List(viewName string) ([]File, error)deprecated
- func (f *Files) Upload(viewName string, fileName string, reader io.Reader) errordeprecated
- type FilterAlertdeprecated
- type FilterAlertsdeprecated
- func (fa *FilterAlerts) Create(viewName string, newFilterAlert *FilterAlert) (*FilterAlert, error)deprecated
- func (fa *FilterAlerts) Delete(viewName, filterAlertID string) errordeprecated
- func (fa *FilterAlerts) Get(viewName string, filterAlertID string) (*FilterAlert, error)deprecated
- func (fa *FilterAlerts) List(viewName string) ([]FilterAlert, error)deprecated
- func (fa *FilterAlerts) Update(viewName string, updatedFilterAlert *FilterAlert) (*FilterAlert, error)deprecated
- type Groupdeprecated
- type Groupsdeprecated
- type Healthdeprecated
- func (h *Health) ChecksMap() map[string]HealthCheckdeprecated
- func (h *Health) Json() []bytedeprecated
- type HealthCheckdeprecated
- type HttpHeaderEntryInputdeprecated
- type HumioRepoActiondeprecated
- type IngestPartitiondeprecated
- type IngestTokendeprecated
- type IngestTokensdeprecated
- func (i *IngestTokens) Add(repositoryName string, tokenName string, parser string) (*IngestToken, error)deprecated
- func (i *IngestTokens) Get(repoName, tokenName string) (*IngestToken, error)deprecated
- func (i *IngestTokens) List(repo string) ([]IngestToken, error)deprecated
- func (i *IngestTokens) Remove(repositoryName string, tokenName string) errordeprecated
- func (i *IngestTokens) Update(repositoryName string, tokenName string, parser string) (*IngestToken, error)deprecated
- type InstallationErrorsdeprecated
- type InstalledPackage
- type Licensedeprecated
- type Licensesdeprecated
- type OnPremLicensedeprecated
- func (l OnPremLicense) ExpiresAt() stringdeprecated
- func (l OnPremLicense) IssuedAt() stringdeprecated
- type OpsGenieActiondeprecated
- type Organizationdeprecated
- type Organizationsdeprecated
- type Packages
- func (p *Packages) CreateArchive(packageDirPath string, targetFileName string) error
- func (p *Packages) InstallArchive(viewName string, pathToZip string, queryOwnership string) (*ValidationResponse, error)
- func (p *Packages) InstallFromDirectory(packageDirPath string, targetRepoOrView string, queryOwnership string) (*ValidationResponse, error)
- func (p *Packages) ListInstalled(viewName string) ([]InstalledPackage, error)
- func (p *Packages) UninstallPackage(viewName string, packageID string) error
- func (p *Packages) Validate(viewName string, absPath string) (*ValidationResponse, error)
- type PagerDutyActiondeprecated
- type Parserdeprecated
- type ParserListItemdeprecated
- type ParserTestCasedeprecated
- type ParserTestCaseAssertionsdeprecated
- type ParserTestEventdeprecated
- type Parsersdeprecated
- func (p *Parsers) Add(repositoryName string, newParser *Parser, allowOverwritingExistingParser bool) (*Parser, error)deprecated
- func (p *Parsers) Delete(repositoryName string, parserName string) errordeprecated
- func (p *Parsers) Export(repositoryName string, parserName string) (string, error)deprecated
- func (p *Parsers) Get(repositoryName string, parserName string) (*Parser, error)deprecated
- func (p *Parsers) List(repositoryName string) ([]ParserListItem, error)deprecated
- type Querydeprecated
- type QueryErrordeprecated
- func (e QueryError) Error() stringdeprecated
- type QueryJobsdeprecated
- func (q QueryJobs) Create(repository string, query Query) (string, error)deprecated
- func (q *QueryJobs) Delete(repository string, id string) errordeprecated
- func (q *QueryJobs) Poll(repository string, id string) (QueryResult, error)deprecated
- func (q *QueryJobs) PollContext(ctx context.Context, repository string, id string) (QueryResult, error)deprecated
- type QueryResultdeprecated
- type QueryResultMetadatadeprecated
- type RepoListItemdeprecated
- type Repositoriesdeprecated
- func (r *Repositories) Create(name string) errordeprecated
- func (r *Repositories) Delete(name, reason string, allowDataDeletion bool) errordeprecated
- func (r *Repositories) DisableS3Archiving(name string) errordeprecated
- func (r *Repositories) EnableS3Archiving(name string) errordeprecated
- func (r *Repositories) Get(name string) (Repository, error)deprecated
- func (r *Repositories) List() ([]RepoListItem, error)deprecated
- func (r *Repositories) UpdateAutomaticSearch(name string, automaticSearch bool) errordeprecated
- func (r *Repositories) UpdateDescription(name, description string) errordeprecated
- func (r *Repositories) UpdateIngestBasedRetention(name string, ingestInGB float64, allowDataDeletion bool) errordeprecated
- func (r *Repositories) UpdateS3ArchivingConfiguration(name string, bucket string, region string, format string) errordeprecated
- func (r *Repositories) UpdateStorageBasedRetention(name string, storageInGB float64, allowDataDeletion bool) errordeprecated
- func (r *Repositories) UpdateTimeBasedRetention(name string, retentionInDays float64, allowDataDeletion bool) errordeprecated
- func (r *Repositories) UpdateUserGroup(name, username string, groups ...DefaultGroupEnum) errordeprecated
- type Repositorydeprecated
- type Roledeprecated
- type Rolesdeprecated
- func (r *Roles) Create(role *Role) errordeprecated
- func (r *Roles) Get(rolename string) (*Role, error)deprecated
- func (r *Roles) GetRoleID(rolename string) (string, error)deprecated
- func (r *Roles) List() ([]Role, error)deprecated
- func (r *Roles) RemoveRole(rolename string) errordeprecated
- func (r *Roles) Update(rolename string, newRole *Role) errordeprecated
- type ScheduledSearchdeprecated
- type ScheduledSearchesdeprecated
- func (a *ScheduledSearches) Create(viewName string, newScheduledSearch *ScheduledSearch) (*ScheduledSearch, error)deprecated
- func (a *ScheduledSearches) Delete(viewName, scheduledSearchID string) errordeprecated
- func (a *ScheduledSearches) Get(viewName string, scheduledSearchId string) (*ScheduledSearch, error)deprecated
- func (a *ScheduledSearches) List(viewName string) ([]ScheduledSearch, error)deprecated
- func (a *ScheduledSearches) Update(viewName string, updateScheduledSearch *ScheduledSearch) (*ScheduledSearch, error)deprecated
- type SearchDomaindeprecated
- type SearchDomainListItemdeprecated
- type SearchDomainsdeprecated
- type SearchDomainsQueryDatadeprecated
- type SlackActiondeprecated
- type SlackFieldEntryInputdeprecated
- type SlackPostMessageActiondeprecated
- type StatusResponsedeprecated
- type StatusValuedeprecated
- type UnversionedPackageSpecifier
- type Userdeprecated
- type UserChangeSetdeprecated
- type Usersdeprecated
- func (u *Users) Add(username string, changeset UserChangeSet) (User, error)deprecated
- func (u *Users) Get(username string) (User, error)deprecated
- func (u *Users) List() ([]User, error)deprecated
- func (u *Users) Remove(username string) (User, error)deprecated
- func (u *Users) RotateToken(userID string) (string, error)deprecated
- func (u *Users) Update(username string, changeset UserChangeSet) (User, error)deprecated
- type ValidationResponse
- type VersionedPackageSpecifier
- type VictorOpsActiondeprecated
- type Viewdeprecated
- type ViewConnectiondeprecated
- type ViewConnectionInputdeprecated
- type ViewListItemdeprecated
- type ViewQueryDatadeprecated
- type Viewerdeprecated
- type Viewsdeprecated
- func (c *Views) Create(name, description string, connections []ViewConnectionInput) errordeprecated
- func (c *Views) Delete(name, reason string) errordeprecated
- func (c *Views) Get(name string) (*View, error)deprecated
- func (c *Views) List() ([]ViewListItem, error)deprecated
- func (c *Views) UpdateAutomaticSearch(name string, automaticSearch bool) errordeprecated
- func (c *Views) UpdateConnections(name string, connections []ViewConnectionInput) errordeprecated
- func (c *Views) UpdateDescription(name string, description string) errordeprecated
- type WebhookActiondeprecated
Constants ¶
const ( // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeEmail string = "EmailAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeHumioRepo string = "HumioRepoAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeOpsGenie string = "OpsGenieAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypePagerDuty string = "PagerDutyAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeSlack string = "SlackAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeSlackPostMessage string = "SlackPostMessageAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeVictorOps string = "VictorOpsAction" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example ActionTypeWebhook string = "WebhookAction" )
const ( // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example QueryOwnershipTypeUser string = "User" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example QueryOwnershipTypeOrganization string = "Organization" )
const JSONContentType string = "application/json"
JSONContentType is "application/json" Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
const LogScaleVersionWithParserAPIv2 = "1.129.0"
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
const ZIPContentType string = "application/zip"
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
Variables ¶
var ErrUserNotFound = errors.New("user not found")
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
Functions ¶
func ActionNotFound
deprecated
added in
v0.29.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func AggregateAlertNotFound
deprecated
added in
v0.36.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func AlertNotFound
deprecated
added in
v0.29.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func CloneHeader ¶ added in v0.26.0
CloneHeader creates a deep copy of an http.Header. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func CloneRequest ¶ added in v0.26.0
CloneRequest creates a shallow copy of the request along with a deep copy of the Headers. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func FilterAlertNotFound
deprecated
added in
v0.34.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func IngestTokenNotFound
deprecated
added in
v0.37.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func NewHttpTransport
deprecated
added in
v0.28.7
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func ParserNotFound
deprecated
added in
v0.29.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func RepositoryNotFound
deprecated
added in
v0.37.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func ScheduledSearchNotFound
deprecated
added in
v0.35.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func SearchDomainNotFound
deprecated
added in
v0.37.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func ViewNotFound
deprecated
added in
v0.37.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
Types ¶
type Action
deprecated
added in
v0.29.0
type Action struct { Type string `graphql:"__typename" yaml:"type" json:"type"` ID string `graphql:"id" yaml:"-" json:"id"` Name string `graphql:"name" yaml:"name" json:"name"` EmailAction EmailAction `graphql:"... on EmailAction" yaml:"emailAction,omitempty" json:"emailAction,omitempty"` HumioRepoAction HumioRepoAction `graphql:"... on HumioRepoAction" yaml:"humioRepoAction,omitempty" json:"humioRepoAction,omitempty"` OpsGenieAction OpsGenieAction `graphql:"... on OpsGenieAction" yaml:"opsGenieAction,omitempty" json:"opsGenieAction,omitempty"` PagerDutyAction PagerDutyAction `graphql:"... on PagerDutyAction" yaml:"pagerDutyAction,omitempty" json:"pagerDutyAction,omitempty"` SlackAction SlackAction `graphql:"... on SlackAction" yaml:"slackAction,omitempty" json:"slackAction,omitempty"` SlackPostMessageAction SlackPostMessageAction `graphql:"... on SlackPostMessageAction" yaml:"slackPostMessageAction,omitempty" json:"slackPostMessageAction,omitempty"` VictorOpsAction VictorOpsAction `graphql:"... on VictorOpsAction" yaml:"victorOpsAction,omitempty" json:"victorOpsAction,omitempty"` WebhookAction WebhookAction `graphql:"... on WebhookAction" yaml:"webhookAction,omitempty" json:"webhookAction,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Actions
deprecated
added in
v0.29.0
type Actions struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Actions) Delete
deprecated
added in
v0.29.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type AggregateAlert
deprecated
added in
v0.36.0
type AggregateAlert struct { ID string `graphql:"id" yaml:"-" json:"id"` Name string `graphql:"name" yaml:"name" json:"name"` Description string `graphql:"description" yaml:"description,omitempty" json:"description,omitempty"` QueryString string `graphql:"queryString" yaml:"queryString" json:"queryString"` SearchIntervalSeconds int `graphql:"searchIntervalSeconds" yaml:"searchIntervalSeconds" json:"searchIntervalSeconds"` ActionNames []string `graphql:"actionNames" yaml:"actionNames" json:"actionNames"` Labels []string `graphql:"labels" yaml:"labels" json:"labels"` Enabled bool `graphql:"enabled" yaml:"enabled" json:"enabled"` ThrottleField string `graphql:"throttleField" yaml:"throttleField,omitempty" json:"throttleField,omitempty"` ThrottleTimeSeconds int `graphql:"throttleTimeSeconds" yaml:"throttleTimeSeconds" json:"throttleTimeSeconds"` QueryOwnershipType string `graphql:"queryOwnership" yaml:"queryOwnershipType" json:"queryOwnershipType"` TriggerMode string `graphql:"triggerMode" yaml:"triggerMode" json:"triggerMode"` QueryTimestampType string `graphql:"queryTimestampType" yaml:"queryTimestampType" json:"queryTimestampType"` RunAsUserID string `graphql:"runAsUserId" yaml:"runAsUserId,omitempty" json:"runAsUserId,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type AggregateAlerts
deprecated
added in
v0.36.0
type AggregateAlerts struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*AggregateAlerts) Create
deprecated
added in
v0.36.0
func (a *AggregateAlerts) Create(viewName string, newAggregateAlert *AggregateAlert) (*AggregateAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*AggregateAlerts) Delete
deprecated
added in
v0.36.0
func (a *AggregateAlerts) Delete(viewName, aggregateAlertID string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*AggregateAlerts) Get
deprecated
added in
v0.36.0
func (a *AggregateAlerts) Get(viewName string, aggregateAlertID string) (*AggregateAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*AggregateAlerts) List
deprecated
added in
v0.36.0
func (a *AggregateAlerts) List(viewName string) ([]*AggregateAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*AggregateAlerts) Update
deprecated
added in
v0.36.0
func (a *AggregateAlerts) Update(viewName string, updatedAggregateAlert *AggregateAlert) (*AggregateAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Alert
deprecated
added in
v0.25.0
type Alert struct { ID string `graphql:"id" yaml:"-" json:"id"` Name string `graphql:"name" yaml:"name" json:"name"` QueryString string `graphql:"queryString" yaml:"queryString" json:"queryString"` QueryStart string `graphql:"queryStart" yaml:"queryStart" json:"queryStart"` ThrottleField string `graphql:"throttleField" yaml:"throttleField" json:"throttleField"` TimeOfLastTrigger int `graphql:"timeOfLastTrigger" yaml:"timeOfLastTrigger" json:"timeOfLastTrigger"` IsStarred bool `graphql:"isStarred" yaml:"isStarred" json:"isStarred"` Description string `graphql:"description" yaml:"description,omitempty" json:"description"` ThrottleTimeMillis int `graphql:"throttleTimeMillis" yaml:"throttleTimeMillis" json:"throttleTimeMillis"` Enabled bool `graphql:"enabled" yaml:"enabled" json:"enabled"` Actions []string `graphql:"actions" yaml:"actions" json:"actions"` Labels []string `graphql:"labels" yaml:"labels,omitempty" json:"labels,omitempty"` LastError string `graphql:"lastError" yaml:"lastError" json:"lastError"` RunAsUserID string `graphql:"runAsUserId" yaml:"runAsUserId,omitempty" json:"runAsUserId,omitempty"` QueryOwnershipType string `graphql:"queryOwnershipType" yaml:"queryOwnershipType,omitempty" json:"queryOwnershipType,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Alerts
deprecated
added in
v0.25.0
type Alerts struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Alerts) Delete
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Client
deprecated
type Client struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func NewClient
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func NewClientWithTransport
deprecated
added in
v0.28.7
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Actions
deprecated
added in
v0.29.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Address
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) AggregateAlerts
deprecated
added in
v0.36.0
func (c *Client) AggregateAlerts() *AggregateAlerts
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Alerts
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) CACertificate
deprecated
added in
v0.26.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) ClusterNodes
deprecated
added in
v0.25.0
func (c *Client) ClusterNodes() *ClusterNodes
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Clusters
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Config
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) FeatureFlags
deprecated
added in
v0.29.0
func (c *Client) FeatureFlags() *FeatureFlags
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Files
deprecated
added in
v0.28.2
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) FilterAlerts
deprecated
added in
v0.34.0
func (c *Client) FilterAlerts() *FilterAlerts
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Groups
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) HTTPRequest
deprecated
added in
v0.25.0
func (*Client) HTTPRequestContext
deprecated
added in
v0.25.0
func (*Client) Health
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) HealthString
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) IngestTokens
deprecated
func (c *Client) IngestTokens() *IngestTokens
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Insecure
deprecated
added in
v0.26.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Licenses
deprecated
added in
v0.12.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Mutate
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Organizations
deprecated
added in
v0.28.1
func (c *Client) Organizations() *Organizations
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Packages ¶ added in v0.27.0
Packages constructs a Packages API client. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Parsers
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Query
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) QueryJobs
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Repositories
deprecated
added in
v0.13.0
func (c *Client) Repositories() *Repositories
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Roles
deprecated
added in
v0.31.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) ScheduledSearches
deprecated
added in
v0.35.0
func (c *Client) ScheduledSearches() *ScheduledSearches
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) SearchDomains
deprecated
added in
v0.37.0
func (s *Client) SearchDomains() *SearchDomains
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Status
deprecated
added in
v0.4.0
func (c *Client) Status() (*StatusResponse, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Token
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Users
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Viewer
deprecated
added in
v0.4.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Client) Views
deprecated
added in
v0.5.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Cluster
deprecated
added in
v0.25.0
type Cluster struct { Nodes []ClusterNode ClusterInfoAgeSeconds float64 UnderReplicatedSegmentSize float64 OverReplicatedSegmentSize float64 MissingSegmentSize float64 ProperlyReplicatedSegmentSize float64 TargetUnderReplicatedSegmentSize float64 TargetOverReplicatedSegmentSize float64 TargetMissingSegmentSize float64 TargetProperlyReplicatedSegmentSize float64 IngestPartitions []IngestPartition }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ClusterNode
deprecated
added in
v0.25.0
type ClusterNode struct { Id int Name string Uri string Uuid string ClusterInfoAgeSeconds float64 InboundSegmentSize float64 OutboundSegmentSize float64 CanBeSafelyUnregistered bool CurrentSize float64 PrimarySize float64 SecondarySize float64 TotalSizeOfPrimary float64 TotalSizeOfSecondary float64 FreeOnPrimary float64 FreeOnSecondary float64 WipSize float64 TargetSize float64 SolitarySegmentSize float64 IsAvailable bool LastHeartbeat string // Zone holds the availability zone as configured in the `ZONE` configuration of the Humio server. Zone string }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ClusterNodes
deprecated
added in
v0.25.0
type ClusterNodes struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ClusterNodes) Get
deprecated
added in
v0.25.0
func (n *ClusterNodes) Get(nodeID int) (ClusterNode, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ClusterNodes) List
deprecated
added in
v0.25.0
func (n *ClusterNodes) List() ([]ClusterNode, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ClusterNodes) Unregister
deprecated
added in
v0.25.0
func (n *ClusterNodes) Unregister(nodeID int, force bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Clusters
deprecated
added in
v0.25.0
type Clusters struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Clusters) Get
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Config
deprecated
type Config struct { Address *url.URL UserAgent string Token string CACertificatePEM string Insecure bool ProxyOrganization string DialContext func(ctx context.Context, network, addr string) (net.Conn, error) }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func DefaultConfig
deprecated
func DefaultConfig() Config
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type DefaultGroupEnum
deprecated
added in
v0.27.0
type DefaultGroupEnum string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
const ( // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example DefaultGroupEnumMember DefaultGroupEnum = "Member" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example DefaultGroupEnumAdmin DefaultGroupEnum = "Admin" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example DefaultGroupEnumEliminator DefaultGroupEnum = "Eliminator" )
func (*DefaultGroupEnum) ParseString
deprecated
added in
v0.27.0
func (e *DefaultGroupEnum) ParseString(s string) bool
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (DefaultGroupEnum) String
deprecated
added in
v0.27.0
func (e DefaultGroupEnum) String() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type EmailAction
deprecated
added in
v0.29.0
type EmailAction struct { Recipients []string `graphql:"emailRecipients: recipients" yaml:"recipients,omitempty" json:"recipients,omitempty"` SubjectTemplate string `graphql:"emailSubjectTemplate: subjectTemplate" yaml:"subjectTemplate,omitempty" json:"subjectTemplate,omitempty"` BodyTemplate string `graphql:"emailBodyTemplate: bodyTemplate" yaml:"bodyTemplate,omitempty" json:"bodyTemplate,omitempty"` UseProxy bool `graphql:"emailUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type EntityNotFound
deprecated
added in
v0.29.0
type EntityNotFound struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (EntityNotFound) EntityType
deprecated
added in
v0.29.0
func (e EntityNotFound) EntityType() EntityType
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (EntityNotFound) Error
deprecated
added in
v0.29.0
func (e EntityNotFound) Error() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (EntityNotFound) Key
deprecated
added in
v0.29.0
func (e EntityNotFound) Key() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type EntityType
deprecated
added in
v0.29.0
type EntityType string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
const ( // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeSearchDomain EntityType = "search-domain" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeRepository EntityType = "repository" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeView EntityType = "view" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeIngestToken EntityType = "ingest-token" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeParser EntityType = "parser" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeAction EntityType = "action" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeAlert EntityType = "alert" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeFilterAlert EntityType = "filter-alert" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeScheduledSearch EntityType = "scheduled-search" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example EntityTypeAggregateAlert EntityType = "aggregate-alert" )
func (EntityType) String
deprecated
added in
v0.29.0
func (e EntityType) String() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type FeatureFlag
deprecated
added in
v0.29.0
type FeatureFlag string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type FeatureFlags
deprecated
added in
v0.29.0
type FeatureFlags struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) DisableForOrganization
deprecated
added in
v0.29.0
func (f *FeatureFlags) DisableForOrganization(organizationID string, flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) DisableForUser
deprecated
added in
v0.29.0
func (f *FeatureFlags) DisableForUser(userID string, flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) DisableGlobally
deprecated
added in
v0.29.0
func (f *FeatureFlags) DisableGlobally(flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) EnableForOrganization
deprecated
added in
v0.29.0
func (f *FeatureFlags) EnableForOrganization(organizationID string, flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) EnableForUser
deprecated
added in
v0.29.0
func (f *FeatureFlags) EnableForUser(userID string, flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) EnableGlobally
deprecated
added in
v0.29.0
func (f *FeatureFlags) EnableGlobally(flag FeatureFlag) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FeatureFlags) SupportedFlags
deprecated
added in
v0.29.0
func (f *FeatureFlags) SupportedFlags() ([]FeatureFlag, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type File
deprecated
added in
v0.28.2
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Files
deprecated
added in
v0.28.2
type Files struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type FilterAlert
deprecated
added in
v0.34.0
type FilterAlert struct { ID string `graphql:"id" yaml:"-" json:"id"` Name string `graphql:"name" yaml:"name" json:"name"` Description string `graphql:"description" yaml:"description,omitempty" json:"description,omitempty"` QueryString string `graphql:"queryString" yaml:"queryString" json:"queryString"` ActionNames []string `graphql:"actionNames" yaml:"actionNames" json:"actionNames"` Labels []string `graphql:"labels" yaml:"labels" json:"labels"` Enabled bool `graphql:"enabled" yaml:"enabled" json:"enabled"` QueryOwnershipType string `graphql:"queryOwnership" yaml:"queryOwnershipType" json:"queryOwnershipType"` ThrottleTimeSeconds int `graphql:"throttleTimeSeconds" yaml:"throttleTimeSeconds,omitempty" json:"throttleTimeSeconds,omitempty"` ThrottleField string `graphql:"throttleField" yaml:"throttleField,omitempty" json:"throttleField,omitempty"` RunAsUserID string `graphql:"runAsUserId" yaml:"runAsUserId,omitempty" json:"runAsUserId,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type FilterAlerts
deprecated
added in
v0.34.0
type FilterAlerts struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FilterAlerts) Create
deprecated
added in
v0.34.0
func (fa *FilterAlerts) Create(viewName string, newFilterAlert *FilterAlert) (*FilterAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FilterAlerts) Delete
deprecated
added in
v0.34.0
func (fa *FilterAlerts) Delete(viewName, filterAlertID string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FilterAlerts) Get
deprecated
added in
v0.34.0
func (fa *FilterAlerts) Get(viewName string, filterAlertID string) (*FilterAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FilterAlerts) List
deprecated
added in
v0.34.0
func (fa *FilterAlerts) List(viewName string) ([]FilterAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*FilterAlerts) Update
deprecated
added in
v0.34.0
func (fa *FilterAlerts) Update(viewName string, updatedFilterAlert *FilterAlert) (*FilterAlert, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Group
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Groups
deprecated
added in
v0.28.1
type Groups struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Groups) AddUserToGroup
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Groups) List
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Groups) RemoveUserFromGroup
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Health
deprecated
added in
v0.25.0
type Health struct { Status StatusValue `json:"status"` StatusMessage string `json:"statusMessage"` Uptime string `json:"uptime"` Version string `json:"version"` OK []HealthCheck `json:"oks"` Warn []HealthCheck `json:"warnings"` Down []HealthCheck `json:"down"` // contains filtered or unexported fields }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Health) ChecksMap
deprecated
added in
v0.25.0
func (h *Health) ChecksMap() map[string]HealthCheck
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Health) Json
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type HealthCheck
deprecated
added in
v0.25.0
type HealthCheck struct { Name string `json:"name"` Status StatusValue `json:"status"` StatusMessage string `json:"statusMessage"` Fields map[string]interface{} `json:"fields"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type HttpHeaderEntryInput
deprecated
added in
v0.29.0
type HttpHeaderEntryInput struct { Header string `graphql:"header" yaml:"header" json:"header"` Value string `graphql:"value" yaml:"value" json:"value"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type HumioRepoAction
deprecated
added in
v0.29.0
type HumioRepoAction struct {
IngestToken string `graphql:"humioRepoIngestToken: ingestToken" yaml:"ingestToken,omitempty" json:"ingestToken,omitempty"`
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type IngestPartition
deprecated
added in
v0.25.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type IngestToken
deprecated
type IngestToken struct { Name string `json:"name"` Token string `json:"token"` AssignedParser string `json:"parser"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type IngestTokens
deprecated
type IngestTokens struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*IngestTokens) Add
deprecated
func (i *IngestTokens) Add(repositoryName string, tokenName string, parser string) (*IngestToken, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*IngestTokens) Get
deprecated
added in
v0.25.0
func (i *IngestTokens) Get(repoName, tokenName string) (*IngestToken, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*IngestTokens) List
deprecated
func (i *IngestTokens) List(repo string) ([]IngestToken, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*IngestTokens) Remove
deprecated
func (i *IngestTokens) Remove(repositoryName string, tokenName string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*IngestTokens) Update
deprecated
added in
v0.25.0
func (i *IngestTokens) Update(repositoryName string, tokenName string, parser string) (*IngestToken, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type InstallationErrors
deprecated
added in
v0.28.10
type InstallationErrors struct { InstallationErrors []string `json:"installationErrors"` ParseErrors []string `json:"parseErrors"` ResponseType string `json:"responseType"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type InstalledPackage ¶ added in v0.28.0
type InstalledPackage struct { ID string InstalledBy *struct { Username string Timestamp string } UpdatedBy *struct { Username string Timestamp string } Source string AvailableUpdate string }
InstalledPackage contain the details of an installed package Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type License
deprecated
added in
v0.9.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Licenses
deprecated
added in
v0.12.0
type Licenses struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Licenses) Get
deprecated
added in
v0.12.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Licenses) Install
deprecated
added in
v0.12.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type OnPremLicense
deprecated
added in
v0.12.0
type OnPremLicense struct { ID string ExpiresAtVal string IssuedAtVal string IssuedTo string NumberOfSeats int }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (OnPremLicense) ExpiresAt
deprecated
added in
v0.12.0
func (l OnPremLicense) ExpiresAt() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (OnPremLicense) IssuedAt
deprecated
added in
v0.12.0
func (l OnPremLicense) IssuedAt() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type OpsGenieAction
deprecated
added in
v0.29.0
type OpsGenieAction struct { ApiUrl string `graphql:"opsGenieApiUrl: apiUrl" yaml:"apiUrl,omitempty" json:"apiUrl,omitempty"` GenieKey string `graphql:"opsGenieGenieKey: genieKey" yaml:"genieKey,omitempty" json:"genieKey,omitempty"` UseProxy bool `graphql:"opsGenieUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Organization
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Organizations
deprecated
added in
v0.28.1
type Organizations struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Organizations) CreateOrganization
deprecated
added in
v0.28.1
func (o *Organizations) CreateOrganization(name string) (Organization, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Packages ¶ added in v0.27.0
type Packages struct {
// contains filtered or unexported fields
}
Packages is a API client for working with Humio packages. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) CreateArchive ¶ added in v0.27.0
CreateArchive creates a archive by bundling the files in packageDirPath in a zip file. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) InstallArchive ¶ added in v0.27.0
func (p *Packages) InstallArchive(viewName string, pathToZip string, queryOwnership string) (*ValidationResponse, error)
InstallArchive installs a local package (zip file). Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) InstallFromDirectory ¶ added in v0.27.0
func (p *Packages) InstallFromDirectory(packageDirPath string, targetRepoOrView string, queryOwnership string) (*ValidationResponse, error)
InstallFromDirectory installs a package from a directory containing the package files. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) ListInstalled ¶ added in v0.28.0
func (p *Packages) ListInstalled(viewName string) ([]InstalledPackage, error)
ListInstalled returns a list of installed packages Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) UninstallPackage ¶ added in v0.27.0
UninstallPackage uninstalls a package by name. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Packages) Validate ¶ added in v0.27.0
func (p *Packages) Validate(viewName string, absPath string) (*ValidationResponse, error)
Validate checks a package declaration validity against a Humio server. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type PagerDutyAction
deprecated
added in
v0.29.0
type PagerDutyAction struct { Severity string `graphql:"pagerDutySeverity: severity" yaml:"severity,omitempty" json:"severity,omitempty"` RoutingKey string `graphql:"pagerDutyRoutingKey: routingKey" yaml:"routingKey,omitempty" json:"routingKey,omitempty"` UseProxy bool `graphql:"pagerDutyUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Parser
deprecated
type Parser struct { ID string Name string Script string `json:"script" yaml:",flow"` TestCases []ParserTestCase `json:"testCases" yaml:"testCases"` FieldsToTag []string `json:"tagFields" yaml:"tagFields"` FieldsToBeRemovedBeforeParsing []string `json:"fieldsToBeRemovedBeforeParsing,omitempty" yaml:"fieldsToBeRemovedBeforeParsing"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ParserListItem
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ParserTestCase
deprecated
type ParserTestCase struct { Event ParserTestEvent `json:"event" yaml:"event"` Assertions []ParserTestCaseAssertions `json:"assertions" yaml:"assertions"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ParserTestCaseAssertions
deprecated
added in
v0.35.0
type ParserTestCaseAssertions struct { OutputEventIndex int `json:"outputEventIndex" yaml:"outputEventIndex"` FieldsNotPresent []string `json:"fieldsNotPresent" yaml:"fieldsNotPresent"` FieldsHaveValues map[string]string `json:"fieldsHaveValues" yaml:"fieldsHaveValues"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ParserTestEvent
deprecated
added in
v0.35.0
type ParserTestEvent struct {
RawString string `json:"rawString" yaml:"rawString"`
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Parsers
deprecated
type Parsers struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Parsers) List
deprecated
func (p *Parsers) List(repositoryName string) ([]ParserListItem, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Query
deprecated
added in
v0.25.0
type Query struct { QueryString string `json:"queryString"` Start string `json:"start,omitempty"` End string `json:"end,omitempty"` Live bool `json:"isLive,omitempty"` TimezoneOffset *int `json:"timeZoneOffsetMinutes,omitempty"` Arguments map[string]string `json:"arguments,omitempty"` ShowQueryEventDistribution bool `json:"showQueryEventDistribution,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type QueryError
deprecated
added in
v0.25.0
type QueryError struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (QueryError) Error
deprecated
added in
v0.25.0
func (e QueryError) Error() string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type QueryJobs
deprecated
added in
v0.25.0
type QueryJobs struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*QueryJobs) Poll
deprecated
added in
v0.25.0
func (q *QueryJobs) Poll(repository string, id string) (QueryResult, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*QueryJobs) PollContext
deprecated
added in
v0.25.0
func (q *QueryJobs) PollContext(ctx context.Context, repository string, id string) (QueryResult, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type QueryResult
deprecated
added in
v0.25.0
type QueryResult struct { Cancelled bool `json:"cancelled"` Done bool `json:"done"` Events []map[string]interface{} `json:"events"` Metadata QueryResultMetadata `json:"metaData"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type QueryResultMetadata
deprecated
added in
v0.25.0
type QueryResultMetadata struct { EventCount uint64 `json:"eventCount"` ExtraData map[string]interface{} `json:"extraData"` FieldOrder []string `json:"fieldOrder"` IsAggregate bool `json:"isAggregate"` PollAfter int `json:"pollAfter"` ProcessedBytes uint64 `json:"processedBytes"` ProcessedEvents uint64 `json:"processedEvents"` QueryStart uint64 `json:"queryStart"` QueryEnd uint64 `json:"queryEnd"` ResultBufferSize uint64 `json:"resultBufferSize"` TimeMillis uint64 `json:"timeMillis"` TotalWork uint64 `json:"totalWork"` WorkDone uint64 `json:"workDone"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type RepoListItem
deprecated
added in
v0.13.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Repositories
deprecated
added in
v0.13.0
type Repositories struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) Create
deprecated
added in
v0.24.0
func (r *Repositories) Create(name string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) Delete
deprecated
added in
v0.26.0
func (r *Repositories) Delete(name, reason string, allowDataDeletion bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) DisableS3Archiving
deprecated
added in
v0.34.0
func (r *Repositories) DisableS3Archiving(name string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) EnableS3Archiving
deprecated
added in
v0.34.0
func (r *Repositories) EnableS3Archiving(name string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) Get
deprecated
added in
v0.13.0
func (r *Repositories) Get(name string) (Repository, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) List
deprecated
added in
v0.13.0
func (r *Repositories) List() ([]RepoListItem, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateAutomaticSearch
deprecated
added in
v0.35.0
func (r *Repositories) UpdateAutomaticSearch(name string, automaticSearch bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateDescription
deprecated
added in
v0.26.0
func (r *Repositories) UpdateDescription(name, description string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateIngestBasedRetention
deprecated
added in
v0.26.0
func (r *Repositories) UpdateIngestBasedRetention(name string, ingestInGB float64, allowDataDeletion bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateS3ArchivingConfiguration
deprecated
added in
v0.34.0
func (r *Repositories) UpdateS3ArchivingConfiguration(name string, bucket string, region string, format string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateStorageBasedRetention
deprecated
added in
v0.26.0
func (r *Repositories) UpdateStorageBasedRetention(name string, storageInGB float64, allowDataDeletion bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateTimeBasedRetention
deprecated
added in
v0.26.0
func (r *Repositories) UpdateTimeBasedRetention(name string, retentionInDays float64, allowDataDeletion bool) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Repositories) UpdateUserGroup
deprecated
added in
v0.27.0
func (r *Repositories) UpdateUserGroup(name, username string, groups ...DefaultGroupEnum) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Repository
deprecated
added in
v0.13.0
type Repository struct { ID string Name string Description string RetentionDays float64 `graphql:"timeBasedRetention"` IngestRetentionSizeGB float64 `graphql:"ingestSizeBasedRetention"` StorageRetentionSizeGB float64 `graphql:"storageSizeBasedRetention"` SpaceUsed int64 `graphql:"compressedByteSize"` S3ArchivingConfiguration humiographql.S3Configuration `graphql:"s3ArchivingConfiguration"` AutomaticSearch bool `graphql:"automaticSearch"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Role
deprecated
added in
v0.5.0
type Role struct { ID string `graphql:"id"` DisplayName string `graphql:"displayName"` Color string `graphql:"color"` Description string `graphql:"description"` ViewPermissions []string `graphql:"viewPermissions"` SystemPermissions []string `graphql:"systemPermissions"` OrgPermissions []string `graphql:"organizationPermissions"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Roles
deprecated
added in
v0.31.0
type Roles struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Roles) Create
deprecated
added in
v0.31.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Roles) List
deprecated
added in
v0.31.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Roles) RemoveRole
deprecated
added in
v0.31.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ScheduledSearch
deprecated
added in
v0.35.0
type ScheduledSearch struct { ID string `graphql:"id" yaml:"-" json:"id"` Name string `graphql:"name" yaml:"name" json:"name"` Description string `graphql:"description" yaml:"description,omitempty" json:"description,omitempty"` QueryString string `graphql:"queryString" yaml:"queryString" json:"queryString"` QueryStart string `graphql:"queryStart" yaml:"queryStart" json:"queryStart"` QueryEnd string `graphql:"queryEnd" yaml:"queryEnd" json:"queryEnd"` TimeZone string `graphql:"timeZone" yaml:"timeZone" json:"timeZone"` Schedule string `graphql:"schedule" yaml:"schedule" json:"schedule"` BackfillLimit int `graphql:"backfillLimit" yaml:"backfillLimit" json:"backfillLimit"` Enabled bool `graphql:"enabled" yaml:"enabled" json:"enabled"` ActionNames []string `graphql:"actionNames" yaml:"actionNames" json:"actionNames"` RunAsUserID string `graphql:"runAsUserId" yaml:"runAsUserId,omitempty" json:"runAsUserId,omitempty"` Labels []string `graphql:"labels" yaml:"labels" json:"labels"` QueryOwnershipType string `graphql:"queryOwnership" yaml:"queryOwnershipType" json:"queryOwnershipType"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ScheduledSearches
deprecated
added in
v0.35.0
type ScheduledSearches struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ScheduledSearches) Create
deprecated
added in
v0.35.0
func (a *ScheduledSearches) Create(viewName string, newScheduledSearch *ScheduledSearch) (*ScheduledSearch, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ScheduledSearches) Delete
deprecated
added in
v0.35.0
func (a *ScheduledSearches) Delete(viewName, scheduledSearchID string) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ScheduledSearches) Get
deprecated
added in
v0.35.0
func (a *ScheduledSearches) Get(viewName string, scheduledSearchId string) (*ScheduledSearch, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ScheduledSearches) List
deprecated
added in
v0.35.0
func (a *ScheduledSearches) List(viewName string) ([]ScheduledSearch, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ScheduledSearches) Update
deprecated
added in
v0.35.0
func (a *ScheduledSearches) Update(viewName string, updateScheduledSearch *ScheduledSearch) (*ScheduledSearch, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SearchDomain
deprecated
added in
v0.37.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SearchDomainListItem
deprecated
added in
v0.37.0
type SearchDomainListItem struct { Name string Typename string `graphql:"__typename"` AutomaticSearch bool }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SearchDomains
deprecated
added in
v0.37.0
type SearchDomains struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*SearchDomains) Get
deprecated
added in
v0.37.0
func (s *SearchDomains) Get(name string) (*SearchDomain, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*SearchDomains) List
deprecated
added in
v0.37.0
func (s *SearchDomains) List() ([]SearchDomainListItem, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SearchDomainsQueryData
deprecated
added in
v0.37.0
type SlackAction
deprecated
added in
v0.29.0
type SlackAction struct { Url string `graphql:"slackUrl: url" yaml:"url,omitempty" json:"url,omitempty"` Fields []SlackFieldEntryInput `graphql:"slackFields: fields" yaml:"fields,omitempty" json:"fields,omitempty"` UseProxy bool `graphql:"slackUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SlackFieldEntryInput
deprecated
added in
v0.29.0
type SlackFieldEntryInput struct { FieldName string `graphql:"fieldName" yaml:"fieldName" json:"fieldName"` Value string `graphql:"value" yaml:"value" json:"value"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type SlackPostMessageAction
deprecated
added in
v0.29.0
type SlackPostMessageAction struct { ApiToken string `graphql:"slackPostMessageApiToken: apiToken" yaml:"apiToken,omitempty" json:"apiToken,omitempty"` Channels []string `graphql:"slackPostMessageChannels: channels" yaml:"channels,omitempty" json:"channels,omitempty"` Fields []SlackFieldEntryInput `graphql:"slackPostMessageFields: fields" yaml:"fields,omitempty" json:"fields,omitempty"` UseProxy bool `graphql:"slackPostMessageUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type StatusResponse
deprecated
added in
v0.4.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (StatusResponse) AtLeast
deprecated
added in
v0.35.0
func (s StatusResponse) AtLeast(ver string) (bool, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (StatusResponse) IsDown
deprecated
added in
v0.25.0
func (s StatusResponse) IsDown() bool
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type StatusValue
deprecated
added in
v0.25.0
type StatusValue string
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
const ( // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example StatusOK StatusValue = "OK" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example StatusWarn StatusValue = "WARN" // Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example StatusDown StatusValue = "DOWN" )
type UnversionedPackageSpecifier ¶ added in v0.28.0
type UnversionedPackageSpecifier string
UnversionedPackageSpecifier is the ID of a package, e.g foo/bar Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type UserChangeSet
deprecated
type Users
deprecated
type Users struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Users) Add
deprecated
added in
v0.5.0
func (u *Users) Add(username string, changeset UserChangeSet) (User, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Users) List
deprecated
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Users) RotateToken
deprecated
added in
v0.32.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Users) Update
deprecated
func (u *Users) Update(username string, changeset UserChangeSet) (User, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ValidationResponse ¶ added in v0.27.0
type ValidationResponse struct { InstallationErrors []string `json:"installationErrors"` ParseErrors []string `json:"parseErrors"` }
ValidationResponse contain the results of a package validation. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*ValidationResponse) IsValid ¶ added in v0.27.0
func (resp *ValidationResponse) IsValid() bool
IsValid returns true if there are no errors in the package Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type VersionedPackageSpecifier ¶ added in v0.27.0
type VersionedPackageSpecifier string
VersionedPackageSpecifier is the ID and version of a package, e.g foo/bar@2.0.1 Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type VictorOpsAction
deprecated
added in
v0.29.0
type VictorOpsAction struct { MessageType string `graphql:"victorOpsMessageType: messageType" yaml:"messageType,omitempty" json:"messageType,omitempty"` NotifyUrl string `graphql:"victorOpsNotifyUrl: notifyUrl" yaml:"notifyUrl,omitempty" json:"notifyUrl,omitempty"` UseProxy bool `graphql:"victorOpsUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type View
deprecated
added in
v0.5.0
type View struct { Name string Description string Connections []ViewConnection AutomaticSearch bool }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ViewConnection
deprecated
added in
v0.15.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ViewConnectionInput
deprecated
added in
v0.28.1
type ViewConnectionInput struct { RepositoryName graphql.String `json:"repositoryName"` Filter graphql.String `json:"filter"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ViewListItem
deprecated
added in
v0.11.0
type ViewListItem struct { Name string Typename string `graphql:"__typename"` AutomaticSearch bool }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type ViewQueryData
deprecated
added in
v0.15.0
type ViewQueryData struct { Name string Description string AutomaticSearch bool ViewInfo struct { Connections []struct { Repository struct{ Name string } Filter string } } `graphql:"... on View"` Typename graphql.String `graphql:"__typename"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Viewer
deprecated
added in
v0.4.0
type Viewer struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Viewer) ApiToken ¶ added in v0.25.0
ApiToken fetches the api token for the user who is currently authenticated. Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type Views
deprecated
added in
v0.5.0
type Views struct {
// contains filtered or unexported fields
}
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) Create
deprecated
added in
v0.28.1
func (c *Views) Create(name, description string, connections []ViewConnectionInput) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) Delete
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) List
deprecated
added in
v0.11.0
func (c *Views) List() ([]ViewListItem, error)
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) UpdateAutomaticSearch
deprecated
added in
v0.35.0
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) UpdateConnections
deprecated
added in
v0.28.1
func (c *Views) UpdateConnections(name string, connections []ViewConnectionInput) error
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
func (*Views) UpdateDescription
deprecated
added in
v0.28.1
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
type WebhookAction
deprecated
added in
v0.29.0
type WebhookAction struct { Method string `graphql:"webhookMethod: method" yaml:"method,omitempty" json:"method,omitempty"` Url string `graphql:"webhookUrl: url" yaml:"url,omitempty" json:"url,omitempty"` Headers []HttpHeaderEntryInput `graphql:"webhookHeaders: headers" yaml:"headers,omitempty" json:"headers,omitempty"` BodyTemplate string `graphql:"webhookBodyTemplate: bodyTemplate" yaml:"bodyTemplate,omitempty" json:"bodyTemplate,omitempty"` IgnoreSSL bool `graphql:"webhookIgnoreSSL: ignoreSSL" yaml:"ignoreSSL,omitempty" json:"ignoreSSL,omitempty"` UseProxy bool `graphql:"webhookUseProxy: useProxy" yaml:"useProxy,omitempty" json:"useProxy,omitempty"` }
Deprecated: Should no longer be used. https://github.com/CrowdStrike/logscale-go-api-client-example
Source Files
¶
- actions.go
- aggregate-alerts.go
- alerts.go
- client.go
- cluster.go
- error.go
- featureflag.go
- files.go
- filter-alerts.go
- groups.go
- health.go
- httpclient.go
- ingest-tokens.go
- license.go
- organizations.go
- packages.go
- parsers.go
- repositories.go
- roles.go
- scheduled-search.go
- search.go
- searchdomains.go
- status.go
- users.go
- viewer.go
- views.go