api

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCloudTrail added in v0.8.0

type AWSCloudTrail struct {
	SourceType                 string              `json:"sourceType"`
	Name                       string              `json:"name"`
	Category                   string              `json:"category"`
	ContentType                string              `json:"contentType"`
	ThirdPartyRef              ThirdPartyReference `json:"thirdPartyRef"`
	ScanInterval               int                 `json:"scanInterval"`
	Paused                     bool                `json:"paused"`
	AutomaticDateParsing       bool                `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool                `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool                `json:"useAutolineMatching"`
	ForceTimeZone              bool                `json:"forceTimeZone"`
	TimeZone                   string              `json:"timeZone"`
	Filters                    []SourceFilters     `json:"filters"`
	CutoffTimestamp            int                 `json:"cutoffTimestamp,omitempty"`
	CutoffRelativeTime         string              `json:"cutoffRelativeTime"`
	Encoding                   string              `json:"encoding"`
	Fields                     map[string]string   `json:"fields"`
}

type AWSCloudTrailCollection added in v0.8.0

type AWSCloudTrailCollection struct {
	ApiVersion string        `json:"api.version"`
	Source     AWSCloudTrail `json:"source"`
}

type AWSCloudTrailCollectionResponse added in v0.8.0

type AWSCloudTrailCollectionResponse struct {
	Source AWSCloudTrailResponse `json:"source"`
}

type AWSCloudTrailResponse added in v0.8.0

type AWSCloudTrailResponse struct {
	Alive                      bool                `json:"alive"`
	Id                         int                 `json:"id"`
	Url                        string              `json:"url"`
	SourceType                 string              `json:"sourceType"`
	Name                       string              `json:"name"`
	Category                   string              `json:"category"`
	ContentType                string              `json:"contentType"`
	ThirdPartyRef              ThirdPartyReference `json:"thirdPartyRef"`
	ScanInterval               int                 `json:"scanInterval"`
	Paused                     bool                `json:"paused"`
	AutomaticDateParsing       bool                `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool                `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool                `json:"useAutolineMatching"`
	ForceTimeZone              bool                `json:"forceTimeZone"`
	TimeZone                   string              `json:"timeZone"`
	Filters                    []SourceFilters     `json:"filters"`
	CutoffTimestamp            int                 `json:"cutoffTimestamp,omitempty"`
	CutoffRelativeTime         string              `json:"cutoffRelativeTime"`
	Encoding                   string              `json:"encoding"`
	Fields                     map[string]string   `json:"fields"`
}

type AWSPolicy added in v0.8.0

type AWSPolicy struct {
	Version   string               `json:"Version"`
	Statement []AWSPolicyStatement `json:"Statement"`
}

type AWSPolicyCondition added in v0.8.0

type AWSPolicyCondition struct {
	StringEquals S3XAmzAcl                `json:"StringEquals,omitempty"`
	StringLike   KMSEncryptionContext     `json:"StringLike,omitempty"`
	Null         KMSEncryptionContextBool `json:"Null,omitempty"`
}

type AWSPolicyPrincipal added in v0.8.0

type AWSPolicyPrincipal struct {
	AWS           []string `json:"AWS,omitempty"`
	CanonicalUser string   `json:"CanonicalUser,omitempty"`
	Federated     string   `json:"Federated,omitempty"`
	Service       string   `json:"Service,omitempty"`
}

type AWSPolicyStatement added in v0.8.0

type AWSPolicyStatement struct {
	Sid       string             `json:"Sid"`
	Effect    string             `json:"Effect"`
	Principal AWSPolicyPrincipal `json:"Principal"`
	Action    []string           `json:"Action"`
	Resource  []string           `json:"Resource"`
	Condition AWSPolicyCondition `json:"Condition,omitempty"`
}

type AWSSNSPolicy added in v0.8.0

type AWSSNSPolicy struct {
	Version   string                  `json:"Version"`
	Statement []AWSSNSPolicyStatement `json:"Statement"`
}

type AWSSNSPolicyCondition added in v0.8.0

type AWSSNSPolicyCondition struct {
	ArnLike      AWSSNSSourceArn     `json:"ArnLike,omitempty"`
	StringEquals AWSSNSSourceAccount `json:"StringEquals,omitempty"`
}

type AWSSNSPolicyPrincipal added in v0.8.0

type AWSSNSPolicyPrincipal struct {
	AWS           []string `json:"AWS,omitempty"`
	CanonicalUser string   `json:"CanonicalUser,omitempty"`
	Federated     string   `json:"Federated,omitempty"`
	Service       string   `json:"Service,omitempty"`
}

type AWSSNSPolicyStatement added in v0.8.0

type AWSSNSPolicyStatement struct {
	Sid       string                `json:"Sid"`
	Effect    string                `json:"Effect"`
	Principal AWSSNSPolicyPrincipal `json:"Principal"`
	Action    []string              `json:"Action"`
	Resource  []string              `json:"Resource"`
	Condition AWSSNSPolicyCondition `json:"Condition,omitempty"`
}

type AWSSNSSourceAccount added in v0.8.0

type AWSSNSSourceAccount struct {
	AWSSourceAccount string `json:"aws:SourceAccount"`
}

type AWSSNSSourceArn added in v0.8.0

type AWSSNSSourceArn struct {
	AWSSourceArn string `json:"aws:SourceArn"`
}

type AllowlistCIDR added in v0.5.0

type AllowlistCIDR struct {
	Cidr        string `json:"cidr"`
	Description string `json:"description"`
}

type CollectorResponse

