sumologic

package
v0.0.0-...-6064499 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MPL-2.0 Imports: 22 Imported by: 1

Documentation

Overview

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Sumo Logic and manual
changes will be clobbered when the file is regenerated. Do not submit
changes to this file.

----------------------------------------------------------------------------\

Index

Constants

View Source
const Duplicate string = "Duplicate"
View Source
const FalsePositive string = "FalsePositive"
View Source
const NoAction string = "NoAction"
View Source
const Resolved string = "Resolved"
View Source
const SLOBaseApiUrl = "v1/slos"

Variables

View Source
var (
	ValidCompleteLiteralTimeRangeValues = []string{
		"today",
		"yesterday",
		"previous_week",
		"previous_month",
	}

	ValidLiteralTimeRangeValues = []string{
		"now",
		"second",
		"minute",
		"hour",
		"day",
		"today",
		"week",
		"month",
		"year",
	}
)
View Source
var DefaultPasswordPolicy = PasswordPolicy{
	MinLength:                      8,
	MaxLength:                      128,
	MustContainLowercase:           true,
	MustContainUppercase:           true,
	MustContainDigits:              true,
	MustContainSpecialChars:        true,
	MaxPasswordAgeInDays:           365,
	MinUniquePasswords:             10,
	AccountLockoutThreshold:        6,
	FailedLoginResetDurationInMins: 10,
	AccountLockoutDurationInMins:   30,
	RequireMfa:                     false,
	RememberMfa:                    true,
}
View Source
var DefaultPolicies = Policies{
	Audit:                              AuditPolicy{Enabled: false},
	DataAccessLevel:                    DataAccessLevelPolicy{Enabled: false},
	MaxUserSessionTimeout:              MaxUserSessionTimeoutPolicy{MaxUserSessionTimeout: "7d"},
	SearchAudit:                        SearchAuditPolicy{Enabled: false},
	ShareDashboardsOutsideOrganization: ShareDashboardsOutsideOrganizationPolicy{Enabled: false},
	UserConcurrentSessionsLimit:        UserConcurrentSessionsLimitPolicy{Enabled: false, MaxConcurrentSessions: 100},
}
View Source
var FieldsMap = map[string]map[string]string{
	"User": map[string]string{
		"firstName":           "Test",
		"lastName":            "User",
		"email":               "testterraform@demo.com",
		"isActive":            "true",
		"transferTo":          "",
		"updatedFirstName":    "TestUpdated",
		"updatedLastName":     "UserUpdated",
		"updatedEmail":        "testterraform@demo.com",
		"updatedIsActive":     "false",
		"preUpdateTransferTo": "nonExistentTestId",
	},

	"Role": map[string]string{
		"name":                   "TestTestTestTerraformRole",
		"description":            "test terraform role",
		"filterPredicate":        "_sourceCategory=org-service",
		"capabilities":           "manageContent",
		"updatedName":            "TestTestTestTerraformRoleUpdated",
		"updatedDescription":     "test terraform role updated",
		"updatedFilterPredicate": "_sourceCategory=bill",
		"updatedCapabilities":    "manageContent",
	},

	"FieldExtractionRule": map[string]string{
		"name":                   "TestTestTestTerraformFER",
		"scope":                  "_sourceHost=127.0.0.1",
		"parseExpression":        "csv _raw extract 1 as f1",
		"enabled":                "true",
		"updatedName":            "TestTestTestTerraformFERUpdated",
		"updatedScope":           "_sourceHost=127.0.0.1",
		"updatedParseExpression": "csv _raw extract 1 as f1",
		"updatedEnabled":         "true",
	},

	"IngestBudget": map[string]string{
		"name":                  "TestTestTerraformIngestBudget",
		"fieldValue":            "testTerraformAcceptanceTest",
		"capacityBytes":         "1000",
		"timezone":              "America/Los_Angeles",
		"resetTime":             "14:10",
		"description":           "string",
		"action":                "keepCollecting",
		"auditThreshold":        "85",
		"updatedName":           "TestTestTerraformIngestBudgetUpdated",
		"updatedFieldValue":     "testTerraformAcceptanceTest",
		"updatedCapacityBytes":  "1000",
		"updatedTimezone":       "America/Los_Angeles",
		"updatedResetTime":      "14:10",
		"updatedDescription":    "string updated",
		"updatedAction":         "keepCollecting",
		"updatedAuditThreshold": "90",
	},
}
View Source
var ProviderVersion string

Functions

func CmfFgpPermStmtSetEqual

func CmfFgpPermStmtSetEqual(permStmts01 []CmfFgpPermStatement, permStmts02 []CmfFgpPermStatement) bool

func CmfFgpPermStmtsSetToResource

func CmfFgpPermStmtsSetToResource(d *schema.ResourceData, permStmts []CmfFgpPermStatement)

func ErrorHandler

func ErrorHandler(resp *http.Response, err error, numTries int) (*http.Response, error)

func GetBeginBoundedTimeRangeSchema

func GetBeginBoundedTimeRangeSchema() map[string]*schema.Schema

func GetCmfFgpObjPermSetSchema

func GetCmfFgpObjPermSetSchema() *schema.Schema

func GetCmfFgpPermStmtSchema

func GetCmfFgpPermStmtSchema() map[string]*schema.Schema

func GetCompleteLiteralTimeRangeSchema

func GetCompleteLiteralTimeRangeSchema() map[string]*schema.Schema

func GetTerraformTimeRange

func GetTerraformTimeRange(timeRange map[string]interface{}) []map[string]interface{}

func GetTimeRange

func GetTimeRange(tfTimeRange map[string]interface{}) interface{}

func GetTimeRangeBoundary

func GetTimeRangeBoundary(tfRangeBoundary map[string]interface{}) interface{}

func GetTimeRangeBoundarySchema

func GetTimeRangeBoundarySchema() map[string]*schema.Schema

func GetTimeRangeSchema

func GetTimeRangeSchema() map[string]*schema.Schema

func HasErrorCode

func HasErrorCode(errorJsonStr string, errorCodeChoices []string) string

func Provider

func Provider() terraform.ResourceProvider

func StartDateIsAfterYesterday

func StartDateIsAfterYesterday() schema.SchemaValidateFunc

func SuppressEquivalentTimeDiff

func SuppressEquivalentTimeDiff(isRelative bool) func(k, oldValue, newValue string, d *schema.ResourceData) bool

This function returns a function (in 2 variants) determining whether two stringe representation of a time value can be considered equivalent. One variant compares only absolute values (ignores '-' sign) and the other compare relative values. For details see util_test.go::TestSuppressTimeDiff.

Some examples (we accept time units for seconds, minutes, hours, days and weeks): -1h = -60m 1h20m = 80m 60m60m60m1h = 3h30m30m -60m = 1h (only if we compare absolute values, so with isRelative = false) 1w = 604800s 1h != 61m 2m != 119s -1h != 1h (only if we compare relative values, so with isRelative = true) 1d = 22h60m3600s

Types

type AggregationFunction

type AggregationFunction struct {
	Name      string   `json:"name"`
	Function  string   `json:"function"`
	Arguments []string `json:"arguments"`
}

type AlertSearchNotification

type AlertSearchNotification struct {
	TaskType string `json:"taskType"`
	SourceId string `json:"sourceId"`
}

type ApiError

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

e.g.: {"id":"8UQOI-82VTR-YBQ8G","errors":[{"code":"not_implemented_yet","message":"Not implemented yet"}]} {"id":"RO4X1-BZW7P-Q8KJF","errors":[{"code":"api_not_enabled","message":"This API is not enabled for your organization."}]}

type AppInstallJobId

type AppInstallJobId struct {
	JOBID string `json:"jobId"`
}

type AppInstallPayload

type AppInstallPayload struct {
	VERSION    string                 `json:"version"`
	PARAMETERS map[string]interface{} `json:"parameters"`
}

type AppInstallResponse

type AppInstallResponse struct {
	INSTANCEID string `json:"instanceId"`
	PATH       string `json:"path"`
	FOLDERID   string `json:"folderId"`
}

type AppInstance

type AppInstance struct {
	ID                string `json:"id"`
	UUID              string `json:"uuid"`
	VERSION           string `json:"version"`
	CONFIGURATIONBLOB string `json:"configurationBlob"`
}

type AuditPolicy

type AuditPolicy struct {
	Enabled bool `json:"enabled"`
}

type BeginBoundedTimeRange

type BeginBoundedTimeRange struct {
	Type string      `json:"type"`
	From interface{} `json:"from"`
	To   interface{} `json:"to"`
}

type BurnRate

type BurnRate struct {
	BurnRateThreshold float64 `json:"burnRateThreshold"`
	TimeRange         string  `json:"timeRange"`
}

type CSEAggregationRule

type CSEAggregationRule struct {
	ID                     string                `json:"id,omitempty"`
	AggregationFunctions   []AggregationFunction `json:"aggregationFunctions"`
	DescriptionExpression  string                `json:"descriptionExpression"`
	Enabled                bool                  `json:"enabled"`
	EntitySelectors        []EntitySelector      `json:"entitySelectors"`
	GroupByEntity          bool                  `json:"groupByAsset"`
	GroupByFields          []string              `json:"groupByFields"`
	IsPrototype            bool                  `json:"isPrototype"`
	MatchExpression        string                `json:"matchExpression"`
	Name                   string                `json:"name"`
	NameExpression         string                `json:"nameExpression"`
	SeverityMapping        SeverityMapping       `json:"scoreMapping"`
	Stream                 string                `json:"stream"`
	SummaryExpression      string                `json:"summaryExpression"`
	TriggerExpression      string                `json:"triggerExpression"`
	Tags                   []string              `json:"tags"`
	WindowSize             windowSizeField       `json:"windowSize,omitempty"`
	WindowSizeName         string                `json:"windowSizeName,omitempty"`
	WindowSizeMilliseconds string                `json:"windowSizeMilliseconds,omitempty"`
}

type CSEAggregationRuleRequest

type CSEAggregationRuleRequest struct {
	CSEAggregationRule CSEAggregationRule `json:"fields"`
}

type CSEAggregationRuleResponse

type CSEAggregationRuleResponse struct {
	CSEAggregationRule CSEAggregationRule `json:"data"`
}

type CSEAutomation

type CSEAutomation struct {
	ID                  string   `json:"id,omitempty"`
	PlaybookId          string   `json:"playbookId"`
	CseResourceType     string   `json:"cseResourceType"`
	CseResourceSubTypes []string `json:"cseResourceSubTypes,omitempty"`
	Name                string   `json:"name,omitempty"`
	Description         string   `json:"description,omitempty"`
	ExecutionTypes      []string `json:"executionTypes"`
	Enabled             bool     `json:"enabled"`
}

type CSEAutomationRequestPost

type CSEAutomationRequestPost struct {
	CSEAutomation CSEAutomation `json:"fields"`
}

type CSEAutomationRequestUpdate

type CSEAutomationRequestUpdate struct {
	CSEAutomationUpdate CSEAutomationUpdate `json:"fields"`
}

type CSEAutomationResponse

type CSEAutomationResponse struct {
	CSEAutomation CSEAutomation `json:"data"`
}

type CSEAutomationUpdate

type CSEAutomationUpdate struct {
	CseResourceSubTypes []string `json:"cseResourceSubTypes"`
	ExecutionTypes      []string `json:"executionTypes"`
	Enabled             bool     `json:"enabled"`
}

type CSEChainRule

type CSEChainRule struct {
	ID                     string               `json:"id,omitempty"`
	Description            string               `json:"description"`
	Enabled                bool                 `json:"enabled"`
	EntitySelectors        []EntitySelector     `json:"entitySelectors"`
	ExpressionsAndLimits   []ExpressionAndLimit `json:"expressionsAndLimits"`
	GroupByFields          []string             `json:"groupByFields"`
	IsPrototype            bool                 `json:"isPrototype"`
	Ordered                bool                 `json:"ordered"`
	Name                   string               `json:"name"`
	Severity               int                  `json:"score"`
	Stream                 string               `json:"stream"`
	SummaryExpression      string               `json:"summaryExpression"`
	Tags                   []string             `json:"tags"`
	WindowSize             windowSizeField      `json:"windowSize,omitempty"`
	WindowSizeName         string               `json:"windowSizeName,omitempty"`
	WindowSizeMilliseconds string               `json:"windowSizeMilliseconds,omitempty"`
}

type CSEChainRuleRequest

type CSEChainRuleRequest struct {
	CSEChainRule CSEChainRule `json:"fields"`
}

type CSEChainRuleResponse

type CSEChainRuleResponse struct {
	CSEChainRule CSEChainRule `json:"data"`
}

type CSEContextAction

type CSEContextAction struct {
	ID              string   `json:"id,omitempty"`
	Name            string   `json:"name,omitempty"`
	Type            string   `json:"type"`
	Template        string   `json:"template"`
	IocTypes        []string `json:"iocTypes"`
	EntityTypes     []string `json:"entityTypes,omitempty"`
	RecordFields    []string `json:"recordFields,omitempty"`
	AllRecordFields bool     `json:"allRecordFields"`
	Enabled         bool     `json:"enabled"`
}

type CSEContextActionRequestUpdate

type CSEContextActionRequestUpdate struct {
	CSEContextAction CSEContextAction `json:"fields"`
}

type CSEContextActionResponse

type CSEContextActionResponse struct {
	CSEContextAction CSEContextAction `json:"data"`
}

type CSECreateUpdateTagSchema

type CSECreateUpdateTagSchema struct {
	Key          string        `json:"key,omitempty"`
	Label        string        `json:"label,omitempty"`
	ContentTypes []string      `json:"contentTypes"`
	FreeForm     bool          `json:"freeform"`
	ValueOptions []ValueOption `json:"valueOptions,omitempty"`
}

type CSECustomEntityType

type CSECustomEntityType struct {
	ID         string   `json:"id,omitempty"`
	Fields     []string `json:"fields"`
	Name       string   `json:"name"`
	Identifier string   `json:"identifier"`
}

type CSECustomEntityTypeRequestPost

type CSECustomEntityTypeRequestPost struct {
	CSECustomEntityType CSECustomEntityType `json:"fields"`
}

type CSECustomEntityTypeRequestUpdate

type CSECustomEntityTypeRequestUpdate struct {
	CSECustomEntityTypeUpdate CSECustomEntityTypeUpdate `json:"fields"`
}

type CSECustomEntityTypeResponse

type CSECustomEntityTypeResponse struct {
	CSECustomEntityType CSECustomEntityType `json:"data"`
}

type CSECustomEntityTypeUpdate

type CSECustomEntityTypeUpdate struct {
	Fields []string `json:"fields"`
	Name   string   `json:"name"`
}

