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.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** 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
- Variables
- func CmfFgpPermStmtSetEqual(permStmts01 []CmfFgpPermStatement, permStmts02 []CmfFgpPermStatement) bool
- func CmfFgpPermStmtsSetToResource(d *schema.ResourceData, permStmts []CmfFgpPermStatement)
- func ErrorHandler(resp *http.Response, err error, numTries int) (*http.Response, error)
- func GetBeginBoundedTimeRangeSchema() map[string]*schema.Schema
- func GetCmfFgpObjPermSetSchema() *schema.Schema
- func GetCmfFgpPermStmtSchema() map[string]*schema.Schema
- func GetCompleteLiteralTimeRangeSchema() map[string]*schema.Schema
- func GetTerraformTimeRange(timeRange map[string]interface{}) []map[string]interface{}
- func GetTimeRange(tfTimeRange map[string]interface{}) interface{}
- func GetTimeRangeBoundary(tfRangeBoundary map[string]interface{}) interface{}
- func GetTimeRangeBoundarySchema() map[string]*schema.Schema
- func GetTimeRangeSchema() map[string]*schema.Schema
- func HasErrorCode(errorJsonStr string, errorCodeChoices []string) string
- func Provider() terraform.ResourceProvider
- func StartDateIsAfterYesterday() schema.SchemaValidateFunc
- func SuppressEquivalentTimeDiff(isRelative bool) func(k, oldValue, newValue string, d *schema.ResourceData) bool
- type AggregationFunction
- type AlertSearchNotification
- type ApiError
- type AppInstallJobId
- type AppInstallPayload
- type AppInstallResponse
- type AppInstance
- type AuditPolicy
- type BeginBoundedTimeRange
- type BurnRate
- type CSEAggregationRule
- type CSEAggregationRuleRequest
- type CSEAggregationRuleResponse
- type CSEAutomation
- type CSEAutomationRequestPost
- type CSEAutomationRequestUpdate
- type CSEAutomationResponse
- type CSEAutomationUpdate
- type CSEChainRule
- type CSEChainRuleRequest
- type CSEChainRuleResponse
- type CSEContextAction
- type CSEContextActionRequestUpdate
- type CSEContextActionResponse
- type CSECreateUpdateTagSchema
- type CSECustomEntityType
- type CSECustomEntityTypeRequestPost
- type CSECustomEntityTypeRequestUpdate
- type CSECustomEntityTypeResponse
- type CSECustomEntityTypeUpdate
- type CSECustomInsight
- type CSECustomInsightRequest
- type CSECustomInsightResponse
- type CSECustomMatchListColumn
- type CSECustomMatchListColumnRequest
- type CSECustomMatchListColumnResponse
- type CSEEntityCriticalityConfig
- type CSEEntityCriticalityConfigRequestPost
- type CSEEntityCriticalityConfigRequestUpdate
- type CSEEntityCriticalityConfigResponse
- type CSEEntityCriticalityConfigUpdate
- type CSEEntityGroupConfiguration
- type CSEEntityGroupConfigurationRequest
- type CSEEntityGroupConfigurationResponse
- type CSEEntityNormalizationConfiguration
- type CSEEntityNormalizationConfigurationRequest
- type CSEEntityNormalizationConfigurationResponse
- type CSEFirstSeenRule
- type CSEFirstSeenRuleRequest
- type CSEFirstSeenRuleResponse
- type CSEInsightsConfiguration
- type CSEInsightsConfigurationRequest
- type CSEInsightsConfigurationResponse
- type CSEInsightsResolutionGet
- type CSEInsightsResolutionParent
- type CSEInsightsResolutionPost
- type CSEInsightsResolutionRequestPost
- type CSEInsightsResolutionRequestUpdate
- type CSEInsightsResolutionResponse
- type CSEInsightsResolutionUpdate
- type CSEInsightsStatusGet
- type CSEInsightsStatusPost
- type CSEInsightsStatusRequestPost
- type CSEInsightsStatusRequestUpdate
- type CSEInsightsStatusResponse
- type CSEInsightsStatusUpdate
- type CSELogMapping
- type CSELogMappingField
- type CSELogMappingLookUp
- type CSELogMappingRequest
- type CSELogMappingResponse
- type CSELogMappingStructuredInputField
- type CSELogMappingUnstructuredFields
- type CSELogMappingVendorAndProduct
- type CSELogMappingVendorAndProductResponse
- type CSEMatchListGet
- type CSEMatchListItemGet
- type CSEMatchListItemMeta
- type CSEMatchListItemMetaCreatedUpdated
- type CSEMatchListItemPost
- type CSEMatchListItemRequestPost
- type CSEMatchListItemRequestUpdate
- type CSEMatchListItemResponse
- type CSEMatchListItemUpdate
- type CSEMatchListItemsGetRequest
- type CSEMatchListItemsInMatchListGet
- type CSEMatchListItemsInMatchListResponse
- type CSEMatchListPost
- type CSEMatchListRequestPost
- type CSEMatchListRequestUpdate
- type CSEMatchListResponse
- type CSEMatchListUpdate
- type CSEMatchRule
- type CSEMatchRuleRequest
- type CSEMatchRuleResponse
- type CSENetworkBlock
- type CSENetworkBlockRequest
- type CSENetworkBlockResponse
- type CSEOutlierRule
- type CSEOutlierRuleRequest
- type CSEOutlierRuleResponse
- type CSERuleTuningExpression
- type CSERuleTuningExpressionRequest
- type CSERuleTuningExpressionResponse
- type CSETagSchema
- type CSETagSchemaRequestCreateUpdate
- type CSETagSchemaResponse
- type CSEThresholdRule
- type CSEThresholdRuleRequest
- type CSEThresholdRuleResponse
- type Client
- func (s *Client) CreateAppInstance(uuid string, appInstallPayload AppInstallPayload) (string, error)
- func (s *Client) CreateCSEAggregationRule(CSEAggregationRule CSEAggregationRule) (string, error)
- func (s *Client) CreateCSEAutomation(CSEAutomation CSEAutomation) (string, error)
- func (s *Client) CreateCSEChainRule(CSEChainRule CSEChainRule) (string, error)
- func (s *Client) CreateCSEContextAction(CSEContextAction CSEContextAction) (string, error)
- func (s *Client) CreateCSECustomEntityType(CSECustomEntityType CSECustomEntityType) (string, error)
- func (s *Client) CreateCSECustomInsight(CSECustomInsight CSECustomInsight) (string, error)
- func (s *Client) CreateCSECustomMatchListColumn(CSECustomMatchListColumn CSECustomMatchListColumn) (string, error)
- func (s *Client) CreateCSEEntityCriticalityConfig(CSEEntityCriticalityConfig CSEEntityCriticalityConfig) (string, error)
- func (s *Client) CreateCSEEntityEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) (string, error)
- func (s *Client) CreateCSEFirstSeenRule(CSEFirstSeenRule CSEFirstSeenRule) (string, error)
- func (s *Client) CreateCSEInsightsResolution(CSEInsightsResolutionPost CSEInsightsResolutionPost) (int, error)
- func (s *Client) CreateCSEInsightsStatus(CSEInsightsStatusPost CSEInsightsStatusPost) (string, error)
- func (s *Client) CreateCSEInventoryEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) (string, error)
- func (s *Client) CreateCSELogMapping(CSELogMapping CSELogMapping) (string, error)
- func (s *Client) CreateCSEMatchList(CSEMatchListPost CSEMatchListPost) (string, error)
- func (s *Client) CreateCSEMatchListItems(CSEMatchListItemPost []CSEMatchListItemPost, MatchListID string) error
- func (s *Client) CreateCSEMatchRule(CSEMatchRule CSEMatchRule) (string, error)
- func (s *Client) CreateCSENetworkBlock(cseNetworkBlock CSENetworkBlock) (string, error)
- func (s *Client) CreateCSEOutlierRule(CSEOutlierRule CSEOutlierRule) (string, error)
- func (s *Client) CreateCSERuleTuningExpression(CSERuleTuningExpression CSERuleTuningExpression) (string, error)
- func (s *Client) CreateCSETagSchema(CSECreateUpdateTagSchema CSECreateUpdateTagSchema) (string, error)
- func (s *Client) CreateCSEThresholdRule(CSEThresholdRule CSEThresholdRule) (string, error)
- func (s *Client) CreateCloudToCloudSource(source CloudToCloudSource, collectorID int) (int, error)
- func (s *Client) CreateCloudsyslogSource(cloudSyslogSource CloudSyslogSource, collectorID int) (int, error)
- func (s *Client) CreateCollector(collector Collector) (int64, error)
- func (s *Client) CreateConnection(connection Connection) (string, error)
- func (s *Client) CreateDashboard(dashboardReq Dashboard) (*Dashboard, error)
- func (s *Client) CreateDataForwardingDestination(dataForwardingDestination DataForwardingDestination) (*DataForwardingDestination, error)
- func (s *Client) CreateDataForwardingRule(dataForwardingRule DataForwardingRule) (*DataForwardingRule, error)
- func (s *Client) CreateField(field Field) (string, error)
- func (s *Client) CreateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) (string, error)
- func (s *Client) CreateFolder(folder Folder) (string, error)
- func (s *Client) CreateGCPSource(gcpSource GCPSource, collectorID int) (int, error)
- func (s *Client) CreateHTTPSource(httpSource HTTPSource, collectorID int) (int, error)
- func (s *Client) CreateHierarchy(hierarchy Hierarchy) (string, error)
- func (s *Client) CreateIngestBudgetV2(ingestBudgetV2 IngestBudgetV2) (string, error)
- func (s *Client) CreateKinesisLogSource(kinesisLogSource KinesisLogSource, collectorID int) (int, error)
- func (s *Client) CreateKinesisMetricsSource(kinesisMetricsSource KinesisMetricsSource, collectorID int) (int, error)
- func (s *Client) CreateLocalFileSource(source LocalFileSource, collectorID int) (int, error)
- func (s *Client) CreateLogSearch(logSearch LogSearch) (string, error)
- func (s *Client) CreateLookupTable(lookupTable LookupTable) (string, error)
- func (s *Client) CreateMetadataSource(source MetadataSource, collectorID int) (int, error)
- func (s *Client) CreateMetricsSearch(metricsSearch MetricsSearch) (string, error)
- func (s *Client) CreateMonitorsLibraryFolder(monitorsLibraryFolder MonitorsLibraryFolder, paramMap map[string]string) (string, error)
- func (s *Client) CreateMonitorsLibraryMonitor(monitorsLibraryMonitor MonitorsLibraryMonitor, paramMap map[string]string) (string, error)
- func (s *Client) CreateMutingSchedulesLibraryMutingSchedule(mutingSchedulesLibraryMutingSchedule MutingSchedulesLibraryMutingSchedule, ...) (string, error)
- func (s *Client) CreateOrUpdateContent(content Content, timeout time.Duration, overwrite bool) (string, error)
- func (s *Client) CreatePartition(spartition Partition) (*Partition, error)
- func (s *Client) CreatePollingSource(source PollingSource, collectorID int) (int, error)
- func (s *Client) CreateRole(role Role) (string, error)
- func (s *Client) CreateRoleV2(roleV2 RoleV2) (string, error)
- func (s *Client) CreateRumSource(rumSource RumSource, collectorID int) (int, error)
- func (s *Client) CreateSLO(slo SLOLibrarySLO, paramMap map[string]string) (string, error)
- func (s *Client) CreateSLOLibraryFolder(sloLibraryFolder SLOLibraryFolder, paramMap map[string]string) (string, error)
- func (s *Client) CreateSamlConfiguration(samlConfiguration SamlConfiguration) (*SamlConfiguration, error)
- func (s *Client) CreateScheduledView(sview ScheduledView) (*ScheduledView, error)
- func (s *Client) CreateSubdomain(subdomain Subdomain) (string, error)
- func (s *Client) CreateToken(token Token) (string, error)
- func (s *Client) CreateUser(user User) (string, error)
- func (s *Client) DecommissionPartition(id string) error
- func (s *Client) Delete(urlPath string) ([]byte, error)
- func (s *Client) DeleteAppInstance(uuid string) error
- func (s *Client) DeleteCSEAggregationRule(id string) error
- func (s *Client) DeleteCSEAutomation(id string) error
- func (s *Client) DeleteCSEChainRule(id string) error
- func (s *Client) DeleteCSEContextAction(id string) error
- func (s *Client) DeleteCSECustomEntityType(id string) error
- func (s *Client) DeleteCSECustomInsight(id string) error
- func (s *Client) DeleteCSECustomMatchListColumn(id string) error
- func (s *Client) DeleteCSEEntityCriticalityConfig(id string) error
- func (s *Client) DeleteCSEEntityGroupConfiguration(id string) error
- func (s *Client) DeleteCSEFirstSeenRule(id string) error
- func (s *Client) DeleteCSEInsightsResolution(id string) error
- func (s *Client) DeleteCSEInsightsStatus(id string) error
- func (s *Client) DeleteCSELogMapping(id string) error
- func (s *Client) DeleteCSEMatchList(id string) error
- func (s *Client) DeleteCSEMatchListItem(id string) error
- func (s *Client) DeleteCSEMatchRule(id string) error
- func (s *Client) DeleteCSENetworkBlock(id string) error
- func (s *Client) DeleteCSEOutlierRule(id string) error
- func (s *Client) DeleteCSERuleTuningExpression(id string) error
- func (s *Client) DeleteCSETagSchema(id string) error
- func (s *Client) DeleteCSEThresholdRule(id string) error
- func (s *Client) DeleteCollector(id int) error
- func (s *Client) DeleteConnection(id string, connectionType string) error
- func (s *Client) DeleteContent(id string, timeout time.Duration) error
- func (s *Client) DeleteDashboard(id string) error
- func (s *Client) DeleteDataForwardingDestination(id string) error
- func (s *Client) DeleteDataForwardingRule(indexId string) error
- func (s *Client) DeleteField(id string) error
- func (s *Client) DeleteFieldExtractionRule(id string) error
- func (s *Client) DeleteFolder(id string, timeout time.Duration) error
- func (s *Client) DeleteHierarchy(id string) error
- func (s *Client) DeleteIngestBudgetV2(id string) error
- func (s *Client) DeleteLogSearch(id string) error
- func (s *Client) DeleteLookupTable(id string) error
- func (s *Client) DeleteMetricsSearch(id string) error
- func (s *Client) DeleteMonitorsLibraryFolder(id string) error
- func (s *Client) DeleteMonitorsLibraryMonitor(id string) error
- func (s *Client) DeleteMutingSchedulesLibraryMutingSchedule(id string) error
- func (s *Client) DeletePermissions(contentPermissionsRequest PermissionsRequest, id string) error
- func (s *Client) DeleteRole(id string) error
- func (s *Client) DeleteRoleV2(id string) error
- func (s *Client) DeleteSLO(id string) error
- func (s *Client) DeleteSLOLibraryFolder(id string) error
- func (s *Client) DeleteSamlConfiguration(id string) error
- func (s *Client) DeleteScheduledView(id string) error
- func (s *Client) DeleteSubdomain() error
- func (s *Client) DeleteToken(id string) error
- func (s *Client) DeleteUser(id string, transferTo string) error
- func (s *Client) DestroySource(sourceID int, collectorID int) error
- func (s *Client) FindFieldId(name string) (string, error)
- func (s *Client) Get(urlPath string) ([]byte, string, error)
- func (s *Client) GetAppInstance(id string) (*AppInstance, error)
- func (s *Client) GetCSEAggregationRule(id string) (*CSEAggregationRule, error)
- func (s *Client) GetCSEAutomation(id string) (*CSEAutomation, error)
- func (s *Client) GetCSEChainRule(id string) (*CSEChainRule, error)
- func (s *Client) GetCSEContextAction(id string) (*CSEContextAction, error)
- func (s *Client) GetCSECustomEntityType(id string) (*CSECustomEntityType, error)
- func (s *Client) GetCSECustomInsight(id string) (*CSECustomInsight, error)
- func (s *Client) GetCSECustomMatchListColumn(id string) (*CSECustomMatchListColumn, error)
- func (s *Client) GetCSEEntityCriticalityConfig(id string) (*CSEEntityCriticalityConfig, error)
- func (s *Client) GetCSEEntityNormalizationConfiguration() (*CSEEntityNormalizationConfiguration, error)
- func (s *Client) GetCSEFirstSeenRule(id string) (*CSEFirstSeenRule, error)
- func (s *Client) GetCSEInsightsConfiguration() (*CSEInsightsConfiguration, error)
- func (s *Client) GetCSEInsightsResolution(id string) (*CSEInsightsResolutionGet, error)
- func (s *Client) GetCSEInsightsStatus(id string) (*CSEInsightsStatusGet, error)
- func (s *Client) GetCSELogMapping(id string) (*CSELogMapping, error)
- func (s *Client) GetCSELogMappingVendorsAndProducts(product, vendor string) (*CSELogMappingVendorAndProduct, error)
- func (s *Client) GetCSEMatchList(id string, getCustomTargetColumnName bool) (*CSEMatchListGet, error)
- func (s *Client) GetCSEMatchListItem(id string) (*CSEMatchListItemGet, error)
- func (s *Client) GetCSEMatchListItemsInMatchList(MatchListId string) (*CSEMatchListItemsInMatchListGet, error)
- func (s *Client) GetCSEMatchRule(id string) (*CSEMatchRule, error)
- func (s *Client) GetCSENetworkBlock(id string) (*CSENetworkBlock, error)
- func (s *Client) GetCSEOutlierRule(id string) (*CSEOutlierRule, error)
- func (s *Client) GetCSERuleTuningExpression(id string) (*CSERuleTuningExpression, error)
- func (s *Client) GetCSETagSchema(key string) (*CSETagSchema, error)
- func (s *Client) GetCSEThresholdRule(id string) (*CSEThresholdRule, error)
- func (s *Client) GetCSEntityGroupConfiguration(id string) (*CSEEntityGroupConfiguration, error)
- func (s *Client) GetCloudSyslogSource(collectorID, sourceID int) (*CloudSyslogSource, error)
- func (s *Client) GetCloudToCloudSource(collectorID, sourceID int) (*CloudToCloudSource, error)
- func (s *Client) GetCmfFgp(targetType string, targetId string) (*CmfFgpResponse, error)
- func (s *Client) GetCollector(id int) (*Collector, error)
- func (s *Client) GetCollectorName(name string) (*Collector, error)
- func (s *Client) GetConnection(id string) (*Connection, error)
- func (s *Client) GetContent(id string, timeout time.Duration) (*Content, error)
- func (s *Client) GetContentPath(id string) (string, error)
- func (s *Client) GetCreatorId(path string) (string, error)
- func (s *Client) GetDashboard(id string) (*Dashboard, error)
- func (s *Client) GetField(id string) (*Field, error)
- func (s *Client) GetFieldExtractionRule(id string) (*FieldExtractionRule, error)
- func (s *Client) GetFolder(id string) (*Folder, error)
- func (s *Client) GetFolderByPath(path string) (*Folder, error)
- func (s *Client) GetGCPSource(collectorID, sourceID int) (*GCPSource, error)
- func (s *Client) GetHTTPSource(collectorID, sourceID int) (*HTTPSource, error)
- func (s *Client) GetHierarchy(id string) (*Hierarchy, error)
- func (s *Client) GetIngestBudgetV2(id string) (*IngestBudgetV2, error)
- func (s *Client) GetKinesisLogSource(collectorID, sourceID int) (*KinesisLogSource, error)
- func (s *Client) GetKinesisMetricsSource(collectorID, sourceID int) (*KinesisMetricsSource, error)
- func (s *Client) GetLocalFileSource(collectorID, sourceID int) (*LocalFileSource, error)
- func (s *Client) GetLogSearch(id string) (*LogSearch, error)
- func (s *Client) GetLookupTable(id string) (*LookupTable, error)
- func (s *Client) GetMetadataSource(collectorID, sourceID int) (*MetadataSource, error)
- func (s *Client) GetMetricsSearch(id string) (*MetricsSearch, error)
- func (s *Client) GetMonitorsLibraryFolder(id string) (*MonitorsLibraryFolder, error)
- func (s *Client) GetMutingSchedulesLibraryFolder(id string) (*MutingSchedulesLibraryFolder, error)
- func (s *Client) GetPartition(id string) (*Partition, error)
- func (s *Client) GetPasswordPolicy() (*PasswordPolicy, error)
- func (s *Client) GetPermissions(id string) (*PermissionsResponse, error)
- func (s *Client) GetPolicies() (*Policies, error)
- func (s *Client) GetPollingSource(collectorID, sourceID int) (*PollingSource, error)
- func (s *Client) GetRole(id string) (*Role, error)
- func (s *Client) GetRoleName(name string) (*Role, error)
- func (s *Client) GetRoleNameV2(name string) (*RoleV2, error)
- func (s *Client) GetRoleV2(id string) (*RoleV2, error)
- func (s *Client) GetRumSource(collectorID, sourceID int) (*RumSource, error)
- func (s *Client) GetSLOLibraryFolder(id string) (*SLOLibraryFolder, error)
- func (s *Client) GetSamlConfiguration(id string) (*SamlConfiguration, error)
- func (s *Client) GetScheduledView(id string) (*ScheduledView, error)
- func (s *Client) GetSourceName(collectorID int64, sourceName string) (*Source, error)
- func (s *Client) GetSubdomain() (*Subdomain, error)
- func (s *Client) GetToken(id string) (*Token, error)
- func (s *Client) GetUser(id string) (*User, error)
- func (s *Client) GetUserByEmail(email string) (*User, error)
- func (s *Client) GetWithCookies(urlPath string, cookies []*http.Cookie) ([]byte, string, error)
- func (s *Client) GetWithErrOpt(urlPath string, return404Err bool) ([]byte, string, error)
- func (s *Client) MonitorsRead(id string) (*MonitorsLibraryMonitor, error)
- func (s *Client) MoveMonitorsLibraryMonitor(monitorID string, newParentID string) (*MonitorsLibraryMonitor, error)
- func (s *Client) MoveSLOLibraryToFolder(id, parentId string) error
- func (s *Client) MutingSchedulesRead(id string) (*MutingSchedulesLibraryMutingSchedule, error)
- func (s *Client) Post(urlPath string, payload interface{}) ([]byte, error)
- func (s *Client) PostRawPayload(urlPath string, payload string) ([]byte, error)
- func (s *Client) PostWithCookies(urlPath string, payload interface{}) ([]byte, []*http.Cookie, error)
- func (s *Client) Put(urlPath string, payload interface{}) ([]byte, error)
- func (s *Client) ResetPasswordPolicy() error
- func (s *Client) SLORead(id string) (*SLOLibrarySLO, error)
- func (s *Client) SendCreateCSEMatchListItemsRequest(CSEMatchListItemPost []CSEMatchListItemPost, MatchListID string) error
- func (s *Client) SendGetCSEMatchListItemsRequest(MatchListId string, offset int) (*CSEMatchListItemsInMatchListGet, error)
- func (s *Client) SetCmfFgp(targetType string, cmfFgpRequest CmfFgpRequest) (*CmfFgpResponse, error)
- func (s *Client) UpdateAppInstance(uuid string, appInstallPayload AppInstallPayload) (string, error)
- func (s *Client) UpdateCSEAggregationRule(CSEAggregationRule CSEAggregationRule) error
- func (s *Client) UpdateCSEAutomation(CSEAutomation CSEAutomation) error
- func (s *Client) UpdateCSEChainRule(CSEChainRule CSEChainRule) error
- func (s *Client) UpdateCSEContextAction(CSEContextAction CSEContextAction) error
- func (s *Client) UpdateCSECustomEntityType(CSECustomEntityType CSECustomEntityType) error
- func (s *Client) UpdateCSECustomInsight(CSECustomInsight CSECustomInsight) error
- func (s *Client) UpdateCSECustomMatchListColumn(CSECustomMatchListColumn CSECustomMatchListColumn) error
- func (s *Client) UpdateCSEEntityCriticalityConfig(CSEEntityCriticalityConfig CSEEntityCriticalityConfig) error
- func (s *Client) UpdateCSEEntityEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) error
- func (s *Client) UpdateCSEEntityNormalizationConfiguration(CSEEntityNormalizationConfiguration CSEEntityNormalizationConfiguration) error
- func (s *Client) UpdateCSEFirstSeenRule(CSEFirstSeenRule CSEFirstSeenRule) error
- func (s *Client) UpdateCSEInsightsConfiguration(CSEInsightsConfiguration CSEInsightsConfiguration) error
- func (s *Client) UpdateCSEInsightsResolution(CSEInsightsResolutionPost CSEInsightsResolutionPost) error
- func (s *Client) UpdateCSEInsightsStatus(CSEInsightsStatusPost CSEInsightsStatusPost) error
- func (s *Client) UpdateCSEInventoryEntityGroupConfiguration(CSEEntityGroupConfiguration CSEEntityGroupConfiguration) error
- func (s *Client) UpdateCSELogMapping(CSELogMapping CSELogMapping) error
- func (s *Client) UpdateCSEMatchList(CSEMatchListPost CSEMatchListPost) error
- func (s *Client) UpdateCSEMatchListItem(CSEMatchListItemPost CSEMatchListItemPost) error
- func (s *Client) UpdateCSEMatchRule(CSEMatchRule CSEMatchRule) error
- func (s *Client) UpdateCSENetworkBlock(cseNetworkBlock CSENetworkBlock) error
- func (s *Client) UpdateCSEOutlierRule(CSEOutlierRule CSEOutlierRule) error
- func (s *Client) UpdateCSERuleTuningExpression(CSERuleTuningExpression CSERuleTuningExpression) error
- func (s *Client) UpdateCSETagSchema(CSECreateUpdateTagSchema CSECreateUpdateTagSchema) error
- func (s *Client) UpdateCSEThresholdRule(CSEThresholdRule CSEThresholdRule) error
- func (s *Client) UpdateCloudSyslogSource(source CloudSyslogSource, collectorID int) error
- func (s *Client) UpdateCloudToCloudSource(source CloudToCloudSource, collectorID int) error
- func (s *Client) UpdateCollector(collector Collector) error
- func (s *Client) UpdateConnection(connection Connection) error
- func (s *Client) UpdateDashboard(dashboard Dashboard) error
- func (s *Client) UpdateDataForwardingDestination(dataForwardingDestination DataForwardingDestination) error
- func (s *Client) UpdateDataForwardingRule(dataForwardingRule DataForwardingRule) error
- func (s *Client) UpdateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) error
- func (s *Client) UpdateFolder(folder Folder) error
- func (s *Client) UpdateGCPSource(source GCPSource, collectorID int) error
- func (s *Client) UpdateHTTPSource(source HTTPSource, collectorID int) error
- func (s *Client) UpdateHierarchy(hierarchy Hierarchy) error
- func (s *Client) UpdateIngestBudgetV2(ingestBudgetV2 IngestBudgetV2) error
- func (s *Client) UpdateKinesisLogSource(source KinesisLogSource, collectorID int) error
- func (s *Client) UpdateKinesisMetricsSource(source KinesisMetricsSource, collectorID int) error
- func (s *Client) UpdateLocalFileSource(source LocalFileSource, collectorID int) error
- func (s *Client) UpdateLogSearch(logSearch LogSearch) error
- func (s *Client) UpdateLookupTable(lookupTable LookupTable) error
- func (s *Client) UpdateMetadataSource(source MetadataSource, collectorID int) error
- func (s *Client) UpdateMetricsSearch(metricsSearch MetricsSearch) error
- func (s *Client) UpdateMonitorsLibraryFolder(monitorsLibraryFolder MonitorsLibraryFolder) error
- func (s *Client) UpdateMonitorsLibraryMonitor(monitorsLibraryMonitor MonitorsLibraryMonitor) error
- func (s *Client) UpdateMutingSchedulesLibraryMutingSchedule(mutingSchedulesLibraryMutingSchedule MutingSchedulesLibraryMutingSchedule) error
- func (s *Client) UpdatePartition(spartition Partition) error
- func (s *Client) UpdatePasswordPolicy(passwordPolicy PasswordPolicy) (*PasswordPolicy, error)
- func (s *Client) UpdatePermissions(contentPermissionsRequest PermissionsRequest, id string) (string, error)
- func (s *Client) UpdatePolicies(policies Policies) (*Policies, error)
- func (s *Client) UpdatePollingSource(source PollingSource, collectorID int) error
- func (s *Client) UpdateRole(role Role) error
- func (s *Client) UpdateRoleV2(roleV2 RoleV2) error
- func (s *Client) UpdateRumSource(source RumSource, collectorID int) error
- func (s *Client) UpdateSLO(slo SLOLibrarySLO) error
- func (s *Client) UpdateSLOLibraryFolder(sloLibraryFolder SLOLibraryFolder) error
- func (s *Client) UpdateSamlConfiguration(id string, samlConfiguration SamlConfiguration) error
- func (s *Client) UpdateScheduledView(sview ScheduledView) error
- func (s *Client) UpdateSubdomain(subdomain Subdomain) (string, error)
- func (s *Client) UpdateToken(token Token) error
- func (s *Client) UpdateUser(user User) error
- type CloudSyslogSource
- type CloudToCloudSource
- type CmfFgpIdentifier
- type CmfFgpPermStatement
- type CmfFgpRequest
- type CmfFgpResponse
- type Collector
- type CollectorLink
- type CollectorList
- type CollectorRequest
- type CollectorResponse
- type ColorThreshold
- type ColoringRule
- type CompleteLiteralTimeRange
- type Connection
- type Content
- type CseSignalNotification
- type CsvVariableSourceDefinition
- type Dashboard
- type DataAccessLevelPolicy
- type DataForwardingDestination
- type DataForwardingRule
- type DefaultDateFormat
- type DomainMapping
- type DynamicSeverity
- type EmailNotification
- type EmailSearchNotification
- type EntitySelector
- type EpochTimeRangeBoundary
- type Error
- type ExpressionAndLimit
- type Field
- type FieldExtractionRule
- type FieldsResponse
- type Filter
- type Folder
- type FolderUpdate
- type GCPAuthentication
- type GCPPath
- type GCPResource
- type GCPSource
- type GCPThirdPartyRef
- type GridLayout
- type HTTPSource
- type Headers
- type Hierarchy
- type HierarchyFilteringClause
- type HttpClient
- type IngestBudgetV2
- type Iso8601TimeRangeBoundary
- type JobId
- type KinesisLogPath
- type KinesisLogResource
- type KinesisLogSource
- type KinesisLogThirdPartyRef
- type KinesisMetricsSource
- type LayoutStructure
- type Level
- type LevelWithCondition
- type LinkedDashboard
- type LiteralTimeRangeBoundary
- type LocalFileSource
- type LogQueryVariableSourceDefinition
- type LogSearch
- type LogSearchQueryParameter
- type LogSearchSchedule
- type LookupTable
- type LookupTableField
- type MaxUserSessionTimeoutPolicy
- type MetadataAuthentication
- type MetadataPath
- type MetadataResource
- type MetadataSource
- type MetadataThirdPartyRef
- type MetadataVariableSourceDefinition
- type MetricsQueryData
- type MetricsQueryFilter
- type MetricsQueryOperator
- type MetricsQueryOperatorParameter
- type MetricsSearch
- type MetricsSearchQuery
- type MonitorNotification
- type MonitorQuery
- type MonitorScope
- type MonitorTrigger
- type MonitorsLibraryFolder
- type MonitorsLibraryMonitor
- type MutingSchedulesLibraryFolder
- type MutingSchedulesLibraryMutingSchedule
- type NotificationGroupDefinition
- type OnDemandProvisioningEnabled
- type Partition
- type PasswordPolicy
- type Permission
- type PermissionsRequest
- type PermissionsResponse
- type Policies
- type PolicyRequest
- type PollingAuthentication
- type PollingPath
- type PollingResource
- type PollingSnsTopicOrSubscriptionArn
- type PollingSource
- type PollingThirdPartyRef
- type RelativeTimeRangeBoundary
- type Role
- type RoleResponse
- type RoleResponseV2
- type RoleV2
- type RumAuthentication
- type RumSource
- type RumSourcePath
- type RumThirdPartyRef
- type RumThirdPartyResource
- type SLI
- type SLIQuery
- type SLIQueryGroup
- type SLOCompliance
- type SLOIndicator
- type SLOLibraryFolder
- type SLOLibrarySLO
- type SamlConfiguration
- type SaveToLookupNotification
- type SaveToViewNotification
- type ScheduleDefinition
- type ScheduleSearchParameter
- type ScheduledView
- type SchemaReference
- type SearchAuditPolicy
- type SearchNotificationThreshold
- type SearchPanelQuery
- type ServiceMapPanel
- type ServiceNowFields
- type ServiceNowSearchNotification
- type SeverityMapping
- type SeverityMappingValueMapping
- type ShareDashboardsOutsideOrganizationPolicy
- type SloBurnRateCondition
- type Source
- type SourceList
- type Status
- type Subdomain
- type SumoSearchPanel
- type TagFilter
- type TerraformObject
- type TextPanel
- type Token
- type TopologyLabel
- type TracesListPanel
- type TriggerCondition
- type User
- type UserConcurrentSessionsLimitPolicy
- type UserResponse
- type ValueOption
- type Variable
- type ViewFilterDefinition
- type WebhookNotificiation
- type WebhookSearchNotification
Constants ¶
const Duplicate string = "Duplicate"
const FalsePositive string = "FalsePositive"
const NoAction string = "NoAction"
const Resolved string = "Resolved"
const SLOBaseApiUrl = "v1/slos"
Variables ¶
var ( ValidCompleteLiteralTimeRangeValues = []string{ "today", "yesterday", "previous_week", "previous_month", } ValidLiteralTimeRangeValues = []string{ "now", "second", "minute", "hour", "day", "today", "week", "month", "year", } )
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, }
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}, }
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", }, }
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 GetCmfFgpPermStmtSchema ¶
func GetTerraformTimeRange ¶
func GetTimeRange ¶
func GetTimeRange(tfTimeRange map[string]interface{}) interface{}
func GetTimeRangeBoundary ¶
func GetTimeRangeBoundary(tfRangeBoundary map[string]interface{}) interface{}
func GetTimeRangeSchema ¶
func HasErrorCode ¶
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 AlertSearchNotification ¶
type ApiError ¶
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 AppInstallResponse ¶
type AppInstance ¶
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 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"` SuppressionWindowSize *int `json:"suppressionWindowSize,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 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"` SuppressionWindowSize *int `json:"suppressionWindowSize,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 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 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 CSECustomMatchListColumnRequest ¶
type CSECustomMatchListColumnRequest struct {
CSECustomMatchListColumn CSECustomMatchListColumn `json:"fields"`
}
type CSECustomMatchListColumnResponse ¶
type CSECustomMatchListColumnResponse struct {
CSECustomMatchListColumn CSECustomMatchListColumn `json:"data"`
}
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"` SuppressionWindowSize *int `json:"suppressionWindowSize,omitempty"` }
type CSEFirstSeenRuleRequest ¶
type CSEFirstSeenRuleRequest struct {
CSEFirstSeenRule CSEFirstSeenRule `json:"fields"`
}
type CSEFirstSeenRuleResponse ¶
type CSEFirstSeenRuleResponse struct {
CSEFirstSeenRule CSEFirstSeenRule `json:"data"`
}
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 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 CSEInsightsStatusPost ¶
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 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,omitempty"` ValueType string `json:"valueType,omitempty"` SkippedValues []string `json:"skippedValues,omitempty"` DefaultValue string `json:"defaultValue,omitempty"` Format string `json:"format,omitempty"` CaseInsensitive bool `json:"caseInsensitive,omitempty"` AlternateValues []string `json:"alternateValues,omitempty"` TimeZone string `json:"timeZone,omitempty"` SplitDelimiter string `json:"splitDelimiter,omitempty"` SplitIndex string `json:"splitIndex,omitempty"` FieldJoin []string `json:"fieldJoin,omitempty"` JoinDelimiter string `json:"joinDelimiter,omitempty"` FormatParameters []string `json:"formatParameters,omitempty"` LookUp *[]CSELogMappingLookUp `json:"lookup,omitempty"` }
type CSELogMappingLookUp ¶
type CSELogMappingRequest ¶
type CSELogMappingRequest struct {
CSELogMapping CSELogMapping `json:"fields"`
}
type CSELogMappingResponse ¶
type CSELogMappingResponse struct {
CSELogMapping CSELogMapping `json:"data"`
}
type CSELogMappingUnstructuredFields ¶
type CSELogMappingUnstructuredFields struct {
PatternNames []string `json:"patternNames,omitempty"`
}
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 CSEMatchListItemPost ¶
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 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 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 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"` SuppressionWindowSize *int `json:"suppressionWindowSize,omitempty"` }
type CSEMatchRuleRequest ¶
type CSEMatchRuleRequest struct {
CSEMatchRule CSEMatchRule `json:"fields"`
}
type CSEMatchRuleResponse ¶
type CSEMatchRuleResponse struct {
CSEMatchRule CSEMatchRule `json:"data"`
}
type CSENetworkBlock ¶
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"` SuppressionWindowSize *int `json:"suppressionWindowSize,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"` SuppressionWindowSize *int `json:"suppressionWindowSize,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 (*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 (*Client) CreateConnection ¶
func (s *Client) CreateConnection(connection Connection) (string, error)
CreateConnection creates connection with given params
func (*Client) CreateDashboard ¶
func (*Client) CreateDataForwardingDestination ¶
func (s *Client) CreateDataForwardingDestination(dataForwardingDestination DataForwardingDestination) (*DataForwardingDestination, error)
func (*Client) CreateDataForwardingRule ¶
func (s *Client) CreateDataForwardingRule(dataForwardingRule DataForwardingRule) (*DataForwardingRule, error)
func (*Client) CreateFieldExtractionRule ¶
func (s *Client) CreateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) (string, error)
func (*Client) CreateGCPSource ¶
func (*Client) CreateHTTPSource ¶
func (s *Client) CreateHTTPSource(httpSource HTTPSource, collectorID int) (int, error)
func (*Client) CreateHierarchy ¶
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 (*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 (*Client) CreateMonitorsLibraryMonitor ¶
func (*Client) CreateMutingSchedulesLibraryMutingSchedule ¶
func (*Client) CreateOrUpdateContent ¶
func (*Client) CreatePartition ¶
func (*Client) CreatePollingSource ¶
func (s *Client) CreatePollingSource(source PollingSource, collectorID int) (int, error)
func (*Client) CreateRumSource ¶
func (*Client) CreateSLOLibraryFolder ¶
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 (*Client) DecommissionPartition ¶
func (*Client) DeleteAppInstance ¶
func (*Client) DeleteCSEAggregationRule ¶
func (*Client) DeleteCSEAutomation ¶
func (*Client) DeleteCSEChainRule ¶
func (*Client) DeleteCSEContextAction ¶
func (*Client) DeleteCSECustomEntityType ¶
func (*Client) DeleteCSECustomInsight ¶
func (*Client) DeleteCSECustomMatchListColumn ¶
func (*Client) DeleteCSEEntityCriticalityConfig ¶
func (*Client) DeleteCSEEntityGroupConfiguration ¶
func (*Client) DeleteCSEFirstSeenRule ¶
func (*Client) DeleteCSEInsightsResolution ¶
func (*Client) DeleteCSEInsightsStatus ¶
func (*Client) DeleteCSELogMapping ¶
func (*Client) DeleteCSEMatchList ¶
func (*Client) DeleteCSEMatchListItem ¶
func (*Client) DeleteCSEMatchRule ¶
func (*Client) DeleteCSENetworkBlock ¶
func (*Client) DeleteCSEOutlierRule ¶
func (*Client) DeleteCSERuleTuningExpression ¶
func (*Client) DeleteCSETagSchema ¶
func (*Client) DeleteCSEThresholdRule ¶
func (*Client) DeleteCollector ¶
func (*Client) DeleteConnection ¶
DeleteConnection deletes connection linked to id
func (*Client) DeleteContent ¶
func (*Client) DeleteDashboard ¶
func (*Client) DeleteDataForwardingDestination ¶
func (*Client) DeleteDataForwardingRule ¶
func (*Client) DeleteField ¶
func (*Client) DeleteFieldExtractionRule ¶
func (*Client) DeleteHierarchy ¶
func (*Client) DeleteIngestBudgetV2 ¶
func (*Client) DeleteLogSearch ¶
func (*Client) DeleteLookupTable ¶
func (*Client) DeleteMetricsSearch ¶
func (*Client) DeleteMonitorsLibraryFolder ¶
func (*Client) DeleteMonitorsLibraryMonitor ¶
func (*Client) DeleteMutingSchedulesLibraryMutingSchedule ¶
func (*Client) DeletePermissions ¶
func (s *Client) DeletePermissions(contentPermissionsRequest PermissionsRequest, id string) error
func (*Client) DeleteRole ¶
func (*Client) DeleteRoleV2 ¶
func (*Client) DeleteSLOLibraryFolder ¶
func (*Client) DeleteSamlConfiguration ¶
func (*Client) DeleteScheduledView ¶
func (*Client) DeleteSubdomain ¶
func (*Client) DeleteToken ¶
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) GetCollectorName ¶
func (*Client) GetConnection ¶
func (s *Client) GetConnection(id string) (*Connection, error)
GetConnection returns connection information for given id
func (*Client) GetContent ¶
func (*Client) GetFieldExtractionRule ¶
func (s *Client) GetFieldExtractionRule(id string) (*FieldExtractionRule, error)
func (*Client) GetGCPSource ¶
func (*Client) GetHTTPSource ¶
func (s *Client) GetHTTPSource(collectorID, sourceID int) (*HTTPSource, 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) 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) GetPasswordPolicy ¶
func (s *Client) GetPasswordPolicy() (*PasswordPolicy, error)
func (*Client) GetPermissions ¶
func (s *Client) GetPermissions(id string) (*PermissionsResponse, error)
func (*Client) GetPolicies ¶
func (*Client) GetPollingSource ¶
func (s *Client) GetPollingSource(collectorID, sourceID int) (*PollingSource, error)
func (*Client) GetRumSource ¶
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 (*Client) GetSubdomain ¶
func (*Client) GetWithCookies ¶
func (*Client) GetWithErrOpt ¶
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 (*Client) MutingSchedulesRead ¶
func (s *Client) MutingSchedulesRead(id string) (*MutingSchedulesLibraryMutingSchedule, error)
func (*Client) PostRawPayload ¶
func (*Client) PostWithCookies ¶
func (*Client) ResetPasswordPolicy ¶
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) 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 (*Client) UpdateConnection ¶
func (s *Client) UpdateConnection(connection Connection) error
UpdateConnection updates connection with given params
func (*Client) UpdateDashboard ¶
func (*Client) UpdateDataForwardingDestination ¶
func (s *Client) UpdateDataForwardingDestination(dataForwardingDestination DataForwardingDestination) error
func (*Client) UpdateDataForwardingRule ¶
func (s *Client) UpdateDataForwardingRule(dataForwardingRule DataForwardingRule) error
func (*Client) UpdateFieldExtractionRule ¶
func (s *Client) UpdateFieldExtractionRule(fieldExtractionRule FieldExtractionRule) error
func (*Client) UpdateFolder ¶
func (*Client) UpdateGCPSource ¶
func (*Client) UpdateHTTPSource ¶
func (s *Client) UpdateHTTPSource(source HTTPSource, collectorID int) error
func (*Client) UpdateHierarchy ¶
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 (*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 (*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 (*Client) UpdatePollingSource ¶
func (s *Client) UpdatePollingSource(source PollingSource, collectorID int) error
func (*Client) UpdateRole ¶
func (*Client) UpdateRoleV2 ¶
func (*Client) UpdateRumSource ¶
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 (*Client) UpdateToken ¶
func (*Client) UpdateUser ¶
type CloudSyslogSource ¶
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 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 ¶
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 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 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 DataForwardingDestination ¶
type DataForwardingDestination struct { ID string `json:"id,omitempty"` DestinationName string `json:"destinationName"` Description string `json:"description,omitempty"` BucketName string `json:"bucketName"` AccessMethod string `json:"authenticationMode"` AccessKey string `json:"accessKeyId,omitempty"` SecretKey string `json:"secretAccessKey,omitempty"` RoleArn string `json:"roleArn,omitempty"` Enabled bool `json:"enabled"` S3Region string `json:"region,omitempty"` S3ServerSideEncryption bool `json:"encrypted"` }
type DataForwardingRule ¶
type DefaultDateFormat ¶
type DomainMapping ¶
type DynamicSeverity ¶
type EmailNotification ¶
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 EpochTimeRangeBoundary ¶
type ExpressionAndLimit ¶
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 FolderUpdate ¶
type GCPAuthentication ¶
type GCPAuthentication 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 Hierarchy ¶
type Hierarchy struct { Name string `json:"name"` ID string `json:"id,omitempty"` Filter *HierarchyFilteringClause `json:"filter"` Level Level `json:"level"` }
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 KinesisLogPath ¶
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 Level ¶
type Level struct { EntityType string `json:"entityType"` NextLevelsWithConditions []LevelWithCondition `json:"nextLevelsWithConditions"` NextLevel *Level `json:"nextLevel,omitempty"` }
type LevelWithCondition ¶
type LinkedDashboard ¶
type LocalFileSource ¶
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 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 MaxUserSessionTimeoutPolicy ¶
type MaxUserSessionTimeoutPolicy struct {
MaxUserSessionTimeout string `json:"maxUserSessionTimeout"`
}
type MetadataAuthentication ¶
type MetadataPath ¶
type MetadataResource ¶
type MetadataResource struct { ServiceType string `json:"serviceType"` Authentication MetadataAuthentication `json:"authentication"` Path MetadataPath `json:"path"` }
type MetadataSource ¶
type MetadataThirdPartyRef ¶
type MetadataThirdPartyRef struct {
Resources []MetadataResource `json:"resources"`
}
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 MetricsQueryOperator ¶
type MetricsQueryOperator struct { Name string `json:"operatorName"` Parameters []MetricsQueryOperatorParameter `json:"parameters"` }
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 MonitorNotification ¶
type MonitorNotification struct { Notification interface{} `json:"notification"` RunForTriggerTypes []interface{} `json:"runForTriggerTypes"` }
type MonitorQuery ¶
type MonitorScope ¶
type MonitorTrigger ¶
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"` NotificationGroups []NotificationGroupDefinition `json:"notificationGroups"` }
---------- TYPES ----------
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"` IsIncludedInDefaultSearch *bool `json:"isIncludedInDefaultSearch,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 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 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"` Namespace string `json:"namespace,omitempty"` EventHubName string `json:"eventHubName,omitempty"` ConsumerGroup string `json:"consumerGroup,omitempty"` Region string `json:"region,omitempty"` }
type PollingResource ¶
type PollingResource struct { ServiceType string `json:"serviceType"` Authentication PollingAuthentication `json:"authentication"` Path PollingPath `json:"path"` }
type PollingSource ¶
type PollingThirdPartyRef ¶
type PollingThirdPartyRef struct {
Resources []PollingResource `json:"resources"`
}
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 RoleResponseV2 ¶
type RoleResponseV2 struct {
RolesV2 []RoleV2 `json:"data"`
}
type RoleV2 ¶
type RoleV2 struct { Capabilities []string `json:"capabilities,omitempty"` SecurityDataFilter string `json:"securityDataFilter"` Name string `json:"name"` AuditDataFilter string `json:"auditDataFilter"` ID string `json:"id,omitempty"` LogAnalyticsFilter string `json:"logAnalyticsFilter"` SelectionType string `json:"selectionType"` SelectedViews []ViewFilterDefinition `json:"selectedViews,omitempty"` Description string `json:"description"` }
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 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 SaveToViewNotification ¶
type ScheduleDefinition ¶
type ScheduleSearchParameter ¶
type ScheduledView ¶
type ScheduledView struct { ID string `json:"id,omitempty"` IndexId string `json:"indexId,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 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"` ParseMode string `json:"parseMode,omitempty"` TimeSource string `json:"timeSource,omitempty"` Transient bool `json:"transient,omitempty"` OutputCardinalityLimit int `json:"outputCardinalityLimit,omitempty"` }
type ServiceMapPanel ¶
type ServiceMapPanel struct { Id string `json:"id,omitempty"` Key string `json:"key"` Title string `json:"title"` VisualSettings string `json:"visualSettings"` PanelType string `json:"panelType"` KeepVisualSettingsConsistentWithParent bool `json:"keepVisualSettingsConsistentWithParent"` // Service map panel related properties Application string `json:"application,omitempty"` Service string `json:"service,omitempty"` ShowRemoteServices bool `json:"showRemoteServices,omitempty"` Environment string `json:"environment,omitempty"` }
type ServiceNowFields ¶
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 ShareDashboardsOutsideOrganizationPolicy ¶
type ShareDashboardsOutsideOrganizationPolicy struct {
}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"` HashAlgorithm string `json:"hashAlgorithm,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 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 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 TopologyLabel ¶
type TracesListPanel ¶
type TracesListPanel struct { Id string `json:"id,omitempty"` Key string `json:"key"` Title string `json:"title"` PanelType string `json:"panelType"` VisualSettings string `json:"visualSettings"` KeepVisualSettingsConsistentWithParent bool `json:"keepVisualSettingsConsistentWithParent"` // Trace panel related properties Queries []SearchPanelQuery `json:"queries"` TimeRange interface{} `json:"timeRange"` }
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"` AnomalyDetectorType string `json:"anomalyDetectorType,omitempty"` Sensitivity float64 `json:"sensitivity,omitempty"` MinAnomalyCount int `json:"minAnomalyCount,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 UserResponse ¶
type UserResponse struct {
User []User `json:"data"`
}
type ValueOption ¶
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 ViewFilterDefinition ¶
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"` }
Source Files
¶
- data_source_sumologic_admin_recommended_folder.go
- data_source_sumologic_collector.go
- data_source_sumologic_cse_log_mapping_vendor_product.go
- data_source_sumologic_folder.go
- data_source_sumologic_http_source.go
- data_source_sumologic_my_user_id.go
- data_source_sumologic_personal_folder.go
- data_source_sumologic_role.go
- data_source_sumologic_role_v2.go
- data_source_sumologic_user.go
- data_sumologic_admin_recommended_folder.go
- data_sumologic_source_caller_identity.go
- fields_map.go
- provider.go
- resource_sumologic_app.go
- resource_sumologic_cloud_to_cloud_source.go
- resource_sumologic_cloudsyslog_source.go
- resource_sumologic_collector.go
- resource_sumologic_connection.go
- resource_sumologic_content.go
- resource_sumologic_cse_aggregation_rule.go
- resource_sumologic_cse_automation.go
- resource_sumologic_cse_chain_rule.go
- resource_sumologic_cse_context_action.go
- resource_sumologic_cse_custom_entity_type.go
- resource_sumologic_cse_custom_insight.go
- resource_sumologic_cse_custom_match_list_column.go
- resource_sumologic_cse_entity_criticality_config.go
- resource_sumologic_cse_entity_entity_group_configuration.go
- resource_sumologic_cse_entity_normalization_configuration.go
- resource_sumologic_cse_first_seen_rule.go
- resource_sumologic_cse_insights_configuration.go
- resource_sumologic_cse_insights_resolution.go
- resource_sumologic_cse_insights_status.go
- resource_sumologic_cse_inventory_entity_group_configuration.go
- resource_sumologic_cse_log_mapping.go
- resource_sumologic_cse_match_list.go
- resource_sumologic_cse_match_rule.go
- resource_sumologic_cse_network_block.go
- resource_sumologic_cse_outlier_rule.go
- resource_sumologic_cse_rule_tuning_expression.go
- resource_sumologic_cse_tag_schema.go
- resource_sumologic_cse_threshold_rule.go
- resource_sumologic_dashboard.go
- resource_sumologic_data_forwarding_destination.go
- resource_sumologic_data_forwarding_rule.go
- resource_sumologic_extraction_rule.go
- resource_sumologic_field.go
- resource_sumologic_folder.go
- resource_sumologic_gcp_source.go
- resource_sumologic_generic_polling_source.go
- resource_sumologic_hierarchy.go
- resource_sumologic_http_source.go
- resource_sumologic_ingest_budget_v2.go
- resource_sumologic_installed_collector.go
- resource_sumologic_kinesis_log_source.go
- resource_sumologic_kinesis_metrics_source.go
- resource_sumologic_local_file_source.go
- resource_sumologic_log_search.go
- resource_sumologic_lookup_table.go
- resource_sumologic_metadata_source.go
- resource_sumologic_metrics_search.go
- resource_sumologic_monitors_library_folder.go
- resource_sumologic_monitors_library_monitor.go
- resource_sumologic_muting_schedules_library_muting_schedule.go
- resource_sumologic_partition.go
- resource_sumologic_password_policy.go
- resource_sumologic_permissions.go
- resource_sumologic_policies.go
- resource_sumologic_polling_source.go
- resource_sumologic_role.go
- resource_sumologic_role_v2.go
- resource_sumologic_rum_source.go
- resource_sumologic_saml_configuration.go
- resource_sumologic_scheduled_view.go
- resource_sumologic_slo.go
- resource_sumologic_slo_folder.go
- resource_sumologic_subdomain.go
- resource_sumologic_token.go
- resource_sumologic_user.go
- sumologic_app.go
- sumologic_client.go
- sumologic_cloud_to_cloud_source.go
- sumologic_cloudsyslog_source.go
- sumologic_cmffgp.go
- sumologic_cmffgp_reslib.go
- sumologic_collectors.go
- sumologic_connection.go
- sumologic_content.go
- sumologic_cse_aggregation_rule.go
- sumologic_cse_automation.go
- sumologic_cse_chain_rule.go
- sumologic_cse_context_action.go
- sumologic_cse_custom_entity_type.go
- sumologic_cse_custom_insight.go
- sumologic_cse_custom_match_list_column.go
- sumologic_cse_entity_criticality_config.go
- sumologic_cse_entity_group_configuration.go
- sumologic_cse_entity_normalization_configuration.go
- sumologic_cse_first_seen_rule.go
- sumologic_cse_insights_configuration.go
- sumologic_cse_insights_resolution.go
- sumologic_cse_insights_status.go
- sumologic_cse_log_mapping.go
- sumologic_cse_log_mapping_vendor_product.go
- sumologic_cse_match_list.go
- sumologic_cse_match_list_item.go
- sumologic_cse_match_rule.go
- sumologic_cse_network_block.go
- sumologic_cse_outlier_rule.go
- sumologic_cse_rule_common.go
- sumologic_cse_rule_tuning_expression.go
- sumologic_cse_tag_schema.go
- sumologic_cse_threshold_rule.go
- sumologic_dashboard.go
- sumologic_data_forwarding_destination.go
- sumologic_data_forwarding_rule.go
- sumologic_extraction_rule.go
- sumologic_field.go
- sumologic_folder.go
- sumologic_gcp_source.go
- sumologic_hierarchy.go
- sumologic_http_source.go
- sumologic_ingest_budget_v2.go
- sumologic_kinesis_log_source.go
- sumologic_kinesis_metrics_source.go
- sumologic_local_file_source.go
- sumologic_log_search.go
- sumologic_lookup_table.go
- sumologic_metadata_source.go
- sumologic_metrics_search.go
- sumologic_monitors_library_folder.go
- sumologic_monitors_library_monitor.go
- sumologic_muting_schedules_library_muting_schedule.go
- sumologic_partition.go
- sumologic_password_policy.go
- sumologic_permissions.go
- sumologic_policies.go
- sumologic_polling_source.go
- sumologic_role.go
- sumologic_role_v2.go
- sumologic_rum_source.go
- sumologic_saml_configuration.go
- sumologic_scheduled_view.go
- sumologic_slo_library_folder.go
- sumologic_slo_library_slo.go
- sumologic_sources.go
- sumologic_subdomain.go
- sumologic_token.go
- sumologic_user.go
- util.go