type CollectorResponse struct {
	Collector CollectorsResponse `json:"collector"`
}

type Collectors

type Collectors struct {
	Data []CollectorsResponse `json:"collectors"`
}

type CollectorsResponse

type CollectorsResponse struct {
	Alive              bool              `json:"alive"`
	Category           string            `json:"category,omitempty"`
	CollectorType      string            `json:"collectorType"`
	CollectorVersion   string            `json:"collectorVersion"`
	CutoffRelativeTime string            `json:"cutoffRelativeTime,omitempty"`
	CutoffTimestamp    int               `json:"cutoffTimestamp,omitempty"`
	Description        string            `json:"description,omitempty"`
	Ephemeral          bool              `json:"ephemeral"`
	Fields             map[string]string `json:"fields,omitempty"`
	Links              []collectorLinks  `json:"links,omitempty"`
	HostName           string            `json:"hostName,omitempty"`
	Id                 int               `json:"id"`
	LastSeenAlive      int               `json:"lastSeenAlive,omitempty"`
	Name               string            `json:"name"`
	SourceSyncMode     string            `json:"sourceSyncMode,omitempty"`
	TimeZone           string            `json:"timeZone,omitempty"`
	TargetCpu          int               `json:"targetCpu,omitempty"`
	OsName             string            `json:"osName,omitempty"`
	OsVersion          string            `json:"osVersion,omitempty"`
	OsArch             string            `json:"osArch,omitempty"`
	OsTime             int               `json:"osTime,omitempty"`
}

type CreateCollector

type CreateCollector struct {
	CollectorType string            `json:"collectorType"`
	Name          string            `json:"name"`
	Description   string            `json:"description,omitempty"`
	Category      string            `json:"category,omitempty"`
	Fields        map[string]string `json:"fields,omitempty"`
}

type CreateCollectorRequest

type CreateCollectorRequest struct {
	Collector CreateCollector `json:"collector"`
}

type CreateDashboard added in v0.5.0

type CreateDashboard struct {
	Title            string                    `json:"title"`
	Description      string                    `json:"description"`
	FolderId         string                    `json:"folderId"`
	TopologyLabelMap topologyLabelMap          `json:"topologyLabelMap"`
	Domain           string                    `json:"domain"`
	RefreshInterval  int                       `json:"refreshInterval"`
	TimeRange        timeRangeDefinition       `json:"timeRange"`
	Panels           []panelsDefinition        `json:"panels"`
	Layout           layout                    `json:"layout"`
	Variables        []variablesDefinition     `json:"variables"`
	Theme            string                    `json:"theme"`
	ColoringRules    []coloringRulesDefinition `json:"coloringRules"`
}

type CreateDynamicParsingRule added in v0.7.0

type CreateDynamicParsingRule struct {
	Name    string `json:"name"`
	Scope   string `json:"scope"`
	Enabled bool   `json:"enabled"`
}

type CreateField added in v0.7.0

type CreateField struct {
	FieldName string `json:"fieldName"`
}

type CreateFieldExtractionRule added in v0.7.0

type CreateFieldExtractionRule struct {
	Name            string `json:"name"`
	Scope           string `json:"scope"`
	ParseExpression string `json:"parseExpression"`
	Enabled         bool   `json:"enabled"`
}

type CreateFolderRequest added in v0.5.0

type CreateFolderRequest struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	ParentId    string `json:"parentId"`
}

type CreateHTTPSource

type CreateHTTPSource struct {
	ApiVersion string     `json:"api.version"`
	Source     HttpSource `json:"source"`
}

type CreateHealthEventRequest added in v0.8.0

type CreateHealthEventRequest struct {
	Data []HealthEventRequest `json:"data"`
}

type CreateIngestBudgetRequest added in v0.6.0

type CreateIngestBudgetRequest struct {
	Name           string `json:"name"`
	FieldValue     string `json:"fieldValue"`
	CapacityBytes  int    `json:"capacityBytes"`
	Timezone       string `json:"timezone"`
	ResetTime      string `json:"resetTime"`
	Description    string `json:"description"`
	Action         string `json:"action"`
	AuditThreshold int    `json:"auditThreshold"`
}

type CreateIngestBudgetV2Request added in v0.6.0

type CreateIngestBudgetV2Request struct {
	Name           string `json:"name"`
	Scope          string `json:"scope"`
	CapacityBytes  int    `json:"capacityBytes"`
	Timezone       string `json:"timezone"`
	ResetTime      string `json:"resetTime"`
	Description    string `json:"description"`
	Action         string `json:"action"`
	AuditThreshold int    `json:"auditThreshold"`
}

type CreateLocalFileSource added in v0.7.0

type CreateLocalFileSource struct {
	ApiVersion string          `json:"api.version"`
	Source     LocalFileSource `json:"source"`
}

type CreateLookupTableRequest added in v0.5.0

type CreateLookupTableRequest struct {
	Description     string              `json:"description"`
	Fields          []LookupTableFields `json:"fields"`
	PrimaryKeys     []string            `json:"primaryKeys"`
	Ttl             int                 `json:"ttl"`
	SizeLimitAction string              `json:"sizeLimitAction"`
	Name            string              `json:"name"`
	ParentFolderId  string              `json:"parentFolderId"`
}

type CreateMonitorFolder added in v0.8.0

type CreateMonitorFolder struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	Type        string `json:"type"`
}

type CreatePartition added in v0.7.0

type CreatePartition struct {
	Name              string `json:"name"`
	RoutingExpression string `json:"routingExpression"`
	AnalyticsTier     string `json:"analyticsTier"`
	RetentionPeriod   int    `json:"retentionPeriod"`
	IsCompliant       bool   `json:"isCompliant"`
}