type CSECustomInsight

type CSECustomInsight struct {
	ID              string            `json:"id,omitempty"`
	Description     string            `json:"description"`
	Enabled         bool              `json:"enabled"`
	Name            string            `json:"name"`
	Ordered         bool              `json:"ordered"`
	RuleIds         []string          `json:"ruleIds"`
	Severity        string            `json:"severity"`
	DynamicSeverity []DynamicSeverity `json:"dynamicSeverity"`
	SignalNames     []string          `json:"signalNames"`
	Tags            []string          `json:"tags"`
}

type CSECustomInsightRequest

type CSECustomInsightRequest struct {
	CSECustomInsight CSECustomInsight `json:"fields"`
}

type CSECustomInsightResponse

type CSECustomInsightResponse struct {
	CSECustomInsight CSECustomInsight `json:"data"`
}

type CSECustomMatchListColumn

type CSECustomMatchListColumn struct {
	ID     string   `json:"id,omitempty"`
	Name   string   `json:"name"`
	Fields []string `json:"fields"`
}

type CSECustomMatchListColumnRequest

type CSECustomMatchListColumnRequest struct {
	CSECustomMatchListColumn CSECustomMatchListColumn `json:"fields"`
}

type CSECustomMatchListColumnResponse

type CSECustomMatchListColumnResponse struct {
	CSECustomMatchListColumn CSECustomMatchListColumn `json:"data"`
}

type CSEEntityCriticalityConfig

type CSEEntityCriticalityConfig struct {
	ID                 string `json:"id,omitempty"`
	Name               string `json:"name"`
	SeverityExpression string `json:"severityExpression"`
}

type CSEEntityCriticalityConfigRequestPost

type CSEEntityCriticalityConfigRequestPost struct {
	CSEEntityCriticalityConfig CSEEntityCriticalityConfig `json:"fields"`
}

type CSEEntityCriticalityConfigRequestUpdate

type CSEEntityCriticalityConfigRequestUpdate struct {
	CSEEntityCriticalityConfigUpdate CSEEntityCriticalityConfigUpdate `json:"fields"`
}

type CSEEntityCriticalityConfigResponse

type CSEEntityCriticalityConfigResponse struct {
	CSEEntityCriticalityConfig CSEEntityCriticalityConfig `json:"data"`
}

type CSEEntityCriticalityConfigUpdate

type CSEEntityCriticalityConfigUpdate struct {
	SeverityExpression string `json:"severityExpression"`
}

type CSEEntityGroupConfiguration

type CSEEntityGroupConfiguration struct {
	ID                string   `json:"id,omitempty"`
	ConfigurationType string   `json:"configurationType,omitempty"`
	Created           string   `json:"created,omitempty"`
	CreatedBy         string   `json:"createdBy,omitempty"`
	Criticality       string   `json:"criticality,omitempty"`
	Deleted           bool     `json:"deleted,omitempty"`
	Description       string   `json:"description,omitempty"`
	EntityNamespace   string   `json:"entityNamespace,omitempty"`
	EntityType        string   `json:"entityType,omitempty"`
	Group             string   `json:"group,omitempty"`
	InventoryType     string   `json:"inventoryType,omitempty"`
	InventorySource   string   `json:"inventorySource,omitempty"`
	InventoryKey      string   `json:"inventoryKey,omitempty"`
	InventoryValue    string   `json:"inventoryValue,omitempty"`
	DynamicTags       bool     `json:"dynamicTags,omitempty"`
	TagSchema         string   `json:"tagSchema,omitempty"`
	LastUpdated       string   `json:"lastUpdated,omitempty,omitempty"`
	LastUpdatedBy     string   `json:"lastUpdatedBy,omitempty,omitempty"`
	Name              string   `json:"name,omitempty"`
	NetworkBlock      string   `json:"networkBlock,omitempty"`
	Prefix            string   `json:"prefix,omitempty"`
	Suffix            string   `json:"suffix,omitempty"`
	Suppressed        bool     `json:"suppressed,omitempty"`
	Tags              []string `json:"tags,omitempty"`
}

type CSEEntityGroupConfigurationRequest

type CSEEntityGroupConfigurationRequest struct {
	CSEEntityGroupConfiguration CSEEntityGroupConfiguration `json:"fields"`
}

type CSEEntityGroupConfigurationResponse

type CSEEntityGroupConfigurationResponse struct {
	CSEEntityGroupConfiguration CSEEntityGroupConfiguration `json:"data"`
}

type CSEEntityNormalizationConfiguration

type CSEEntityNormalizationConfiguration struct {
	WindowsNormalizationEnabled bool            `json:"adDomainNormalizationEnabled"`
	FqdnNormalizationEnabled    bool            `json:"fqdnNormalizationEnabled"`
	AwsNormalizationEnabled     bool            `json:"awsNormalizationEnabled"`
	DefaultNormalizedDomain     string          `json:"defaultNormalizedDomain,omitempty"`
	NormalizeHostnames          bool            `json:"normalizeHostnames"`
	NormalizeUsernames          bool            `json:"normalizeUsernames"`
	DomainMappings              []DomainMapping `json:"domainMappings"`
}

type CSEEntityNormalizationConfigurationRequest

type CSEEntityNormalizationConfigurationRequest struct {
	CSEEntityNormalizationConfiguration CSEEntityNormalizationConfiguration `json:"fields"`
}

type CSEEntityNormalizationConfigurationResponse

type CSEEntityNormalizationConfigurationResponse struct {
	CSEEntityNormalizationConfiguration CSEEntityNormalizationConfiguration `json:"data"`
}

type CSEFirstSeenRule

type CSEFirstSeenRule struct {
	ID                    string           `json:"id,omitempty"`
	AssetField            string           `json:"assetField"`
	BaselineType          string           `json:"baselineType"`
	BaselineWindowSize    string           `json:"baselineWindowSize"`
	DescriptionExpression string           `json:"descriptionExpression"`
	Enabled               bool             `json:"enabled"`
	EntitySelectors       []EntitySelector `json:"entitySelectors"`
	FilterExpression      string           `json:"filterExpression"`
	GroupByFields         []string         `json:"groupByFields"`
	IsPrototype           bool             `json:"isPrototype"`
	Name                  string           `json:"name"`
	NameExpression        string           `json:"nameExpression"`
	RetentionWindowSize   string           `json:"retentionWindowSize"`
	Severity              int              `json:"score"`
	SummaryExpression     string           `json:"summaryExpression"`
	Tags                  []string         `json:"tags"`
	ValueFields           []string         `json:"valueFields"`
	Version               int              `json:"version"`
}

type CSEFirstSeenRuleRequest

type CSEFirstSeenRuleRequest struct {
	CSEFirstSeenRule CSEFirstSeenRule `json:"fields"`
}

type CSEFirstSeenRuleResponse

type CSEFirstSeenRuleResponse struct {
	CSEFirstSeenRule CSEFirstSeenRule `json:"data"`
}

type CSEInsightsConfiguration

type CSEInsightsConfiguration struct {
	LookbackDays                  *float64 `json:"lookbackDays,omitempty"`
	Threshold                     *float64 `json:"threshold,omitempty"`
	GlobalSignalSuppressionWindow *float64 `json:"globalSignalSuppressionWindow,omitempty"`
}

type CSEInsightsConfigurationRequest

type CSEInsightsConfigurationRequest struct {
	CSEInsightsConfiguration CSEInsightsConfiguration `json:"config"`
}

type CSEInsightsConfigurationResponse

type CSEInsightsConfigurationResponse struct {
	CSEInsightsConfiguration CSEInsightsConfiguration `json:"data"`
}

type CSEInsightsResolutionGet

type CSEInsightsResolutionGet struct {
	ID          int                         `json:"id,omitempty"`
	Description string                      `json:"description,omitempty"`
	Name        string                      `json:"name,omitempty"`
	Parent      CSEInsightsResolutionParent `json:"parent,omitempty"`
}

type CSEInsightsResolutionParent