type CreateSamlRequest added in v0.6.0

type CreateSamlRequest struct {
	SpInitiatedLoginPath         string                     `json:"spInitiatedLoginPath"`
	ConfigurationName            string                     `json:"configurationName"`
	Issuer                       string                     `json:"issuer"`
	SpInitiatedLoginEnabled      bool                       `json:"spInitiatedLoginEnabled"`
	AuthnRequestUrl              string                     `json:"authnRequestUrl"`
	X509Cert1                    string                     `json:"x509cert1"`
	X509Cert2                    string                     `json:"x509cert2"`
	X509Cert3                    string                     `json:"x509cert3"`
	OnDemandProvisioningEnabled  OnDemandProvisioningDetail `json:"onDemandProvisioningEnabled"`
	RolesAttribute               string                     `json:"rolesAttribute"`
	LogoutEnabled                bool                       `json:"logoutEnabled"`
	LogoutUrl                    string                     `json:"logoutUrl"`
	EmailAttribute               string                     `json:"emailAttribute"`
	DebugMode                    bool                       `json:"debugMode"`
	SignAuthnRequest             bool                       `json:"signAuthnRequest"`
	DisableRequestedAuthnContext bool                       `json:"disableRequestedAuthnContext"`
	IsRedirectBinding            bool                       `json:"isRedirectBinding"`
}

type CreateScheduledView added in v0.7.0

type CreateScheduledView struct {
	Query            string `json:"query"`
	IndexName        string `json:"indexName"`
	StartTime        string `json:"startTime"`
	RetentionPeriod  int    `json:"retentionPeriod"`
	DataForwardingId string `json:"dataForwardingId"`
	ParsingMode      string `json:"parsingMode"`
}

type CreateSourceResponse

type CreateSourceResponse struct {
	Source SourcesResponse `json:"source"`
}

type DashboardSyncDefinition added in v0.4.0

type DashboardSyncDefinition struct {
	Type        string                      `json:"type"`
	Name        string                      `json:"name"`
	Description string                      `json:"description"`
	DetailLevel int                         `json:"detailLevel"`
	Properties  string                      `json:"properties"`
	Panels      []reportPanelSyncDefinition `json:"panels"`
	Filters     []filtersSyncDefinition     `json:"filters"`
}

type DroppedField added in v0.7.0

type DroppedField struct {
	FieldName string `json:"fieldName"`
}

type DynamicParsingRules added in v0.7.0

type DynamicParsingRules struct {
	Name       string `json:"name"`
	Scope      string `json:"scope"`
	Enabled    bool   `json:"enabled"`
	CreatedAt  string `json:"createdAt"`
	ModifiedAt string `json:"modifiedAt"`
	ModifiedBy string `json:"modifiedBy"`
	Id         string `json:"id"`
}

type EditLookupTable added in v0.5.0

type EditLookupTable struct {
	Description     string `json:"description"`
	Ttl             int    `json:"ttl"`
	SizeLimitAction string `json:"sizeLimitAction"`
}

type Errors

type Errors struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type ExportStatusResponse added in v0.4.0

type ExportStatusResponse struct {
	Status        string      `json:"status"`
	StatusMessage string      `json:"statusMessage,omitempty"`
	Error         exportError `json:"error,omitempty"`
}

type FieldExtractionRules added in v0.7.0

type FieldExtractionRules struct {
	Name            string   `json:"name"`
	Scope           string   `json:"scope"`
	ParseExpression string   `json:"parseExpression"`
	Enabled         bool     `json:"enabled"`
	CreatedAt       string   `json:"createdAt"`
	CreatedBy       string   `json:"createdBy"`
	ModifiedAt      string   `json:"modifiedAt"`
	ModifiedBy      string   `json:"modifiedBy"`
	Id              string   `json:"id"`
	FieldNames      []string `json:"fieldNames"`
}

type Fields added in v0.7.0

type Fields struct {
	FieldName string `json:"fieldName"`
	FieldId   string `json:"fieldId"`
	DataType  string `json:"dataType"`
	State     string `json:"state"`
}

type FolderResponse added in v0.5.0

type FolderResponse struct {
	CreatedAt   string           `json:"createdAt"`
	CreatedBy   string           `json:"createdBy"`
	ModifiedAt  string           `json:"modifiedAt"`
	ModifiedBy  string           `json:"modifiedBy"`
	Id          string           `json:"id"`
	Name        string           `json:"name"`
	ItemType    string           `json:"itemType"`
	ParentId    string           `json:"parentId"`
	Permissions []string         `json:"permissions"`
	Description string           `json:"description"`
	Children    []folderChildren `json:"children"`
}

type FolderSyncDefinition added in v0.4.0

type FolderSyncDefinition struct {
	Type        string                  `json:"type"`
	Name        string                  `json:"name"`
	Description string                  `json:"description"`
	Children    []contentSyncDefinition `json:"children"`
}

type GetAllowlistStatus added in v0.5.0

type GetAllowlistStatus struct {
	ContentEnabled bool `json:"contentEnabled"`
	LoginEnabled   bool `json:"loginEnabled"`
}

type GetAssociatedCollectors added in v0.6.0

type GetAssociatedCollectors struct {
	Data []associatedCollectorsDetail `json:"data"`
}

type GetCapacityInformation added in v0.7.0

type GetCapacityInformation struct {
	Quota     int `json:"quota"`
	Remaining int `json:"remaining"`
}

type GetContentResponse added in v0.4.0

type GetContentResponse struct {
	CreatedAt   string   `json:"createdAt"`
	CreatedBy   string   `json:"createdBy"`
	ModifiedAt  string   `json:"modifiedAt"`
	ModifiedBy  string   `json:"modifiedBy"`
	Id          string   `json:"id"`
	Name        string   `json:"name"`
	ItemType    string   `json:"itemType"`
	ParentId    string   `json:"parentId"`
	Permissions []string `json:"permissions"`
}

type GetDashboard added in v0.5.0

type GetDashboard struct {
	Title            string                    `json:"title"`
	Description      string                    `json:"description"`
	FolderId         string                    `json:"folderId"`
	TopologyLabelMap topologyLabelMap          `json:"topologyLabelMap"`
	Domain           string                    `json:"domain"`
	RefreshInterval  int                       `json:"refreshInterval"`
	TimeRange        timeRangeDefinition       `json:"timeRange"`
	Panels           []panelsDefinition        `json:"panels"`
	Layout           layout                    `json:"layout"`
	Variables        []variablesDefinition     `json:"variables"`
	Theme            string                    `json:"theme"`
	ColoringRules    []coloringRulesDefinition `json:"coloringRules"`
	Id               string                    `json:"id"`
}

type GetDroppedFields added in v0.7.0

type GetDroppedFields struct {
	Data []DroppedField `json:"data"`
}

type GetFields added in v0.7.0

type GetFields struct {
	Data []Fields `json:"data"`
}

type GetIngestBudget added in v0.6.0

type GetIngestBudget struct {
	Name               string               `json:"name"`
	FieldValue         string               `json:"fieldValue"`
	CapacityBytes      int                  `json:"capacityBytes"`
	TimeZone           string               `json:"timezone"`
	ResetTime          string               `json:"resetTime"`
	Description        string               `json:"description"`
	Action             string               `json:"action"`
	AuditThreshold     int                  `json:"auditThreshold"`
	CreatedAt          string               `json:"createdAt"`
	CreatedByUser      ingestBudgetUserInfo `json:"createdByUser"`
	ModifiedAt         string               `json:"modifiedAt"`
	ModifiedByUser     ingestBudgetUserInfo `json:"modifiedByUser"`
	Id                 string               `json:"id"`
	UsageBytes         int                  `json:"usageBytes"`
	UsageStatus        string               `json:"usageStatus"`
	NumberOfCollectors int                  `json:"numberOfCollectors"`
}

type GetIngestBudgetV2 added in v0.6.0

type GetIngestBudgetV2 struct {
	Name           string `json:"name"`
	Scope          string `json:"scope"`
	CapacityBytes  int    `json:"capacityBytes"`
	Timezone       string `json:"timezone"`
	ResetTime      string `json:"resetTime"`
	Description    string `json:"description"`
	Action         string `json:"action"`
	AuditThreshold int    `json:"auditThreshold"`
	Id             string `json:"id"`
	UsageBytes     int    `json:"usageBytes"`
	UsageStatus    string `json:"usageStatus"`
	CreatedAt      string `json:"createdAt"`
	CreatedBy      string `json:"createdBy"`
	ModifiedAt     string `json:"modifiedAt"`
	ModifiedBy     string `json:"modifiedBy"`
	BudgetVersion  int    `json:"budgetVersion"`
}

type GetLocalFileSource added in v0.7.0

type GetLocalFileSource struct {
	Source LocalFileResponse `json:"source"`
}

type GetPartitions added in v0.7.0

type GetPartitions struct {
	Data []Partitions `json:"data"`
}

type GetPasswordPolicy added in v0.6.0

type GetPasswordPolicy struct {
	MinLength                      int  `json:"minLength"`
	MaxLength                      int  `json:"maxLength"`
	MustContainLowercase           bool `json:"mustContainLowercase"`
	MustContainUppercase           bool `json:"mustContainUppercase"`
	MustContainDigits              bool `json:"mustContainDigits"`
	MustContainSpecialChars        bool `json:"mustContainSpecialChars"`
	MaxPasswordAgeInDays           int  `json:"maxPasswordAgeInDays"`
	MinUniquePasswords             int  `json:"minUniquePasswords"`
	AccountLockoutThreshold        int  `json:"accountLockoutThreshold"`
	FailedLoginResetDurationInMins int  `json:"failedLoginResetDurationInMins"`
	AccountLockoutDurationInMins   int  `json:"accountLockoutDurationInMins"`
	RequireMfa                     bool `json:"requireMfa"`
	RememberMfa                    bool `json:"rememberMfa"`
}

type GetPathResponse added in v0.4.0

type GetPathResponse struct {
	Path string `json:"path"`
}

type GetPermissions added in v0.5.0

type GetPermissions struct {
	ExplicitPermissions []PermissionsDetail `json:"explicitPermissions"`
	ImplicitPermissions []PermissionsDetail `json:"implicitPermissions"`
}

type GetSaml added in v0.6.0