type CSEInsightsResolutionParent struct {
	ID   int    `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type CSEInsightsResolutionPost

type CSEInsightsResolutionPost struct {
	ID          int    `json:"id,omitempty"`
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
	ParentId    int    `json:"parentId,omitempty"`
}

type CSEInsightsResolutionRequestPost

type CSEInsightsResolutionRequestPost struct {
	CSEInsightsResolutionPost CSEInsightsResolutionPost `json:"fields"`
}

type CSEInsightsResolutionRequestUpdate

type CSEInsightsResolutionRequestUpdate struct {
	CSEInsightsResolutionUpdate CSEInsightsResolutionUpdate `json:"fields"`
}

type CSEInsightsResolutionResponse

type CSEInsightsResolutionResponse struct {
	CSEInsightsResolutionGet CSEInsightsResolutionGet `json:"data"`
}

type CSEInsightsResolutionUpdate

type CSEInsightsResolutionUpdate struct {
	Description string `json:"description"`
}

type CSEInsightsStatusGet

type CSEInsightsStatusGet struct {
	ID          string `json:"id,omitempty"`
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
}

type CSEInsightsStatusPost

type CSEInsightsStatusPost struct {
	ID          string `json:"id,omitempty"`
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
}

type CSEInsightsStatusRequestPost

type CSEInsightsStatusRequestPost struct {
	CSEInsightsStatusPost CSEInsightsStatusPost `json:"fields"`
}

type CSEInsightsStatusRequestUpdate

type CSEInsightsStatusRequestUpdate struct {
	CSEInsightsStatusUpdate CSEInsightsStatusUpdate `json:"fields"`
}

type CSEInsightsStatusResponse

type CSEInsightsStatusResponse struct {
	CSEInsightsStatusGet CSEInsightsStatusGet `json:"data"`
}

type CSEInsightsStatusUpdate

type CSEInsightsStatusUpdate struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
}

type CSELogMapping

type CSELogMapping struct {
	ID                 string                              `json:"id,omitempty"`
	Name               string                              `json:"name"`
	ParentId           string                              `json:"parentId,omitempty"`
	ProductGuid        string                              `json:"productGuid,omitempty"`
	RecordType         string                              `json:"recordType"`
	RelatesEntities    bool                                `json:"relatesEntities"`
	Fields             []CSELogMappingField                `json:"fields"`
	SkippedValues      []string                            `json:"skippedValues,omitempty"`
	StructuredInputs   []CSELogMappingStructuredInputField `json:"structuredInputs,omitempty"`
	UnstructuredFields *CSELogMappingUnstructuredFields    `json:"unstructuredFields,omitempty"`
	Enabled            *bool                               `json:"enabled,omitempty"`
}

type CSELogMappingField

type CSELogMappingField struct {
	Name             string                `json:"name"`
	Value            string                `json:"value"`
	ValueType        string                `json:"valueType"`
	SkippedValues    []string              `json:"skippedValues"`
	DefaultValue     string                `json:"defaultValue"`
	Format           string                `json:"format"`
	CaseInsensitive  bool                  `json:"caseInsensitive"`
	AlternateValues  []string              `json:"alternateValues"`
	TimeZone         string                `json:"timeZone"`
	SplitDelimiter   string                `json:"splitDelimiter"`
	SplitIndex       string                `json:"splitIndex"`
	FieldJoin        []string              `json:"fieldJoin"`
	JoinDelimiter    string                `json:"joinDelimiter"`
	FormatParameters []string              `json:"formatParameters"`
	LookUp           []CSELogMappingLookUp `json:"lookup"`
}

type CSELogMappingLookUp

type CSELogMappingLookUp struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type CSELogMappingRequest

type CSELogMappingRequest struct {
	CSELogMapping CSELogMapping `json:"fields"`
}

type CSELogMappingResponse

type CSELogMappingResponse struct {
	CSELogMapping CSELogMapping `json:"data"`
}

type CSELogMappingStructuredInputField

type CSELogMappingStructuredInputField struct {
	EventIdPattern string `json:"eventIdPattern"`
	LogFormat      string `json:"logFormat"`
	Product        string `json:"product"`
	Vendor         string `json:"vendor"`
}

type CSELogMappingUnstructuredFields

type CSELogMappingUnstructuredFields struct {
	PatternNames []string `json:"patternNames,omitempty"`
}

type CSELogMappingVendorAndProduct

type CSELogMappingVendorAndProduct struct {
	GUID    string `json:"guid"`
	Product string `json:"product"`
	Vendor  string `json:"vendor"`
}

type CSELogMappingVendorAndProductResponse

type CSELogMappingVendorAndProductResponse struct {
	CSELogMappingVendorAndProduct []CSELogMappingVendorAndProduct `json:"data"`
}

type CSEMatchListGet

type CSEMatchListGet struct {
	ID            string `json:"id,omitempty"`
	Active        bool   `json:"active,omitempty"`
	DefaultTtl    int    `json:"defaultTtl,omitempty"`
	Description   string `json:"description,omitempty"`
	Name          string `json:"name,omitempty"`
	TargetColumn  string `json:"targetColumn,omitempty"`
	Created       string `json:"created,omitempty"`
	CreatedBy     string `json:"createdBy,omitempty"`
	LastUpdated   string `json:"lastUpdated,omitempty"`
	LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
}

type CSEMatchListItemGet

type CSEMatchListItemGet struct {
	ID         string               `json:"id,omitempty"`
	Active     bool                 `json:"active,omitempty"`
	Expiration string               `json:"expiration,omitempty"`
	Meta       CSEMatchListItemMeta `json:"meta,omitempty"`
	Value      string               `json:"value,omitempty"`
}

type CSEMatchListItemMeta

type CSEMatchListItemMeta struct {
	Created     CSEMatchListItemMetaCreatedUpdated `json:"created,omitempty"`
	Description string                             `json:"description,omitempty"`
	Updated     CSEMatchListItemMetaCreatedUpdated `json:"updated,omitempty"`
}

type CSEMatchListItemMetaCreatedUpdated

type CSEMatchListItemMetaCreatedUpdated struct {
	Username string `json:"username,omitempty"`
	When     string `json:"when,omitempty"`
}

type CSEMatchListItemPost

type CSEMatchListItemPost struct {
	ID          string `json:"id,omitempty"`
	Active      bool   `json:"active,omitempty"`
	Description string `json:"description,omitempty"`
	Expiration  string `json:"expiration,omitempty"`
	Value       string `json:"value,omitempty"`
}

type CSEMatchListItemRequestPost

type CSEMatchListItemRequestPost struct {
	CSEMatchListItemPost []CSEMatchListItemPost `json:"items"`
}

type CSEMatchListItemRequestUpdate

type CSEMatchListItemRequestUpdate struct {
	CSEMatchListItemUpdate CSEMatchListItemUpdate `json:"fields"`
}

type CSEMatchListItemResponse

type CSEMatchListItemResponse struct {
	CSEMatchListItemGet CSEMatchListItemGet `json:"data"`
}

type CSEMatchListItemUpdate

type CSEMatchListItemUpdate struct {
	Active      bool   `json:"active,omitempty"`
	Expiration  string `json:"expiration,omitempty"`
	Description string `json:"description,omitempty"`
}

type CSEMatchListItemsGetRequest

type CSEMatchListItemsGetRequest struct {
	ID         string               `json:"id,omitempty"`
	Active     bool                 `json:"active,omitempty"`
	Expiration string               `json:"expiration,omitempty"`
	Meta       CSEMatchListItemMeta `json:"meta,omitempty"`
	Value      string               `json:"value,omitempty"`
}

type CSEMatchListItemsInMatchListGet

type CSEMatchListItemsInMatchListGet struct {
	CSEMatchListItemsGetObjects []CSEMatchListItemGet `json:"objects"`
	Total                       int                   `json:"total"`
}

type CSEMatchListItemsInMatchListResponse

type CSEMatchListItemsInMatchListResponse struct {
	CSEMatchListItemsGetData CSEMatchListItemsInMatchListGet `json:"data"`
}

type CSEMatchListPost

type CSEMatchListPost struct {
	ID           string `json:"id,omitempty"`
	Active       bool   `json:"active,omitempty"`
	DefaultTtl   int    `json:"defaultTtl,omitempty"`
	Description  string `json:"description,omitempty"`
	Name         string `json:"name,omitempty"`
	TargetColumn string `json:"targetColumn"`
}

type CSEMatchListRequestPost

type CSEMatchListRequestPost struct {
	CSEMatchListPost CSEMatchListPost `json:"fields"`
}

type CSEMatchListRequestUpdate

type CSEMatchListRequestUpdate struct {
	CSEMatchListUpdate CSEMatchListUpdate `json:"fields"`
}

type CSEMatchListResponse

type CSEMatchListResponse struct {
	CSEMatchListGet CSEMatchListGet `json:"data"`
}

type CSEMatchListUpdate

type CSEMatchListUpdate struct {
	Active      bool   `json:"active,omitempty"`
	DefaultTtl  int    `json:"defaultTtl,omitempty"`
	Description string `json:"description,omitempty"`
}

type CSEMatchRule

type CSEMatchRule struct {
	ID                    string           `json:"id,omitempty"`
	DescriptionExpression string           `json:"descriptionExpression"`
	Enabled               bool             `json:"enabled"`
	EntitySelectors       []EntitySelector `json:"entitySelectors"`
	Expression            string           `json:"expression"`
	IsPrototype           bool             `json:"isPrototype"`
	Name                  string           `json:"name"`
	NameExpression        string           `json:"nameExpression"`
	SeverityMapping       SeverityMapping  `json:"scoreMapping"`
	Stream                string           `json:"stream"`
	SummaryExpression     string           `json:"summaryExpression"`
	Tags                  []string         `json:"tags"`
}

type CSEMatchRuleRequest

type CSEMatchRuleRequest struct {
	CSEMatchRule CSEMatchRule `json:"fields"`
}

type CSEMatchRuleResponse

type CSEMatchRuleResponse struct {
	CSEMatchRule CSEMatchRule `json:"data"`
}

type CSENetworkBlock

type CSENetworkBlock struct {
	ID                string `json:"id,omitempty"`
	AddressBlock      string `json:"addressBlock"`
	Label             string `json:"label"`
	Internal          bool   `json:"internal"`
	SuppressesSignals bool   `json:"suppressesSignals"`
}

type CSENetworkBlockRequest

type CSENetworkBlockRequest struct {
	CSENetworkBlock CSENetworkBlock `json:"fields"`
}

type CSENetworkBlockResponse

type CSENetworkBlockResponse struct {
	CSENetworkBlock CSENetworkBlock `json:"data"`
}

type CSEOutlierRule

type CSEOutlierRule struct {
	ID                    string                `json:"id,omitempty"`
	AssetField            string                `json:"assetField"`
	AggregationFunctions  []AggregationFunction `json:"aggregationFunctions"`
	BaselineWindowSize    string                `json:"baselineWindowSize"`
	DescriptionExpression string                `json:"descriptionExpression"`
	DeviationThreshold    int                   `json:"deviationThreshold"`
	Enabled               bool                  `json:"enabled"`
	EntitySelectors       []EntitySelector      `json:"entitySelectors"`
	FloorValue            int                   `json:"floorValue"`
	GroupByFields         []string              `json:"groupByFields"`
	IsPrototype           bool                  `json:"isPrototype"`
	MatchExpression       string                `json:"matchExpression"`
	Name                  string                `json:"name"`
	NameExpression        string                `json:"nameExpression"`
	RetentionWindowSize   string                `json:"retentionWindowSize"`
	Severity              int                   `json:"score"`
	SummaryExpression     string                `json:"summaryExpression"`
	Tags                  []string              `json:"tags"`
	WindowSize            windowSizeField       `json:"windowSize,omitempty"`
	WindowSizeName        string                `json:"windowSizeName,omitempty"`
}

type CSEOutlierRuleRequest

type CSEOutlierRuleRequest struct {
	CSEOutlierRule CSEOutlierRule `json:"fields"`
}

type CSEOutlierRuleResponse

type CSEOutlierRuleResponse struct {
	CSEOutlierRule CSEOutlierRule `json:"data"`
}

type CSERuleTuningExpression

type CSERuleTuningExpression struct {
	ID          string   `json:"id,omitempty"`
	Description string   `json:"description"`
	Name        string   `json:"name"`
	Expression  string   `json:"expression"`
	Enabled     bool     `json:"enabled"`
	Exclude     bool     `json:"exclude"`
	IsGlobal    bool     `json:"isGlobal"`
	RuleIds     []string `json:"ruleIds"`
}

type CSERuleTuningExpressionRequest

type CSERuleTuningExpressionRequest struct {
	CSERuleTuningExpression CSERuleTuningExpression `json:"fields"`
}

type CSERuleTuningExpressionResponse

type CSERuleTuningExpressionResponse struct {
	CSERuleTuningExpression CSERuleTuningExpression `json:"data"`
}

type CSETagSchema

type CSETagSchema struct {
	Key                string        `json:"key,omitempty"`
	Label              string        `json:"label,omitempty"`
	ContentTypes       []string      `json:"contentTypeEnums"`
	FreeForm           bool          `json:"freeform"`
	ValueOptionObjects []ValueOption `json:"valueOptionObjects,omitempty"`
}

type CSETagSchemaRequestCreateUpdate

type CSETagSchemaRequestCreateUpdate struct {
	CSETagSchema CSECreateUpdateTagSchema `json:"fields"`
}

type CSETagSchemaResponse

type CSETagSchemaResponse struct {
	CSETagSchema CSETagSchema `json:"data"`
}

type CSEThresholdRule

type CSEThresholdRule struct {
	ID                     string           `json:"id,omitempty"`
	CountDistinct          bool             `json:"countDistinct"`
	CountField             string           `json:"countField"`
	Description            string           `json:"description"`
	Enabled                bool             `json:"enabled"`
	EntitySelectors        []EntitySelector `json:"entitySelectors"`
	Expression             string           `json:"expression"`
	GroupByFields          []string         `json:"groupByFields"`
	IsPrototype            bool             `json:"isPrototype"`
	Limit                  int              `json:"limit"`
	Name                   string           `json:"name"`
	Severity               int              `json:"score"`
	Stream                 string           `json:"stream"`
	SummaryExpression      string           `json:"summaryExpression"`
	Tags                   []string         `json:"tags"`
	Version                int              `json:"version"`
	WindowSize             windowSizeField  `json:"windowSize,omitempty"`
	WindowSizeName         string           `json:"windowSizeName,omitempty"`
	WindowSizeMilliseconds string           `json:"windowSizeMilliseconds,omitempty"`
}

type CSEThresholdRuleRequest

type CSEThresholdRuleRequest struct {
	CSEThresholdRule CSEThresholdRule `json:"fields"`
}

type CSEThresholdRuleResponse

type CSEThresholdRuleResponse struct {
	CSEThresholdRule CSEThresholdRule `json:"data"`
}

type Client

type Client struct {
	AccessID      string
	AccessKey     string
	AuthJwt       string
	Environment   string
	BaseURL       *url.URL
	IsInAdminMode bool
	// contains filtered or unexported fields
}

func NewClient

func NewClient(accessID, accessKey, authJwt, environment, base_url string, admin bool) (*Client, error)

func (*Client) AssignCollectorToIngestBudget

func (s *Client) AssignCollectorToIngestBudget(ingestBudgetId string, collectorId int) error

func (*Client) CollectorAssignedToIngestBudget

func (s *Client) CollectorAssignedToIngestBudget(ingestBudgetId string, collectorId int) (bool, error)

func (*Client) CreateAppInstance

func (s *Client) CreateAppInstance(uuid string, appInstallPayload AppInstallPayload) (string, error)

func (*Client) CreateCSEAggregationRule

func (s *Client) CreateCSEAggregationRule(CSEAggregationRule CSEAggregationRule) (string, error)

func (*Client) CreateCSEAutomation

func (s *Client) CreateCSEAutomation(CSEAutomation CSEAutomation) (string, error)

func (*Client) CreateCSEChainRule

func (s *Client) CreateCSEChainRule(CSEChainRule CSEChainRule) (string, error)

func (*Client) CreateCSEContextAction

func (s *Client) CreateCSEContextAction(CSEContextAction CSEContextAction) (string, error)

func (*Client) CreateCSECustomEntityType

func (s *Client) CreateCSECustomEntityType(CSECustomEntityType CSECustomEntityType) (string, error)

func (*Client) CreateCSECustomInsight

func (s *Client) CreateCSECustomInsight(CSECustomInsight CSECustomInsight) (string, error)

func (*Client) CreateCSECustomMatchListColumn

func (s *Client) CreateCSECustomMatchListColumn(CSECustomMatchListColumn CSECustomMatchListColumn) (string, error)

func (*Client) CreateCSEEntityCriticalityConfig

func (s *Client) CreateCSEEntityCriticalityConfig(CSEEntityCriticalityConfig CSEEntityCriticalityConfig) (string, error)

func (*Client) CreateCSEEntityEntityGroupConfiguration

func (s *Client) CreateCSEEntityEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) (string, error)

func (*Client) CreateCSEFirstSeenRule

func (s *Client) CreateCSEFirstSeenRule(CSEFirstSeenRule CSEFirstSeenRule) (string, error)

func (*Client) CreateCSEInsightsResolution

func (s *Client) CreateCSEInsightsResolution(CSEInsightsResolutionPost CSEInsightsResolutionPost) (int, error)

func (*Client) CreateCSEInsightsStatus

func (s *Client) CreateCSEInsightsStatus(CSEInsightsStatusPost CSEInsightsStatusPost) (string, error)

func (*Client) CreateCSEInventoryEntityGroupConfiguration

func (s *Client) CreateCSEInventoryEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) (string, error)

func (*Client) CreateCSELogMapping

func (s *Client) CreateCSELogMapping(CSELogMapping CSELogMapping) (string, error)

func (*Client) CreateCSEMatchList

func (s *Client) CreateCSEMatchList(CSEMatchListPost CSEMatchListPost) (string, error)

func (*Client) CreateCSEMatchListItems

func (s *Client) CreateCSEMatchListItems(CSEMatchListItemPost []CSEMatchListItemPost, MatchListID string) error

func (*Client) CreateCSEMatchRule

func (s *Client) CreateCSEMatchRule(CSEMatchRule CSEMatchRule) (string, error)

func (*Client) CreateCSENetworkBlock

func (s *Client) CreateCSENetworkBlock(cseNetworkBlock CSENetworkBlock) (string, error)

func (*Client) CreateCSEOutlierRule

func (s *Client) CreateCSEOutlierRule(CSEOutlierRule CSEOutlierRule) (string, error)

func (*Client) CreateCSERuleTuningExpression

func (s *Client) CreateCSERuleTuningExpression(CSERuleTuningExpression CSERuleTuningExpression) (string, error)

func (*Client) CreateCSETagSchema

func (s *Client) CreateCSETagSchema(CSECreateUpdateTagSchema CSECreateUpdateTagSchema) (string, error)

func (*Client) CreateCSEThresholdRule

func (s *Client) CreateCSEThresholdRule(CSEThresholdRule CSEThresholdRule) (string, error)

func (*Client) CreateCloudToCloudSource

func (s *Client) CreateCloudToCloudSource(source CloudToCloudSource, collectorID int) (int, error)

func (*Client) CreateCloudsyslogSource

func (s *Client) CreateCloudsyslogSource(cloudSyslogSource CloudSyslogSource, collectorID int) (int, error)

func (*Client) CreateCollector

func (s *Client) CreateCollector(collector Collector) (int64, error)

func (*Client) CreateConnection

func (s *Client) CreateConnection(connection Connection) (string, error)

CreateConnection creates connection with given params

func (*Client) CreateDashboard

func (s *Client) CreateDashboard(dashboardReq Dashboard) (*Dashboard, error)

func (*Client) CreateField

func (s *Client) CreateField(field Field) (string, error)

func (*Client) CreateFieldExtractionRule

func (s *Client) CreateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) (string, error)

func (*Client) CreateFolder

func (s *Client) CreateFolder(folder Folder) (string, error)

func (*Client) CreateGCPSource

func (s *Client) CreateGCPSource(gcpSource GCPSource, collectorID int) (int, error)

func (*Client) CreateHTTPSource

func (s *Client) CreateHTTPSource(httpSource HTTPSource, collectorID int) (int, error)

func (*Client) CreateHierarchy

func (s *Client) CreateHierarchy(hierarchy Hierarchy) (string, error)

func (*Client) CreateIngestBudget

func (s *Client) CreateIngestBudget(budget IngestBudget) (string, error)

func (*Client) CreateIngestBudgetV2

func (s *Client) CreateIngestBudgetV2(ingestBudgetV2 IngestBudgetV2) (string, error)

func (*Client) CreateKinesisLogSource

func (s *Client) CreateKinesisLogSource(kinesisLogSource KinesisLogSource, collectorID int) (int, error)

func (*Client) CreateKinesisMetricsSource

func (s *Client) CreateKinesisMetricsSource(kinesisMetricsSource KinesisMetricsSource, collectorID int) (int, error)

func (*Client) CreateLocalFileSource

func (s *Client) CreateLocalFileSource(source LocalFileSource, collectorID int) (int, error)

func (*Client) CreateLogSearch

func (s *Client) CreateLogSearch(logSearch LogSearch) (string, error)

func (*Client) CreateLookupTable

func (s *Client) CreateLookupTable(lookupTable LookupTable) (string, error)

func (*Client) CreateMetadataSource

func (s *Client) CreateMetadataSource(source MetadataSource, collectorID int) (int, error)

func (*Client) CreateMetricsSearch

func (s *Client) CreateMetricsSearch(metricsSearch MetricsSearch) (string, error)

func (*Client) CreateMonitorsLibraryFolder

func (s *Client) CreateMonitorsLibraryFolder(monitorsLibraryFolder MonitorsLibraryFolder, paramMap map[string]string) (string, error)

func (*Client) CreateMonitorsLibraryMonitor

func (s *Client) CreateMonitorsLibraryMonitor(monitorsLibraryMonitor MonitorsLibraryMonitor, paramMap map[string]string) (string, error)

func (*Client) CreateMutingSchedulesLibraryMutingSchedule

func (s *Client) CreateMutingSchedulesLibraryMutingSchedule(mutingSchedulesLibraryMutingSchedule MutingSchedulesLibraryMutingSchedule, paramMap map[string]string) (string, error)

func (*Client) CreateOrUpdateContent

func (s *Client) CreateOrUpdateContent(content Content, timeout time.Duration, overwrite bool) (string, error)

func (*Client) CreatePartition

func (s *Client) CreatePartition(spartition Partition) (*Partition, error)

func (*Client) CreatePollingSource

func (s *Client) CreatePollingSource(source PollingSource, collectorID int) (int, error)

func (*Client) CreateRole

func (s *Client) CreateRole(role Role) (string, error)

func (*Client) CreateRumSource

func (s *Client) CreateRumSource(rumSource RumSource, collectorID int) (int, error)

func (*Client) CreateSLO

func (s *Client) CreateSLO(slo SLOLibrarySLO, paramMap map[string]string) (string, error)

func (*Client) CreateSLOLibraryFolder

func (s *Client) CreateSLOLibraryFolder(sloLibraryFolder SLOLibraryFolder, paramMap map[string]string) (string, error)

func (*Client) CreateSamlConfiguration

func (s *Client) CreateSamlConfiguration(samlConfiguration SamlConfiguration) (*SamlConfiguration, error)

func (*Client) CreateScheduledView

func (s *Client) CreateScheduledView(sview ScheduledView) (*ScheduledView, error)

func (*Client) CreateSubdomain

func (s *Client) CreateSubdomain(subdomain Subdomain) (string, error)

func (*Client) CreateToken

func (s *Client) CreateToken(token Token) (string, error)

func (*Client) CreateUser

func (s *Client) CreateUser(user User) (string, error)

func (*Client) DecommissionPartition

func (s *Client) DecommissionPartition(id string) error

func (*Client) Delete

func (s *Client) Delete(urlPath string) ([]byte, error)

func (*Client) DeleteAppInstance

func (s *Client) DeleteAppInstance(uuid string) error

func (*Client) DeleteCSEAggregationRule

func (s *Client) DeleteCSEAggregationRule(id string) error

func (*Client) DeleteCSEAutomation

func (s *Client) DeleteCSEAutomation(id string) error

func (*Client) DeleteCSEChainRule

func (s *Client) DeleteCSEChainRule(id string) error

func (*Client) DeleteCSEContextAction

func (s *Client) DeleteCSEContextAction(id string) error

func (*Client) DeleteCSECustomEntityType

func (s *Client) DeleteCSECustomEntityType(id string) error

func (*Client) DeleteCSECustomInsight

func (s *Client) DeleteCSECustomInsight(id string) error

func (*Client) DeleteCSECustomMatchListColumn

func (s *Client) DeleteCSECustomMatchListColumn(id string) error

func (*Client) DeleteCSEEntityCriticalityConfig

func (s *Client) DeleteCSEEntityCriticalityConfig(id string) error

func (*Client) DeleteCSEEntityGroupConfiguration

func (s *Client) DeleteCSEEntityGroupConfiguration(id string) error

func (*Client) DeleteCSEFirstSeenRule

func (s *Client) DeleteCSEFirstSeenRule(id string) error

func (*Client) DeleteCSEInsightsResolution

func (s *Client) DeleteCSEInsightsResolution(id string) error

func (*Client) DeleteCSEInsightsStatus

func (s *Client) DeleteCSEInsightsStatus(id string) error

func (*Client) DeleteCSELogMapping

func (s *Client) DeleteCSELogMapping(id string) error

func (*Client) DeleteCSEMatchList

func (s *Client) DeleteCSEMatchList(id string) error

func (*Client) DeleteCSEMatchListItem

func (s *Client) DeleteCSEMatchListItem(id string) error

func (*Client) DeleteCSEMatchRule

func (s *Client) DeleteCSEMatchRule(id string) error

func (*Client) DeleteCSENetworkBlock

func (s *Client) DeleteCSENetworkBlock(id string) error

func (*Client) DeleteCSEOutlierRule

func (s *Client) DeleteCSEOutlierRule(id string) error

func (*Client) DeleteCSERuleTuningExpression

func (s *Client) DeleteCSERuleTuningExpression(id string) error

func (*Client) DeleteCSETagSchema

func (s *Client) DeleteCSETagSchema(id string) error

func (*Client) DeleteCSEThresholdRule

func (s *Client) DeleteCSEThresholdRule(id string) error

func (*Client) DeleteCollector

func (s *Client) DeleteCollector(id int) error

func (*Client) DeleteConnection

func (s *Client) DeleteConnection(id string, connectionType string) error

DeleteConnection deletes connection linked to id

func (*Client) DeleteContent

func (s *Client) DeleteContent(id string, timeout time.Duration) error

func (*Client) DeleteDashboard

func (s *Client) DeleteDashboard(id string) error

func (*Client) DeleteField

func (s *Client) DeleteField(id string) error

func (*Client) DeleteFieldExtractionRule

func (s *Client) DeleteFieldExtractionRule(id string) error

func (*Client) DeleteFolder

func (s *Client) DeleteFolder(id string, timeout time.Duration) error

func (*Client) DeleteHierarchy

func (s *Client) DeleteHierarchy(id string) error

func (*Client) DeleteIngestBudget

func (s *Client) DeleteIngestBudget(id string) error

func (*Client) DeleteIngestBudgetV2

func (s *Client) DeleteIngestBudgetV2(id string) error

func (*Client) DeleteLogSearch

func (s *Client) DeleteLogSearch(id string) error

func (*Client) DeleteLookupTable

func (s *Client) DeleteLookupTable(id string) error

func (*Client) DeleteMetricsSearch

func (s *Client) DeleteMetricsSearch(id string) error

func (*Client) DeleteMonitorsLibraryFolder

func (s *Client) DeleteMonitorsLibraryFolder(id string) error

func (*Client) DeleteMonitorsLibraryMonitor

func (s *Client) DeleteMonitorsLibraryMonitor(id string) error

func (*Client) DeleteMutingSchedulesLibraryMutingSchedule

func (s *Client) DeleteMutingSchedulesLibraryMutingSchedule(id string) error

func (*Client) DeletePermissions

func (s *Client) DeletePermissions(contentPermissionsRequest PermissionsRequest, id string) error

func (*Client) DeleteRole

func (s *Client) DeleteRole(id string) error

func (*Client) DeleteSLO

func (s *Client) DeleteSLO(id string) error

func (*Client) DeleteSLOLibraryFolder

func (s *Client) DeleteSLOLibraryFolder(id string) error

func (*Client) DeleteSamlConfiguration

func (s *Client) DeleteSamlConfiguration(id string) error

func (*Client) DeleteScheduledView

func (s *Client) DeleteScheduledView(id string) error

func (*Client) DeleteSubdomain

func (s *Client) DeleteSubdomain() error

func (*Client) DeleteToken

func (s *Client) DeleteToken(id string) error

func (*Client) DeleteUser

func (s *Client) DeleteUser(id string, transferTo string) error

func (*Client) DestroySource

func (s *Client) DestroySource(sourceID int, collectorID int) error

func (*Client) FindFieldId

func (s *Client) FindFieldId(name string) (string, error)

func (*Client) FindIngestBudget

func (s *Client) FindIngestBudget(name string) (*IngestBudget, error)

func (*Client) Get

func (s *Client) Get(urlPath string) ([]byte, string, error)

func (*Client) GetAppInstance

func (s *Client) GetAppInstance(id string) (*AppInstance, error)

func (*Client) GetCSEAggregationRule

func (s *Client) GetCSEAggregationRule(id string) (*CSEAggregationRule, error)

func (*Client) GetCSEAutomation

func (s *Client) GetCSEAutomation(id string) (*CSEAutomation, error)

func (*Client) GetCSEChainRule

func (s *Client) GetCSEChainRule(id string) (*CSEChainRule, error)

func (*Client) GetCSEContextAction

func (s *Client) GetCSEContextAction(id string) (*CSEContextAction, error)

func (*Client) GetCSECustomEntityType

func (s *Client) GetCSECustomEntityType(id string) (*CSECustomEntityType, error)

func (*Client) GetCSECustomInsight

func (s *Client) GetCSECustomInsight(id string) (*CSECustomInsight, error)

func (*Client) GetCSECustomMatchListColumn

func (s *Client) GetCSECustomMatchListColumn(id string) (*CSECustomMatchListColumn, error)

func (*Client) GetCSEEntityCriticalityConfig

func (s *Client) GetCSEEntityCriticalityConfig(id string) (*CSEEntityCriticalityConfig, error)

func (*Client) GetCSEEntityNormalizationConfiguration

func (s *Client) GetCSEEntityNormalizationConfiguration() (*CSEEntityNormalizationConfiguration, error)

func (*Client) GetCSEFirstSeenRule

func (s *Client) GetCSEFirstSeenRule(id string) (*CSEFirstSeenRule, error)

func (*Client) GetCSEInsightsConfiguration

func (s *Client) GetCSEInsightsConfiguration() (*CSEInsightsConfiguration, error)

func (*Client) GetCSEInsightsResolution

func (s *Client) GetCSEInsightsResolution(id string) (*CSEInsightsResolutionGet, error)

func (*Client) GetCSEInsightsStatus

func (s *Client) GetCSEInsightsStatus(id string) (*CSEInsightsStatusGet, error)

func (*Client) GetCSELogMapping

func (s *Client) GetCSELogMapping(id string) (*CSELogMapping, error)

func (*Client) GetCSELogMappingVendorsAndProducts

func (s *Client) GetCSELogMappingVendorsAndProducts(product, vendor string) (*CSELogMappingVendorAndProduct, error)

func (*Client) GetCSEMatchList

func (s *Client) GetCSEMatchList(id string, getCustomTargetColumnName bool) (*CSEMatchListGet, error)

func (*Client) GetCSEMatchListItem

func (s *Client) GetCSEMatchListItem(id string) (*CSEMatchListItemGet, error)

func (*Client) GetCSEMatchListItemsInMatchList

func (s *Client) GetCSEMatchListItemsInMatchList(MatchListId string) (*CSEMatchListItemsInMatchListGet, error)

func (*Client) GetCSEMatchRule

func (s *Client) GetCSEMatchRule(id string) (*CSEMatchRule, error)

func (*Client) GetCSENetworkBlock

func (s *Client) GetCSENetworkBlock(id string) (*CSENetworkBlock, error)

func (*Client) GetCSEOutlierRule

func (s *Client) GetCSEOutlierRule(id string) (*CSEOutlierRule, error)

func (*Client) GetCSERuleTuningExpression

func (s *Client) GetCSERuleTuningExpression(id string) (*CSERuleTuningExpression, error)

func (*Client) GetCSETagSchema

func (s *Client) GetCSETagSchema(key string) (*CSETagSchema, error)

func (*Client) GetCSEThresholdRule

func (s *Client) GetCSEThresholdRule(id string) (*CSEThresholdRule, error)

func (*Client) GetCSEntityGroupConfiguration

func (s *Client) GetCSEntityGroupConfiguration(id string) (*CSEEntityGroupConfiguration, error)

func (*Client) GetCloudSyslogSource

func (s *Client) GetCloudSyslogSource(collectorID, sourceID int) (*CloudSyslogSource, error)

func (*Client) GetCloudToCloudSource

func (s *Client) GetCloudToCloudSource(collectorID, sourceID int) (*CloudToCloudSource, error)

func (*Client) GetCmfFgp

func (s *Client) GetCmfFgp(targetType string, targetId string) (*CmfFgpResponse, error)

func (*Client) GetCollector

func (s *Client) GetCollector(id int) (*Collector, error)

func (*Client) GetCollectorName

func (s *Client) GetCollectorName(name string) (*Collector, error)

func (*Client) GetConnection

func (s *Client) GetConnection(id string) (*Connection, error)

GetConnection returns connection information for given id

func (*Client) GetContent

func (s *Client) GetContent(id string, timeout time.Duration) (*Content, error)

func (*Client) GetContentPath

func (s *Client) GetContentPath(id string) (string, error)

func (*Client) GetCreatorId

func (s *Client) GetCreatorId(path string) (string, error)

func (*Client) GetDashboard

func (s *Client) GetDashboard(id string) (*Dashboard, error)

func (*Client) GetField

func (s *Client) GetField(id string) (*Field, error)

func (*Client) GetFieldExtractionRule

func (s *Client) GetFieldExtractionRule(id string) (*FieldExtractionRule, error)

func (*Client) GetFolder

func (s *Client) GetFolder(id string) (*Folder, error)

READ

func (*Client) GetFolderByPath

func (s *Client) GetFolderByPath(path string) (*Folder, error)

func (*Client) GetGCPSource

func (s *Client) GetGCPSource(collectorID, sourceID int) (*GCPSource, error)

func (*Client) GetHTTPSource

func (s *Client) GetHTTPSource(collectorID, sourceID int) (*HTTPSource, error)

func (*Client) GetHierarchy

func (s *Client) GetHierarchy(id string) (*Hierarchy, error)

func (*Client) GetIngestBudget

func (s *Client) GetIngestBudget(id string) (*IngestBudget, error)

func (*Client) GetIngestBudgetV2

func (s *Client) GetIngestBudgetV2(id string) (*IngestBudgetV2, error)

func (*Client) GetKinesisLogSource

func (s *Client) GetKinesisLogSource(collectorID, sourceID int) (*KinesisLogSource, error)

func (*Client) GetKinesisMetricsSource

func (s *Client) GetKinesisMetricsSource(collectorID, sourceID int) (*KinesisMetricsSource, error)

func (*Client) GetLocalFileSource

func (s *Client) GetLocalFileSource(collectorID, sourceID int) (*LocalFileSource, error)

func (*Client) GetLogSearch

func (s *Client) GetLogSearch(id string) (*LogSearch, error)

func (*Client) GetLookupTable

func (s *Client) GetLookupTable(id string) (*LookupTable, error)

func (*Client) GetMetadataSource

func (s *Client) GetMetadataSource(collectorID, sourceID int) (*MetadataSource, error)

func (*Client) GetMetricsSearch

func (s *Client) GetMetricsSearch(id string) (*MetricsSearch, error)

func (*Client) GetMonitorsLibraryFolder

func (s *Client) GetMonitorsLibraryFolder(id string) (*MonitorsLibraryFolder, error)

func (*Client) GetMutingSchedulesLibraryFolder

func (s *Client) GetMutingSchedulesLibraryFolder(id string) (*MutingSchedulesLibraryFolder, error)

func (*Client) GetPartition

func (s *Client) GetPartition(id string) (*Partition, error)

func (*Client) GetPasswordPolicy

func (s *Client) GetPasswordPolicy() (*PasswordPolicy, error)

func (*Client) GetPermissions

func (s *Client) GetPermissions(id string) (*PermissionsResponse, error)

func (*Client) GetPolicies

func (s *Client) GetPolicies() (*Policies, error)

func (*Client) GetPollingSource

func (s *Client) GetPollingSource(collectorID, sourceID int) (*PollingSource, error)

func (*Client) GetRole

func (s *Client) GetRole(id string) (*Role, error)

func (*Client) GetRoleName

func (s *Client) GetRoleName(name string) (*Role, error)

func (*Client) GetRumSource

func (s *Client) GetRumSource(collectorID, sourceID int) (*RumSource, error)

func (*Client) GetSLOLibraryFolder

func (s *Client) GetSLOLibraryFolder(id string) (*SLOLibraryFolder, error)

func (*Client) GetSamlConfiguration

func (s *Client) GetSamlConfiguration(id string) (*SamlConfiguration, error)

func (*Client) GetScheduledView

func (s *Client) GetScheduledView(id string) (*ScheduledView, error)

func (*Client) GetSourceName

func (s *Client) GetSourceName(collectorID int64, sourceName string) (*Source, error)

func (*Client) GetSubdomain

func (s *Client) GetSubdomain() (*Subdomain, error)

func (*Client) GetToken

func (s *Client) GetToken(id string) (*Token, error)

func (*Client) GetUser

func (s *Client) GetUser(id string) (*User, error)

func (*Client) GetUserByEmail

func (s *Client) GetUserByEmail(email string) (*User, error)

func (*Client) GetWithCookies

func (s *Client) GetWithCookies(urlPath string, cookies []*http.Cookie) ([]byte, string, error)

func (*Client) GetWithErrOpt

func (s *Client) GetWithErrOpt(urlPath string, return404Err bool) ([]byte, string, error)

func (*Client) MonitorsRead

func (s *Client) MonitorsRead(id string) (*MonitorsLibraryMonitor, error)

func (*Client) MoveMonitorsLibraryMonitor

func (s *Client) MoveMonitorsLibraryMonitor(monitorID string, newParentID string) (*MonitorsLibraryMonitor, error)

func (*Client) MoveSLOLibraryToFolder

func (s *Client) MoveSLOLibraryToFolder(id, parentId string) error

func (*Client) MutingSchedulesRead

func (s *Client) MutingSchedulesRead(id string) (*MutingSchedulesLibraryMutingSchedule, error)

func (*Client) Post

func (s *Client) Post(urlPath string, payload interface{}) ([]byte, error)

func (*Client) PostRawPayload

func (s *Client) PostRawPayload(urlPath string, payload string) ([]byte, error)

func (*Client) PostWithCookies

func (s *Client) PostWithCookies(urlPath string, payload interface{}) ([]byte, []*http.Cookie, error)

func (*Client) Put

func (s *Client) Put(urlPath string, payload interface{}) ([]byte, error)

func (*Client) ResetPasswordPolicy

func (s *Client) ResetPasswordPolicy() error

func (*Client) SLORead

func (s *Client) SLORead(id string) (*SLOLibrarySLO, error)

func (*Client) SendCreateCSEMatchListItemsRequest

func (s *Client) SendCreateCSEMatchListItemsRequest(CSEMatchListItemPost []CSEMatchListItemPost, MatchListID string) error

func (*Client) SendGetCSEMatchListItemsRequest

func (s *Client) SendGetCSEMatchListItemsRequest(MatchListId string, offset int) (*CSEMatchListItemsInMatchListGet, error)

func (*Client) SetCmfFgp

func (s *Client) SetCmfFgp(targetType string, cmfFgpRequest CmfFgpRequest) (*CmfFgpResponse, error)

func (*Client) UnAssignCollectorToIngestBudget

func (s *Client) UnAssignCollectorToIngestBudget(ingestBudgetId string, collectorId int) error

func (*Client) UpdateAppInstance

func (s *Client) UpdateAppInstance(uuid string, appInstallPayload AppInstallPayload) (string, error)

func (*Client) UpdateCSEAggregationRule

func (s *Client) UpdateCSEAggregationRule(CSEAggregationRule CSEAggregationRule) error

func (*Client) UpdateCSEAutomation

func (s *Client) UpdateCSEAutomation(CSEAutomation CSEAutomation) error

func (*Client) UpdateCSEChainRule

func (s *Client) UpdateCSEChainRule(CSEChainRule CSEChainRule) error

func (*Client) UpdateCSEContextAction

func (s *Client) UpdateCSEContextAction(CSEContextAction CSEContextAction) error

func (*Client) UpdateCSECustomEntityType

func (s *Client) UpdateCSECustomEntityType(CSECustomEntityType CSECustomEntityType) error

func (*Client) UpdateCSECustomInsight

func (s *Client) UpdateCSECustomInsight(CSECustomInsight CSECustomInsight) error

func (*Client) UpdateCSECustomMatchListColumn

func (s *Client) UpdateCSECustomMatchListColumn(CSECustomMatchListColumn CSECustomMatchListColumn) error

func (*Client) UpdateCSEEntityCriticalityConfig

func (s *Client) UpdateCSEEntityCriticalityConfig(CSEEntityCriticalityConfig CSEEntityCriticalityConfig) error

func (*Client) UpdateCSEEntityEntityGroupConfiguration

func (s *Client) UpdateCSEEntityEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) error

func (*Client) UpdateCSEEntityNormalizationConfiguration

func (s *Client) UpdateCSEEntityNormalizationConfiguration(CSEEntityNormalizationConfiguration CSEEntityNormalizationConfiguration) error

func (*Client) UpdateCSEFirstSeenRule

func (s *Client) UpdateCSEFirstSeenRule(CSEFirstSeenRule CSEFirstSeenRule) error

func (*Client) UpdateCSEInsightsConfiguration

func (s *Client) UpdateCSEInsightsConfiguration(CSEInsightsConfiguration CSEInsightsConfiguration) error

func (*Client) UpdateCSEInsightsResolution

func (s *Client) UpdateCSEInsightsResolution(CSEInsightsResolutionPost CSEInsightsResolutionPost) error

func (*Client) UpdateCSEInsightsStatus

func (s *Client) UpdateCSEInsightsStatus(CSEInsightsStatusPost CSEInsightsStatusPost) error

func (*Client) UpdateCSEInventoryEntityGroupConfiguration

func (s *Client) UpdateCSEInventoryEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) error

func (*Client) UpdateCSELogMapping

func (s *Client) UpdateCSELogMapping(CSELogMapping CSELogMapping) error

func (*Client) UpdateCSEMatchList

func (s *Client) UpdateCSEMatchList(CSEMatchListPost CSEMatchListPost) error

func (*Client) UpdateCSEMatchListItem

func (s *Client) UpdateCSEMatchListItem(CSEMatchListItemPost CSEMatchListItemPost) error

func (*Client) UpdateCSEMatchRule

func (s *Client) UpdateCSEMatchRule(CSEMatchRule CSEMatchRule) error

func (*Client) UpdateCSENetworkBlock

func (s *Client) UpdateCSENetworkBlock(cseNetworkBlock CSENetworkBlock) error

func (*Client) UpdateCSEOutlierRule

func (s *Client) UpdateCSEOutlierRule(CSEOutlierRule CSEOutlierRule) error

func (*Client) UpdateCSERuleTuningExpression

func (s *Client) UpdateCSERuleTuningExpression(CSERuleTuningExpression CSERuleTuningExpression) error

func (*Client) UpdateCSETagSchema

func (s *Client) UpdateCSETagSchema(CSECreateUpdateTagSchema CSECreateUpdateTagSchema) error

func (*Client) UpdateCSEThresholdRule

func (s *Client) UpdateCSEThresholdRule(CSEThresholdRule CSEThresholdRule) error

func (*Client) UpdateCloudSyslogSource

func (s *Client) UpdateCloudSyslogSource(source CloudSyslogSource, collectorID int) error

func (*Client) UpdateCloudToCloudSource

func (s *Client) UpdateCloudToCloudSource(source CloudToCloudSource, collectorID int) error

func (*Client) UpdateCollector

func (s *Client) UpdateCollector(collector Collector) error

func (*Client) UpdateConnection

func (s *Client) UpdateConnection(connection Connection) error

UpdateConnection updates connection with given params

func (*Client) UpdateDashboard

func (s *Client) UpdateDashboard(dashboard Dashboard) error

func (*Client) UpdateFieldExtractionRule

func (s *Client) UpdateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) error

func (*Client) UpdateFolder

func (s *Client) UpdateFolder(folder Folder) error

func (*Client) UpdateGCPSource

func (s *Client) UpdateGCPSource(source GCPSource, collectorID int) error

func (*Client) UpdateHTTPSource

func (s *Client) UpdateHTTPSource(source HTTPSource, collectorID int) error

func (*Client) UpdateHierarchy

func (s *Client) UpdateHierarchy(hierarchy Hierarchy) error

func (*Client) UpdateIngestBudget

func (s *Client) UpdateIngestBudget(budget IngestBudget) error

func (*Client) UpdateIngestBudgetV2

func (s *Client) UpdateIngestBudgetV2(ingestBudgetV2 IngestBudgetV2) error

func (*Client) UpdateKinesisLogSource

func (s *Client) UpdateKinesisLogSource(source KinesisLogSource, collectorID int) error

func (*Client) UpdateKinesisMetricsSource

func (s *Client) UpdateKinesisMetricsSource(source KinesisMetricsSource, collectorID int) error

func (*Client) UpdateLocalFileSource

func (s *Client) UpdateLocalFileSource(source LocalFileSource, collectorID int) error

func (*Client) UpdateLogSearch

func (s *Client) UpdateLogSearch(logSearch LogSearch) error

func (*Client) UpdateLookupTable

func (s *Client) UpdateLookupTable(lookupTable LookupTable) error

func (*Client) UpdateMetadataSource

func (s *Client) UpdateMetadataSource(source MetadataSource, collectorID int) error

func (*Client) UpdateMetricsSearch

func (s *Client) UpdateMetricsSearch(metricsSearch MetricsSearch) error

func (*Client) UpdateMonitorsLibraryFolder

func (s *Client) UpdateMonitorsLibraryFolder(monitorsLibraryFolder MonitorsLibraryFolder) error

func (*Client) UpdateMonitorsLibraryMonitor

func (s *Client) UpdateMonitorsLibraryMonitor(monitorsLibraryMonitor MonitorsLibraryMonitor) error

func (*Client) UpdateMutingSchedulesLibraryMutingSchedule

func (s *Client) UpdateMutingSchedulesLibraryMutingSchedule(mutingSchedulesLibraryMutingSchedule MutingSchedulesLibraryMutingSchedule) error

func (*Client) UpdatePartition

func (s *Client) UpdatePartition(spartition Partition) error

func (*Client) UpdatePasswordPolicy

func (s *Client) UpdatePasswordPolicy(passwordPolicy PasswordPolicy) (*PasswordPolicy, error)

func (*Client) UpdatePermissions

func (s *Client) UpdatePermissions(contentPermissionsRequest PermissionsRequest,
	id string) (string, error)

func (*Client) UpdatePolicies

func (s *Client) UpdatePolicies(policies Policies) (*Policies, error)

func (*Client) UpdatePollingSource

func (s *Client) UpdatePollingSource(source PollingSource, collectorID int) error

func (*Client) UpdateRole

func (s *Client) UpdateRole(role Role) error

func (*Client) UpdateRumSource

func (s *Client) UpdateRumSource(source RumSource, collectorID int) error

func (*Client) UpdateSLO

func (s *Client) UpdateSLO(slo SLOLibrarySLO) error

func (*Client) UpdateSLOLibraryFolder

func (s *Client) UpdateSLOLibraryFolder(sloLibraryFolder SLOLibraryFolder) error

func (*Client) UpdateSamlConfiguration

func (s *Client) UpdateSamlConfiguration(id string, samlConfiguration SamlConfiguration) error

func (*Client) UpdateScheduledView

func (s *Client) UpdateScheduledView(sview ScheduledView) error

func (*Client) UpdateSubdomain

func (s *Client) UpdateSubdomain(subdomain Subdomain) (string, error)

func (*Client) UpdateToken

func (s *Client) UpdateToken(token Token) error

func (*Client) UpdateUser

func (s *Client) UpdateUser(user User) error

type CloudSyslogSource

type CloudSyslogSource struct {
	Source
	Token string `json:"token,omitempty"`
}

type CloudToCloudSource

type CloudToCloudSource struct {
	ID        int             `json:"id,omitempty"`
	Type      string          `json:"sourceType"`
	Config    json.RawMessage `json:"config"`
	SchemaRef SchemaReference `json:"schemaRef"`
}

type CmfFgpIdentifier

type CmfFgpIdentifier struct {
	SubjectId   string `json:"subjectId"`
	SubjectType string `json:"subjectType"`
	TargetId    string `json:"targetId"`
}

type CmfFgpPermStatement

type CmfFgpPermStatement struct {
	SubjectId   string   `json:"subjectId"`
	SubjectType string   `json:"subjectType"`
	TargetId    string   `json:"targetId"`
	Permissions []string `json:"permissions"`
}

CmfFgpPermStatement is used to handle JSON Marshal and Unmarshal for both FGP Request and FGP Response Under FGP Response, those "createdAt", "createdBy", "modifiedAt", "modifiedBy" fields would be ignored.

func ReconcileFgpPermStmtsWithEmptyPerms

func ReconcileFgpPermStmtsWithEmptyPerms(tfResourcePermStmts []CmfFgpPermStatement,
	readPermStmts []CmfFgpPermStatement) []CmfFgpPermStatement

func ResourceToCmfFgpPermStmts

func ResourceToCmfFgpPermStmts(d *schema.ResourceData, targetId string) ([]CmfFgpPermStatement, error)

func (*CmfFgpPermStatement) ToCmfFgpIdentifier

func (permStmt *CmfFgpPermStatement) ToCmfFgpIdentifier() CmfFgpIdentifier

type CmfFgpRequest

type CmfFgpRequest struct {
	PermissionStatements []CmfFgpPermStatement `json:"permissionStatementDefinitions"`
}

type CmfFgpResponse

type CmfFgpResponse struct {
	PermissionStatements []CmfFgpPermStatement `json:"permissionStatements"`
}

type Collector

type Collector struct {
	ID               int64                  `json:"id,omitempty"`
	CollectorType    string                 `json:"collectorType,omitempty"`
	Name             string                 `json:"name"`
	Description      string                 `json:"description,omitempty"`
	Category         string                 `json:"category,omitempty"`
	TimeZone         string                 `json:"timeZone,omitempty"`
	Fields           map[string]interface{} `json:"fields,omitempty"`
	Links            []CollectorLink        `json:"links,omitempty"`
	CollectorVersion string                 `json:"collectorVersion,omitempty"`
	LastSeenAlive    int                    `json:"lastSeenAlive,omitempty"`
	Alive            bool                   `json:"alive,omitempty"`
	HostName         string                 `json:"hostName,omitempty"`
	Ephemeral        bool                   `json:"ephemeral"`
	SourceSyncMode   string                 `json:"sourceSyncMode,omitempty"`
	Targetcpu        int                    `json:"targetCpu,omitempty"`
	CutoffTimestamp  int                    `json:"cutoffTimestamp,omitempty"`
}
type CollectorLink struct {
	Rel  string `json:"rel,omitempty"`
	Href string `json:"href,omitempty"`
}

type CollectorList

type CollectorList struct {
	Collectors []Collector `json:"collectors"`
}

type CollectorRequest

type CollectorRequest struct {
	Collector Collector `json:"collector"`
}

type CollectorResponse

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

type ColorThreshold

type ColorThreshold struct {
	Color string  `json:"color"`
	Min   float64 `json:"min,omitempty"`
	Max   float64 `json:"max,omitempty"`
}

type ColoringRule

type ColoringRule struct {
	Scope                           string           `json:"scope"`
	SingleSeriesAggregateFunction   string           `json:"singleSeriesAggregateFunction"`
	MultipleSeriesAggregateFunction string           `json:"multipleSeriesAggregateFunction"`
	ColorThresholds                 []ColorThreshold `json:"colorThresholds"`
}

Coloring Rule related structs

type CompleteLiteralTimeRange

type CompleteLiteralTimeRange struct {
	Type      string `json:"type"`
	RangeName string `json:"rangeName"`
}

TimeRange related structs

type Connection

type Connection struct {
	ID                string    `json:"id,omitempty"`
	Type              string    `json:"type"`
	Name              string    `json:"name"`
	Description       string    `json:"description,omitempty"`
	URL               string    `json:"url"`
	Headers           []Headers `json:"headers,omitempty"`
	CustomHeaders     []Headers `json:"customHeaders,omitempty"`
	DefaultPayload    string    `json:"defaultPayload"`
	WebhookType       string    `json:"webhookType"`
	ConnectionSubtype string    `json:"connectionSubtype,omitempty"`
	ResolutionPayload string    `json:"resolutionPayload,omitempty"`
}

Connection is used to describe a connection.

type Content

type Content struct {
	ID             string      `json:"id,omitempty"`
	Type           string      `json:"type"`
	Name           string      `json:"name"`
	Description    string      `json:"description"`
	Children       []Content   `json:"children,omitempty"`
	Search         interface{} `json:"search"`
	SearchSchedule interface{} `json:"searchSchedule"`
	Config         string      `json:"-"`
	ParentId       string      `json:"-"`
}

type CseSignalNotification

type CseSignalNotification struct {
	TaskType   string `json:"taskType"`
	RecordType string `json:"recordType"`
}

type CsvVariableSourceDefinition

type CsvVariableSourceDefinition struct {
	VariableSourceType string `json:"variableSourceType"`
	Values             string `json:"values"`
}

type Dashboard

type Dashboard struct {
	ID               string         `json:"id,omitempty"`
	Title            string         `json:"title"`
	Description      string         `json:"description"`
	FolderId         string         `json:"folderId"`
	TopologyLabelMap *TopologyLabel `json:"topologyLabelMap"`
	Domain           string         `json:"domain"`
	RefreshInterval  int            `json:"refreshInterval"`
	TimeRange        interface{}    `json:"timeRange"`
	Panels           []interface{}  `json:"panels"`
	Layout           interface{}    `json:"layout"`
	Variables        []Variable     `json:"variables"`
	Theme            string         `json:"theme"`
	ColoringRules    []ColoringRule `json:"coloringRules"`
}

type DataAccessLevelPolicy

type DataAccessLevelPolicy struct {
	Enabled bool `json:"enabled"`
}

type DefaultDateFormat

type DefaultDateFormat struct {
	Format  string `json:"format"`
	Locator string `json:"locator,omitempty"`
}

type DomainMapping

type DomainMapping struct {
	NormalizedDomain string `json:"normalizedDomain"`
	RawDomain        string `json:"rawDomain"`
}

type DynamicSeverity

type DynamicSeverity struct {
	MinimumSignalSeverity int    `json:"minimumSignalSeverity"`
	InsightSeverity       string `json:"insightSeverity"`
}

type EmailNotification

type EmailNotification struct {
	ActionType     string        `json:"actionType,omitempty"`
	ConnectionType string        `json:"connectionType,omitempty"`
	Subject        string        `json:"subject"`
	Recipients     []interface{} `json:"recipients"`
	MessageBody    string        `json:"messageBody"`
	TimeZone       string        `json:"timeZone"`
}

type EmailSearchNotification

type EmailSearchNotification struct {
	TaskType             string   `json:"taskType"`
	ToList               []string `json:"toList"`
	SubjectTemplate      string   `json:"subjectTemplate"`
	IncludeQuery         bool     `json:"includeQuery"`
	IncludeResultSet     bool     `json:"includeResultSet"`
	IncludeHistogram     bool     `json:"includeHistogram"`
	IncludeCsvAttachment bool     `json:"includeCsvAttachment"`
}

type EntitySelector

type EntitySelector struct {
	Expression string `json:"expression"`
	EntityType string `json:"entityType"`
}

type EpochTimeRangeBoundary

type EpochTimeRangeBoundary struct {
	Type        string `json:"type"`
	EpochMillis int64  `json:"epochMillis"`
}

type Error

type Error struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Detail  string `json:"detail"`
}

type ExpressionAndLimit

type ExpressionAndLimit struct {
	Expression string `json:"expression"`
	Limit      int    `json:"limit"`
}

type Field

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

type FieldExtractionRule

type FieldExtractionRule struct {
	ID string `json:"id,omitempty"`
	// Name of the field extraction rule. Use a name that makes it easy to identify the rule.
	Name string `json:"name"`
	// Scope of the field extraction rule. This could be a sourceCategory, sourceHost, or any other metadata that describes the data you want to extract from. Think of the Scope as the first portion of an ad hoc search, before the first pipe ( | ). You'll use the Scope to run a search against the rule.
	Scope string `json:"scope"`
	// Describes the fields to be parsed.
	ParseExpression string `json:"parseExpression"`
	// Is the field extraction rule enabled.
	Enabled bool `json:"enabled"`
}

models

type FieldsResponse

type FieldsResponse struct {
	Data []Field `json:"data"`
}

type Filter

type Filter struct {
	Name       string `json:"name"`
	FilterType string `json:"filterType"`
	Regexp     string `json:"regexp"`
	Mask       string `json:"mask"`
}

type Folder

type Folder struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	ParentId    string `json:"parentId"`
	CreatedBy   string `json:"createdBy,omitempty"`
}

type FolderUpdate

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

type GCPAuthentication

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

type GCPPath

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

type GCPResource

type GCPResource struct {
	ServiceType    string             `json:"serviceType"`
	Authentication *GCPAuthentication `json:"authentication,omitempty"`
	Path           *GCPPath           `json:"path,omitempty"`
}

type GCPSource

type GCPSource struct {
	Source
	MessagePerRequest bool             `json:"messagePerRequest"`
	URL               string           `json:"url,omitempty"`
	ThirdPartyRef     GCPThirdPartyRef `json:"thirdPartyRef,omitempty"`
}

type GCPThirdPartyRef

type GCPThirdPartyRef struct {
	Resources []GCPResource `json:"resources"`
}

type GridLayout

type GridLayout struct {
	LayoutType       string            `json:"layoutType"`
	LayoutStructures []LayoutStructure `json:"layoutStructures"`
}

Layout related structs

type HTTPSource

type HTTPSource struct {
	Source
	MessagePerRequest bool   `json:"messagePerRequest"`
	URL               string `json:"url,omitempty"`
}

type Headers

type Headers struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Headers is used to describe headers for http requests.

type Hierarchy

type Hierarchy struct {
	Name   string                    `json:"name"`
	ID     string                    `json:"id,omitempty"`
	Filter *HierarchyFilteringClause `json:"filter"`
	Level  Level                     `json:"level"`
}

type HierarchyFilteringClause

type HierarchyFilteringClause struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type HttpClient

type HttpClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type IngestBudget

type IngestBudget struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name"`
	FieldValue  string `json:"fieldValue"`
	Capacity    int    `json:"capacityBytes"`
	Timezone    string `json:"timezone"`
	ResetTime   string `json:"resetTime"`
	Description string `json:"description,omitempty"`
	Action      string `json:"action"`
}

type IngestBudgetV2

type IngestBudgetV2 struct {
	AuditThreshold int    `json:"auditThreshold,omitempty"`
	Action         string `json:"action"`
	ResetTime      string `json:"resetTime"`
	Name           string `json:"name"`
	BudgetType     string `json:"budgetType,omitempty"`
	ID             string `json:"id,omitempty"`
	Scope          string `json:"scope"`
	Timezone       string `json:"timezone"`
	Description    string `json:"description"`
	CapacityBytes  int    `json:"capacityBytes"`
}

type Iso8601TimeRangeBoundary

type Iso8601TimeRangeBoundary struct {
	Type        string `json:"type"`
	Iso8601Time string `json:"iso8601Time"`
}

type JobId

type JobId struct {
	ID string `json:"id,omitempty"`
}

type KinesisLogPath

type KinesisLogPath struct {
	Type           string `json:"type"`
	BucketName     string `json:"bucketName,omitempty"`
	PathExpression string `json:"pathExpression,omitempty"`
	ScanInterval   int    `json:"scanInterval,omitempty"`
}

type KinesisLogResource

type KinesisLogResource struct {
	ServiceType    string                `json:"serviceType"`
	Authentication PollingAuthentication `json:"authentication,omitempty"`
	Path           KinesisLogPath        `json:"path,omitempty"`
}