type GetSaml struct {
	SpInitiatedLoginPath         string                     `json:"spInitiatedLoginPath"`
	ConfigurationName            string                     `json:"configurationName"`
	Issuer                       string                     `json:"issuer"`
	SpInitiatedLoginEnabled      bool                       `json:"spInitiatedLoginEnabled"`
	AuthnRequestUrl              string                     `json:"authnRequestUrl"`
	X509Cert1                    string                     `json:"x509cert1"`
	X509Cert2                    string                     `json:"x509cert2"`
	X509Cert3                    string                     `json:"x509cert3"`
	OnDemandProvisioningEnabled  OnDemandProvisioningDetail `json:"onDemandProvisioningEnabled"`
	RolesAttribute               string                     `json:"rolesAttribute"`
	LogoutEnabled                bool                       `json:"logoutEnabled"`
	LogoutUrl                    string                     `json:"logoutUrl"`
	EmailAttribute               string                     `json:"emailAttribute"`
	DebugMode                    bool                       `json:"debugMode"`
	SignAuthnRequest             bool                       `json:"signAuthnRequest"`
	DisableRequestedAuthnContext bool                       `json:"disableRequestedAuthnContext"`
	IsRedirectBinding            bool                       `json:"isRedirectBinding"`
	Certificate                  string                     `json:"certificate"`
	CreatedAt                    string                     `json:"createdAt"`
	CreatedBy                    string                     `json:"createdBy"`
	ModifiedAt                   string                     `json:"modifiedAt"`
	ModifiedBy                   string                     `json:"modifiedBy"`
	Id                           string                     `json:"id"`
}

type GetSamlAllowListUsers added in v0.6.0

type GetSamlAllowListUsers struct {
	UserId        string `json:"userId"`
	FirstName     string `json:"firstName"`
	LastName      string `json:"lastName"`
	Email         string `json:"email"`
	CanManageSaml bool   `json:"canManageSaml"`
	IsActive      bool   `json:"isActive"`
	LastLogin     string `json:"lastLogin"`
}

type GetScheduledViews added in v0.7.0

type GetScheduledViews struct {
	Data []ScheduledViews `json:"data"`
}

type GetSourcesResponse

type GetSourcesResponse struct {
	Id                         int             `json:"id"`
	Name                       string          `json:"name"`
	Category                   string          `json:"category"`
	HostName                   string          `json:"hostName"`
	AutomaticDateParsing       bool            `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool            `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool            `json:"useAutolineMatching"`
	ForceTimeZone              bool            `json:"forceTimeZone"`
	Filters                    []SourceFilters `json:"filters"`
	CutoffTimestamp            int             `json:"cutoffTimestamp"`
	Encoding                   string          `json:"encoding"`
	PathExpression             string          `json:"pathExpression"`
	Blacklist                  []string        `json:"blacklist"`
	SourceType                 string          `json:"sourceType"`
	Alive                      bool            `json:"alive"`
}

type GetUsageInfo added in v0.8.0

type GetUsageInfo struct {
	MonitorType string `json:"monitorType"`
	Usage       int    `json:"usage"`
	Limit       int    `json:"limit"`
	Total       int    `json:"total"`
}

type GlobalFolderResponse added in v0.5.0

type GlobalFolderResponse struct {
	Id string `json:"id"`
}

type GlobalFolderResultResponse added in v0.5.0

type GlobalFolderResultResponse struct {
	Data []folderChildren `json:"data"`
}

type GlobalFolderStatusRequest added in v0.5.0

type GlobalFolderStatusRequest struct {
	JobId string `json:"jobId"`
}

type GlobalFolderStatusResponse added in v0.5.0

type GlobalFolderStatusResponse struct {
	Status        string `json:"status"`
	StatusMessage string `json:"statusMessage"`
}

type HealthEvent added in v0.8.0

type HealthEvent struct {
	EventId          string                      `json:"eventId"`
	EventName        string                      `json:"eventName"`
	Details          healthEventDetails          `json:"details"`
	ResourceIdentity healthEventResourceIdentity `json:"resourceIdentity"`
	EventTime        string                      `json:"eventTime"`
	Subsystem        string                      `json:"subsystem"`
	// contains filtered or unexported fields
}

type HealthEventRequest added in v0.8.0

type HealthEventRequest struct {
	CollectorId            string `json:"collectorId,omitempty"`
	CollectorName          string `json:"collectorName,omitempty"`
	Id                     string `json:"id"`
	IngestBudgetFieldValue string `json:"ingestBudgetFieldValue,omitempty"`
	Name                   string `json:"name"`
	Scope                  string `json:"scope,omitempty"`
	Type                   string `json:"type"`
}

type HttpSource

type HttpSource struct {
	SourceType                 string            `json:"sourceType"`
	Name                       string            `json:"name"`
	Category                   string            `json:"category"`
	Fields                     map[string]string `json:"fields"`
	MessagePerRequest          bool              `json:"messagePerRequest"`
	MultilineProcessingEnabled bool              `json:"multilineProcessingEnabled"`
}

type KMSEncryptionContext added in v0.8.0

type KMSEncryptionContext struct {
	KMSEncryption []string `json:"kms:EncryptionContext:aws:cloudtrail:arn,omitempty"`
}

type KMSEncryptionContextBool added in v0.8.0

type KMSEncryptionContextBool struct {
	KMSEncryption bool `json:"kms:EncryptionContext:aws:cloudtrail:arn,omitempty"`
}

type ListDynamicParsingRules added in v0.7.0

type ListDynamicParsingRules struct {
	Data []DynamicParsingRules `json:"data"`
}

type ListFieldExtractionRules added in v0.7.0

type ListFieldExtractionRules struct {
	Data []FieldExtractionRules `json:"data"`
}

type ListHealthEvent added in v0.8.0

type ListHealthEvent struct {
	Data []HealthEvent `json:"data"`
}

type ListIngestBudgets added in v0.6.0

type ListIngestBudgets struct {
	Data []GetIngestBudget `json:"data"`
}

type ListIngestBudgetsV2 added in v0.6.0

type ListIngestBudgetsV2 struct {
	Data []GetIngestBudgetV2 `json:"data"`
}

type ListServiceAllowlist added in v0.5.0