type KinesisLogSource

type KinesisLogSource struct {
	Source
	MessagePerRequest bool                    `json:"messagePerRequest"`
	URL               string                  `json:"url,omitempty"`
	ThirdPartyRef     KinesisLogThirdPartyRef `json:"thirdPartyRef"`
}

type KinesisLogThirdPartyRef

type KinesisLogThirdPartyRef struct {
	Resources []KinesisLogResource `json:"resources"`
}

type KinesisMetricsSource

type KinesisMetricsSource struct {
	Source
	MessagePerRequest bool                 `json:"messagePerRequest"`
	URL               string               `json:"url,omitempty"`
	ThirdPartyRef     PollingThirdPartyRef `json:"thirdPartyRef"`
}

type LayoutStructure

type LayoutStructure struct {
	Key       string `json:"key"`
	Structure string `json:"structure"`
}

type Level

type Level struct {
	EntityType               string               `json:"entityType"`
	NextLevelsWithConditions []LevelWithCondition `json:"nextLevelsWithConditions"`
	NextLevel                *Level               `json:"nextLevel,omitempty"`
}

type LevelWithCondition

type LevelWithCondition struct {
	Condition string `json:"condition"`
	Level     Level  `json:"level"`
}

type LinkedDashboard

type LinkedDashboard struct {
	Id               string `json:"id"`
	RelativePath     string `json:"relativePath,omitempty"`
	IncludeTimeRange bool   `json:"includeTimeRange"`
	IncludeVariables bool   `json:"includeVariables"`
}

type LiteralTimeRangeBoundary

type LiteralTimeRangeBoundary struct {
	Type      string `json:"type"`
	RangeName string `json:"rangeName"`
}

type LocalFileSource

type LocalFileSource struct {
	Source
	PathExpression string   `json:"pathExpression,omitempty"`
	Encoding       string   `json:"encoding,omitempty"`
	DenyList       []string `json:"denylist,omitempty"`
}

type LogQueryVariableSourceDefinition

type LogQueryVariableSourceDefinition struct {
	VariableSourceType string `json:"variableSourceType"`
	Query              string `json:"query"`
	Field              string `json:"field"`
}

type LogSearch

type LogSearch struct {
	ID               string                    `json:"id,omitempty"`
	Name             string                    `json:"name"`
	Description      string                    `json:"description"`
	ParentId         string                    `json:"parentId"`
	QueryString      string                    `json:"queryString"`
	RunByReceiptTime bool                      `json:"runByReceiptTime"`
	TimeRange        interface{}               `json:"timeRange"`
	ParsingMode      string                    `json:"parsingMode"`
	QueryParameters  []LogSearchQueryParameter `json:"queryParameters,omitempty"`
	Schedule         *LogSearchSchedule        `json:"schedule,omitempty"`
}

type LogSearchQueryParameter

type LogSearchQueryParameter struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	DataType    string `json:"dataType"`
	Value       string `json:"value"`
}

type LogSearchSchedule

type LogSearchSchedule struct {
	CronExpression     string                       `json:"cronExpression"`
	ParseableTimeRange interface{}                  `json:"parseableTimeRange"`
	TimeZone           string                       `json:"timeZone"`
	Threshold          *SearchNotificationThreshold `json:"threshold,omitempty"`
	Parameters         []ScheduleSearchParameter    `json:"parameters,omitempty"`
	MuteErrorEmails    bool                         `json:"muteErrorEmails"`
	Notification       interface{}                  `json:"notification"`
	ScheduleType       string                       `json:"scheduleType"`
}

type LookupTable