type ListServiceAllowlist struct {
	Data []AllowlistCIDR `json:"data"`
}

type ListSources

type ListSources struct {
	Sources []GetSourcesResponse `json:"sources"`
}

type LocalFileResponse added in v0.7.0

type LocalFileResponse struct {
	Id                         int             `json:"id"`
	Name                       string          `json:"name"`
	Category                   string          `json:"category"`
	AutomaticDateParsing       bool            `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool            `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool            `json:"useAutolineMatching"`
	TimeZone                   string          `json:"timeZone"`
	ForceTimeZone              bool            `json:"forceTimeZone"`
	Filters                    []SourceFilters `json:"filters"`
	CutoffTimestamp            int             `json:"cutoffTimestamp"`
	Encoding                   string          `json:"encoding"`
	PathExpression             string          `json:"pathExpression"`
	Blacklist                  []string        `json:"blacklist"`
	SourceType                 string          `json:"sourceType"`
	Alive                      bool            `json:"alive"`
}

type LocalFileSource added in v0.7.0

type LocalFileSource struct {
	Name                       string          `json:"name"`
	Category                   string          `json:"category"`
	AutomaticDateParsing       bool            `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool            `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool            `json:"useAutolineMatching"`
	ForceTimeZone              bool            `json:"forceTimeZone"`
	TimeZone                   string          `json:"timeZone"`
	Filters                    []SourceFilters `json:"filters"`
	CutoffRelativeTime         string          `json:"cutoffRelativeTime"`
	Encoding                   string          `json:"encoding"`
	PathExpression             string          `json:"pathExpression"`
	Blacklist                  []string        `json:"blacklist"`
	SourceType                 string          `json:"sourceType"`
}

type LookupTableFields added in v0.5.0

type LookupTableFields struct {
	FieldName string `json:"fieldName"`
	FieldType string `json:"fieldType"`
}

type LookupTableRemoveRowRequest added in v0.5.0

type LookupTableRemoveRowRequest struct {
	PrimaryKey []LookupTableRow `json:"primaryKey"`
}

type LookupTableRequestId added in v0.5.0

type LookupTableRequestId struct {
	Id string `json:"id"`
}

type LookupTableResponse added in v0.5.0

type LookupTableResponse struct {
	CreatedAt       string              `json:"createdAt"`
	CreatedBy       string              `json:"createdBy"`
	ModifiedAt      string              `json:"modifiedAt"`
	ModifiedBy      string              `json:"modifiedBy"`
	Description     string              `json:"description"`
	Fields          []LookupTableFields `json:"fields"`
	PrimaryKeys     []string            `json:"primaryKeys"`
	Ttl             int                 `json:"ttl"`
	SizeLimitAction string              `json:"sizeLimitAction"`
	Name            string              `json:"name"`
	ParentFolderId  string              `json:"parentFolderId"`
	Id              string              `json:"id"`
	ContentPath     string              `json:"contentPath"`
	Size            int                 `json:"size"`
}

type LookupTableRow added in v0.5.0

type LookupTableRow struct {
	ColumnName  string `json:"columnName"`
	ColumnValue string `json:"columnValue"`
}

type LookupTableRowRequest added in v0.5.0

type LookupTableRowRequest struct {
	Row []LookupTableRow `json:"row"`
}

type LookupTableStatusResponse added in v0.5.0

type LookupTableStatusResponse struct {
	JobId             string                      `json:"jobId"`
	Status            string                      `json:"status"`
	StatusMessages    []string                    `json:"statusMessages"`
	Errors            []lookupTableStatusErrors   `json:"errors"`
	Warnings          []lookupTableStatusWarnings `json:"warnings"`
	LookupContentId   string                      `json:"lookupContentId"`
	LookupName        string                      `json:"lookupName"`
	LookupContentPath string                      `json:"lookupContentPath"`
	RequestType       string                      `json:"requestType"`
	UserId            string                      `json:"userId"`
	CreatedAt         string                      `json:"createdAt"`
	ModifiedAt        string                      `json:"modifiedAt"`
}

type LookupTableSyncDefinition added in v0.4.0

type LookupTableSyncDefinition struct {
	Type            string   `json:"type"`
	Name            string   `json:"name"`
	Description     string   `json:"description"`
	Fields          []fields `json:"fields"`
	PrimaryKeys     []string `json:"primaryKeys"`
	TTL             int      `json:"ttl"`
	SizeLimitAction string   `json:"sizeLimitAction"`
}

type MetricsSavedSearchSyncDefinition added in v0.4.0

type MetricsSavedSearchSyncDefinition struct {
	Type                      string                     `json:"type"`
	Name                      string                     `json:"name"`
	Description               string                     `json:"description"`
	TimeRange                 timeRangeDefinition        `json:"timeRange"`
	LogQuery                  string                     `json:"logQuery"`
	MetricsQueries            []metricsQueriesDefinition `json:"metricsQueries"`
	DesiredQuantizationInSecs int                        `json:"desiredQuantizationInSecs"`
	Properties                string                     `json:"properties"`
}

type MetricsSearchSyncDefinition added in v0.4.0

type MetricsSearchSyncDefinition struct {
	Type           string              `json:"type"`
	Name           string              `json:"name"`
	TimeRange      timeRangeDefinition `json:"timeRange"`
	Description    string              `json:"description"`
	Queries        []queries           `json:"queries"`
	VisualSettings string              `json:"visualSettings"`
}

type MewboardSyncDefinition added in v0.4.0