type LookupTable struct {
	Fields          []LookupTableField `json:"fields,omitempty"`
	SizeLimitAction string             `json:"sizeLimitAction"`
	Name            string             `json:"name"`
	ID              string             `json:"id,omitempty"`
	ParentFolderId  string             `json:"parentFolderId"`
	PrimaryKeys     []string           `json:"primaryKeys,omitempty"`
	Description     string             `json:"description"`
	Ttl             int                `json:"ttl"`
}

type LookupTableField

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

type MaxUserSessionTimeoutPolicy

type MaxUserSessionTimeoutPolicy struct {
	MaxUserSessionTimeout string `json:"maxUserSessionTimeout"`
}

type MetadataAuthentication

type MetadataAuthentication struct {
	Type    string `json:"type"`
	AwsID   string `json:"awsId"`
	AwsKey  string `json:"awsKey"`
	RoleARN string `json:"roleARN"`
}

type MetadataPath

type MetadataPath struct {
	Type              string   `json:"type"`
	LimitToRegions    []string `json:"limitToRegions,omitempty"`
	LimitToNamespaces []string `json:"limitToNamespaces,omitempty"`
	TagFilters        []string `json:"tagFilters,omitempty"`
}

type MetadataResource

type MetadataResource struct {
	ServiceType    string                 `json:"serviceType"`
	Authentication MetadataAuthentication `json:"authentication"`
	Path           MetadataPath           `json:"path"`
}

type MetadataSource

type MetadataSource struct {
	Source
	ContentType   string                `json:"contentType"`
	ScanInterval  int                   `json:"scanInterval"`
	Paused        bool                  `json:"paused"`
	URL           string                `json:"url"`
	ThirdPartyRef MetadataThirdPartyRef `json:"thirdPartyRef,omitempty"`
}

type MetadataThirdPartyRef

type MetadataThirdPartyRef struct {
	Resources []MetadataResource `json:"resources"`
}

type MetadataVariableSourceDefinition

type MetadataVariableSourceDefinition struct {
	VariableSourceType string `json:"variableSourceType"`
	Filter             string `json:"filter"`
	Key                string `json:"key"`
}

type MetricsQueryData

type MetricsQueryData struct {
	Metric          string                 `json:"metric"`
	AggregationType string                 `json:"aggregationType"`
	GroupBy         string                 `json:"groupBy,omitempty"`
	Filters         []MetricsQueryFilter   `json:"filters"`
	Operators       []MetricsQueryOperator `json:"operators"`
}

type MetricsQueryFilter

type MetricsQueryFilter struct {
	Key      string `json:"key"`
	Value    string `json:"value"`
	Negation bool   `json:"negation,omitempty"`
}

type MetricsQueryOperator

type MetricsQueryOperator struct {
	Name       string                          `json:"operatorName"`
	Parameters []MetricsQueryOperatorParameter `json:"parameters"`
}

type MetricsQueryOperatorParameter

type MetricsQueryOperatorParameter struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type MetricsSearch

type MetricsSearch struct {
	ID                        string               `json:"id,omitempty"`
	Title                     string               `json:"title"`
	Description               string               `json:"description"`
	ParentId                  string               `json:"parentId"`
	LogQuery                  string               `json:"logQuery"`
	DesiredQuantizationInSecs int                  `json:"desiredQuantizationInSecs"`
	TimeRange                 interface{}          `json:"timeRange"`
	MetricsQueries            []MetricsSearchQuery `json:"metricsQueries"`
}

type MetricsSearchQuery

type MetricsSearchQuery struct {
	RowId string `json:"rowId"`
	Query string `json:"query"`
}

type MonitorNotification

type MonitorNotification struct {
	Notification       interface{}   `json:"notification"`
	RunForTriggerTypes []interface{} `json:"runForTriggerTypes"`
}

type MonitorQuery

type MonitorQuery struct {
	RowID string `json:"rowId"`
	Query string `json:"query"`
}

type MonitorScope

type MonitorScope struct {
	Ids []string `json:"ids,omitempty"`
	All bool     `json:"all,omitempty"`
}

type MonitorTrigger

type MonitorTrigger struct {
	MonitorId    string   `json:"monitorId"`
	TriggerTypes []string `json:"triggerTypes"`
}

type MonitorsLibraryFolder

type MonitorsLibraryFolder struct {
	ID          string `json:"id,omitempty"`
	Type        string `json:"type"`
	ContentType string `json:"contentType"`
	ParentID    string `json:"parentId"`
	Name        string `json:"name"`
	Description string `json:"description"`
	CreatedBy   string `json:"createdBy"`
	CreatedAt   string `json:"createdAt"`
	ModifiedBy  string `json:"modifiedBy"`
	ModifiedAt  string `json:"modifiedAt"`
	IsLocked    bool   `json:"isLocked"`
	IsMutable   bool   `json:"isMutable"`
	IsSystem    bool   `json:"isSystem"`
	Version     int    `json:"version"`
}

---------- TYPES ----------

type MonitorsLibraryMonitor

type MonitorsLibraryMonitor struct {
	ID                      string                 `json:"id,omitempty"`
	IsSystem                bool                   `json:"isSystem"`
	Type                    string                 `json:"type"`
	Queries                 []MonitorQuery         `json:"queries,omitempty"`
	ParentID                string                 `json:"parentId"`
	Name                    string                 `json:"name"`
	IsMutable               bool                   `json:"isMutable"`
	Version                 int                    `json:"version"`
	Notifications           []MonitorNotification  `json:"notifications,omitempty"`
	CreatedBy               string                 `json:"createdBy"`
	MonitorType             string                 `json:"monitorType"`
	EvaluationDelay         string                 `json:"evaluationDelay,omitempty"`
	IsLocked                bool                   `json:"isLocked"`
	Description             string                 `json:"description"`
	CreatedAt               string                 `json:"createdAt"`
	Triggers                []TriggerCondition     `json:"triggers,omitempty"`
	ModifiedAt              string                 `json:"modifiedAt"`
	ContentType             string                 `json:"contentType"`
	ModifiedBy              string                 `json:"modifiedBy"`
	IsDisabled              bool                   `json:"isDisabled"`
	Status                  []string               `json:"status"`
	GroupNotifications      bool                   `json:"groupNotifications"`
	Playbook                string                 `json:"playbook,omitempty"`
	AlertName               string                 `json:"alertName,omitempty"`
	SloID                   string                 `json:"sloId,omitempty"`
	NotificationGroupFields []string               `json:"notificationGroupFields,omitempty"`
	Tags                    map[string]interface{} `json:"tags"`
	TimeZone                string                 `json:"timeZone,omitempty"`
}

---------- TYPES ----------

type MutingSchedulesLibraryFolder

type MutingSchedulesLibraryFolder struct {
	ID          string `json:"id,omitempty"`
	Type        string `json:"type"`
	ContentType string `json:"contentType"`
	ParentID    string `json:"parentId"`
	Name        string `json:"name"`
	Description string `json:"description"`
	CreatedBy   string `json:"createdBy"`
	CreatedAt   string `json:"createdAt"`
	ModifiedBy  string `json:"modifiedBy"`
	ModifiedAt  string `json:"modifiedAt"`
	IsLocked    bool   `json:"isLocked"`
	IsMutable   bool   `json:"isMutable"`
	IsSystem    bool   `json:"isSystem"`
	Version     int    `json:"version"`
}

type MutingSchedulesLibraryMutingSchedule

type MutingSchedulesLibraryMutingSchedule struct {
	ID          string             `json:"id"`
	Type        string             `json:"type"`
	IsSystem    bool               `json:"isSystem"`
	IsMutable   bool               `json:"isMutable"`
	Schedule    ScheduleDefinition `json:"schedule"`
	Monitor     *MonitorScope      `json:"monitor"`
	ParentID    string             `json:"parentId"`
	Name        string             `json:"name"`
	Version     int                `json:"version"`
	CreatedBy   string             `json:"createdBy"`
	Description string             `json:"description"`
	CreatedAt   string             `json:"createdAt"`
	ModifiedAt  string             `json:"modifiedAt"`
	ContentType string             `json:"contentType"`
	ModifiedBy  string             `json:"modifiedBy"`
}

---------- TYPES ----------

type OnDemandProvisioningEnabled

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

type Partition

type Partition struct {
	ID                               string `json:"id,omitempty"`
	Name                             string `json:"name"`
	RoutingExpression                string `json:"routingExpression,omitempty"`
	AnalyticsTier                    string `json:"analyticsTier"`
	RetentionPeriod                  int    `json:"retentionPeriod"`
	IsCompliant                      bool   `json:"isCompliant"`
	DataForwardingId                 string `json:"dataForwardingId"`
	IsActive                         bool   `json:"isActive"`
	TotalBytes                       int    `json:"totalBytes"`
	IndexType                        string `json:"indexType"`
	ReduceRetentionPeriodImmediately bool   `json:"reduceRetentionPeriodImmediately,omitempty"`
}

type PasswordPolicy

type PasswordPolicy 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 Permission

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

type PermissionsRequest

type PermissionsRequest struct {
	Permissions         []Permission `json:"contentPermissionAssignments"`
	NotifyRecipients    bool         `json:"notifyRecipients"`
	NotificationMessage string       `json:"notificationMessage"`
}

type PermissionsResponse

type PermissionsResponse struct {
	ExplicitPermissions []Permission `json:"explicitPermissions"`
	ImplicitPermissions []Permission `json:"implicitPermissions"` // ignored for now.
}

type Policies

type Policies struct {
	Audit                              AuditPolicy
	DataAccessLevel                    DataAccessLevelPolicy
	MaxUserSessionTimeout              MaxUserSessionTimeoutPolicy
	SearchAudit                        SearchAuditPolicy
	ShareDashboardsOutsideOrganization ShareDashboardsOutsideOrganizationPolicy
	UserConcurrentSessionsLimit        UserConcurrentSessionsLimitPolicy
}

type PolicyRequest

type PolicyRequest struct {
	Endpoint string
	Body     interface{}
	Response interface{}
}

type PollingAuthentication

type PollingAuthentication struct {
	Type                    string `json:"type"`
	AwsID                   string `json:"awsId"`
	AwsKey                  string `json:"awsKey"`
	RoleARN                 string `json:"roleARN"`
	Region                  string `json:"region,omitempty"`
	ProjectId               string `json:"project_id"`
	PrivateKeyId            string `json:"private_key_id"`
	PrivateKey              string `json:"private_key"`
	ClientEmail             string `json:"client_email"`
	ClientId                string `json:"client_id"`
	AuthUrl                 string `json:"auth_uri"`
	TokenUrl                string `json:"token_uri"`
	AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
	ClientX509CertUrl       string `json:"client_x509_cert_url"`
}

type PollingPath

type PollingPath struct {
	Type                      string                           `json:"type"`
	BucketName                string                           `json:"bucketName,omitempty"`
	PathExpression            string                           `json:"pathExpression,omitempty"`
	LimitToRegions            []string                         `json:"limitToRegions,omitempty"`
	LimitToNamespaces         []string                         `json:"limitToNamespaces,omitempty"`
	LimitToServices           []string                         `json:"limitToServices,omitempty"`
	CustomServices            []string                         `json:"customServices,omitempty"`
	TagFilters                []TagFilter                      `json:"tagFilters,omitempty"`
	SnsTopicOrSubscriptionArn PollingSnsTopicOrSubscriptionArn `json:"snsTopicOrSubscriptionArn,omitempty"`
	UseVersionedApi           *bool                            `json:"useVersionedApi,omitempty"`
}

type PollingResource

type PollingResource struct {
	ServiceType    string                `json:"serviceType"`
	Authentication PollingAuthentication `json:"authentication"`
	Path           PollingPath           `json:"path"`
}

type PollingSnsTopicOrSubscriptionArn

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

type PollingSource

type PollingSource struct {
	Source
	ContentType   string               `json:"contentType"`
	ScanInterval  int                  `json:"scanInterval"`
	Paused        bool                 `json:"paused"`
	URL           string               `json:"url"`
	ThirdPartyRef PollingThirdPartyRef `json:"thirdPartyRef,omitempty"`
}

type PollingThirdPartyRef

type PollingThirdPartyRef struct {
	Resources []PollingResource `json:"resources"`
}

type RelativeTimeRangeBoundary

type RelativeTimeRangeBoundary struct {
	Type         string `json:"type"`
	RelativeTime string `json:"relativeTime"`
}

type Role

type Role struct {
	ID string `json:"id,omitempty"`
	// Name of the role.
	Name string `json:"name"`
	// Description of the role.
	Description string `json:"description"`
	// A search filter to restrict access to specific logs. The filter is silently added to the beginning of each query a user runs. For example, using '!_sourceCategory=billing' as a filter predicate will prevent users assigned to the role from viewing logs from the source category named 'billing'.
	FilterPredicate string `json:"filterPredicate"`
	// List of user identifiers to assign the role to.
	Users []string `json:"users"`
	// List of [capabilities](https://help.sumologic.com/Manage/Users-and-Roles/Manage-Roles/Role-Capabilities)
	// associated with this role. Valid values are:
	// ### Data Management     - viewCollectors     - manageCollectors     - manageBudgets     - manageDataVolumeFeed
	//  - viewFieldExtraction     - manageFieldExtractionRules     - manageS3DataForwarding     - manageContent
	//  - dataVolumeIndex     - manageConnections     - viewScheduledViews     - manageScheduledViews
	//  - viewPartitions     - managePartitions     - viewFields     - manageFields     - viewAccountOverview
	//  - manageTokens
	// ### Entity management     - manageEntityTypeConfig
	// ### Metrics     - metricsTransformation     - metricsExtraction     - metricsRules
	// ### Security     - managePasswordPolicy     - ipAllowlisting     - createAccessKeys     - manageAccessKeys
	//  - manageSupportAccountAccess     - manageAuditDataFeed     - manageSaml     - shareDashboardOutsideOrg
	//  - manageOrgSettings     - changeDataAccessLevel
	// ### Dashboards     - shareDashboardWorld     - shareDashboardAllowlist
	// ### UserManagement     - manageUsersAndRoles
	// ### Observability     - searchAuditIndex     - auditEventIndex
	// ### Cloud SIEM Enterprise     - viewCse
	// ### Alerting     - viewMonitorsV2     - manageMonitorsV2     - viewAlerts
	Capabilities []string `json:"capabilities"`
}

models

type RoleResponse

type RoleResponse struct {
	Roles []Role `json:"data"`
}

type RumAuthentication

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

type RumSource

type RumSource struct {
	Source
	RumThirdPartyRef RumThirdPartyRef `json:"thirdPartyRef"`
}

type RumSourcePath

type RumSourcePath struct {
	Type                         string                 `json:"type"`
	ApplicationName              string                 `json:"applicationName,omitempty"`
	ServiceName                  string                 `json:"serviceName"`
	DeploymentEnvironment        string                 `json:"deploymentEnvironment,omitempty"`
	SamplingRate                 float64                `json:"samplingRate,omitempty"`
	IgnoreUrls                   []string               `json:"ignoreUrls,omitempty"`
	CustomTags                   map[string]interface{} `json:"customTags,omitempty"`
	PropagateTraceHeaderCorsUrls []string               `json:"propagateTraceHeaderCorsUrls,omitempty"`
	SelectedCountry              string                 `json:"selectedCountry,omitempty"`
}

type RumThirdPartyRef

type RumThirdPartyRef struct {
	Resources []RumThirdPartyResource `json:"resources"`
}

type RumThirdPartyResource

type RumThirdPartyResource struct {
	ServiceType    string            `json:"serviceType"`
	Path           RumSourcePath     `json:"path,omitempty"`
	Authentication RumAuthentication `json:"authentication,omitempty"`
}

type SLI

type SLI struct {
	EvaluationType string          `json:"evaluationType"` // string^(Window|Request)$
	QueryType      string          `json:"queryType"`      // string^(Logs|Metrics)$
	Queries        []SLIQueryGroup `json:"queries"`
}

type SLIQuery

type SLIQuery struct {
	RowId       string `json:"rowId"`
	Query       string `json:"query"`
	UseRowCount bool   `json:"useRowCount"`
	Field       string `json:"field,omitempty"`
}

type SLIQueryGroup

type SLIQueryGroup struct {
	QueryGroupType string     `json:"queryGroupType"` // string^(Successful|Unsuccessful|Total|Threshold)$
	QueryGroup     []SLIQuery `json:"queryGroup"`
}

func GetSLOIndicatorQueries

func GetSLOIndicatorQueries(queriesRaw []interface{}) []SLIQueryGroup

type SLOCompliance

type SLOCompliance struct {
	ComplianceType string  `json:"complianceType"`       // string^(Window|Request)$
	Target         float64 `json:"target"`               // [0..100]
	Timezone       string  `json:"timezone"`             // IANA Time Zone Database
	Size           string  `json:"size,omitempty"`       // Must be a multiple of days (minimum 1d, and maximum 14d)
	WindowType     string  `json:"windowType,omitempty"` // string^(Daily|Weekly|Monthly|Yearly)$
	StartFrom      string  `json:"startFrom,omitempty"`
}

type SLOIndicator

type SLOIndicator struct {
	EvaluationType  string           `json:"evaluationType"` // string^(Window|Request|Monitor)$
	QueryType       string           `json:"queryType"`      // string^(Logs|Metrics)$
	Queries         []SLIQueryGroup  `json:"queries"`
	Threshold       float64          `json:"threshold"`
	Op              string           `json:"op,omitempty"`
	Aggregation     string           `json:"aggregation,omitempty"`
	Size            string           `json:"size,omitempty"`
	MonitorTriggers []MonitorTrigger `json:"monitorTriggers"`
}

type SLOLibraryFolder

type SLOLibraryFolder struct {
	ID          string   `json:"id,omitempty"`
	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"`
	IsLocked    bool     `json:"isLocked"`
	Permissions []string `json:"permissions"`
}

type SLOLibrarySLO

type SLOLibrarySLO struct {
	ID          string                 `json:"id,omitempty"`
	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"`
	IsLocked    bool                   `json:"isLocked"`
	SignalType  string                 `json:"signalType"` // string^(Latency|Error|Throughput|Availability|Other)$
	Compliance  SLOCompliance          `json:"compliance"`
	Indicator   SLOIndicator           `json:"indicator"`
	Service     string                 `json:"service"`
	Application string                 `json:"application"`
	Tags        map[string]interface{} `json:"tags"`
}

type SamlConfiguration

type SamlConfiguration 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  *OnDemandProvisioningEnabled `json:"onDemandProvisioningEnabled,omitempty"`
	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,omitempty"`
	ID                           string                       `json:"id,omitempty"`
	AssertionConsumerUrl         string                       `json:"assertionConsumerUrl,omitempty"`
	EntityId                     string                       `json:"entityId,omitempty"`
}

type SaveToLookupNotification

type SaveToLookupNotification struct {
	TaskType               string `json:"taskType"`
	LookupFilePath         string `json:"lookupFilePath"`
	IsLookupMergeOperation bool   `json:"isLookupMergeOperation"`
}

type SaveToViewNotification

type SaveToViewNotification struct {
	TaskType string `json:"taskType"`
	ViewName string `json:"viewName"`
}

type ScheduleDefinition

type ScheduleDefinition struct {
	TimeZone  string `json:"timezone"`
	StartDate string `json:"startDate"`
	StartTime string `json:"startTime"`
	Duration  int    `json:"duration"`
	RRule     string `json:"rrule,omitempty"`
	IsForm    bool   `json:"isForm,omitempty"`
}

type ScheduleSearchParameter

type ScheduleSearchParameter struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type ScheduledView

type ScheduledView struct {
	ID                               string    `json:"id,omitempty"`
	Query                            string    `json:"query"`
	IndexName                        string    `json:"indexName"`
	StartTime                        time.Time `json:"startTime"`
	RetentionPeriod                  int       `json:"retentionPeriod"`
	DataForwardingId                 string    `json:"dataForwardingId"`
	ParsingMode                      string    `json:"parsingMode"`
	ReduceRetentionPeriodImmediately bool      `json:"reduceRetentionPeriodImmediately"`
}

type SchemaReference

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

type SearchAuditPolicy

type SearchAuditPolicy struct {
	Enabled bool `json:"enabled"`
}

type SearchNotificationThreshold

type SearchNotificationThreshold struct {
	ThresholdType string `json:"thresholdType"`
	Operator      string `json:"operator"`
	Count         int    `json:"count"`
}

type SearchPanelQuery

type SearchPanelQuery struct {
	QueryString      string            `json:"queryString"`
	QueryType        string            `json:"queryType"`
	QueryKey         string            `json:"queryKey"`
	MetricsQueryMode string            `json:"metricsQueryMode,omitempty"`
	MetricsQueryData *MetricsQueryData `json:"metricsQueryData,omitempty"`
}

type ServiceNowFields

type ServiceNowFields struct {
	EventType string `json:"eventType"`
	Severity  int    `json:"severity"`
	Resource  string `json:"resource"`
	Node      string `json:"node"`
}

type ServiceNowSearchNotification

type ServiceNowSearchNotification struct {
	TaskType   string           `json:"taskType"`
	ExternalId string           `json:"externalId"`
	Fields     ServiceNowFields `json:"fields"`
}

type SeverityMapping

type SeverityMapping struct {
	Type    string                        `json:"type"`
	Default int                           `json:"default"`
	Field   string                        `json:"field"`
	Mapping []SeverityMappingValueMapping `json:"mapping"`
}

type SeverityMappingValueMapping

type SeverityMappingValueMapping struct {
	Type string `json:"type"`
	From string `json:"from"`
	To   int    `json:"to"`
}

type ShareDashboardsOutsideOrganizationPolicy

type ShareDashboardsOutsideOrganizationPolicy struct {
	Enabled bool `json:"enabled"`
}

type SloBurnRateCondition

type SloBurnRateCondition struct {
	TriggerCondition
	// The burn rate percentage.
	BurnRateThreshold float64 `json:"burnRateThreshold"`
	// The relative time range for the burn rate percentage evaluation.
	TimeRange string `json:"timeRange"`
}

SloBurnRateCondition struct for SloBurnRateCondition

type Source

type Source struct {
	ID                         int                    `json:"id,omitempty"`
	Type                       string                 `json:"sourceType"`
	Name                       string                 `json:"name"`
	Description                string                 `json:"description,omitempty"`
	Category                   string                 `json:"category,omitempty"`
	HostName                   string                 `json:"hostName,omitempty"`
	TimeZone                   string                 `json:"timeZone,omitempty"`
	AutomaticDateParsing       bool                   `json:"automaticDateParsing"`
	MultilineProcessingEnabled bool                   `json:"multilineProcessingEnabled"`
	UseAutolineMatching        bool                   `json:"useAutolineMatching"`
	ManualPrefixRegexp         string                 `json:"manualPrefixRegexp,omitempty"`
	ForceTimeZone              bool                   `json:"forceTimeZone"`
	DefaultDateFormats         []DefaultDateFormat    `json:"defaultDateFormats,omitempty"`
	Filters                    []Filter               `json:"filters,omitempty"`
	CutoffTimestamp            int                    `json:"cutoffTimestamp,omitempty"`
	CutoffRelativeTime         string                 `json:"cutoffRelativeTime,omitempty"`
	Fields                     map[string]interface{} `json:"fields,omitempty"`
	Url                        string                 `json:"url,omitempty"`
	ContentType                string                 `json:"contentType,omitempty"`
}

type SourceList

type SourceList struct {
	Sources []Source `json:"sources"`
}

type Status

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

type Subdomain

type Subdomain struct {
	Subdomain string `json:"subdomain"`
}

type SumoSearchPanel

type SumoSearchPanel struct {
	Id                                     string `json:"id,omitempty"`
	Key                                    string `json:"key"`
	Title                                  string `json:"title"`
	VisualSettings                         string `json:"visualSettings"`
	KeepVisualSettingsConsistentWithParent bool   `json:"keepVisualSettingsConsistentWithParent"`
	PanelType                              string `json:"panelType"`
	// Search panel related properties
	Queries          []SearchPanelQuery `json:"queries"`
	Description      string             `json:"description"`
	TimeRange        interface{}        `json:"timeRange"`
	ColoringRules    []ColoringRule     `json:"coloringRules"`
	LinkedDashboards []LinkedDashboard  `json:"linkedDashboards"`
}

type TagFilter

type TagFilter struct {
	Type      string   `json:"type"`
	Namespace string   `json:"namespace"`
	Tags      []string `json:"tags"`
}

type TerraformObject

type TerraformObject [1]map[string]interface{}

func GetTerraformTimeRangeBoundary

func GetTerraformTimeRangeBoundary(timeRangeBoundary map[string]interface{}) TerraformObject

func MakeTerraformObject

func MakeTerraformObject() TerraformObject

type TextPanel

type TextPanel struct {
	Id                                     string `json:"id,omitempty"`
	Key                                    string `json:"key"`
	Title                                  string `json:"title"`
	VisualSettings                         string `json:"visualSettings"`
	KeepVisualSettingsConsistentWithParent bool   `json:"keepVisualSettingsConsistentWithParent"`
	PanelType                              string `json:"panelType"`
	// Text panel related properties
	Text string `json:"text"`
}

Panel related structs

type Token

type Token struct {
	Name               string `json:"name"`
	Status             string `json:"status"`
	ID                 string `json:"id,omitempty"`
	Description        string `json:"description"`
	Type               string `json:"type"`
	Version            int    `json:"version"`
	EncodedTokenAndUrl string `json:"encodedTokenAndUrl"`
}

type TopologyLabel

type TopologyLabel struct {
	Data map[string][]string `json:"data"`
}

type TriggerCondition

type TriggerCondition struct {
	TimeRange         string     `json:"timeRange,omitempty"`
	TriggerType       string     `json:"triggerType"`
	Threshold         float64    `json:"threshold,omitempty"`
	ThresholdType     string     `json:"thresholdType,omitempty"`
	OccurrenceType    string     `json:"occurrenceType"`
	MinDataPoints     int        `json:"minDataPoints,omitempty"`
	TriggerSource     string     `json:"triggerSource"`
	DetectionMethod   string     `json:"detectionMethod"`
	ResolutionWindow  string     `json:"resolutionWindow,omitempty"`
	Field             string     `json:"field,omitempty"`
	Window            int        `json:"window,omitempty"`
	BaselineWindow    string     `json:"baselineWindow,omitempty"`
	Consecutive       int        `json:"consecutive,omitempty"`
	Direction         string     `json:"direction,omitempty"`
	SLIThreshold      float64    `json:"sliThreshold,omitempty"`
	BurnRateThreshold float64    `json:"burnRateThreshold,omitempty"`
	BurnRates         []BurnRate `json:"burnRates,omitempty"`
}

func (*TriggerCondition) PositiveBaselineWindow

func (t *TriggerCondition) PositiveBaselineWindow() string

func (*TriggerCondition) PositiveResolutionWindow

func (t *TriggerCondition) PositiveResolutionWindow() string

func (*TriggerCondition) PositiveTimeRange

func (t *TriggerCondition) PositiveTimeRange() string

type User

type User struct {
	ID string `json:"id,omitempty"`
	// First name of the user.
	FirstName string `json:"firstName"`
	// Last name of the user.
	LastName string `json:"lastName"`
	// Email address of the user.
	Email string `json:"email"`
	// List of roleIds associated with the user.
	RoleIds []string `json:"roleIds"`
	// True if the user is active.
	IsActive bool `json:"isActive"`
}

models

type UserConcurrentSessionsLimitPolicy

type UserConcurrentSessionsLimitPolicy struct {
	Enabled               bool `json:"enabled"`
	MaxConcurrentSessions int  `json:"maxConcurrentSessions"`
}

type UserResponse

type UserResponse struct {
	User []User `json:"data"`
}

type ValueOption

type ValueOption struct {
	Value string `json:"value"`
	Label string `json:"label,omitempty"`
	Link  string `json:"link,omitempty"`
}

type Variable

type Variable struct {
	Id               string      `json:"id,omitempty"`
	Name             string      `json:"name"`
	DisplayName      string      `json:"displayName,omitempty"`
	DefaultValue     string      `json:"defaultValue,omitempty"`
	SourceDefinition interface{} `json:"sourceDefinition"`
	AllowMultiSelect bool        `json:"allowMultiSelect,omitempty"`
	IncludeAllOption bool        `json:"includeAllOption"`
	HideFromUI       bool        `json:"hideFromUI,omitempty"`
}

Variable related structs

type WebhookNotificiation

type WebhookNotificiation struct {
	ActionType                string `json:"actionType,omitempty"`
	ConnectionType            string `json:"connectionType,omitempty"`
	ConnectionID              string `json:"connectionId"`
	PayloadOverride           string `json:"payloadOverride,omitempty"`
	ResolutionPayloadOverride string `json:"resolutionPayloadOverride,omitempty"`
}

type WebhookSearchNotification

type WebhookSearchNotification struct {
	TaskType          string `json:"taskType"`
	WebhookId         string `json:"webhookId"`
	Payload           string `json:"payload"`
	ItemizeAlerts     bool   `json:"itemizeAlerts"`
	MaxItemizedAlerts int    `json:"maxItemizedAlerts"`
}

Source Files

Jump to

Keyboard shortcuts

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