type MewboardSyncDefinition struct {
	Type             string                  `json:"type"`
	Name             string                  `json:"name"`
	Description      string                  `json:"description"`
	Title            string                  `json:"title"`
	RootPanel        rootPanelDefinition     `json:"rootPanel"`
	Theme            string                  `json:"theme"`
	TopologyLabelMap topologyLabelMap        `json:"topologyLabelMap"`
	RefreshInterval  int                     `json:"refreshInterval"`
	TimeRange        timeRangeDefinition     `json:"timeRange"`
	Layout           layout                  `json:"layout"`
	Panels           panelsDefinition        `json:"panels"`
	Variables        variablesDefinition     `json:"variables"`
	ColoringRules    coloringRulesDefinition `json:"coloringRules"`
}

type ModifyPermissionsRequest added in v0.5.0

type ModifyPermissionsRequest struct {
	ContentPermissionAssignments []PermissionsDetail `json:"contentPermissionAssignments"`
	NotifyRecipients             bool                `json:"notifyRecipients"`
	NotificationMessage          string              `json:"notificationMessage"`
}

type MonitorFolder added in v0.8.0

type MonitorFolder struct {
	Id          string   `json:"id"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Version     int      `json:"version"`
	CreatedAt   string   `json:"createdAt"`
	CreatedBy   string   `json:"createdBy"`
	ModifiedAt  string   `json:"modifiedAt"`
	ModifiedBy  string   `json:"modifiedBy"`
	ParentId    string   `json:"parentId"`
	ContentType string   `json:"contentType"`
	Type        string   `json:"type"`
	IsSystem    bool     `json:"isSystem"`
	IsMutable   bool     `json:"isMutable"`
	Permissions []string `json:"permissions"`
}

type MoveResponse added in v0.4.0

type MoveResponse struct {
	Id     string       `json:"id"`
	Errors []moveErrors `json:"errors"`
}

type OnDemandProvisioningDetail added in v0.6.0

type OnDemandProvisioningDetail struct {
	FirstNameAttribute        string   `json:"firstNameAttribute"`
	LastNameAttribute         string   `json:"lastNameAttribute"`
	OnDemandProvisioningRoles []string `json:"onDemandProvisioningRoles"`
}

type Partitions added in v0.7.0

type Partitions struct {
	Name                 string `json:"name"`
	RoutingExpression    string `json:"routingExpression"`
	AnalyticsTier        string `json:"analyticsTier"`
	RetentionPeriod      int    `json:"retentionPeriod"`
	IsCompliant          bool   `json:"isCompliant"`
	CreatedAt            string `json:"createdAt"`
	CreatedBy            string `json:"createdBy"`
	ModifiedAt           string `json:"modifiedAt"`
	ModifiedBy           string `json:"modifiedBy"`
	Id                   string `json:"id"`
	TotalBytes           int    `json:"totalBytes"`
	IsActive             bool   `json:"isActive"`
	NewRetentionPeriod   int    `json:"newRetentionPeriod"`
	IndexType            string `json:"indexType"`
	RetentionEffectiveAt string `json:"retentionEffectiveAt"`
	DataForwardingId     string `json:"dataForwardingId"`
}

type PermissionsDetail added in v0.5.0

type PermissionsDetail struct {
	PermissionName string `json:"permissionName"`
	SourceType     string `json:"sourceType"`
	SourceId       string `json:"sourceId"`
	ContentId      string `json:"contentId"`
}

type ResponseError

type ResponseError struct {
	Id     string   `json:"id"`
	Errors []Errors `json:"errors"`
}

type ResponseType added in v0.4.0

type ResponseType struct {
	Type string `json:"type"`
}

type RootMonitorFolder added in v0.8.0

type RootMonitorFolder struct {
	Id          string          `json:"id"`
	Name        string          `json:"name"`
	Description string          `json:"description"`
	Version     int             `json:"version"`
	CreatedAt   string          `json:"createdAt"`
	CreatedBy   string          `json:"createdBy"`
	ModifiedAt  string          `json:"modifiedAt"`
	ModifiedBy  string          `json:"modifiedBy"`
	ParentId    string          `json:"parentId"`
	ContentType string          `json:"contentType"`
	Type        string          `json:"type"`
	IsSystem    bool            `json:"isSystem"`
	IsMutable   bool            `json:"isMutable"`
	Permissions []string        `json:"permissions"`
	Children    []MonitorFolder `json:"children"`
}

type S3XAmzAcl added in v0.8.0

type S3XAmzAcl struct {
	S3XAmzAcl string `json:"s3:x-amz-acl,omitempty"`
}

type SavedSearchWithScheduleSyncDefinition added in v0.4.0

type SavedSearchWithScheduleSyncDefinition struct {
	Type           string         `json:"type"`
	Name           string         `json:"name"`
	Search         search         `json:"search"`
	SearchSchedule searchSchedule `json:"searchSchedule"`
	Description    string         `json:"description"`
}

type ScheduledViews added in v0.7.0

type ScheduledViews struct {
	Query               string `json:"query"`
	IndexName           string `json:"indexName"`
	StartTime           string `json:"startTime"`
	RetentionPeriod     int    `json:"retentionPeriod"`
	DataForwardingId    string `json:"dataForwardingId"`
	ParsingMode         string `json:"parsingMode"`
	Id                  string `json:"id"`
	CreatedAt           string `json:"createdAt"`
	CreatedByOptimizeIt bool   `json:"createdByOptimizeIt"`
	Error               string `json:"error"`
	Status              string `json:"status"`
	TotalBytes          int    `json:"totalBytes"`
	TotalMessageCount   int    `json:"totalMessageCount"`
	CreatedBy           string `json:"createdBy"`
}

type SourceFilters added in v0.7.0

type SourceFilters struct {
	FilterType string `json:"filterType"`
	Name       string `json:"name"`
	Regexp     string `json:"regexp"`
}

type SourcesResponse

type SourcesResponse struct {
	Id                         int               `json:"id"`
	Name                       string            `json:"name"`
	HostName                   string            `json:"hostName,omitempty"`
	AutomaticDateParsing       bool              `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool              `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool              `json:"useAutolineMatching"`
	ForceTimezone              bool              `json:"forceTimezome"`
	Filters                    []SourceFilters   `json:"filters"`
	CutoffTimestamp            int               `json:"cutoffTimestamp"`
	Encoding                   string            `json:"encoding"`
	Interval                   int               `json:"interval"`
	Metrics                    []string          `json:"metrics"`
	SourceType                 string            `json:"sourceType"`
	Alive                      bool              `json:"alive"`
	Url                        string            `json:"url,omitempty"`
	Category                   string            `json:"category,omitempty"`
	Fields                     map[string]string `json:"fields,omitempty"`
	MessagePerRequest          bool              `json:"messagePerRequest"`
}

type StartExportResponse added in v0.4.0

type StartExportResponse struct {
	Id string `json:"id"`
}

type SumoApiEndpoint

type SumoApiEndpoint struct {
	Name     string
	Code     string
	Endpoint string
}

type SumoAuth

type SumoAuth struct {
	Version   string `json:"version"`
	AccessId  string `json:"accessid"`
	AccessKey string `json:"accesskey"`
	Region    string `json:"region"`
	Endpoint  string `json:"endpoint"`
}

type Targets added in v0.3.0

type Targets struct {
	Targets []targetsResponse `json:"targets"`
}

type ThirdPartyReference added in v0.8.0

type ThirdPartyReference struct {
	Resources []ThirdPartyReferenceResources `json:"resources"`
}

type ThirdPartyReferenceResources added in v0.8.0

type ThirdPartyReferenceResources struct {
	ServiceType    string                                     `json:"serviceType"`
	Path           ThirdPartyReferenceResourcesPath           `json:"path"`
	Authentication ThirdPartyReferenceResourcesAuthentication `json:"authentication"`
}

type ThirdPartyReferenceResourcesAuthentication added in v0.8.0

type ThirdPartyReferenceResourcesAuthentication struct {
	Type    string `json:"type"`
	AwsId   string `json:"awsId,omitempty"`
	AwsKey  string `json:"awsKey,omitempty"`
	RoleArn string `json:"roleARN,omitempty"`
}

type ThirdPartyReferenceResourcesPath added in v0.8.0

type ThirdPartyReferenceResourcesPath struct {
	Type                      string                                   `json:"type"`
	BucketName                string                                   `json:"bucketName"`
	PathExpression            string                                   `json:"pathExpression"`
	SnsTopicOrSubscriptionArn ThirdPartyReferenceResourcesPathSnsTopic `json:"snsTopicOrSubscriptionArn,omitempty"`
}

type ThirdPartyReferenceResourcesPathSnsTopic added in v0.8.0

type ThirdPartyReferenceResourcesPathSnsTopic struct {
	IsSuccess bool   `json:"isSuccess"`
	Arn       string `json:"arn"`
}

type UpdateFolderRequest added in v0.5.0

type UpdateFolderRequest struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type UpdatePartition added in v0.7.0

type UpdatePartition struct {
	RetentionPeriod                  int    `json:"retentionPeriod"`
	ReduceRetentionPeriodImmediately bool   `json:"reduceRetentionPeriodImmediately"`
	IsCompliant                      bool   `json:"isCompliant"`
	RoutingExpression                string `json:"routingExpression"`
}

type UpdateScheduledView added in v0.7.0

type UpdateScheduledView struct {
	DataForwardingId                 string `json:"dataForwardingId"`
	RetentionPeriod                  int    `json:"retentionPeriod"`
	ReduceRetentionPeriodImmediately bool   `json:"reduceRetentionPeriodImmediately"`
}

type UpdateSourcesResponse added in v0.6.0

type UpdateSourcesResponse struct {
	Id                         string            `json:"id"`
	Name                       string            `json:"name"`
	HostName                   string            `json:"hostName,omitempty"`
	AutomaticDateParsing       bool              `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool              `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool              `json:"useAutolineMatching"`
	ForceTimezone              bool              `json:"forceTimezome"`
	Filters                    []SourceFilters   `json:"filters"`
	CutoffTimestamp            int               `json:"cutoffTimestamp"`
	Encoding                   string            `json:"encoding"`
	Interval                   int               `json:"interval"`
	Metrics                    []string          `json:"metrics"`
	SourceType                 string            `json:"sourceType"`
	Alive                      bool              `json:"alive"`
	Url                        string            `json:"url,omitempty"`
	Category                   string            `json:"category,omitempty"`
	Fields                     map[string]string `json:"fields,omitempty"`
	MessagePerRequest          bool              `json:"messagePerRequest"`
}

type UpgradeTask added in v0.3.0

type UpgradeTask struct {
	CollectorId int    `json:"collectorId"`
	ToVersion   string `json:"toVersion"`
}

type UpgradeTaskResponse added in v0.3.0

type UpgradeTaskResponse struct {
	Id   string          `json:"id"`
	Link upgradeTaskLink `json:"link"`
}

type UpgradeTaskStatus added in v0.3.0

type UpgradeTaskStatus struct {
	Upgrade upgradeTaskProgress `json:"upgrade"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL