Documentation ¶
Index ¶
- type ActionInfo
- type ActionInstanceInfo
- type Alert
- type AlertAlertType
- type AlertCloseReason
- type AlertCloseReasonEnum
- type AlertDataSource
- type AlertDestGeo
- type AlertDetail
- type AlertDetailDataclassRef
- type AlertEnvironment
- type AlertFileInfo
- type AlertHandleStatus
- type AlertHandleStatusEnum
- type AlertIpdrrPhase
- type AlertIpdrrPhaseEnum
- type AlertNetworkList
- type AlertNetworkListDirection
- type AlertNetworkListDirectionEnum
- type AlertProcess
- type AlertRemediation
- type AlertResourceList
- type AlertRule
- type AlertRuleQueryType
- type AlertRuleQueryTypeEnum
- type AlertRuleSeverity
- type AlertRuleSeverityEnum
- type AlertRuleStatus
- type AlertRuleStatusEnum
- type AlertRuleTemplate
- type AlertRuleTemplateQueryType
- type AlertRuleTemplateQueryTypeEnum
- type AlertRuleTemplateSeverity
- type AlertRuleTemplateSeverityEnum
- type AlertRuleTrigger
- type AlertRuleTriggerMode
- type AlertRuleTriggerModeEnum
- type AlertRuleTriggerOperator
- type AlertRuleTriggerOperatorEnum
- type AlertRuleTriggerSeverity
- type AlertRuleTriggerSeverityEnum
- type AlertSeverity
- type AlertSeverityEnum
- type AlertSrcGeo
- type AlertUserInfo
- type AlertVerificationState
- type AlertVerificationStateEnum
- type AopWorkflowInfo
- type ApproveOpinionDetail
- type ApprovePlaybookInfo
- type AuditLogInfo
- type BaselineSearchRequestBody
- type BatchOperateAlertResult
- type BatchOperateDataobjectResult
- type BatchSearchMetricHitsRequest
- type BatchSearchMetricHitsRequestBody
- type BatchSearchMetricHitsResponse
- type ChangeAlertRequest
- type ChangeAlertRequestBody
- type ChangeAlertResponse
- type ChangeIncidentRequest
- type ChangeIncidentRequestBody
- type ChangeIncidentResponse
- type ChangePlaybookInstanceRequest
- type ChangePlaybookInstanceResponse
- type ConditionInfo
- type ConditionItem
- type CopyPlaybookInfo
- type CopyPlaybookVersionRequest
- type CopyPlaybookVersionResponse
- type CreateAction
- type CreateAlertRequest
- type CreateAlertRequestBody
- type CreateAlertResponse
- type CreateAlertRuleRequest
- type CreateAlertRuleRequestBody
- type CreateAlertRuleRequestBodyQueryType
- type CreateAlertRuleRequestBodyQueryTypeEnum
- type CreateAlertRuleRequestBodySeverity
- type CreateAlertRuleRequestBodySeverityEnum
- type CreateAlertRuleRequestBodyStatus
- type CreateAlertRuleRequestBodyStatusEnum
- type CreateAlertRuleResponse
- type CreateAlertRuleResponseQueryType
- type CreateAlertRuleResponseQueryTypeEnum
- type CreateAlertRuleResponseSeverity
- type CreateAlertRuleResponseSeverityEnum
- type CreateAlertRuleResponseStatus
- type CreateAlertRuleResponseStatusEnum
- type CreateAlertRuleSimulationRequest
- type CreateAlertRuleSimulationRequestBody
- type CreateAlertRuleSimulationRequestBodyQueryType
- type CreateAlertRuleSimulationRequestBodyQueryTypeEnum
- type CreateAlertRuleSimulationResponse
- type CreateBatchOrderAlertsRequest
- type CreateBatchOrderAlertsResponse
- type CreateDataobjectRelationsRequest
- type CreateDataobjectRelationsRequestBody
- type CreateDataobjectRelationsResponse
- type CreateDataspaceRequest
- type CreateDataspaceRequestBody
- type CreateDataspaceResponse
- type CreateIncidentRequest
- type CreateIncidentRequestBody
- type CreateIncidentResponse
- type CreateIndicatorDetail
- type CreateIndicatorDetailDataSource
- type CreateIndicatorDetailEnvironment
- type CreateIndicatorDetailIndicatorType
- type CreateIndicatorRequest
- type CreateIndicatorResponse
- type CreatePipeRequest
- type CreatePipeRequestBody
- type CreatePipeResponse
- type CreatePlaybookActionRequest
- type CreatePlaybookActionResponse
- type CreatePlaybookApproveRequest
- type CreatePlaybookApproveResponse
- type CreatePlaybookInfo
- type CreatePlaybookRequest
- type CreatePlaybookResponse
- type CreatePlaybookRuleRequest
- type CreatePlaybookRuleResponse
- type CreatePlaybookVersionInfo
- type CreatePlaybookVersionRequest
- type CreatePlaybookVersionResponse
- type CreatePostPaidOrderRequest
- type CreatePostPaidOrderRequestXLanguage
- type CreatePostPaidOrderRequestXLanguageEnum
- type CreatePostPaidOrderResponse
- type CreateRuleInfo
- type CreateWorkspaceRequest
- type CreateWorkspaceRequestBody
- type CreateWorkspaceResponse
- type CreateWorkspaceResponseBody
- type CreateWorkspaceResponseBodyWorkspaceAgencyList
- type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution
- func (c CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) MarshalJSON() ([]byte, error)
- func (c *CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) UnmarshalJSON(b []byte) error
- func (c CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) Value() string
- type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum
- type DataClassRefPojo
- type DataClassResponseBody
- type DataObject
- type DataObjectCloseReason
- type DataObjectCloseReasonEnum
- type DataObjectDetail
- type DataObjectHandleStatus
- type DataObjectHandleStatusEnum
- type DataObjectIpdrrPhase
- type DataObjectIpdrrPhaseEnum
- type DataObjectSeverity
- type DataObjectSeverityEnum
- type DataObjectVerificationState
- type DataObjectVerificationStateEnum
- type DataclassInfoRef
- type DataobjectInfo
- type DataobjectSearch
- type DataobjectSearchCondition
- type DataobjectSearchConditionConditions
- type DataobjectSearchOrder
- type DataobjectSearchOrderEnum
- type DeleteAlertRequest
- type DeleteAlertRequestBody
- type DeleteAlertResponse
- type DeleteAlertRuleRequest
- type DeleteAlertRuleResponse
- type DeleteDataobjectRelationsRequest
- type DeleteDataobjectRelationsResponse
- type DeleteIncidentRequest
- type DeleteIncidentRequestBody
- type DeleteIncidentResponse
- type DeleteIncidentResponseBodyData
- type DeleteIndicatorRequest
- type DeleteIndicatorRequestBody
- type DeleteIndicatorResponse
- type DeletePlaybookActionRequest
- type DeletePlaybookActionResponse
- type DeletePlaybookRequest
- type DeletePlaybookResponse
- type DeletePlaybookRuleRequest
- type DeletePlaybookRuleResponse
- type DeletePlaybookVersionRequest
- type DeletePlaybookVersionResponse
- type DisableAlertRuleRequest
- type DisableAlertRuleResponse
- type EnableAlertRuleRequest
- type EnableAlertRuleResponse
- type FieldResponseBody
- type Incident
- type IncidentCloseReason
- type IncidentCloseReasonEnum
- type IncidentDetail
- type IncidentEnvironment
- type IncidentHandleStatus
- type IncidentHandleStatusEnum
- type IncidentIncidentType
- type IncidentIpdrrPhase
- type IncidentIpdrrPhaseEnum
- type IncidentSeverity
- type IncidentSeverityEnum
- type IncidentVerificationState
- type IncidentVerificationStateEnum
- type IndicatorBatchOperateResponse
- type IndicatorCreateRequest
- type IndicatorDataObjectDetail
- type IndicatorDataObjectDetailDataSource
- type IndicatorDataObjectDetailEnvironment
- type IndicatorDataObjectDetailIndicatorType
- type IndicatorDetail
- type IndicatorListSearchRequest
- type KeyIndex
- type KeyIndexType
- type KeyIndexTypeEnum
- type ListAlertDetail
- type ListAlertRsp
- type ListAlertRspChopPhase
- type ListAlertRspChopPhaseEnum
- type ListAlertRspCloseReason
- type ListAlertRspCloseReasonEnum
- type ListAlertRspHandleStatus
- type ListAlertRspHandleStatusEnum
- type ListAlertRspIpdrrPhase
- type ListAlertRspIpdrrPhaseEnum
- type ListAlertRspPpdrPhase
- type ListAlertRspPpdrPhaseEnum
- type ListAlertRspSeverity
- type ListAlertRspSeverityEnum
- type ListAlertRspVerificationState
- type ListAlertRspVerificationStateEnum
- type ListAlertRuleMetricsRequest
- type ListAlertRuleMetricsResponse
- type ListAlertRuleMetricsResponseCategory
- type ListAlertRuleMetricsResponseCategoryEnum
- type ListAlertRuleTemplatesRequest
- type ListAlertRuleTemplatesRequestSeverity
- type ListAlertRuleTemplatesRequestSeverityEnum
- type ListAlertRuleTemplatesRequestSortDir
- type ListAlertRuleTemplatesRequestSortDirEnum
- type ListAlertRuleTemplatesResponse
- type ListAlertRulesRequest
- type ListAlertRulesRequestSeverity
- type ListAlertRulesRequestSeverityEnum
- type ListAlertRulesRequestSortDir
- type ListAlertRulesRequestSortDirEnum
- type ListAlertRulesRequestStatus
- type ListAlertRulesRequestStatusEnum
- type ListAlertRulesResponse
- type ListAlertsRequest
- type ListAlertsResponse
- type ListDataclassFieldsRequest
- type ListDataclassFieldsResponse
- type ListDataclassRequest
- type ListDataclassResponse
- type ListDataobjectRelationsRequest
- type ListDataobjectRelationsResponse
- type ListIncidentsRequest
- type ListIncidentsResponse
- type ListIndicatorsRequest
- type ListIndicatorsResponse
- type ListPlaybookActionsRequest
- type ListPlaybookActionsResponse
- type ListPlaybookApprovesRequest
- type ListPlaybookApprovesResponse
- type ListPlaybookAuditLogsRequest
- type ListPlaybookAuditLogsRequestSortDir
- type ListPlaybookAuditLogsRequestSortDirEnum
- type ListPlaybookAuditLogsResponse
- type ListPlaybookInstancesRequest
- type ListPlaybookInstancesResponse
- type ListPlaybookVersionsRequest
- type ListPlaybookVersionsResponse
- type ListPlaybooksRequest
- type ListPlaybooksResponse
- type ListWorkflowsRequest
- type ListWorkflowsRequestOrder
- type ListWorkflowsRequestOrderEnum
- type ListWorkflowsRequestSortby
- type ListWorkflowsRequestSortbyEnum
- type ListWorkflowsResponse
- type ListWorkspacesRequest
- type ListWorkspacesResponse
- type MetricFormat
- type ModifyActionInfo
- type ModifyPlaybookInfo
- type ModifyPlaybookVersionInfo
- type ModifyRuleInfo
- type OperationPlaybookInfo
- type OrderAlert
- type OrderAlertIncidentContent
- type OrderAlertIncidentContentIncidentType
- type PlaybookInfo
- type PlaybookInfoRef
- type PlaybookInstanceInfo
- type PlaybookInstanceMonitorDetail
- type PlaybookInstanceRunStatistics
- type PlaybookStatisticDetail
- type PlaybookVersionInfo
- type PlaybookVersionListEntity
- type PostPaidParam
- type PostPaidParamOperateType
- type PostPaidParamOperateTypeEnum
- type ProductPostPaid
- type ProductPostPaidUsageMeasureId
- type ProductPostPaidUsageMeasureIdEnum
- type RuleInfo
- type Schedule
- type ScheduleFrequencyUnit
- type ScheduleFrequencyUnitEnum
- type SchedulePeriodUnit
- type SchedulePeriodUnitEnum
- type SearchBaselineRequest
- type SearchBaselineResponse
- type ShowAlertRequest
- type ShowAlertResponse
- type ShowAlertRspMalware
- type ShowAlertRuleRequest
- type ShowAlertRuleResponse
- type ShowAlertRuleResponseQueryType
- type ShowAlertRuleResponseQueryTypeEnum
- type ShowAlertRuleResponseSeverity
- type ShowAlertRuleResponseSeverityEnum
- type ShowAlertRuleResponseStatus
- type ShowAlertRuleResponseStatusEnum
- type ShowAlertRuleTemplateRequest
- type ShowAlertRuleTemplateResponse
- type ShowAlertRuleTemplateResponseQueryType
- type ShowAlertRuleTemplateResponseQueryTypeEnum
- type ShowAlertRuleTemplateResponseSeverity
- type ShowAlertRuleTemplateResponseSeverityEnum
- type ShowIncidentRequest
- type ShowIncidentResponse
- type ShowIndicatorDetailRequest
- type ShowIndicatorDetailResponse
- type ShowMetricResultResponseBody
- type ShowMetricResultResponseBodyResult
- type ShowMetricResultResponseBodyStatus
- type ShowMetricResultResponseBodyStatusEnum
- type ShowPlaybookInstanceRequest
- type ShowPlaybookInstanceResponse
- type ShowPlaybookMonitorsRequest
- type ShowPlaybookMonitorsRequestVersionQueryType
- type ShowPlaybookMonitorsRequestVersionQueryTypeEnum
- type ShowPlaybookMonitorsResponse
- type ShowPlaybookRequest
- type ShowPlaybookResponse
- type ShowPlaybookRuleRequest
- type ShowPlaybookRuleResponse
- type ShowPlaybookStatisticsRequest
- type ShowPlaybookStatisticsResponse
- type ShowPlaybookTopologyRequest
- type ShowPlaybookTopologyResponse
- type ShowPlaybookVersionRequest
- type ShowPlaybookVersionResponse
- type TagInfo
- type TagsPojo
- type UpdateAlertRuleRequest
- type UpdateAlertRuleRequestBody
- type UpdateAlertRuleRequestBodyQueryType
- type UpdateAlertRuleRequestBodyQueryTypeEnum
- type UpdateAlertRuleRequestBodySeverity
- type UpdateAlertRuleRequestBodySeverityEnum
- type UpdateAlertRuleRequestBodyStatus
- type UpdateAlertRuleRequestBodyStatusEnum
- type UpdateAlertRuleResponse
- type UpdateAlertRuleResponseQueryType
- type UpdateAlertRuleResponseQueryTypeEnum
- type UpdateAlertRuleResponseSeverity
- type UpdateAlertRuleResponseSeverityEnum
- type UpdateAlertRuleResponseStatus
- type UpdateAlertRuleResponseStatusEnum
- type UpdateIndicatorRequest
- type UpdateIndicatorRequestBody
- type UpdateIndicatorResponse
- type UpdatePlaybookActionRequest
- type UpdatePlaybookActionResponse
- type UpdatePlaybookRequest
- type UpdatePlaybookResponse
- type UpdatePlaybookRuleRequest
- type UpdatePlaybookRuleResponse
- type UpdatePlaybookVersionRequest
- type UpdatePlaybookVersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶
type ActionInfo struct { // 剧本流程动作ID Id *string `json:"id,omitempty"` // 流程动作名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 流程动作类型 ActionType *string `json:"action_type,omitempty"` // 流程ID ActionId *string `json:"action_id,omitempty"` // 剧本ID PlaybookId *string `json:"playbook_id,omitempty"` // 剧本版本ID PlaybookVersionId *string `json:"playbook_version_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` }
ActionInfo 剧本流程动作信息
func (ActionInfo) String ¶
func (o ActionInfo) String() string
type ActionInstanceInfo ¶
type ActionInstanceInfo struct { Action *ActionInfo `json:"action,omitempty"` InstanceLog *AuditLogInfo `json:"instance_log,omitempty"` }
ActionInstanceInfo 流程实例
func (ActionInstanceInfo) String ¶
func (o ActionInstanceInfo) String() string
type Alert ¶
type Alert struct { // 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 Version *string `json:"version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据投递后,被委托用户的domain_id DomainId *string `json:"domain_id,omitempty"` // 数据投递后,被委托用户的region_id RegionId *string `json:"region_id,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` // 标签,仅展示 Labels *string `json:"labels,omitempty"` Environment *AlertEnvironment `json:"environment,omitempty"` DataSource *AlertDataSource `json:"data_source,omitempty"` // 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 FirstObservedTime *string `json:"first_observed_time,omitempty"` // 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 LastObservedTime *string `json:"last_observed_time,omitempty"` // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` // 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ArriveTime *string `json:"arrive_time,omitempty"` // 告警标题 Title *string `json:"title,omitempty"` // 告警描述信息 Description *string `json:"description,omitempty"` // 告警URL链接,指向数据源产品中有关当前事件说明的页面 SourceUrl *string `json:"source_url,omitempty"` // 事件发生次数 Count *int32 `json:"count,omitempty"` // 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% Confidence *int32 `json:"confidence,omitempty"` // 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 Severity *AlertSeverity `json:"severity,omitempty"` // 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 Criticality *int32 `json:"criticality,omitempty"` AlertType *AlertAlertType `json:"alert_type,omitempty"` // 网络信息 NetworkList *[]AlertNetworkList `json:"network_list,omitempty"` // 受影响资源 ResourceList *[]AlertResourceList `json:"resource_list,omitempty"` Remediation *AlertRemediation `json:"remediation,omitempty"` // 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown VerificationState *AlertVerificationState `json:"verification_state,omitempty"` // 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open HandleStatus *AlertHandleStatus `json:"handle_status,omitempty"` // 约束闭环时间:设置风险接受持续时间。单位:小时 Sla *int32 `json:"sla,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CloseTime *string `json:"close_time,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity IpdrrPhase *AlertIpdrrPhase `json:"ipdrr_phase,omitempty"` // 调试字段 Simulation *string `json:"simulation,omitempty"` // 告警调查员 Actor *string `json:"actor,omitempty"` // 责任人、服务责任人 Owner *string `json:"owner,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other CloseReason *AlertCloseReason `json:"close_reason,omitempty"` // 关闭评论 CloseComment *string `json:"close_comment,omitempty"` Malware *ShowAlertRspMalware `json:"malware,omitempty"` // 系统信息 SystemInfo *interface{} `json:"system_info,omitempty"` // 进程信息 Process *[]AlertProcess `json:"process,omitempty"` // 用户信息 UserInfo *[]AlertUserInfo `json:"user_info,omitempty"` // 文件信息 FileInfo *[]AlertFileInfo `json:"file_info,omitempty"` // 告警管理列表的布局字段 SystemAlertTable *interface{} `json:"system_alert_table,omitempty"` }
Alert 告警实体信息
type AlertAlertType ¶ added in v0.1.64
type AlertAlertType struct { // 类别 Category *string `json:"category,omitempty"` // 告警类型 AlertType *string `json:"alert_type,omitempty"` }
AlertAlertType 告警分类,详细定义参考《告警类型定义》
func (AlertAlertType) String ¶ added in v0.1.64
func (o AlertAlertType) String() string
type AlertCloseReason ¶ added in v0.1.64
type AlertCloseReason struct {
// contains filtered or unexported fields
}
func (AlertCloseReason) MarshalJSON ¶ added in v0.1.64
func (c AlertCloseReason) MarshalJSON() ([]byte, error)
func (*AlertCloseReason) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertCloseReason) UnmarshalJSON(b []byte) error
func (AlertCloseReason) Value ¶ added in v0.1.64
func (c AlertCloseReason) Value() string
type AlertCloseReasonEnum ¶ added in v0.1.64
type AlertCloseReasonEnum struct { FALSE_DETECTION AlertCloseReason RESOLVED AlertCloseReason REPEATED AlertCloseReason OTHER AlertCloseReason }
func GetAlertCloseReasonEnum ¶ added in v0.1.64
func GetAlertCloseReasonEnum() AlertCloseReasonEnum
type AlertDataSource ¶ added in v0.1.64
type AlertDataSource struct { // 数据源类型,取值范围如下: 1 - 华为产品 2 - 第三方产品 3 - 租户私有产品 SourceType *int32 `json:"source_type,omitempty"` // 数据源产品所属账号的id DomainId *string `json:"domain_id,omitempty"` // 数据源产品所属项目的id ProjectId *string `json:"project_id,omitempty"` // 数据源产品所在区域,具体取值范围查看华为云地区和终端节点定义,例如cn-north-1 RegionId *string `json:"region_id,omitempty"` // 数据源产品所属公司的名称 CompanyName *string `json:"company_name,omitempty"` // 数据源产品的名称 ProductName *string `json:"product_name,omitempty"` // 产品功能特性名称,用来指明检测到当前事件的产品的功能特性 ProductFeature *string `json:"product_feature,omitempty"` // 检测模块列表 ProductModule *string `json:"product_module,omitempty"` }
AlertDataSource 首次上报数据源
func (AlertDataSource) String ¶ added in v0.1.64
func (o AlertDataSource) String() string
type AlertDestGeo ¶ added in v0.1.64
type AlertDestGeo struct { // 纬度 Latitude float32 `json:"latitude,omitempty"` // 经度 Longitude float32 `json:"longitude,omitempty"` // 城市编码,Beijing | Shanghai CityCode *string `json:"city_code,omitempty"` // 国家简码,参考ISO 3166-1 alpha-2,例如:CN | US | DE | IT | SG CountryCode *string `json:"country_code,omitempty"` }
AlertDestGeo 目标IP的地理位置信息
func (AlertDestGeo) String ¶ added in v0.1.64
func (o AlertDestGeo) String() string
type AlertDetail ¶
type AlertDetail struct { // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` DataObject *Alert `json:"data_object,omitempty"` DataclassRef *AlertDetailDataclassRef `json:"dataclass_ref,omitempty"` // 格式版本 FormatVersion *int32 `json:"format_version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据类型 Type *string `json:"type,omitempty"` // 当前项目的id ProjectId *string `json:"project_id,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` }
func (AlertDetail) String ¶
func (o AlertDetail) String() string
type AlertDetailDataclassRef ¶ added in v0.1.64
type AlertDetailDataclassRef struct { // 数据类唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据类名称 Name *string `json:"name,omitempty"` }
AlertDetailDataclassRef 数据类对象
func (AlertDetailDataclassRef) String ¶ added in v0.1.64
func (o AlertDetailDataclassRef) String() string
type AlertEnvironment ¶ added in v0.1.64
type AlertEnvironment struct { // 环境供应商:HWCP/HWC/AWS/Azure/GCP VendorType *string `json:"vendor_type,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // 区域id,全局服务global RegionId *string `json:"region_id,omitempty"` // 数据投递前的源工作空间id,在源空间下值为null,投递后为被委托用户的id CrossWorkspaceId *string `json:"cross_workspace_id,omitempty"` // 项目id, 全局服务默认null ProjectId *string `json:"project_id,omitempty"` }
AlertEnvironment 告警产生的环境坐标信息
func (AlertEnvironment) String ¶ added in v0.1.64
func (o AlertEnvironment) String() string
type AlertFileInfo ¶ added in v0.1.64
type AlertFileInfo struct { // 文件路径/名称 FilePath *string `json:"file_path,omitempty"` // 文件内容 FileContent *string `json:"file_content,omitempty"` // 文件新路径/名称 FileNewPath *string `json:"file_new_path,omitempty"` // 文件hash FileHash *string `json:"file_hash,omitempty"` // 文件md5 FileMd5 *string `json:"file_md5,omitempty"` // 文件sha256 FileSha256 *string `json:"file_sha256,omitempty"` // 文件属性 FileAttr *string `json:"file_attr,omitempty"` }
func (AlertFileInfo) String ¶ added in v0.1.64
func (o AlertFileInfo) String() string
type AlertHandleStatus ¶ added in v0.1.64
type AlertHandleStatus struct {
// contains filtered or unexported fields
}
func (AlertHandleStatus) MarshalJSON ¶ added in v0.1.64
func (c AlertHandleStatus) MarshalJSON() ([]byte, error)
func (*AlertHandleStatus) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertHandleStatus) UnmarshalJSON(b []byte) error
func (AlertHandleStatus) Value ¶ added in v0.1.64
func (c AlertHandleStatus) Value() string
type AlertHandleStatusEnum ¶ added in v0.1.64
type AlertHandleStatusEnum struct { OPEN AlertHandleStatus BLOCK AlertHandleStatus CLOSED AlertHandleStatus }
func GetAlertHandleStatusEnum ¶ added in v0.1.64
func GetAlertHandleStatusEnum() AlertHandleStatusEnum
type AlertIpdrrPhase ¶ added in v0.1.64
type AlertIpdrrPhase struct {
// contains filtered or unexported fields
}
func (AlertIpdrrPhase) MarshalJSON ¶ added in v0.1.64
func (c AlertIpdrrPhase) MarshalJSON() ([]byte, error)
func (*AlertIpdrrPhase) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertIpdrrPhase) UnmarshalJSON(b []byte) error
func (AlertIpdrrPhase) Value ¶ added in v0.1.64
func (c AlertIpdrrPhase) Value() string
type AlertIpdrrPhaseEnum ¶ added in v0.1.64
type AlertIpdrrPhaseEnum struct { PREPARTION AlertIpdrrPhase DETECTION_AND_ANALYSIS AlertIpdrrPhase CONTAINMERADICATION_RECOVERY AlertIpdrrPhase POST_INCIDENT_ACTIVITY AlertIpdrrPhase }
func GetAlertIpdrrPhaseEnum ¶ added in v0.1.64
func GetAlertIpdrrPhaseEnum() AlertIpdrrPhaseEnum
type AlertNetworkList ¶ added in v0.1.64
type AlertNetworkList struct { // 方向,取值范围:IN | OUT Direction *AlertNetworkListDirection `json:"direction,omitempty"` // 协议,包含7层和4层的协议 参考:IANA registered name https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml Protocol *string `json:"protocol,omitempty"` // 源IP地址 SrcIp *string `json:"src_ip,omitempty"` // 源端口,0–65535 SrcPort *int32 `json:"src_port,omitempty"` // 源域名 SrcDomain *string `json:"src_domain,omitempty"` SrcGeo *AlertSrcGeo `json:"src_geo,omitempty"` // 目的IP地址 DestIp *string `json:"dest_ip,omitempty"` // 目的端口,0–65535 DestPort *string `json:"dest_port,omitempty"` // 目的域名 DestDomain *string `json:"dest_domain,omitempty"` DestGeo *AlertDestGeo `json:"dest_geo,omitempty"` }
func (AlertNetworkList) String ¶ added in v0.1.64
func (o AlertNetworkList) String() string
type AlertNetworkListDirection ¶ added in v0.1.64
type AlertNetworkListDirection struct {
// contains filtered or unexported fields
}
func (AlertNetworkListDirection) MarshalJSON ¶ added in v0.1.64
func (c AlertNetworkListDirection) MarshalJSON() ([]byte, error)
func (*AlertNetworkListDirection) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertNetworkListDirection) UnmarshalJSON(b []byte) error
func (AlertNetworkListDirection) Value ¶ added in v0.1.64
func (c AlertNetworkListDirection) Value() string
type AlertNetworkListDirectionEnum ¶ added in v0.1.64
type AlertNetworkListDirectionEnum struct { IN AlertNetworkListDirection OUT AlertNetworkListDirection }
func GetAlertNetworkListDirectionEnum ¶ added in v0.1.64
func GetAlertNetworkListDirectionEnum() AlertNetworkListDirectionEnum
type AlertProcess ¶ added in v0.1.64
type AlertProcess struct { // 进程名 ProcessName *string `json:"process_name,omitempty"` // 进程执行文件路径 ProcessPath *string `json:"process_path,omitempty"` // 进程id ProcessPid *int32 `json:"process_pid,omitempty"` // 进程用户id ProcessUid *int32 `json:"process_uid,omitempty"` // 进程命令行 ProcessCmdline *string `json:"process_cmdline,omitempty"` // 父进程名称 ProcessParentName *string `json:"process_parent_name,omitempty"` // 父进程执行文件路径 ProcessParentPath *string `json:"process_parent_path,omitempty"` // 父进程id ProcessParentPid *int32 `json:"process_parent_pid,omitempty"` // 父进程用户id ProcessParentUid *int32 `json:"process_parent_uid,omitempty"` // 父进程命令行 ProcessParentCmdline *string `json:"process_parent_cmdline,omitempty"` // 子进程名称 ProcessChildName *string `json:"process_child_name,omitempty"` // 子进程执行文件路径 ProcessChildPath *string `json:"process_child_path,omitempty"` // 子进程id ProcessChildPid *int32 `json:"process_child_pid,omitempty"` // 子进程用户id ProcessChildUid *int32 `json:"process_child_uid,omitempty"` // 子进程命令行 ProcessChildCmdline *string `json:"process_child_cmdline,omitempty"` // 进程启动时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ProcessLauncheTime *string `json:"process_launche_time,omitempty"` // 进程结束时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ProcessTerminateTime *string `json:"process_terminate_time,omitempty"` }
func (AlertProcess) String ¶ added in v0.1.64
func (o AlertProcess) String() string
type AlertRemediation ¶ added in v0.1.64
type AlertRemediation struct { // 推荐处理方法 Recommendation *string `json:"recommendation,omitempty"` // 链接,指向该事件的一般修复信息。该URL必须可以从公网访问,不需要提供凭证 Url *string `json:"url,omitempty"` }
AlertRemediation 补救措施
func (AlertRemediation) String ¶ added in v0.1.64
func (o AlertRemediation) String() string
type AlertResourceList ¶ added in v0.1.64
type AlertResourceList struct { // 云服务资源id Id *string `json:"id,omitempty"` // 资源名称 Name *string `json:"name,omitempty"` // 资源类型;引用华为云RMS type字段 Type *string `json:"type,omitempty"` // 云服务名称;引用华为云RMS provider字段 Provider *string `json:"provider,omitempty"` // 区域;按照华为云regionId填写,如cn-north-1等 RegionId *string `json:"region_id,omitempty"` // 资源所属账号ID,UUID格式 DomainId *string `json:"domain_id,omitempty"` // 资源所属项目ID,UUID格式 ProjectId *string `json:"project_id,omitempty"` // 企业项目id EpId *string `json:"ep_id,omitempty"` // 企业项目名称 EpName *string `json:"ep_name,omitempty"` // 资源标签 1、最多50个key/values对 2、values:最大255字符,取值范围:字母数字,空格,+, -, =, ., _, :, /,@ Tags *string `json:"tags,omitempty"` }
func (AlertResourceList) String ¶ added in v0.1.64
func (o AlertResourceList) String() string
type AlertRule ¶
type AlertRule struct { // 告警规则 ID。Alert rule ID. RuleId string `json:"rule_id"` // 数据管道 ID。Pipe ID. PipeId string `json:"pipe_id"` // 数据管道名称。Pipe name. PipeName string `json:"pipe_name"` // 创建人。Create by. CreateBy string `json:"create_by"` // 创建时间。Create time. CreateTime int64 `json:"create_time"` // 更新人。Update by. UpdateBy string `json:"update_by"` // 更新时间。Update time. UpdateTime int64 `json:"update_time"` // 删除时间。Delete time. DeleteTime *int64 `json:"delete_time,omitempty"` // 告警规则名称。Alert rule name. RuleName string `json:"rule_name"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *AlertRuleQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status AlertRuleStatus `json:"status"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity AlertRuleSeverity `json:"severity"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` }
type AlertRuleQueryType ¶
type AlertRuleQueryType struct {
// contains filtered or unexported fields
}
func (AlertRuleQueryType) MarshalJSON ¶
func (c AlertRuleQueryType) MarshalJSON() ([]byte, error)
func (*AlertRuleQueryType) UnmarshalJSON ¶
func (c *AlertRuleQueryType) UnmarshalJSON(b []byte) error
func (AlertRuleQueryType) Value ¶
func (c AlertRuleQueryType) Value() string
type AlertRuleQueryTypeEnum ¶
type AlertRuleQueryTypeEnum struct {
SQL AlertRuleQueryType
}
func GetAlertRuleQueryTypeEnum ¶
func GetAlertRuleQueryTypeEnum() AlertRuleQueryTypeEnum
type AlertRuleSeverity ¶
type AlertRuleSeverity struct {
// contains filtered or unexported fields
}
func (AlertRuleSeverity) MarshalJSON ¶
func (c AlertRuleSeverity) MarshalJSON() ([]byte, error)
func (*AlertRuleSeverity) UnmarshalJSON ¶
func (c *AlertRuleSeverity) UnmarshalJSON(b []byte) error
func (AlertRuleSeverity) Value ¶
func (c AlertRuleSeverity) Value() string
type AlertRuleSeverityEnum ¶
type AlertRuleSeverityEnum struct { TIPS AlertRuleSeverity LOW AlertRuleSeverity MEDIUM AlertRuleSeverity HIGH AlertRuleSeverity FATAL AlertRuleSeverity }
func GetAlertRuleSeverityEnum ¶
func GetAlertRuleSeverityEnum() AlertRuleSeverityEnum
type AlertRuleStatus ¶
type AlertRuleStatus struct {
// contains filtered or unexported fields
}
func (AlertRuleStatus) MarshalJSON ¶
func (c AlertRuleStatus) MarshalJSON() ([]byte, error)
func (*AlertRuleStatus) UnmarshalJSON ¶
func (c *AlertRuleStatus) UnmarshalJSON(b []byte) error
func (AlertRuleStatus) Value ¶
func (c AlertRuleStatus) Value() string
type AlertRuleStatusEnum ¶
type AlertRuleStatusEnum struct { ENABLED AlertRuleStatus DISABLED AlertRuleStatus }
func GetAlertRuleStatusEnum ¶
func GetAlertRuleStatusEnum() AlertRuleStatusEnum
type AlertRuleTemplate ¶
type AlertRuleTemplate struct { // 告警规则模板 ID。Alert rule template ID. TemplateId string `json:"template_id"` // 更新时间。Update time. UpdateTime int64 `json:"update_time"` // 告警规则模板名称。Alert rule template name. TemplateName string `json:"template_name"` // 数据源。Data source. DataSource string `json:"data_source"` // 版本。Version Version string `json:"version"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *AlertRuleTemplateQueryType `json:"query_type,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity AlertRuleTemplateSeverity `json:"severity"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` }
func (AlertRuleTemplate) String ¶
func (o AlertRuleTemplate) String() string
type AlertRuleTemplateQueryType ¶
type AlertRuleTemplateQueryType struct {
// contains filtered or unexported fields
}
func (AlertRuleTemplateQueryType) MarshalJSON ¶
func (c AlertRuleTemplateQueryType) MarshalJSON() ([]byte, error)
func (*AlertRuleTemplateQueryType) UnmarshalJSON ¶
func (c *AlertRuleTemplateQueryType) UnmarshalJSON(b []byte) error
func (AlertRuleTemplateQueryType) Value ¶
func (c AlertRuleTemplateQueryType) Value() string
type AlertRuleTemplateQueryTypeEnum ¶
type AlertRuleTemplateQueryTypeEnum struct {
SQL AlertRuleTemplateQueryType
}
func GetAlertRuleTemplateQueryTypeEnum ¶
func GetAlertRuleTemplateQueryTypeEnum() AlertRuleTemplateQueryTypeEnum
type AlertRuleTemplateSeverity ¶
type AlertRuleTemplateSeverity struct {
// contains filtered or unexported fields
}
func (AlertRuleTemplateSeverity) MarshalJSON ¶
func (c AlertRuleTemplateSeverity) MarshalJSON() ([]byte, error)
func (*AlertRuleTemplateSeverity) UnmarshalJSON ¶
func (c *AlertRuleTemplateSeverity) UnmarshalJSON(b []byte) error
func (AlertRuleTemplateSeverity) Value ¶
func (c AlertRuleTemplateSeverity) Value() string
type AlertRuleTemplateSeverityEnum ¶
type AlertRuleTemplateSeverityEnum struct { TIPS AlertRuleTemplateSeverity LOW AlertRuleTemplateSeverity MEDIUM AlertRuleTemplateSeverity HIGH AlertRuleTemplateSeverity FATAL AlertRuleTemplateSeverity }
func GetAlertRuleTemplateSeverityEnum ¶
func GetAlertRuleTemplateSeverityEnum() AlertRuleTemplateSeverityEnum
type AlertRuleTrigger ¶
type AlertRuleTrigger struct { // 模式,数量。Mode. COUNT. Mode *AlertRuleTriggerMode `json:"mode,omitempty"` // 操作符,等于、不等于、大于、小于。 operator. EQ equal, NE not equal, GT greater than, LT less than. Operator *AlertRuleTriggerOperator `json:"operator,omitempty"` // expression Expression string `json:"expression"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *AlertRuleTriggerSeverity `json:"severity,omitempty"` // accumulated_times AccumulatedTimes *int32 `json:"accumulated_times,omitempty"` }
func (AlertRuleTrigger) String ¶
func (o AlertRuleTrigger) String() string
type AlertRuleTriggerMode ¶
type AlertRuleTriggerMode struct {
// contains filtered or unexported fields
}
func (AlertRuleTriggerMode) MarshalJSON ¶
func (c AlertRuleTriggerMode) MarshalJSON() ([]byte, error)
func (*AlertRuleTriggerMode) UnmarshalJSON ¶
func (c *AlertRuleTriggerMode) UnmarshalJSON(b []byte) error
func (AlertRuleTriggerMode) Value ¶
func (c AlertRuleTriggerMode) Value() string
type AlertRuleTriggerModeEnum ¶
type AlertRuleTriggerModeEnum struct {
COUNT AlertRuleTriggerMode
}
func GetAlertRuleTriggerModeEnum ¶
func GetAlertRuleTriggerModeEnum() AlertRuleTriggerModeEnum
type AlertRuleTriggerOperator ¶
type AlertRuleTriggerOperator struct {
// contains filtered or unexported fields
}
func (AlertRuleTriggerOperator) MarshalJSON ¶
func (c AlertRuleTriggerOperator) MarshalJSON() ([]byte, error)
func (*AlertRuleTriggerOperator) UnmarshalJSON ¶
func (c *AlertRuleTriggerOperator) UnmarshalJSON(b []byte) error
func (AlertRuleTriggerOperator) Value ¶
func (c AlertRuleTriggerOperator) Value() string
type AlertRuleTriggerOperatorEnum ¶
type AlertRuleTriggerOperatorEnum struct { EQ AlertRuleTriggerOperator NE AlertRuleTriggerOperator GT AlertRuleTriggerOperator LT AlertRuleTriggerOperator }
func GetAlertRuleTriggerOperatorEnum ¶
func GetAlertRuleTriggerOperatorEnum() AlertRuleTriggerOperatorEnum
type AlertRuleTriggerSeverity ¶
type AlertRuleTriggerSeverity struct {
// contains filtered or unexported fields
}
func (AlertRuleTriggerSeverity) MarshalJSON ¶
func (c AlertRuleTriggerSeverity) MarshalJSON() ([]byte, error)
func (*AlertRuleTriggerSeverity) UnmarshalJSON ¶
func (c *AlertRuleTriggerSeverity) UnmarshalJSON(b []byte) error
func (AlertRuleTriggerSeverity) Value ¶
func (c AlertRuleTriggerSeverity) Value() string
type AlertRuleTriggerSeverityEnum ¶
type AlertRuleTriggerSeverityEnum struct { TIPS AlertRuleTriggerSeverity LOW AlertRuleTriggerSeverity MEDIUM AlertRuleTriggerSeverity HIGH AlertRuleTriggerSeverity FATAL AlertRuleTriggerSeverity }
func GetAlertRuleTriggerSeverityEnum ¶
func GetAlertRuleTriggerSeverityEnum() AlertRuleTriggerSeverityEnum
type AlertSeverity ¶ added in v0.1.64
type AlertSeverity struct {
// contains filtered or unexported fields
}
func (AlertSeverity) MarshalJSON ¶ added in v0.1.64
func (c AlertSeverity) MarshalJSON() ([]byte, error)
func (*AlertSeverity) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertSeverity) UnmarshalJSON(b []byte) error
func (AlertSeverity) Value ¶ added in v0.1.64
func (c AlertSeverity) Value() string
type AlertSeverityEnum ¶ added in v0.1.64
type AlertSeverityEnum struct { TIPS AlertSeverity LOW AlertSeverity MEDIUM AlertSeverity HIGH AlertSeverity FATAL AlertSeverity }
func GetAlertSeverityEnum ¶ added in v0.1.64
func GetAlertSeverityEnum() AlertSeverityEnum
type AlertSrcGeo ¶ added in v0.1.64
type AlertSrcGeo struct { // 纬度 Latitude float32 `json:"latitude,omitempty"` // 经度 Longitude float32 `json:"longitude,omitempty"` // 城市编码,Beijing | Shanghai CityCode *string `json:"city_code,omitempty"` // 国家简码,参考ISO 3166-1 alpha-2,例如:CN | US | DE | IT | SG CountryCode *string `json:"country_code,omitempty"` }
AlertSrcGeo 源IP的地理位置信息
func (AlertSrcGeo) String ¶ added in v0.1.64
func (o AlertSrcGeo) String() string
type AlertUserInfo ¶ added in v0.1.64
type AlertUserInfo struct { // 用户uid UserId *string `json:"user_id,omitempty"` // 用户名称 UserName *string `json:"user_name,omitempty"` }
func (AlertUserInfo) String ¶ added in v0.1.64
func (o AlertUserInfo) String() string
type AlertVerificationState ¶ added in v0.1.64
type AlertVerificationState struct {
// contains filtered or unexported fields
}
func (AlertVerificationState) MarshalJSON ¶ added in v0.1.64
func (c AlertVerificationState) MarshalJSON() ([]byte, error)
func (*AlertVerificationState) UnmarshalJSON ¶ added in v0.1.64
func (c *AlertVerificationState) UnmarshalJSON(b []byte) error
func (AlertVerificationState) Value ¶ added in v0.1.64
func (c AlertVerificationState) Value() string
type AlertVerificationStateEnum ¶ added in v0.1.64
type AlertVerificationStateEnum struct { UNKNOWN AlertVerificationState TRUE_POSITIVE AlertVerificationState FALSE_POSITIVE AlertVerificationState }
func GetAlertVerificationStateEnum ¶ added in v0.1.64
func GetAlertVerificationStateEnum() AlertVerificationStateEnum
type AopWorkflowInfo ¶ added in v0.1.68
type AopWorkflowInfo struct { // 流程ID Id *string `json:"id,omitempty"` // 流程名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 租户ID ProjectId *string `json:"project_id,omitempty"` // 所有者ID OwnerId *string `json:"owner_id,omitempty"` // 创建者ID CreatorId *string `json:"creator_id,omitempty"` // 编辑角色 EditRole *string `json:"edit_role,omitempty"` // 是用角色 UseRole *string `json:"use_role,omitempty"` // 审核人 ApproveRole *string `json:"approve_role,omitempty"` // 是否已启用 Enabled *bool `json:"enabled,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 流程版本ID VersionId *string `json:"version_id,omitempty"` // 当前待审核版本号 CurrentApprovalVersionId *string `json:"current_approval_version_id,omitempty"` // 当前拒绝的版本号 CurrentRejectedVersoinId *string `json:"current_rejected_versoin_id,omitempty"` // aop的类型有以下的值 NORMAL, 通用 SURVEY, 调查 HEMOSTASIS,止血 EASE;缓解 AopType *string `json:"aop_type,omitempty"` // 引擎的类型分为共享版和专项版 EngineType *string `json:"engine_type,omitempty"` // 数据类的ID DataclassId *string `json:"dataclass_id,omitempty"` }
AopWorkflowInfo 流程详情
func (AopWorkflowInfo) String ¶ added in v0.1.68
func (o AopWorkflowInfo) String() string
type ApproveOpinionDetail ¶
type ApproveOpinionDetail struct { // 审核结果 Result *string `json:"result,omitempty"` // 审核内容 Content *string `json:"content,omitempty"` }
ApproveOpinionDetail 审核详情信息
func (ApproveOpinionDetail) String ¶
func (o ApproveOpinionDetail) String() string
type ApprovePlaybookInfo ¶
type ApprovePlaybookInfo struct { // 审核结果 通过:PASS 不通过:UN_PASS Result *string `json:"result,omitempty"` // 审核意见 Content *string `json:"content,omitempty"` }
ApprovePlaybookInfo 审核详情
func (ApprovePlaybookInfo) String ¶
func (o ApprovePlaybookInfo) String() string
type AuditLogInfo ¶
type AuditLogInfo struct { // 实例类型(AOP_WORKFLOW--流程, SCRIPT--脚本, PLAYBOOK--剧本) InstanceType *string `json:"instance_type,omitempty"` // 流程ID ActionId *string `json:"action_id,omitempty"` // 流程名称 ActionName *string `json:"action_name,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 父节点实例ID ParentInstanceId *string `json:"parent_instance_id,omitempty"` // 日志级别 LogLevel *string `json:"log_level,omitempty"` // 输入 Input *string `json:"input,omitempty"` // 输出 Output *string `json:"output,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 状态。(RUNNING--运行中、FINISHED--成功、FAILED--失败、RETRYING--重试中、TERMINATING--终止中、TERMINATED--已终止) Status *string `json:"status,omitempty"` // 触发类型. TIMER--定时触发, EVENT--事件触发 TriggerType *string `json:"trigger_type,omitempty"` }
AuditLogInfo 剧本实例审计日志信息
func (AuditLogInfo) String ¶
func (o AuditLogInfo) String() string
type BaselineSearchRequestBody ¶ added in v0.1.107
type BaselineSearchRequestBody struct { // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示查询该偏移量后面的记录 Offset *int32 `json:"offset,omitempty"` // 排序关键字 SortBy *string `json:"sort_by,omitempty"` // 降序或升序, DESC|ESC Order *string `json:"order,omitempty"` // 起始时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 FromDate *string `json:"from_date,omitempty"` // 截止时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ToDate *string `json:"to_date,omitempty"` // 搜索条件表达式 Condition *interface{} `json:"condition,omitempty"` }
BaselineSearchRequestBody BaselineSearchRequestBody
func (BaselineSearchRequestBody) String ¶ added in v0.1.107
func (o BaselineSearchRequestBody) String() string
type BatchOperateAlertResult ¶ added in v0.1.64
type BatchOperateAlertResult struct { // 失败id ErrorIds *[]string `json:"error_ids,omitempty"` // 成功id SuccessIds *[]string `json:"success_ids,omitempty"` }
BatchOperateAlertResult 批量操作告警返回对象
func (BatchOperateAlertResult) String ¶ added in v0.1.64
func (o BatchOperateAlertResult) String() string
type BatchOperateDataobjectResult ¶ added in v0.1.64
type BatchOperateDataobjectResult struct { // 失败id ErrorIds *[]string `json:"error_ids,omitempty"` // 成功id SuccessIds *[]string `json:"success_ids,omitempty"` }
BatchOperateDataobjectResult 批量操作告警返回对象
func (BatchOperateDataobjectResult) String ¶ added in v0.1.64
func (o BatchOperateDataobjectResult) String() string
type BatchSearchMetricHitsRequest ¶ added in v0.1.107
type BatchSearchMetricHitsRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // 查询指标的时间范围,ISO8601格式,例如:2007-03-01T13:00:00Z/2008-05-11T15:30:00Z或2007-03-01T13:00:00Z/P1Y2M10DT2H30M或P1Y2M10DT2H30M/2008-05-11T15:30:00Z Timespan *string `json:"timespan,omitempty"` // 是否启用缓存,默认true, 禁用缓存 false Cache *bool `json:"cache,omitempty"` Body *BatchSearchMetricHitsRequestBody `json:"body,omitempty"` }
BatchSearchMetricHitsRequest Request Object
func (BatchSearchMetricHitsRequest) String ¶ added in v0.1.107
func (o BatchSearchMetricHitsRequest) String() string
type BatchSearchMetricHitsRequestBody ¶ added in v0.1.107
type BatchSearchMetricHitsRequestBody struct { // 待查询的指标Id列表, 可参照附录中指标信息说明获取已有指标信息。 MetricIds []string `json:"metric_ids"` // 工作空间列表, 当指标支持获取多工作空间数据时填写。 WorkspaceIds *[]string `json:"workspace_ids,omitempty"` // 待查询指标的参数列表,列表内每个元素为<String, String>的K-V形式,元素数量必须与metric_ids列表相同,具体填写方式请参照附录。 Params *[]map[string]string `json:"params,omitempty"` // 交互式参数查询,当指标支持交互式参数时,填写<String, String>的K-V形式的参数列表,具体填写方式请参照附录。 InteractiveParams *[]map[string]string `json:"interactive_params,omitempty"` // 指标卡片ID列表 FieldIds *[]string `json:"field_ids,omitempty"` }
BatchSearchMetricHitsRequestBody 查询指标Hit结果请求体。
func (BatchSearchMetricHitsRequestBody) String ¶ added in v0.1.107
func (o BatchSearchMetricHitsRequestBody) String() string
type BatchSearchMetricHitsResponse ¶ added in v0.1.107
type BatchSearchMetricHitsResponse struct { Body *[]ShowMetricResultResponseBody `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
BatchSearchMetricHitsResponse Response Object
func (BatchSearchMetricHitsResponse) String ¶ added in v0.1.107
func (o BatchSearchMetricHitsResponse) String() string
type ChangeAlertRequest ¶
type ChangeAlertRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 告警ID AlertId string `json:"alert_id"` Body *ChangeAlertRequestBody `json:"body,omitempty"` }
ChangeAlertRequest Request Object
func (ChangeAlertRequest) String ¶
func (o ChangeAlertRequest) String() string
type ChangeAlertRequestBody ¶
type ChangeAlertRequestBody struct { // 更新告警的ID列表 BatchIds *[]string `json:"batch_ids,omitempty"` DataObject *Alert `json:"data_object,omitempty"` }
ChangeAlertRequestBody 更新告警请求body体
func (ChangeAlertRequestBody) String ¶
func (o ChangeAlertRequestBody) String() string
type ChangeAlertResponse ¶
type ChangeAlertResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *AlertDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeAlertResponse Response Object
func (ChangeAlertResponse) String ¶
func (o ChangeAlertResponse) String() string
type ChangeIncidentRequest ¶
type ChangeIncidentRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 事件ID IncidentId string `json:"incident_id"` Body *ChangeIncidentRequestBody `json:"body,omitempty"` }
ChangeIncidentRequest Request Object
func (ChangeIncidentRequest) String ¶
func (o ChangeIncidentRequest) String() string
type ChangeIncidentRequestBody ¶
type ChangeIncidentRequestBody struct { // 更新事件的ID列表 BatchIds *[]string `json:"batch_ids,omitempty"` DataObject *Incident `json:"data_object,omitempty"` }
ChangeIncidentRequestBody 更新事件请求body体
func (ChangeIncidentRequestBody) String ¶
func (o ChangeIncidentRequestBody) String() string
type ChangeIncidentResponse ¶
type ChangeIncidentResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IncidentDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeIncidentResponse Response Object
func (ChangeIncidentResponse) String ¶
func (o ChangeIncidentResponse) String() string
type ChangePlaybookInstanceRequest ¶
type ChangePlaybookInstanceRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本实例ID InstanceId string `json:"instance_id"` Body *OperationPlaybookInfo `json:"body,omitempty"` }
ChangePlaybookInstanceRequest Request Object
func (ChangePlaybookInstanceRequest) String ¶
func (o ChangePlaybookInstanceRequest) String() string
type ChangePlaybookInstanceResponse ¶
type ChangePlaybookInstanceResponse struct { // 剧本实例ID Id *string `json:"id,omitempty"` // 剧本实例名称 Name *string `json:"name,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` Playbook *PlaybookInfoRef `json:"playbook,omitempty"` Dataclass *DataclassInfoRef `json:"dataclass,omitempty"` Dataobject *DataobjectInfo `json:"dataobject,omitempty"` // 剧本实例状态. (RUNNING--运行中、FINISHED--成功、FAILED--失败、RETRYING--重试中、TERMINATING--终止中、TERMINATED--已终止) Status *string `json:"status,omitempty"` // 触发类型. TIMER--定时触发, EVENT--事件触发 TriggerType *string `json:"trigger_type,omitempty"` // 创建时间 StartTime *string `json:"start_time,omitempty"` // 更新时间 EndTime *string `json:"end_time,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ChangePlaybookInstanceResponse Response Object
func (ChangePlaybookInstanceResponse) String ¶
func (o ChangePlaybookInstanceResponse) String() string
type ConditionInfo ¶
type ConditionInfo struct { // 表达式类型。默认为common,事件触发剧本必填 ExpressionType *string `json:"expression_type,omitempty"` // 触发条件。事件触发剧本必填 Conditions *[]ConditionItem `json:"conditions,omitempty"` // 条件逻辑组合。事件触发剧本必填 Logics *[]string `json:"logics,omitempty"` // Cron 表达式(定时任务)。定时触发剧本必填 Cron *string `json:"cron,omitempty"` // 定时重复类型(second--秒, hour--小时,day--天,week-周)。定时触发剧本必填 ScheduleType *string `json:"schedule_type,omitempty"` // 剧本开始执行类型,IMMEDIATELY--创建完成立即执行, CUSTOM--自定义执行时间。定时触发剧本必填 StartType *string `json:"start_type,omitempty"` // 剧本结束执行类型,FOREVER--一直执行, CUSTOM--自定义结束时间。定时触发剧本必填 EndType *string `json:"end_type,omitempty"` // 定时结束时间。定时触发剧本必填 EndTime *string `json:"end_time,omitempty"` // 执行时间段 2021-01-30T23:00:00Z+0800。定时触发剧本必填 RepeatRange *string `json:"repeat_range,omitempty"` // 是否只执行一次。定时触发剧本必填 OnlyOnce *bool `json:"only_once,omitempty"` // 执行队列类型(PARALLEL-新任务与之前任务并行)。定时触发剧本必填 ExecutionType *string `json:"execution_type,omitempty"` }
ConditionInfo 剧本触发规则详情
func (ConditionInfo) String ¶
func (o ConditionInfo) String() string
type ConditionItem ¶
type ConditionItem struct { // 条件名称 Name *string `json:"name,omitempty"` // 条件详情 Detail *string `json:"detail,omitempty"` // 条件表达式数据 Data *[]string `json:"data,omitempty"` }
ConditionItem 条件定义
func (ConditionItem) String ¶
func (o ConditionItem) String() string
type CopyPlaybookInfo ¶
type CopyPlaybookInfo struct { // 名称 Name *string `json:"name,omitempty"` }
CopyPlaybookInfo 复制剧本信息
func (CopyPlaybookInfo) String ¶
func (o CopyPlaybookInfo) String() string
type CopyPlaybookVersionRequest ¶
type CopyPlaybookVersionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` Body *CopyPlaybookInfo `json:"body,omitempty"` }
CopyPlaybookVersionRequest Request Object
func (CopyPlaybookVersionRequest) String ¶
func (o CopyPlaybookVersionRequest) String() string
type CopyPlaybookVersionResponse ¶
type CopyPlaybookVersionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` Data *PlaybookVersionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CopyPlaybookVersionResponse Response Object
func (CopyPlaybookVersionResponse) String ¶
func (o CopyPlaybookVersionResponse) String() string
type CreateAction ¶
type CreateAction struct { // 名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 类型,默认AOP_WORKFLOW. ActionType string `json:"action_type"` // 剧本动作ID ActionId string `json:"action_id"` // 排序方式 SortOrder *string `json:"sort_order,omitempty"` }
func (CreateAction) String ¶
func (o CreateAction) String() string
type CreateAlertRequest ¶
type CreateAlertRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *CreateAlertRequestBody `json:"body,omitempty"` }
CreateAlertRequest Request Object
func (CreateAlertRequest) String ¶
func (o CreateAlertRequest) String() string
type CreateAlertRequestBody ¶
type CreateAlertRequestBody struct {
DataObject *Alert `json:"data_object"`
}
CreateAlertRequestBody 创建告警请求body体
func (CreateAlertRequestBody) String ¶
func (o CreateAlertRequestBody) String() string
type CreateAlertResponse ¶
type CreateAlertResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *AlertDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateAlertResponse Response Object
func (CreateAlertResponse) String ¶
func (o CreateAlertResponse) String() string
type CreateAlertRuleRequest ¶
type CreateAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` Body *CreateAlertRuleRequestBody `json:"body,omitempty"` }
CreateAlertRuleRequest Request Object
func (CreateAlertRuleRequest) String ¶
func (o CreateAlertRuleRequest) String() string
type CreateAlertRuleRequestBody ¶
type CreateAlertRuleRequestBody struct { // 数据管道 ID。Pipe ID. PipeId string `json:"pipe_id"` // 告警规则名称。Alert rule name. RuleName string `json:"rule_name"` // 描述。Description. Description *string `json:"description,omitempty"` // 查询语句。Query. Query string `json:"query"` // 查询语法,SQL。Query type. SQL. QueryType *CreateAlertRuleRequestBodyQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *CreateAlertRuleRequestBodyStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *CreateAlertRuleRequestBodySeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警类型。Alert type. AlertType map[string]string `json:"alert_type,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` // 告警抑制。Suspression. Suspression *bool `json:"suspression,omitempty"` // 模拟告警。Simulation. Simulation *bool `json:"simulation,omitempty"` Schedule *Schedule `json:"schedule"` // 告警触发规则。Alert triggers. Triggers []AlertRuleTrigger `json:"triggers"` // 管道名称 PipeName string `json:"pipe_name"` // 告警名称 AlertName string `json:"alert_name"` // 告警描述 AlertDescription *string `json:"alert_description,omitempty"` // 修复建议 AlertRemediation *string `json:"alert_remediation,omitempty"` // 执行次数 AccumulatedTimes *int32 `json:"accumulated_times,omitempty"` }
func (CreateAlertRuleRequestBody) String ¶
func (o CreateAlertRuleRequestBody) String() string
type CreateAlertRuleRequestBodyQueryType ¶
type CreateAlertRuleRequestBodyQueryType struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleRequestBodyQueryType) MarshalJSON ¶
func (c CreateAlertRuleRequestBodyQueryType) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleRequestBodyQueryType) UnmarshalJSON ¶
func (c *CreateAlertRuleRequestBodyQueryType) UnmarshalJSON(b []byte) error
func (CreateAlertRuleRequestBodyQueryType) Value ¶
func (c CreateAlertRuleRequestBodyQueryType) Value() string
type CreateAlertRuleRequestBodyQueryTypeEnum ¶
type CreateAlertRuleRequestBodyQueryTypeEnum struct {
SQL CreateAlertRuleRequestBodyQueryType
}
func GetCreateAlertRuleRequestBodyQueryTypeEnum ¶
func GetCreateAlertRuleRequestBodyQueryTypeEnum() CreateAlertRuleRequestBodyQueryTypeEnum
type CreateAlertRuleRequestBodySeverity ¶
type CreateAlertRuleRequestBodySeverity struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleRequestBodySeverity) MarshalJSON ¶
func (c CreateAlertRuleRequestBodySeverity) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleRequestBodySeverity) UnmarshalJSON ¶
func (c *CreateAlertRuleRequestBodySeverity) UnmarshalJSON(b []byte) error
func (CreateAlertRuleRequestBodySeverity) Value ¶
func (c CreateAlertRuleRequestBodySeverity) Value() string
type CreateAlertRuleRequestBodySeverityEnum ¶
type CreateAlertRuleRequestBodySeverityEnum struct { TIPS CreateAlertRuleRequestBodySeverity LOW CreateAlertRuleRequestBodySeverity MEDIUM CreateAlertRuleRequestBodySeverity HIGH CreateAlertRuleRequestBodySeverity FATAL CreateAlertRuleRequestBodySeverity }
func GetCreateAlertRuleRequestBodySeverityEnum ¶
func GetCreateAlertRuleRequestBodySeverityEnum() CreateAlertRuleRequestBodySeverityEnum
type CreateAlertRuleRequestBodyStatus ¶
type CreateAlertRuleRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleRequestBodyStatus) MarshalJSON ¶
func (c CreateAlertRuleRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleRequestBodyStatus) UnmarshalJSON ¶
func (c *CreateAlertRuleRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateAlertRuleRequestBodyStatus) Value ¶
func (c CreateAlertRuleRequestBodyStatus) Value() string
type CreateAlertRuleRequestBodyStatusEnum ¶
type CreateAlertRuleRequestBodyStatusEnum struct { ENABLED CreateAlertRuleRequestBodyStatus DISABLED CreateAlertRuleRequestBodyStatus }
func GetCreateAlertRuleRequestBodyStatusEnum ¶
func GetCreateAlertRuleRequestBodyStatusEnum() CreateAlertRuleRequestBodyStatusEnum
type CreateAlertRuleResponse ¶
type CreateAlertRuleResponse struct { // 告警规则 ID。Alert rule ID. RuleId *string `json:"rule_id,omitempty"` // 数据管道 ID。Pipe ID. PipeId *string `json:"pipe_id,omitempty"` // 数据管道名称。Pipe name. PipeName *string `json:"pipe_name,omitempty"` // 创建人。Create by. CreateBy *string `json:"create_by,omitempty"` // 创建时间。Create time. CreateTime *int64 `json:"create_time,omitempty"` // 更新人。Update by. UpdateBy *string `json:"update_by,omitempty"` // 更新时间。Update time. UpdateTime *int64 `json:"update_time,omitempty"` // 删除时间。Delete time. DeleteTime *int64 `json:"delete_time,omitempty"` // 告警规则名称。Alert rule name. RuleName *string `json:"rule_name,omitempty"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *CreateAlertRuleResponseQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *CreateAlertRuleResponseStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *CreateAlertRuleResponseSeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateAlertRuleResponse Response Object
func (CreateAlertRuleResponse) String ¶
func (o CreateAlertRuleResponse) String() string
type CreateAlertRuleResponseQueryType ¶
type CreateAlertRuleResponseQueryType struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleResponseQueryType) MarshalJSON ¶
func (c CreateAlertRuleResponseQueryType) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleResponseQueryType) UnmarshalJSON ¶
func (c *CreateAlertRuleResponseQueryType) UnmarshalJSON(b []byte) error
func (CreateAlertRuleResponseQueryType) Value ¶
func (c CreateAlertRuleResponseQueryType) Value() string
type CreateAlertRuleResponseQueryTypeEnum ¶
type CreateAlertRuleResponseQueryTypeEnum struct {
SQL CreateAlertRuleResponseQueryType
}
func GetCreateAlertRuleResponseQueryTypeEnum ¶
func GetCreateAlertRuleResponseQueryTypeEnum() CreateAlertRuleResponseQueryTypeEnum
type CreateAlertRuleResponseSeverity ¶
type CreateAlertRuleResponseSeverity struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleResponseSeverity) MarshalJSON ¶
func (c CreateAlertRuleResponseSeverity) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleResponseSeverity) UnmarshalJSON ¶
func (c *CreateAlertRuleResponseSeverity) UnmarshalJSON(b []byte) error
func (CreateAlertRuleResponseSeverity) Value ¶
func (c CreateAlertRuleResponseSeverity) Value() string
type CreateAlertRuleResponseSeverityEnum ¶
type CreateAlertRuleResponseSeverityEnum struct { TIPS CreateAlertRuleResponseSeverity LOW CreateAlertRuleResponseSeverity MEDIUM CreateAlertRuleResponseSeverity HIGH CreateAlertRuleResponseSeverity FATAL CreateAlertRuleResponseSeverity }
func GetCreateAlertRuleResponseSeverityEnum ¶
func GetCreateAlertRuleResponseSeverityEnum() CreateAlertRuleResponseSeverityEnum
type CreateAlertRuleResponseStatus ¶
type CreateAlertRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleResponseStatus) MarshalJSON ¶
func (c CreateAlertRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleResponseStatus) UnmarshalJSON ¶
func (c *CreateAlertRuleResponseStatus) UnmarshalJSON(b []byte) error
func (CreateAlertRuleResponseStatus) Value ¶
func (c CreateAlertRuleResponseStatus) Value() string
type CreateAlertRuleResponseStatusEnum ¶
type CreateAlertRuleResponseStatusEnum struct { ENABLED CreateAlertRuleResponseStatus DISABLED CreateAlertRuleResponseStatus }
func GetCreateAlertRuleResponseStatusEnum ¶
func GetCreateAlertRuleResponseStatusEnum() CreateAlertRuleResponseStatusEnum
type CreateAlertRuleSimulationRequest ¶
type CreateAlertRuleSimulationRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` Body *CreateAlertRuleSimulationRequestBody `json:"body,omitempty"` }
CreateAlertRuleSimulationRequest Request Object
func (CreateAlertRuleSimulationRequest) String ¶
func (o CreateAlertRuleSimulationRequest) String() string
type CreateAlertRuleSimulationRequestBody ¶
type CreateAlertRuleSimulationRequestBody struct { // 数据管道 ID。Pipe ID. PipeId string `json:"pipe_id"` // 查询语句。Query. Query string `json:"query"` // 查询语法,SQL。Query type. SQL. QueryType *CreateAlertRuleSimulationRequestBodyQueryType `json:"query_type,omitempty"` // 开始时间。Start time. From int64 `json:"from"` // 结束时间。End time. To int64 `json:"to"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` // 告警触发规则。Alert triggers. Triggers []AlertRuleTrigger `json:"triggers"` }
func (CreateAlertRuleSimulationRequestBody) String ¶
func (o CreateAlertRuleSimulationRequestBody) String() string
type CreateAlertRuleSimulationRequestBodyQueryType ¶
type CreateAlertRuleSimulationRequestBodyQueryType struct {
// contains filtered or unexported fields
}
func (CreateAlertRuleSimulationRequestBodyQueryType) MarshalJSON ¶
func (c CreateAlertRuleSimulationRequestBodyQueryType) MarshalJSON() ([]byte, error)
func (*CreateAlertRuleSimulationRequestBodyQueryType) UnmarshalJSON ¶
func (c *CreateAlertRuleSimulationRequestBodyQueryType) UnmarshalJSON(b []byte) error
func (CreateAlertRuleSimulationRequestBodyQueryType) Value ¶
func (c CreateAlertRuleSimulationRequestBodyQueryType) Value() string
type CreateAlertRuleSimulationRequestBodyQueryTypeEnum ¶
type CreateAlertRuleSimulationRequestBodyQueryTypeEnum struct {
SQL CreateAlertRuleSimulationRequestBodyQueryType
}
func GetCreateAlertRuleSimulationRequestBodyQueryTypeEnum ¶
func GetCreateAlertRuleSimulationRequestBodyQueryTypeEnum() CreateAlertRuleSimulationRequestBodyQueryTypeEnum
type CreateAlertRuleSimulationResponse ¶
type CreateAlertRuleSimulationResponse struct { // 告警数量。Alert count. AlertCount *int32 `json:"alert_count,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *string `json:"severity,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateAlertRuleSimulationResponse Response Object
func (CreateAlertRuleSimulationResponse) String ¶
func (o CreateAlertRuleSimulationResponse) String() string
type CreateBatchOrderAlertsRequest ¶
type CreateBatchOrderAlertsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *OrderAlert `json:"body,omitempty"` }
CreateBatchOrderAlertsRequest Request Object
func (CreateBatchOrderAlertsRequest) String ¶
func (o CreateBatchOrderAlertsRequest) String() string
type CreateBatchOrderAlertsResponse ¶
type CreateBatchOrderAlertsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *BatchOperateAlertResult `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateBatchOrderAlertsResponse Response Object
func (CreateBatchOrderAlertsResponse) String ¶
func (o CreateBatchOrderAlertsResponse) String() string
type CreateDataobjectRelationsRequest ¶ added in v0.1.64
type CreateDataobjectRelationsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 关联主体dataobject所属数据类,小写复数,如告警为alerts,事件为incidents DataclassType string `json:"dataclass_type"` // 关联主体dataobject的id DataObjectId string `json:"data_object_id"` // 被关联的dataobject所属数据类,小写复数,如告警为alerts,事件为incidents RelatedDataclassType string `json:"related_dataclass_type"` Body *CreateDataobjectRelationsRequestBody `json:"body,omitempty"` }
CreateDataobjectRelationsRequest Request Object
func (CreateDataobjectRelationsRequest) String ¶ added in v0.1.64
func (o CreateDataobjectRelationsRequest) String() string
type CreateDataobjectRelationsRequestBody ¶ added in v0.1.64
type CreateDataobjectRelationsRequestBody struct { // 关联dataobject的ID列表 Ids *[]string `json:"ids,omitempty"` }
CreateDataobjectRelationsRequestBody 关联dataobject列表请求body体
func (CreateDataobjectRelationsRequestBody) String ¶ added in v0.1.64
func (o CreateDataobjectRelationsRequestBody) String() string
type CreateDataobjectRelationsResponse ¶ added in v0.1.64
type CreateDataobjectRelationsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` Data *BatchOperateDataobjectResult `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDataobjectRelationsResponse Response Object
func (CreateDataobjectRelationsResponse) String ¶ added in v0.1.64
func (o CreateDataobjectRelationsResponse) String() string
type CreateDataspaceRequest ¶ added in v0.1.68
type CreateDataspaceRequest struct { // 工作空间id WorkspaceId string `json:"workspace_id"` Body *CreateDataspaceRequestBody `json:"body,omitempty"` }
CreateDataspaceRequest Request Object
func (CreateDataspaceRequest) String ¶ added in v0.1.68
func (o CreateDataspaceRequest) String() string
type CreateDataspaceRequestBody ¶ added in v0.1.68
type CreateDataspaceRequestBody struct { // 数据空间名称 DataspaceName string `json:"dataspace_name"` // 描述 Description string `json:"description"` }
func (CreateDataspaceRequestBody) String ¶ added in v0.1.68
func (o CreateDataspaceRequestBody) String() string
type CreateDataspaceResponse ¶ added in v0.1.68
type CreateDataspaceResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateDataspaceResponse Response Object
func (CreateDataspaceResponse) String ¶ added in v0.1.68
func (o CreateDataspaceResponse) String() string
type CreateIncidentRequest ¶
type CreateIncidentRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *CreateIncidentRequestBody `json:"body,omitempty"` }
CreateIncidentRequest Request Object
func (CreateIncidentRequest) String ¶
func (o CreateIncidentRequest) String() string
type CreateIncidentRequestBody ¶
type CreateIncidentRequestBody struct {
DataObject *Incident `json:"data_object,omitempty"`
}
CreateIncidentRequestBody 创建事件请求body体
func (CreateIncidentRequestBody) String ¶
func (o CreateIncidentRequestBody) String() string
type CreateIncidentResponse ¶
type CreateIncidentResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IncidentDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateIncidentResponse Response Object
func (CreateIncidentResponse) String ¶
func (o CreateIncidentResponse) String() string
type CreateIndicatorDetail ¶
type CreateIndicatorDetail struct { DataSource *CreateIndicatorDetailDataSource `json:"data_source"` // 威胁度 Verdict string `json:"verdict"` // 置信度 Confidence *int32 `json:"confidence,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 标签 Labels *string `json:"labels,omitempty"` // 值 Value string `json:"value"` // 粒度(保密等级),由高到低:1(首次发现)、2(自产数据)、3(需购买)、4(外网直接查询) GranularMarking string `json:"granular_marking"` Environment *CreateIndicatorDetailEnvironment `json:"environment"` // 是否失效 Defanged bool `json:"defanged"` // 首次发生时间 FirstReportTime string `json:"first_report_time"` // 最近发生时间 LastReportTime *string `json:"last_report_time,omitempty"` // 威胁情报ID Id *string `json:"id,omitempty"` IndicatorType *CreateIndicatorDetailIndicatorType `json:"indicator_type"` // 威胁情报名称 Name string `json:"name"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // workspace id WorkspaceId string `json:"workspace_id"` // Project id value ProjectId *string `json:"project_id,omitempty"` Dataclass *DataClassRefPojo `json:"dataclass,omitempty"` // Create time CreateTime *string `json:"create_time,omitempty"` // Update time UpdateTime *string `json:"update_time,omitempty"` }
CreateIndicatorDetail 情报详情信息
func (CreateIndicatorDetail) String ¶
func (o CreateIndicatorDetail) String() string
type CreateIndicatorDetailDataSource ¶ added in v0.1.64
type CreateIndicatorDetailDataSource struct { // current page count SourceType int32 `json:"source_type"` // Id value DomainId string `json:"domain_id"` // Id value ProjectId string `json:"project_id"` // Id value RegionId string `json:"region_id"` // Id value ProductName string `json:"product_name"` // Id value ProductFeature string `json:"product_feature"` }
CreateIndicatorDetailDataSource 数据源信息
func (CreateIndicatorDetailDataSource) String ¶ added in v0.1.64
func (o CreateIndicatorDetailDataSource) String() string
type CreateIndicatorDetailEnvironment ¶ added in v0.1.64
type CreateIndicatorDetailEnvironment struct { // 环境供应商,如:HWC/AWS等 VendorType string `json:"vendor_type"` // 租户ID DomainId string `json:"domain_id"` // 区域ID RegionId string `json:"region_id"` // 项目ID ProjectId string `json:"project_id"` }
CreateIndicatorDetailEnvironment 环境信息
func (CreateIndicatorDetailEnvironment) String ¶ added in v0.1.64
func (o CreateIndicatorDetailEnvironment) String() string
type CreateIndicatorDetailIndicatorType ¶
type CreateIndicatorDetailIndicatorType struct { // 威胁情报类型 IndicatorType string `json:"indicator_type"` // 情报类型ID Id string `json:"id"` }
CreateIndicatorDetailIndicatorType 威胁情报类型
func (CreateIndicatorDetailIndicatorType) String ¶
func (o CreateIndicatorDetailIndicatorType) String() string
type CreateIndicatorRequest ¶
type CreateIndicatorRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *IndicatorCreateRequest `json:"body,omitempty"` }
CreateIndicatorRequest Request Object
func (CreateIndicatorRequest) String ¶
func (o CreateIndicatorRequest) String() string
type CreateIndicatorResponse ¶
type CreateIndicatorResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IndicatorDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateIndicatorResponse Response Object
func (CreateIndicatorResponse) String ¶
func (o CreateIndicatorResponse) String() string
type CreatePipeRequest ¶ added in v0.1.68
type CreatePipeRequest struct { // 工作空间id WorkspaceId string `json:"workspace_id"` Body *CreatePipeRequestBody `json:"body,omitempty"` }
CreatePipeRequest Request Object
func (CreatePipeRequest) String ¶ added in v0.1.68
func (o CreatePipeRequest) String() string
type CreatePipeRequestBody ¶ added in v0.1.68
type CreatePipeRequestBody struct { // 工作空间ID DataspaceId string `json:"dataspace_id"` // 数据管道名称 PipeName string `json:"pipe_name"` // 描述 Description *string `json:"description,omitempty"` // 数据的保存时间,单位为天;默认30天,取值范围为1~3600 StoragePeriod int32 `json:"storage_period"` // 数据管道分区个数;默认创建1个,最大支持创建64个分区 Shards int32 `json:"shards"` // 时间戳字段 TimestampField *string `json:"timestamp_field,omitempty"` // 索引字段映射;每个key对象承载一个字段的信息;存在多个key对象,key可变,表示字段名称;可嵌套 Mapping map[string]KeyIndex `json:"mapping,omitempty"` }
func (CreatePipeRequestBody) String ¶ added in v0.1.68
func (o CreatePipeRequestBody) String() string
type CreatePipeResponse ¶ added in v0.1.68
type CreatePipeResponse struct { // 用户domainId DomainId *string `json:"domain_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 数据空间id DataspaceId *string `json:"dataspace_id,omitempty"` // 数据空间名称 DataspaceName *string `json:"dataspace_name,omitempty"` // 管道id PipeId *string `json:"pipe_id,omitempty"` // 管道名称 PipeName *string `json:"pipe_name,omitempty"` // 管道类型(system-defined,系统预定义)、1(user-defined,用户自定义) PipeType *string `json:"pipe_type,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 索引存储天数 StoragePeriod *int32 `json:"storage_period,omitempty"` // 索引分片数量 Shards *int32 `json:"shards,omitempty"` // 创建者 CreateBy *string `json:"create_by,omitempty"` // 创建时间 CreateTime *int32 `json:"create_time,omitempty"` // 更新者 UpdateBy *string `json:"update_by,omitempty"` // 更新时间 UpdateTime *int32 `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
CreatePipeResponse Response Object
func (CreatePipeResponse) String ¶ added in v0.1.68
func (o CreatePipeResponse) String() string
type CreatePlaybookActionRequest ¶
type CreatePlaybookActionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // Create actions Body *[]CreateAction `json:"body,omitempty"` }
CreatePlaybookActionRequest Request Object
func (CreatePlaybookActionRequest) String ¶
func (o CreatePlaybookActionRequest) String() string
type CreatePlaybookActionResponse ¶
type CreatePlaybookActionResponse struct { // Error code Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` // list of informations of playbook action Data *[]ActionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePlaybookActionResponse Response Object
func (CreatePlaybookActionResponse) String ¶
func (o CreatePlaybookActionResponse) String() string
type CreatePlaybookApproveRequest ¶
type CreatePlaybookApproveRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 版本ID VersionId string `json:"version_id"` Body *ApprovePlaybookInfo `json:"body,omitempty"` }
CreatePlaybookApproveRequest Request Object
func (CreatePlaybookApproveRequest) String ¶
func (o CreatePlaybookApproveRequest) String() string
type CreatePlaybookApproveResponse ¶
type CreatePlaybookApproveResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` Data *ApproveOpinionDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePlaybookApproveResponse Response Object
func (CreatePlaybookApproveResponse) String ¶
func (o CreatePlaybookApproveResponse) String() string
type CreatePlaybookInfo ¶
type CreatePlaybookInfo struct { // 剧本名称 Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 工作空间ID WorkspaceId string `json:"workspace_id"` }
CreatePlaybookInfo 剧本创建参数信息
func (CreatePlaybookInfo) String ¶
func (o CreatePlaybookInfo) String() string
type CreatePlaybookRequest ¶
type CreatePlaybookRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *CreatePlaybookInfo `json:"body,omitempty"` }
CreatePlaybookRequest Request Object
func (CreatePlaybookRequest) String ¶
func (o CreatePlaybookRequest) String() string
type CreatePlaybookResponse ¶
type CreatePlaybookResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePlaybookResponse Response Object
func (CreatePlaybookResponse) String ¶
func (o CreatePlaybookResponse) String() string
type CreatePlaybookRuleRequest ¶
type CreatePlaybookRuleRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` Body *CreateRuleInfo `json:"body,omitempty"` }
CreatePlaybookRuleRequest Request Object
func (CreatePlaybookRuleRequest) String ¶
func (o CreatePlaybookRuleRequest) String() string
type CreatePlaybookRuleResponse ¶
type CreatePlaybookRuleResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *RuleInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePlaybookRuleResponse Response Object
func (CreatePlaybookRuleResponse) String ¶
func (o CreatePlaybookRuleResponse) String() string
type CreatePlaybookVersionInfo ¶
type CreatePlaybookVersionInfo struct { // 描述 Description *string `json:"description,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 剧本ID PlaybookId *string `json:"playbook_id,omitempty"` // 关联流程列表 Actions *[]ActionInfo `json:"actions,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 过滤规则是否启用 RuleEnable *bool `json:"rule_enable,omitempty"` // 过滤规则ID RuleId *string `json:"rule_id,omitempty"` // 触发方式. EVENT--事件触发, TIMER--定时触发 TriggerType *string `json:"trigger_type,omitempty"` // 标识数据对象是否创建时触发剧本 DataobjectCreate *bool `json:"dataobject_create,omitempty"` // 标识数据对象是否更新时触发剧本 DataobjectUpdate *bool `json:"dataobject_update,omitempty"` // 标识数据对象是否删除时触发剧本 DataobjectDelete *bool `json:"dataobject_delete,omitempty"` // 执行策略. 目前仅支持异步并发执行,对应值为ASYNC ActionStrategy *string `json:"action_strategy,omitempty"` }
CreatePlaybookVersionInfo 创建剧本版本请求参数
func (CreatePlaybookVersionInfo) String ¶
func (o CreatePlaybookVersionInfo) String() string
type CreatePlaybookVersionRequest ¶
type CreatePlaybookVersionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本ID PlaybookId string `json:"playbook_id"` Body *CreatePlaybookVersionInfo `json:"body,omitempty"` }
CreatePlaybookVersionRequest Request Object
func (CreatePlaybookVersionRequest) String ¶
func (o CreatePlaybookVersionRequest) String() string
type CreatePlaybookVersionResponse ¶
type CreatePlaybookVersionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` Data *PlaybookVersionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePlaybookVersionResponse Response Object
func (CreatePlaybookVersionResponse) String ¶
func (o CreatePlaybookVersionResponse) String() string
type CreatePostPaidOrderRequest ¶ added in v0.1.107
type CreatePostPaidOrderRequest struct { // 用户当前语言环境 XLanguage CreatePostPaidOrderRequestXLanguage `json:"X-Language"` Body *PostPaidParam `json:"body,omitempty"` }
CreatePostPaidOrderRequest Request Object
func (CreatePostPaidOrderRequest) String ¶ added in v0.1.107
func (o CreatePostPaidOrderRequest) String() string
type CreatePostPaidOrderRequestXLanguage ¶ added in v0.1.107
type CreatePostPaidOrderRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreatePostPaidOrderRequestXLanguage) MarshalJSON ¶ added in v0.1.107
func (c CreatePostPaidOrderRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreatePostPaidOrderRequestXLanguage) UnmarshalJSON ¶ added in v0.1.107
func (c *CreatePostPaidOrderRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreatePostPaidOrderRequestXLanguage) Value ¶ added in v0.1.107
func (c CreatePostPaidOrderRequestXLanguage) Value() string
type CreatePostPaidOrderRequestXLanguageEnum ¶ added in v0.1.107
type CreatePostPaidOrderRequestXLanguageEnum struct { ZH_CN CreatePostPaidOrderRequestXLanguage EN_US CreatePostPaidOrderRequestXLanguage }
func GetCreatePostPaidOrderRequestXLanguageEnum ¶ added in v0.1.107
func GetCreatePostPaidOrderRequestXLanguageEnum() CreatePostPaidOrderRequestXLanguageEnum
type CreatePostPaidOrderResponse ¶ added in v0.1.107
type CreatePostPaidOrderResponse struct {
HttpStatusCode int `json:"-"`
}
CreatePostPaidOrderResponse Response Object
func (CreatePostPaidOrderResponse) String ¶ added in v0.1.107
func (o CreatePostPaidOrderResponse) String() string
type CreateRuleInfo ¶
type CreateRuleInfo struct {
Rule *ConditionInfo `json:"rule"`
}
CreateRuleInfo 创建剧本触发规则参数
func (CreateRuleInfo) String ¶
func (o CreateRuleInfo) String() string
type CreateWorkspaceRequest ¶ added in v0.1.107
type CreateWorkspaceRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` Body *CreateWorkspaceRequestBody `json:"body,omitempty"` }
CreateWorkspaceRequest Request Object
func (CreateWorkspaceRequest) String ¶ added in v0.1.107
func (o CreateWorkspaceRequest) String() string
type CreateWorkspaceRequestBody ¶ added in v0.1.107
type CreateWorkspaceRequestBody struct { // 区域id RegionId string `json:"region_id"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 企业项目名称 EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` // 视图绑定的空间id ViewBindId *string `json:"view_bind_id,omitempty"` // 是否是视图 IsView *bool `json:"is_view,omitempty"` // 工作空间名称 Name string `json:"name"` // 工作空间描述 Description *string `json:"description,omitempty"` // 项目名称 ProjectName string `json:"project_name"` // 通过给账号下的资源添加标签,可以对资源进行自定义标记,实现资源的分类。可到标签管理服务使用可视化表格操作资源标签,并对标签进行批量编辑。 Tags *[]TagsPojo `json:"tags,omitempty"` }
CreateWorkspaceRequestBody 创建工作空间时参数对象
func (CreateWorkspaceRequestBody) String ¶ added in v0.1.107
func (o CreateWorkspaceRequestBody) String() string
type CreateWorkspaceResponse ¶ added in v0.1.107
type CreateWorkspaceResponse struct { // 工作空间id Id *string `json:"id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 工作空间名称 Name *string `json:"name,omitempty"` // 工作空间描述 Description *string `json:"description,omitempty"` // 创建人id CreatorId *string `json:"creator_id,omitempty"` // 创建人名称 CreatorName *string `json:"creator_name,omitempty"` // 修改人id ModifierId *string `json:"modifier_id,omitempty"` // 修改人名称 ModifierName *string `json:"modifier_name,omitempty"` // 所属项目id ProjectId *string `json:"project_id,omitempty"` // 所属项目名称 ProjectName *string `json:"project_name,omitempty"` // 所属租户id DomainId *string `json:"domain_id,omitempty"` // 所属租户名称 DomainName *string `json:"domain_name,omitempty"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 企业项目名称 EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` // 是否是视图 IsView *bool `json:"is_view,omitempty"` // 区域id RegionId *string `json:"region_id,omitempty"` // 视图绑定的空间id ViewBindId *string `json:"view_bind_id,omitempty"` // 视图绑定的空间名称 ViewBindName *string `json:"view_bind_name,omitempty"` // 仅用于视图场景,列出了该视图纳管的空间列表 WorkspaceAgencyList *[]CreateWorkspaceResponseBodyWorkspaceAgencyList `json:"workspace_agency_list,omitempty"` HttpStatusCode int `json:"-"` }
CreateWorkspaceResponse Response Object
func (CreateWorkspaceResponse) String ¶ added in v0.1.107
func (o CreateWorkspaceResponse) String() string
type CreateWorkspaceResponseBody ¶ added in v0.1.107
type CreateWorkspaceResponseBody struct { // 工作空间id Id *string `json:"id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 工作空间名称 Name *string `json:"name,omitempty"` // 工作空间描述 Description *string `json:"description,omitempty"` // 创建人id CreatorId *string `json:"creator_id,omitempty"` // 创建人名称 CreatorName *string `json:"creator_name,omitempty"` // 修改人id ModifierId *string `json:"modifier_id,omitempty"` // 修改人名称 ModifierName *string `json:"modifier_name,omitempty"` // 所属项目id ProjectId *string `json:"project_id,omitempty"` // 所属项目名称 ProjectName *string `json:"project_name,omitempty"` // 所属租户id DomainId *string `json:"domain_id,omitempty"` // 所属租户名称 DomainName *string `json:"domain_name,omitempty"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 企业项目名称 EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` // 是否是视图 IsView *bool `json:"is_view,omitempty"` // 区域id RegionId *string `json:"region_id,omitempty"` // 视图绑定的空间id ViewBindId *string `json:"view_bind_id,omitempty"` // 视图绑定的空间名称 ViewBindName *string `json:"view_bind_name,omitempty"` // 仅用于视图场景,列出了该视图纳管的空间列表 WorkspaceAgencyList *[]CreateWorkspaceResponseBodyWorkspaceAgencyList `json:"workspace_agency_list,omitempty"` }
func (CreateWorkspaceResponseBody) String ¶ added in v0.1.107
func (o CreateWorkspaceResponseBody) String() string
type CreateWorkspaceResponseBodyWorkspaceAgencyList ¶ added in v0.1.107
type CreateWorkspaceResponseBodyWorkspaceAgencyList struct { // 委托空间所属项目id ProjectId *string `json:"project_id,omitempty"` // 空间委托id Id *string `json:"id,omitempty"` // 空间委托名称 Name *string `json:"name,omitempty"` // 委托空间所属region id RegionId *string `json:"region_id,omitempty"` // THIS_ACCOUNT:本账号空间,CROSS_ACCOUNT:跨账号空间 WorkspaceAttribution *CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution `json:"workspace_attribution,omitempty"` // 用户创建托管空间时使用的IAM委托版本,V3或者V5 AgencyVersion *string `json:"agency_version,omitempty"` // 委托租户id DomainId *string `json:"domain_id,omitempty"` // 委托租户名称 DomainName *string `json:"domain_name,omitempty"` // iam委托id IamAgencyId *string `json:"iam_agency_id,omitempty"` // iam委托名称 IamAgencyName *string `json:"iam_agency_name,omitempty"` // 委托空间购买版本 ResourceSpecCode *[]string `json:"resource_spec_code,omitempty"` // 是否被视图选中 Selected *bool `json:"selected,omitempty"` }
func (CreateWorkspaceResponseBodyWorkspaceAgencyList) String ¶ added in v0.1.107
func (o CreateWorkspaceResponseBodyWorkspaceAgencyList) String() string
type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution ¶ added in v0.1.107
type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution struct {
// contains filtered or unexported fields
}
func (CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) MarshalJSON ¶ added in v0.1.107
func (c CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) MarshalJSON() ([]byte, error)
func (*CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) UnmarshalJSON ¶ added in v0.1.107
func (c *CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) UnmarshalJSON(b []byte) error
func (CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) Value ¶ added in v0.1.107
func (c CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution) Value() string
type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum ¶ added in v0.1.107
type CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum struct { THIS_ACCOUNT CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution CROSS_ACCOUNT CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttribution }
func GetCreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum ¶ added in v0.1.107
func GetCreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum() CreateWorkspaceResponseBodyWorkspaceAgencyListWorkspaceAttributionEnum
type DataClassRefPojo ¶
type DataClassRefPojo struct { // 数据类ID Id string `json:"id"` // 数据类名称 Name *string `json:"name,omitempty"` }
DataClassRefPojo 数据类对象信息
func (DataClassRefPojo) String ¶
func (o DataClassRefPojo) String() string
type DataClassResponseBody ¶ added in v0.1.68
type DataClassResponseBody struct { // 数据类ID Id *string `json:"id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 创建者ID CreatorId *string `json:"creator_id,omitempty"` // 创建者名称 CreatorName *string `json:"creator_name,omitempty"` // 修改者ID ModifierId *string `json:"modifier_id,omitempty"` // 修改这名称 ModifierName *string `json:"modifier_name,omitempty"` // 订阅包版本 CloudPackVersion *string `json:"cloud_pack_version,omitempty"` // 区域ID RegionId *string `json:"region_id,omitempty"` // 租户ID ProjectId *string `json:"project_id,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // domain id DomainId *string `json:"domain_id,omitempty"` // 数据类名称 Name *string `json:"name,omitempty"` // 数据类业务编码 BusinessCode *string `json:"business_code,omitempty"` // 数据类描述 Description *string `json:"description,omitempty"` // 是否内置,true内置,false非内置 IsBuiltIn *bool `json:"is_built_in,omitempty"` // 父级id ParentId *string `json:"parent_id,omitempty"` // 子类型数量 TypeNum float32 `json:"type_num,omitempty"` }
DataClassResponseBody 数据类详情
func (DataClassResponseBody) String ¶ added in v0.1.68
func (o DataClassResponseBody) String() string
type DataObject ¶ added in v0.1.64
type DataObject struct { // 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 Version *string `json:"version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据投递后,被委托用户的domain_id DomainId *string `json:"domain_id,omitempty"` // 数据投递后,被委托用户的region_id RegionId *string `json:"region_id,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` Environment *AlertEnvironment `json:"environment,omitempty"` Datasource *AlertDataSource `json:"datasource,omitempty"` // 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 FirstObservedTime *string `json:"first_observed_time,omitempty"` // 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 LastObservedTime *string `json:"last_observed_time,omitempty"` // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` // 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ArriveTime *string `json:"arrive_time,omitempty"` // 告警标题 Title *string `json:"title,omitempty"` // 告警描述信息 Description *string `json:"description,omitempty"` // 告警URL链接,指向数据源产品中有关当前事件说明的页面 SourceUrl *string `json:"source_url,omitempty"` // 事件发生次数 Count *int32 `json:"count,omitempty"` // 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% Confidence *int32 `json:"confidence,omitempty"` // 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 Severity *DataObjectSeverity `json:"severity,omitempty"` // 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 Criticality *int32 `json:"criticality,omitempty"` AlertType *AlertAlertType `json:"alert_type,omitempty"` // 网络信息 NetworkList *[]AlertNetworkList `json:"network_list,omitempty"` // 受影响资源 ResourceList *[]AlertResourceList `json:"resource_list,omitempty"` Remediation *AlertRemediation `json:"remediation,omitempty"` // 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown VerificationState *DataObjectVerificationState `json:"verification_state,omitempty"` // 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open HandleStatus *DataObjectHandleStatus `json:"handle_status,omitempty"` // 约束闭环时间:设置风险接受持续时间。单位:小时 Sla *int32 `json:"sla,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CloseTime *string `json:"close_time,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity IpdrrPhase *DataObjectIpdrrPhase `json:"ipdrr_phase,omitempty"` // 调试字段 Simulation *string `json:"simulation,omitempty"` // 告警调查员 Actor *string `json:"actor,omitempty"` // 责任人、服务责任人 Owner *string `json:"owner,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other CloseReason *DataObjectCloseReason `json:"close_reason,omitempty"` // 关闭评论 CloseComment *string `json:"close_comment,omitempty"` Malware *ShowAlertRspMalware `json:"malware,omitempty"` // 系统信息 SystemInfo *interface{} `json:"system_info,omitempty"` // 进程信息 Process *[]AlertProcess `json:"process,omitempty"` // 用户信息 UserInfo *[]AlertUserInfo `json:"user_info,omitempty"` // 文件信息 FileInfo *[]AlertFileInfo `json:"file_info,omitempty"` }
DataObject 告警实体信息
func (DataObject) String ¶ added in v0.1.64
func (o DataObject) String() string
type DataObjectCloseReason ¶ added in v0.1.64
type DataObjectCloseReason struct {
// contains filtered or unexported fields
}
func (DataObjectCloseReason) MarshalJSON ¶ added in v0.1.64
func (c DataObjectCloseReason) MarshalJSON() ([]byte, error)
func (*DataObjectCloseReason) UnmarshalJSON ¶ added in v0.1.64
func (c *DataObjectCloseReason) UnmarshalJSON(b []byte) error
func (DataObjectCloseReason) Value ¶ added in v0.1.64
func (c DataObjectCloseReason) Value() string
type DataObjectCloseReasonEnum ¶ added in v0.1.64
type DataObjectCloseReasonEnum struct { FALSE_DETECTION DataObjectCloseReason RESOLVED DataObjectCloseReason REPEATED DataObjectCloseReason OTHER DataObjectCloseReason }
func GetDataObjectCloseReasonEnum ¶ added in v0.1.64
func GetDataObjectCloseReasonEnum() DataObjectCloseReasonEnum
type DataObjectDetail ¶ added in v0.1.64
type DataObjectDetail struct { // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` DataObject *DataObject `json:"data_object,omitempty"` DataclassRef *AlertDetailDataclassRef `json:"dataclass_ref,omitempty"` // 格式版本 FormatVersion *int32 `json:"format_version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 当前项目的id ProjectId *string `json:"project_id,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` }
func (DataObjectDetail) String ¶ added in v0.1.64
func (o DataObjectDetail) String() string
type DataObjectHandleStatus ¶ added in v0.1.64
type DataObjectHandleStatus struct {
// contains filtered or unexported fields
}
func (DataObjectHandleStatus) MarshalJSON ¶ added in v0.1.64
func (c DataObjectHandleStatus) MarshalJSON() ([]byte, error)
func (*DataObjectHandleStatus) UnmarshalJSON ¶ added in v0.1.64
func (c *DataObjectHandleStatus) UnmarshalJSON(b []byte) error
func (DataObjectHandleStatus) Value ¶ added in v0.1.64
func (c DataObjectHandleStatus) Value() string
type DataObjectHandleStatusEnum ¶ added in v0.1.64
type DataObjectHandleStatusEnum struct { OPEN DataObjectHandleStatus BLOCK DataObjectHandleStatus CLOSED DataObjectHandleStatus }
func GetDataObjectHandleStatusEnum ¶ added in v0.1.64
func GetDataObjectHandleStatusEnum() DataObjectHandleStatusEnum
type DataObjectIpdrrPhase ¶ added in v0.1.64
type DataObjectIpdrrPhase struct {
// contains filtered or unexported fields
}
func (DataObjectIpdrrPhase) MarshalJSON ¶ added in v0.1.64
func (c DataObjectIpdrrPhase) MarshalJSON() ([]byte, error)
func (*DataObjectIpdrrPhase) UnmarshalJSON ¶ added in v0.1.64
func (c *DataObjectIpdrrPhase) UnmarshalJSON(b []byte) error
func (DataObjectIpdrrPhase) Value ¶ added in v0.1.64
func (c DataObjectIpdrrPhase) Value() string
type DataObjectIpdrrPhaseEnum ¶ added in v0.1.64
type DataObjectIpdrrPhaseEnum struct { PREPARTION DataObjectIpdrrPhase DETECTION_AND_ANALYSIS DataObjectIpdrrPhase CONTAINMERADICATION_RECOVERY DataObjectIpdrrPhase POST_INCIDENT_ACTIVITY DataObjectIpdrrPhase }
func GetDataObjectIpdrrPhaseEnum ¶ added in v0.1.64
func GetDataObjectIpdrrPhaseEnum() DataObjectIpdrrPhaseEnum
type DataObjectSeverity ¶ added in v0.1.64
type DataObjectSeverity struct {
// contains filtered or unexported fields
}
func (DataObjectSeverity) MarshalJSON ¶ added in v0.1.64
func (c DataObjectSeverity) MarshalJSON() ([]byte, error)
func (*DataObjectSeverity) UnmarshalJSON ¶ added in v0.1.64
func (c *DataObjectSeverity) UnmarshalJSON(b []byte) error
func (DataObjectSeverity) Value ¶ added in v0.1.64
func (c DataObjectSeverity) Value() string
type DataObjectSeverityEnum ¶ added in v0.1.64
type DataObjectSeverityEnum struct { TIPS DataObjectSeverity LOW DataObjectSeverity MEDIUM DataObjectSeverity HIGH DataObjectSeverity FATAL DataObjectSeverity }
func GetDataObjectSeverityEnum ¶ added in v0.1.64
func GetDataObjectSeverityEnum() DataObjectSeverityEnum
type DataObjectVerificationState ¶ added in v0.1.64
type DataObjectVerificationState struct {
// contains filtered or unexported fields
}
func (DataObjectVerificationState) MarshalJSON ¶ added in v0.1.64
func (c DataObjectVerificationState) MarshalJSON() ([]byte, error)
func (*DataObjectVerificationState) UnmarshalJSON ¶ added in v0.1.64
func (c *DataObjectVerificationState) UnmarshalJSON(b []byte) error
func (DataObjectVerificationState) Value ¶ added in v0.1.64
func (c DataObjectVerificationState) Value() string
type DataObjectVerificationStateEnum ¶ added in v0.1.64
type DataObjectVerificationStateEnum struct { UNKNOWN DataObjectVerificationState TRUE_POSITIVE DataObjectVerificationState FALSE_POSITIVE DataObjectVerificationState }
func GetDataObjectVerificationStateEnum ¶ added in v0.1.64
func GetDataObjectVerificationStateEnum() DataObjectVerificationStateEnum
type DataclassInfoRef ¶
type DataclassInfoRef struct { // 数据类ID Id *string `json:"id,omitempty"` // 数据类名称 Name *string `json:"name,omitempty"` }
DataclassInfoRef 数据类信息
func (DataclassInfoRef) String ¶
func (o DataclassInfoRef) String() string
type DataobjectInfo ¶
type DataobjectInfo struct { // ID值 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 数据内容 Content *string `json:"content,omitempty"` }
DataobjectInfo 数据对象详情
func (DataobjectInfo) String ¶
func (o DataobjectInfo) String() string
type DataobjectSearch ¶
type DataobjectSearch struct { // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 排序字段:create_time | update_time SortBy *string `json:"sort_by,omitempty"` // 排序方式:DESC | ASC Order *DataobjectSearchOrder `json:"order,omitempty"` // 搜索开始时间,例如:2023-02-20T00:00:00.000Z FromDate *string `json:"from_date,omitempty"` // 搜索结束时间,例如:2023-02-27T23:59:59.999Z ToDate *string `json:"to_date,omitempty"` Condition *DataobjectSearchCondition `json:"condition,omitempty"` }
DataobjectSearch 搜索告警列表条件
func (DataobjectSearch) String ¶
func (o DataobjectSearch) String() string
type DataobjectSearchCondition ¶
type DataobjectSearchCondition struct { // 表达式列表 Conditions *[]DataobjectSearchConditionConditions `json:"conditions,omitempty"` // 表达式名称列表 Logics *[]string `json:"logics,omitempty"` }
DataobjectSearchCondition 搜索条件表达式
func (DataobjectSearchCondition) String ¶
func (o DataobjectSearchCondition) String() string
type DataobjectSearchConditionConditions ¶ added in v0.1.64
type DataobjectSearchConditionConditions struct { // 表达式名称 Name *string `json:"name,omitempty"` // 表达式内容列表 Data *[]string `json:"data,omitempty"` }
func (DataobjectSearchConditionConditions) String ¶ added in v0.1.64
func (o DataobjectSearchConditionConditions) String() string
type DataobjectSearchOrder ¶ added in v0.1.64
type DataobjectSearchOrder struct {
// contains filtered or unexported fields
}
func (DataobjectSearchOrder) MarshalJSON ¶ added in v0.1.64
func (c DataobjectSearchOrder) MarshalJSON() ([]byte, error)
func (*DataobjectSearchOrder) UnmarshalJSON ¶ added in v0.1.64
func (c *DataobjectSearchOrder) UnmarshalJSON(b []byte) error
func (DataobjectSearchOrder) Value ¶ added in v0.1.64
func (c DataobjectSearchOrder) Value() string
type DataobjectSearchOrderEnum ¶ added in v0.1.64
type DataobjectSearchOrderEnum struct { DESC DataobjectSearchOrder ASC DataobjectSearchOrder }
func GetDataobjectSearchOrderEnum ¶ added in v0.1.64
func GetDataobjectSearchOrderEnum() DataobjectSearchOrderEnum
type DeleteAlertRequest ¶
type DeleteAlertRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *DeleteAlertRequestBody `json:"body,omitempty"` }
DeleteAlertRequest Request Object
func (DeleteAlertRequest) String ¶
func (o DeleteAlertRequest) String() string
type DeleteAlertRequestBody ¶ added in v0.1.64
type DeleteAlertRequestBody struct { // 删除告警的ID列表 BatchIds *[]string `json:"batch_ids,omitempty"` }
DeleteAlertRequestBody 删除告警请求body体
func (DeleteAlertRequestBody) String ¶ added in v0.1.64
func (o DeleteAlertRequestBody) String() string
type DeleteAlertResponse ¶
type DeleteAlertResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *BatchOperateAlertResult `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAlertResponse Response Object
func (DeleteAlertResponse) String ¶
func (o DeleteAlertResponse) String() string
type DeleteAlertRuleRequest ¶
type DeleteAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` Body *[]string `json:"body,omitempty"` }
DeleteAlertRuleRequest Request Object
func (DeleteAlertRuleRequest) String ¶
func (o DeleteAlertRuleRequest) String() string
type DeleteAlertRuleResponse ¶
type DeleteAlertRuleResponse struct { // 是否删除. Deleted *bool `json:"deleted,omitempty"` // Alert rule ID. FailList *[]AlertRule `json:"fail_list,omitempty"` // Alert rule ID. SuccessList *[]AlertRule `json:"success_list,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAlertRuleResponse Response Object
func (DeleteAlertRuleResponse) String ¶
func (o DeleteAlertRuleResponse) String() string
type DeleteDataobjectRelationsRequest ¶ added in v0.1.64
type DeleteDataobjectRelationsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 关联主体dataobject所属数据类,小写复数,如告警为alerts,事件为incidents DataclassType string `json:"dataclass_type"` // 关联主体dataobject的id DataObjectId string `json:"data_object_id"` // 被关联的dataobject所属数据类,小写复数,如告警为alerts,事件为incidents RelatedDataclassType string `json:"related_dataclass_type"` Body *CreateDataobjectRelationsRequestBody `json:"body,omitempty"` }
DeleteDataobjectRelationsRequest Request Object
func (DeleteDataobjectRelationsRequest) String ¶ added in v0.1.64
func (o DeleteDataobjectRelationsRequest) String() string
type DeleteDataobjectRelationsResponse ¶ added in v0.1.64
type DeleteDataobjectRelationsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *BatchOperateDataobjectResult `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDataobjectRelationsResponse Response Object
func (DeleteDataobjectRelationsResponse) String ¶ added in v0.1.64
func (o DeleteDataobjectRelationsResponse) String() string
type DeleteIncidentRequest ¶
type DeleteIncidentRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *DeleteIncidentRequestBody `json:"body,omitempty"` }
DeleteIncidentRequest Request Object
func (DeleteIncidentRequest) String ¶
func (o DeleteIncidentRequest) String() string
type DeleteIncidentRequestBody ¶ added in v0.1.64
type DeleteIncidentRequestBody struct { // 删除事件的ID列表 BatchIds *[]string `json:"batch_ids,omitempty"` }
DeleteIncidentRequestBody 删除事件请求body体
func (DeleteIncidentRequestBody) String ¶ added in v0.1.64
func (o DeleteIncidentRequestBody) String() string
type DeleteIncidentResponse ¶
type DeleteIncidentResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *DeleteIncidentResponseBodyData `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteIncidentResponse Response Object
func (DeleteIncidentResponse) String ¶
func (o DeleteIncidentResponse) String() string
type DeleteIncidentResponseBodyData ¶ added in v0.1.64
type DeleteIncidentResponseBodyData struct { // 失败id ErrorIds *[]string `json:"error_ids,omitempty"` // 成功id SuccessIds *[]string `json:"success_ids,omitempty"` }
DeleteIncidentResponseBodyData 批量删除事件返回对象
func (DeleteIncidentResponseBodyData) String ¶ added in v0.1.64
func (o DeleteIncidentResponseBodyData) String() string
type DeleteIndicatorRequest ¶
type DeleteIndicatorRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *DeleteIndicatorRequestBody `json:"body,omitempty"` }
DeleteIndicatorRequest Request Object
func (DeleteIndicatorRequest) String ¶
func (o DeleteIndicatorRequest) String() string
type DeleteIndicatorRequestBody ¶
type DeleteIndicatorRequestBody struct { // 威胁情报ID列表 BatchIds *[]string `json:"batch_ids,omitempty"` }
DeleteIndicatorRequestBody 删除指标请求参数
func (DeleteIndicatorRequestBody) String ¶
func (o DeleteIndicatorRequestBody) String() string
type DeleteIndicatorResponse ¶
type DeleteIndicatorResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IndicatorBatchOperateResponse `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteIndicatorResponse Response Object
func (DeleteIndicatorResponse) String ¶
func (o DeleteIndicatorResponse) String() string
type DeletePlaybookActionRequest ¶
type DeletePlaybookActionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // 剧本动作ID ActionId string `json:"action_id"` }
DeletePlaybookActionRequest Request Object
func (DeletePlaybookActionRequest) String ¶
func (o DeletePlaybookActionRequest) String() string
type DeletePlaybookActionResponse ¶
type DeletePlaybookActionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePlaybookActionResponse Response Object
func (DeletePlaybookActionResponse) String ¶
func (o DeletePlaybookActionResponse) String() string
type DeletePlaybookRequest ¶
type DeletePlaybookRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // ID of playbook PlaybookId string `json:"playbook_id"` }
DeletePlaybookRequest Request Object
func (DeletePlaybookRequest) String ¶
func (o DeletePlaybookRequest) String() string
type DeletePlaybookResponse ¶
type DeletePlaybookResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePlaybookResponse Response Object
func (DeletePlaybookResponse) String ¶
func (o DeletePlaybookResponse) String() string
type DeletePlaybookRuleRequest ¶
type DeletePlaybookRuleRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // 规则ID RuleId string `json:"rule_id"` }
DeletePlaybookRuleRequest Request Object
func (DeletePlaybookRuleRequest) String ¶
func (o DeletePlaybookRuleRequest) String() string
type DeletePlaybookRuleResponse ¶
type DeletePlaybookRuleResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePlaybookRuleResponse Response Object
func (DeletePlaybookRuleResponse) String ¶
func (o DeletePlaybookRuleResponse) String() string
type DeletePlaybookVersionRequest ¶
type DeletePlaybookVersionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` }
DeletePlaybookVersionRequest Request Object
func (DeletePlaybookVersionRequest) String ¶
func (o DeletePlaybookVersionRequest) String() string
type DeletePlaybookVersionResponse ¶
type DeletePlaybookVersionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeletePlaybookVersionResponse Response Object
func (DeletePlaybookVersionResponse) String ¶
func (o DeletePlaybookVersionResponse) String() string
type DisableAlertRuleRequest ¶
type DisableAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` Body *[]string `json:"body,omitempty"` }
DisableAlertRuleRequest Request Object
func (DisableAlertRuleRequest) String ¶
func (o DisableAlertRuleRequest) String() string
type DisableAlertRuleResponse ¶
type DisableAlertRuleResponse struct { // Alert rule ID. FailList *[]AlertRule `json:"fail_list,omitempty"` // Alert rule ID. SuccessList *[]AlertRule `json:"success_list,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DisableAlertRuleResponse Response Object
func (DisableAlertRuleResponse) String ¶
func (o DisableAlertRuleResponse) String() string
type EnableAlertRuleRequest ¶
type EnableAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` Body *[]string `json:"body,omitempty"` }
EnableAlertRuleRequest Request Object
func (EnableAlertRuleRequest) String ¶
func (o EnableAlertRuleRequest) String() string
type EnableAlertRuleResponse ¶
type EnableAlertRuleResponse struct { // Alert rule ID. FailList *[]AlertRule `json:"fail_list,omitempty"` // Alert rule ID. SuccessList *[]AlertRule `json:"success_list,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
EnableAlertRuleResponse Response Object
func (EnableAlertRuleResponse) String ¶
func (o EnableAlertRuleResponse) String() string
type FieldResponseBody ¶ added in v0.1.68
type FieldResponseBody struct { // Id value Id *string `json:"id,omitempty"` // 订阅包版本 CloudPackVersion *string `json:"cloud_pack_version,omitempty"` // 关联业务id BusinessId *string `json:"business_id,omitempty"` // 关联业务 BusinessType *string `json:"business_type,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 字段业务编码 BusinessCode *string `json:"business_code,omitempty"` // 字段key FieldKey *string `json:"field_key,omitempty"` // 字段名称 Name *string `json:"name,omitempty"` // 字段描述 Description *string `json:"description,omitempty"` // 默认值 DefaultValue *string `json:"default_value,omitempty"` // 显示类型 DisplayType *string `json:"display_type,omitempty"` // 字段类型,如shorttext,radio,grid等 FieldType *string `json:"field_type,omitempty"` // 附加json ExtraJson *string `json:"extra_json,omitempty"` // 工具提示 FieldTooltip *string `json:"field_tooltip,omitempty"` // 输入输出类型 IuType *string `json:"iu_type,omitempty"` // 使用业务 UsedBy *string `json:"used_by,omitempty"` // json模式 JsonSchema *string `json:"json_schema,omitempty"` // 是否内置,true内置,false非内置 IsBuiltIn *bool `json:"is_built_in,omitempty"` // 大小写敏感,true敏感,false不敏感 CaseSensitive *bool `json:"case_sensitive,omitempty"` // 只读模式,true只读,false非只读 ReadOnly *bool `json:"read_only,omitempty"` // 是否必填,true必填,false非必填 Required *bool `json:"required,omitempty"` // 可搜索,true可搜索,false非可搜索 Searchable *bool `json:"searchable,omitempty"` // 可见,true可见,false非可见 Visible *bool `json:"visible,omitempty"` // 可维护,true可维护,false非可维护 Maintainable *bool `json:"maintainable,omitempty"` // 可编辑,true可编辑,false非可编辑 Editable *bool `json:"editable,omitempty"` // 可创建,true可创建,false非可创建 Creatable *bool `json:"creatable,omitempty"` // 是否展示在分类映射外的其他地方 Mapping *bool `json:"mapping,omitempty"` // 目标api TargetApi *string `json:"target_api,omitempty"` // Creator id value CreatorId *string `json:"creator_id,omitempty"` // Creator name value CreatorName *string `json:"creator_name,omitempty"` // Modifier id value ModifierId *string `json:"modifier_id,omitempty"` // Modifier name value ModifierName *string `json:"modifier_name,omitempty"` // Create time CreateTime *string `json:"create_time,omitempty"` // Update time UpdateTime *string `json:"update_time,omitempty"` }
FieldResponseBody 字段详情
func (FieldResponseBody) String ¶ added in v0.1.68
func (o FieldResponseBody) String() string
type Incident ¶
type Incident struct { // 事件对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 Version *string `json:"version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据投递后,被委托用户的domain_id DomainId *string `json:"domain_id,omitempty"` // 数据投递后,被委托用户的region_id RegionId *string `json:"region_id,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` // 标签,仅展示 Labels *string `json:"labels,omitempty"` Environment *IncidentEnvironment `json:"environment,omitempty"` DataSource *AlertDataSource `json:"data_source,omitempty"` // 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 FirstObservedTime *string `json:"first_observed_time,omitempty"` // 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 LastObservedTime *string `json:"last_observed_time,omitempty"` // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` // 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ArriveTime *string `json:"arrive_time,omitempty"` // 事件标题 Title *string `json:"title,omitempty"` // 事件描述信息 Description *string `json:"description,omitempty"` // 事件URL链接,指向数据源产品中有关当前事件说明的页面 SourceUrl *string `json:"source_url,omitempty"` // 事件发生次数 Count *int32 `json:"count,omitempty"` // 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% Confidence *int32 `json:"confidence,omitempty"` // 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 Severity *IncidentSeverity `json:"severity,omitempty"` // 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 Criticality *int32 `json:"criticality,omitempty"` IncidentType *IncidentIncidentType `json:"incident_type,omitempty"` // 网络信息 NetworkList *[]AlertNetworkList `json:"network_list,omitempty"` // 受影响资源 ResourceList *[]AlertResourceList `json:"resource_list,omitempty"` Remediation *AlertRemediation `json:"remediation,omitempty"` // 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown VerificationState *IncidentVerificationState `json:"verification_state,omitempty"` // 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open HandleStatus *IncidentHandleStatus `json:"handle_status,omitempty"` // 约束闭环时间:设置风险接受持续时间。单位:小时 Sla *int32 `json:"sla,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CloseTime *string `json:"close_time,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity IpdrrPhase *IncidentIpdrrPhase `json:"ipdrr_phase,omitempty"` // 调试字段 Simulation *string `json:"simulation,omitempty"` // 事件调查员 Actor *string `json:"actor,omitempty"` // 责任人、服务责任人 Owner *string `json:"owner,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other CloseReason *IncidentCloseReason `json:"close_reason,omitempty"` // 关闭评论 CloseComment *string `json:"close_comment,omitempty"` Malware *ShowAlertRspMalware `json:"malware,omitempty"` // 系统信息 SystemInfo *interface{} `json:"system_info,omitempty"` // 进程信息 Process *[]AlertProcess `json:"process,omitempty"` // 用户信息 UserInfo *[]AlertUserInfo `json:"user_info,omitempty"` // 文件信息 FileInfo *[]AlertFileInfo `json:"file_info,omitempty"` // 事件管理列表的布局字段 SystemAlertTable *interface{} `json:"system_alert_table,omitempty"` }
Incident 事件实体信息
type IncidentCloseReason ¶ added in v0.1.64
type IncidentCloseReason struct {
// contains filtered or unexported fields
}
func (IncidentCloseReason) MarshalJSON ¶ added in v0.1.64
func (c IncidentCloseReason) MarshalJSON() ([]byte, error)
func (*IncidentCloseReason) UnmarshalJSON ¶ added in v0.1.64
func (c *IncidentCloseReason) UnmarshalJSON(b []byte) error
func (IncidentCloseReason) Value ¶ added in v0.1.64
func (c IncidentCloseReason) Value() string
type IncidentCloseReasonEnum ¶ added in v0.1.64
type IncidentCloseReasonEnum struct { FALSE_DETECTION IncidentCloseReason RESOLVED IncidentCloseReason REPEATED IncidentCloseReason OTHER IncidentCloseReason }
func GetIncidentCloseReasonEnum ¶ added in v0.1.64
func GetIncidentCloseReasonEnum() IncidentCloseReasonEnum
type IncidentDetail ¶
type IncidentDetail struct { // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` DataObject *Incident `json:"data_object,omitempty"` DataclassRef *AlertDetailDataclassRef `json:"dataclass_ref,omitempty"` // 格式版本 FormatVersion *int32 `json:"format_version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 当前项目的id ProjectId *string `json:"project_id,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为告警发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` }
func (IncidentDetail) String ¶
func (o IncidentDetail) String() string
type IncidentEnvironment ¶
type IncidentEnvironment struct { // 环境供应商:HWCP/HWC/AWS/Azure/GCP VendorType *string `json:"vendor_type,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // 区域id,全局服务global RegionId *string `json:"region_id,omitempty"` // 数据投递前的源工作空间id,在源空间下值为null,投递后为被委托用户的id CrossWorkspaceId *string `json:"cross_workspace_id,omitempty"` // 项目id, 全局服务默认null ProjectId *string `json:"project_id,omitempty"` }
IncidentEnvironment 事件产生的环境坐标信息
func (IncidentEnvironment) String ¶
func (o IncidentEnvironment) String() string
type IncidentHandleStatus ¶ added in v0.1.64
type IncidentHandleStatus struct {
// contains filtered or unexported fields
}
func (IncidentHandleStatus) MarshalJSON ¶ added in v0.1.64
func (c IncidentHandleStatus) MarshalJSON() ([]byte, error)
func (*IncidentHandleStatus) UnmarshalJSON ¶ added in v0.1.64
func (c *IncidentHandleStatus) UnmarshalJSON(b []byte) error
func (IncidentHandleStatus) Value ¶ added in v0.1.64
func (c IncidentHandleStatus) Value() string
type IncidentHandleStatusEnum ¶ added in v0.1.64
type IncidentHandleStatusEnum struct { OPEN IncidentHandleStatus BLOCK IncidentHandleStatus CLOSED IncidentHandleStatus }
func GetIncidentHandleStatusEnum ¶ added in v0.1.64
func GetIncidentHandleStatusEnum() IncidentHandleStatusEnum
type IncidentIncidentType ¶ added in v0.1.64
type IncidentIncidentType struct { // 类别 Category *string `json:"category,omitempty"` // 事件类型 IncidentType *string `json:"incident_type,omitempty"` }
IncidentIncidentType 事件分类,详细定义参考《告警事件类型定义》
func (IncidentIncidentType) String ¶ added in v0.1.64
func (o IncidentIncidentType) String() string
type IncidentIpdrrPhase ¶ added in v0.1.64
type IncidentIpdrrPhase struct {
// contains filtered or unexported fields
}
func (IncidentIpdrrPhase) MarshalJSON ¶ added in v0.1.64
func (c IncidentIpdrrPhase) MarshalJSON() ([]byte, error)
func (*IncidentIpdrrPhase) UnmarshalJSON ¶ added in v0.1.64
func (c *IncidentIpdrrPhase) UnmarshalJSON(b []byte) error
func (IncidentIpdrrPhase) Value ¶ added in v0.1.64
func (c IncidentIpdrrPhase) Value() string
type IncidentIpdrrPhaseEnum ¶ added in v0.1.64
type IncidentIpdrrPhaseEnum struct { PREPARTION IncidentIpdrrPhase DETECTION_AND_ANALYSIS IncidentIpdrrPhase CONTAINMERADICATION_RECOVERY IncidentIpdrrPhase POST_INCIDENT_ACTIVITY IncidentIpdrrPhase }
func GetIncidentIpdrrPhaseEnum ¶ added in v0.1.64
func GetIncidentIpdrrPhaseEnum() IncidentIpdrrPhaseEnum
type IncidentSeverity ¶ added in v0.1.64
type IncidentSeverity struct {
// contains filtered or unexported fields
}
func (IncidentSeverity) MarshalJSON ¶ added in v0.1.64
func (c IncidentSeverity) MarshalJSON() ([]byte, error)
func (*IncidentSeverity) UnmarshalJSON ¶ added in v0.1.64
func (c *IncidentSeverity) UnmarshalJSON(b []byte) error
func (IncidentSeverity) Value ¶ added in v0.1.64
func (c IncidentSeverity) Value() string
type IncidentSeverityEnum ¶ added in v0.1.64
type IncidentSeverityEnum struct { TIPS IncidentSeverity LOW IncidentSeverity MEDIUM IncidentSeverity HIGH IncidentSeverity FATAL IncidentSeverity }
func GetIncidentSeverityEnum ¶ added in v0.1.64
func GetIncidentSeverityEnum() IncidentSeverityEnum
type IncidentVerificationState ¶ added in v0.1.64
type IncidentVerificationState struct {
// contains filtered or unexported fields
}
func (IncidentVerificationState) MarshalJSON ¶ added in v0.1.64
func (c IncidentVerificationState) MarshalJSON() ([]byte, error)
func (*IncidentVerificationState) UnmarshalJSON ¶ added in v0.1.64
func (c *IncidentVerificationState) UnmarshalJSON(b []byte) error
func (IncidentVerificationState) Value ¶ added in v0.1.64
func (c IncidentVerificationState) Value() string
type IncidentVerificationStateEnum ¶ added in v0.1.64
type IncidentVerificationStateEnum struct { UNKNOWN IncidentVerificationState TRUE_POSITIVE IncidentVerificationState FALSE_POSITIVE IncidentVerificationState }
func GetIncidentVerificationStateEnum ¶ added in v0.1.64
func GetIncidentVerificationStateEnum() IncidentVerificationStateEnum
type IndicatorBatchOperateResponse ¶
type IndicatorBatchOperateResponse struct { // 成功ID列表 SuccessIds []string `json:"success_ids"` // 失败ID列表 ErrorIds *[]string `json:"error_ids,omitempty"` }
IndicatorBatchOperateResponse 情报响应参数
func (IndicatorBatchOperateResponse) String ¶
func (o IndicatorBatchOperateResponse) String() string
type IndicatorCreateRequest ¶
type IndicatorCreateRequest struct {
DataObject *CreateIndicatorDetail `json:"data_object"`
}
IndicatorCreateRequest 创建指标请求参数
func (IndicatorCreateRequest) String ¶
func (o IndicatorCreateRequest) String() string
type IndicatorDataObjectDetail ¶
type IndicatorDataObjectDetail struct { IndicatorType *IndicatorDataObjectDetailIndicatorType `json:"indicator_type,omitempty"` // 值,如:ip url domain等 Value *string `json:"value,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` Environment *IndicatorDataObjectDetailEnvironment `json:"environment,omitempty"` DataSource *IndicatorDataObjectDetailDataSource `json:"data_source,omitempty"` // 首次发生时间 FirstReportTime *string `json:"first_report_time,omitempty"` // 是否删除 IsDeleted *bool `json:"is_deleted,omitempty"` // 最近发生时间 LastReportTime *string `json:"last_report_time,omitempty"` // 粒度(保密等级),由高到低:1(首次发现)、2(自产数据)、3(需购买)、4(外网直接查询) GranularMarking *int32 `json:"granular_marking,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 威胁情报ID Id *string `json:"id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 是否作废 Revoked *bool `json:"revoked,omitempty"` // 状态, Open--打开,Closed--关闭, Revoked--作废 Status *string `json:"status,omitempty"` // 威胁度, Black--黑,White--白,Gray--灰 Verdict *string `json:"verdict,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 置信度,取值范围是80-100 Confidence *int32 `json:"confidence,omitempty"` }
IndicatorDataObjectDetail 情报详情
func (IndicatorDataObjectDetail) String ¶
func (o IndicatorDataObjectDetail) String() string
type IndicatorDataObjectDetailDataSource ¶ added in v0.1.64
type IndicatorDataObjectDetailDataSource struct { // 数据源类型,取值范围如下:1 - 华为产品 2 - 第三方产品 3 - 租户私有产品 SourceType *int32 `json:"source_type,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 区域ID RegionId *string `json:"region_id,omitempty"` }
IndicatorDataObjectDetailDataSource 数据源信息
func (IndicatorDataObjectDetailDataSource) String ¶ added in v0.1.64
func (o IndicatorDataObjectDetailDataSource) String() string
type IndicatorDataObjectDetailEnvironment ¶ added in v0.1.64
type IndicatorDataObjectDetailEnvironment struct { // 环境供应商(如HWC,AWS,Azure等) VendorType *string `json:"vendor_type,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 区域ID RegionId *string `json:"region_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` }
IndicatorDataObjectDetailEnvironment 环境信息
func (IndicatorDataObjectDetailEnvironment) String ¶ added in v0.1.64
func (o IndicatorDataObjectDetailEnvironment) String() string
type IndicatorDataObjectDetailIndicatorType ¶ added in v0.1.64
type IndicatorDataObjectDetailIndicatorType struct { // 情报类型 IndicatorType *string `json:"indicator_type,omitempty"` // 情报类型ID Id *string `json:"id,omitempty"` }
IndicatorDataObjectDetailIndicatorType 情报类型对象
func (IndicatorDataObjectDetailIndicatorType) String ¶ added in v0.1.64
func (o IndicatorDataObjectDetailIndicatorType) String() string
type IndicatorDetail ¶
type IndicatorDetail struct { // 威胁情报ID Id *string `json:"id,omitempty"` // 威胁情报名称 Name string `json:"name"` DataObject *IndicatorDataObjectDetail `json:"data_object,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` DataclassRef *DataClassRefPojo `json:"dataclass_ref,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` }
IndicatorDetail 情报详情信息
func (IndicatorDetail) String ¶
func (o IndicatorDetail) String() string
type IndicatorListSearchRequest ¶
type IndicatorListSearchRequest struct { // 威胁情报ID列表 Ids *[]string `json:"ids,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` Condition *DataobjectSearchCondition `json:"condition"` // request offset, from 0 Offset int32 `json:"offset"` // request limit size Limit int32 `json:"limit"` // sort by property, create_time. SortBy *string `json:"sort_by,omitempty"` // 查询起始时间,例如:2024-01-20T00:00:00.000Z+0800 FromDate *string `json:"from_date,omitempty"` // 查询截止时间,例如:2024-01-26T23:59:59.999Z+0800 ToDate *string `json:"to_date,omitempty"` }
IndicatorListSearchRequest indicator list query request
func (IndicatorListSearchRequest) String ¶
func (o IndicatorListSearchRequest) String() string
type KeyIndex ¶ added in v0.1.68
type KeyIndex struct { // 字段类型;text 全文索引字段、keyword 结构化字段、long Long、integer Integer、double Double、float Float、date 时间字段 Type *KeyIndexType `json:"type,omitempty"` // 是否包含中文 IsChineseExist *bool `json:"is_chinese_exist,omitempty"` // 嵌套结构 Properties map[string]KeyIndex `json:"properties,omitempty"` }
type KeyIndexType ¶ added in v0.1.68
type KeyIndexType struct {
// contains filtered or unexported fields
}
func (KeyIndexType) MarshalJSON ¶ added in v0.1.68
func (c KeyIndexType) MarshalJSON() ([]byte, error)
func (*KeyIndexType) UnmarshalJSON ¶ added in v0.1.68
func (c *KeyIndexType) UnmarshalJSON(b []byte) error
func (KeyIndexType) Value ¶ added in v0.1.68
func (c KeyIndexType) Value() string
type KeyIndexTypeEnum ¶ added in v0.1.68
type KeyIndexTypeEnum struct { TEXT KeyIndexType KEYWORD KeyIndexType LONG KeyIndexType INTEGER KeyIndexType DOUBLE KeyIndexType FLOAT KeyIndexType DATE KeyIndexType }
func GetKeyIndexTypeEnum ¶ added in v0.1.68
func GetKeyIndexTypeEnum() KeyIndexTypeEnum
type ListAlertDetail ¶
type ListAlertDetail struct { // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` DataObject *ListAlertRsp `json:"data_object,omitempty"` DataclassRef *AlertDetailDataclassRef `json:"dataclass_ref,omitempty"` // 格式版本 FormatVersion *int32 `json:"format_version,omitempty"` // 告警唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据类型 Type *string `json:"type,omitempty"` // 当前项目的id ProjectId *string `json:"project_id,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 版本 Version *int32 `json:"version,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` }
func (ListAlertDetail) String ¶
func (o ListAlertDetail) String() string
type ListAlertRsp ¶
type ListAlertRsp struct { // 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 Version *string `json:"version,omitempty"` // 事件唯一标识,UUID格式,最大36个字符 Id *string `json:"id,omitempty"` // 数据投递后,被委托用户的domain_id DomainId *string `json:"domain_id,omitempty"` // 数据投递后,被委托用户的region_id RegionId *string `json:"region_id,omitempty"` // 当前的工作空间id WorkspaceId *string `json:"workspace_id,omitempty"` // 标签,仅展示 Labels *string `json:"labels,omitempty"` Environment *AlertEnvironment `json:"environment,omitempty"` DataSource *AlertDataSource `json:"data_source,omitempty"` // 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 FirstObservedTime *string `json:"first_observed_time,omitempty"` // 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 LastObservedTime *string `json:"last_observed_time,omitempty"` // 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CreateTime *string `json:"create_time,omitempty"` // 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 ArriveTime *string `json:"arrive_time,omitempty"` // 告警标题 Title *string `json:"title,omitempty"` // 告警描述信息 Description *string `json:"description,omitempty"` // 告警URL链接,指向数据源产品中有关当前事件说明的页面 SourceUrl *string `json:"source_url,omitempty"` // 事件发生次数 Count *int32 `json:"count,omitempty"` // 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% Confidence *int32 `json:"confidence,omitempty"` // 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 Severity *ListAlertRspSeverity `json:"severity,omitempty"` // 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 Criticality *int32 `json:"criticality,omitempty"` AlertType *AlertAlertType `json:"alert_type,omitempty"` // 网络信息 NetworkList *[]AlertNetworkList `json:"network_list,omitempty"` // 受影响资源 ResourceList *[]AlertResourceList `json:"resource_list,omitempty"` Remediation *AlertRemediation `json:"remediation,omitempty"` // 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown VerificationState *ListAlertRspVerificationState `json:"verification_state,omitempty"` // 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open HandleStatus *ListAlertRspHandleStatus `json:"handle_status,omitempty"` // 约束闭环时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 Sla *string `json:"sla,omitempty"` // 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 UpdateTime *string `json:"update_time,omitempty"` // 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 CloseTime *string `json:"close_time,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity IpdrrPhase *ListAlertRspIpdrrPhase `json:"ipdrr_phase,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity ChopPhase *ListAlertRspChopPhase `json:"chop_phase,omitempty"` // 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity PpdrPhase *ListAlertRspPpdrPhase `json:"ppdr_phase,omitempty"` // 调试字段 Simulation *string `json:"simulation,omitempty"` // 告警调查员 Actor *string `json:"actor,omitempty"` // 责任人、服务责任人 Owner *string `json:"owner,omitempty"` // 创建人 Creator *string `json:"creator,omitempty"` // 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other CloseReason *ListAlertRspCloseReason `json:"close_reason,omitempty"` // 关闭评论 CloseComment *string `json:"close_comment,omitempty"` Malware *ShowAlertRspMalware `json:"malware,omitempty"` // 系统信息 SystemInfo *interface{} `json:"system_info,omitempty"` // 进程信息 Process *[]AlertProcess `json:"process,omitempty"` // 用户信息 UserInfo *[]AlertUserInfo `json:"user_info,omitempty"` // 文件信息 FileInfo *[]AlertFileInfo `json:"file_info,omitempty"` // 告警管理列表的布局字段 SystemAlertTable *interface{} `json:"system_alert_table,omitempty"` }
ListAlertRsp 告警实体信息
func (ListAlertRsp) String ¶
func (o ListAlertRsp) String() string
type ListAlertRspChopPhase ¶ added in v0.1.107
type ListAlertRspChopPhase struct {
// contains filtered or unexported fields
}
func (ListAlertRspChopPhase) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspChopPhase) MarshalJSON() ([]byte, error)
func (*ListAlertRspChopPhase) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspChopPhase) UnmarshalJSON(b []byte) error
func (ListAlertRspChopPhase) Value ¶ added in v0.1.107
func (c ListAlertRspChopPhase) Value() string
type ListAlertRspChopPhaseEnum ¶ added in v0.1.107
type ListAlertRspChopPhaseEnum struct { PREPARTION ListAlertRspChopPhase DETECTION_AND_ANALYSIS ListAlertRspChopPhase CONTAINMERADICATION_RECOVERY ListAlertRspChopPhase POST_INCIDENT_ACTIVITY ListAlertRspChopPhase }
func GetListAlertRspChopPhaseEnum ¶ added in v0.1.107
func GetListAlertRspChopPhaseEnum() ListAlertRspChopPhaseEnum
type ListAlertRspCloseReason ¶ added in v0.1.107
type ListAlertRspCloseReason struct {
// contains filtered or unexported fields
}
func (ListAlertRspCloseReason) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspCloseReason) MarshalJSON() ([]byte, error)
func (*ListAlertRspCloseReason) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspCloseReason) UnmarshalJSON(b []byte) error
func (ListAlertRspCloseReason) Value ¶ added in v0.1.107
func (c ListAlertRspCloseReason) Value() string
type ListAlertRspCloseReasonEnum ¶ added in v0.1.107
type ListAlertRspCloseReasonEnum struct { FALSE_DETECTION ListAlertRspCloseReason RESOLVED ListAlertRspCloseReason REPEATED ListAlertRspCloseReason OTHER ListAlertRspCloseReason }
func GetListAlertRspCloseReasonEnum ¶ added in v0.1.107
func GetListAlertRspCloseReasonEnum() ListAlertRspCloseReasonEnum
type ListAlertRspHandleStatus ¶ added in v0.1.107
type ListAlertRspHandleStatus struct {
// contains filtered or unexported fields
}
func (ListAlertRspHandleStatus) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspHandleStatus) MarshalJSON() ([]byte, error)
func (*ListAlertRspHandleStatus) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspHandleStatus) UnmarshalJSON(b []byte) error
func (ListAlertRspHandleStatus) Value ¶ added in v0.1.107
func (c ListAlertRspHandleStatus) Value() string
type ListAlertRspHandleStatusEnum ¶ added in v0.1.107
type ListAlertRspHandleStatusEnum struct { OPEN ListAlertRspHandleStatus BLOCK ListAlertRspHandleStatus CLOSED ListAlertRspHandleStatus }
func GetListAlertRspHandleStatusEnum ¶ added in v0.1.107
func GetListAlertRspHandleStatusEnum() ListAlertRspHandleStatusEnum
type ListAlertRspIpdrrPhase ¶ added in v0.1.107
type ListAlertRspIpdrrPhase struct {
// contains filtered or unexported fields
}
func (ListAlertRspIpdrrPhase) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspIpdrrPhase) MarshalJSON() ([]byte, error)
func (*ListAlertRspIpdrrPhase) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspIpdrrPhase) UnmarshalJSON(b []byte) error
func (ListAlertRspIpdrrPhase) Value ¶ added in v0.1.107
func (c ListAlertRspIpdrrPhase) Value() string
type ListAlertRspIpdrrPhaseEnum ¶ added in v0.1.107
type ListAlertRspIpdrrPhaseEnum struct { PREPARTION ListAlertRspIpdrrPhase DETECTION_AND_ANALYSIS ListAlertRspIpdrrPhase CONTAINMERADICATION_RECOVERY ListAlertRspIpdrrPhase POST_INCIDENT_ACTIVITY ListAlertRspIpdrrPhase }
func GetListAlertRspIpdrrPhaseEnum ¶ added in v0.1.107
func GetListAlertRspIpdrrPhaseEnum() ListAlertRspIpdrrPhaseEnum
type ListAlertRspPpdrPhase ¶ added in v0.1.107
type ListAlertRspPpdrPhase struct {
// contains filtered or unexported fields
}
func (ListAlertRspPpdrPhase) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspPpdrPhase) MarshalJSON() ([]byte, error)
func (*ListAlertRspPpdrPhase) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspPpdrPhase) UnmarshalJSON(b []byte) error
func (ListAlertRspPpdrPhase) Value ¶ added in v0.1.107
func (c ListAlertRspPpdrPhase) Value() string
type ListAlertRspPpdrPhaseEnum ¶ added in v0.1.107
type ListAlertRspPpdrPhaseEnum struct { PREPARTION ListAlertRspPpdrPhase DETECTION_AND_ANALYSIS ListAlertRspPpdrPhase CONTAINMERADICATION_RECOVERY ListAlertRspPpdrPhase POST_INCIDENT_ACTIVITY ListAlertRspPpdrPhase }
func GetListAlertRspPpdrPhaseEnum ¶ added in v0.1.107
func GetListAlertRspPpdrPhaseEnum() ListAlertRspPpdrPhaseEnum
type ListAlertRspSeverity ¶ added in v0.1.107
type ListAlertRspSeverity struct {
// contains filtered or unexported fields
}
func (ListAlertRspSeverity) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspSeverity) MarshalJSON() ([]byte, error)
func (*ListAlertRspSeverity) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspSeverity) UnmarshalJSON(b []byte) error
func (ListAlertRspSeverity) Value ¶ added in v0.1.107
func (c ListAlertRspSeverity) Value() string
type ListAlertRspSeverityEnum ¶ added in v0.1.107
type ListAlertRspSeverityEnum struct { TIPS ListAlertRspSeverity LOW ListAlertRspSeverity MEDIUM ListAlertRspSeverity HIGH ListAlertRspSeverity FATAL ListAlertRspSeverity }
func GetListAlertRspSeverityEnum ¶ added in v0.1.107
func GetListAlertRspSeverityEnum() ListAlertRspSeverityEnum
type ListAlertRspVerificationState ¶ added in v0.1.107
type ListAlertRspVerificationState struct {
// contains filtered or unexported fields
}
func (ListAlertRspVerificationState) MarshalJSON ¶ added in v0.1.107
func (c ListAlertRspVerificationState) MarshalJSON() ([]byte, error)
func (*ListAlertRspVerificationState) UnmarshalJSON ¶ added in v0.1.107
func (c *ListAlertRspVerificationState) UnmarshalJSON(b []byte) error
func (ListAlertRspVerificationState) Value ¶ added in v0.1.107
func (c ListAlertRspVerificationState) Value() string
type ListAlertRspVerificationStateEnum ¶ added in v0.1.107
type ListAlertRspVerificationStateEnum struct { UNKNOWN ListAlertRspVerificationState TRUE_POSITIVE ListAlertRspVerificationState FALSE_POSITIVE ListAlertRspVerificationState }
func GetListAlertRspVerificationStateEnum ¶ added in v0.1.107
func GetListAlertRspVerificationStateEnum() ListAlertRspVerificationStateEnum
type ListAlertRuleMetricsRequest ¶
type ListAlertRuleMetricsRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` }
ListAlertRuleMetricsRequest Request Object
func (ListAlertRuleMetricsRequest) String ¶
func (o ListAlertRuleMetricsRequest) String() string
type ListAlertRuleMetricsResponse ¶
type ListAlertRuleMetricsResponse struct { // 指标类型,分组数量。Metric category. GROUP_COUNT. Category *ListAlertRuleMetricsResponseCategory `json:"category,omitempty"` // 指标值。Metric value. Metric map[string]float32 `json:"metric,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListAlertRuleMetricsResponse Response Object
func (ListAlertRuleMetricsResponse) String ¶
func (o ListAlertRuleMetricsResponse) String() string
type ListAlertRuleMetricsResponseCategory ¶ added in v0.1.64
type ListAlertRuleMetricsResponseCategory struct {
// contains filtered or unexported fields
}
func (ListAlertRuleMetricsResponseCategory) MarshalJSON ¶ added in v0.1.64
func (c ListAlertRuleMetricsResponseCategory) MarshalJSON() ([]byte, error)
func (*ListAlertRuleMetricsResponseCategory) UnmarshalJSON ¶ added in v0.1.64
func (c *ListAlertRuleMetricsResponseCategory) UnmarshalJSON(b []byte) error
func (ListAlertRuleMetricsResponseCategory) Value ¶ added in v0.1.64
func (c ListAlertRuleMetricsResponseCategory) Value() string
type ListAlertRuleMetricsResponseCategoryEnum ¶ added in v0.1.64
type ListAlertRuleMetricsResponseCategoryEnum struct {
GROUP_COUNT ListAlertRuleMetricsResponseCategory
}
func GetListAlertRuleMetricsResponseCategoryEnum ¶ added in v0.1.64
func GetListAlertRuleMetricsResponseCategoryEnum() ListAlertRuleMetricsResponseCategoryEnum
type ListAlertRuleTemplatesRequest ¶
type ListAlertRuleTemplatesRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` // 偏移量。Offset. Offset int64 `json:"offset"` // 条数。Limit. Limit int64 `json:"limit"` // 排序字段。Sort key SortKey *string `json:"sort_key,omitempty"` // 排序顺序,顺序、逆序。Sort direction, asc, desc。 SortDir *ListAlertRuleTemplatesRequestSortDir `json:"sort_dir,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *[]ListAlertRuleTemplatesRequestSeverity `json:"severity,omitempty"` }
ListAlertRuleTemplatesRequest Request Object
func (ListAlertRuleTemplatesRequest) String ¶
func (o ListAlertRuleTemplatesRequest) String() string
type ListAlertRuleTemplatesRequestSeverity ¶
type ListAlertRuleTemplatesRequestSeverity struct {
// contains filtered or unexported fields
}
func (ListAlertRuleTemplatesRequestSeverity) MarshalJSON ¶
func (c ListAlertRuleTemplatesRequestSeverity) MarshalJSON() ([]byte, error)
func (*ListAlertRuleTemplatesRequestSeverity) UnmarshalJSON ¶
func (c *ListAlertRuleTemplatesRequestSeverity) UnmarshalJSON(b []byte) error
func (ListAlertRuleTemplatesRequestSeverity) Value ¶
func (c ListAlertRuleTemplatesRequestSeverity) Value() string
type ListAlertRuleTemplatesRequestSeverityEnum ¶
type ListAlertRuleTemplatesRequestSeverityEnum struct { TIPS ListAlertRuleTemplatesRequestSeverity LOW ListAlertRuleTemplatesRequestSeverity MEDIUM ListAlertRuleTemplatesRequestSeverity HIGH ListAlertRuleTemplatesRequestSeverity FATAL ListAlertRuleTemplatesRequestSeverity }
func GetListAlertRuleTemplatesRequestSeverityEnum ¶
func GetListAlertRuleTemplatesRequestSeverityEnum() ListAlertRuleTemplatesRequestSeverityEnum
type ListAlertRuleTemplatesRequestSortDir ¶
type ListAlertRuleTemplatesRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListAlertRuleTemplatesRequestSortDir) MarshalJSON ¶
func (c ListAlertRuleTemplatesRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListAlertRuleTemplatesRequestSortDir) UnmarshalJSON ¶
func (c *ListAlertRuleTemplatesRequestSortDir) UnmarshalJSON(b []byte) error
func (ListAlertRuleTemplatesRequestSortDir) Value ¶
func (c ListAlertRuleTemplatesRequestSortDir) Value() string
type ListAlertRuleTemplatesRequestSortDirEnum ¶
type ListAlertRuleTemplatesRequestSortDirEnum struct { ASC ListAlertRuleTemplatesRequestSortDir DESC ListAlertRuleTemplatesRequestSortDir }
func GetListAlertRuleTemplatesRequestSortDirEnum ¶
func GetListAlertRuleTemplatesRequestSortDirEnum() ListAlertRuleTemplatesRequestSortDirEnum
type ListAlertRuleTemplatesResponse ¶
type ListAlertRuleTemplatesResponse struct { // 总数量。Total count. Count *int64 `json:"count,omitempty"` // 告警规则模板。Alert rule templates. Records *[]AlertRuleTemplate `json:"records,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListAlertRuleTemplatesResponse Response Object
func (ListAlertRuleTemplatesResponse) String ¶
func (o ListAlertRuleTemplatesResponse) String() string
type ListAlertRulesRequest ¶
type ListAlertRulesRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` // 偏移量。Offset. Offset int64 `json:"offset"` // 条数。Limit. Limit int64 `json:"limit"` // 排序字段。Sort key SortKey *string `json:"sort_key,omitempty"` // 排序顺序,顺序、逆序。Sort direction, asc, desc。 SortDir *ListAlertRulesRequestSortDir `json:"sort_dir,omitempty"` // 数据管道 ID。Pipe ID. PipeId *string `json:"pipe_id,omitempty"` // 告警规则名称。Alert rule name. RuleName *string `json:"rule_name,omitempty"` // 告警规则 ID。Alert rule ID. RuleId *string `json:"rule_id,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *[]ListAlertRulesRequestStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *[]ListAlertRulesRequestSeverity `json:"severity,omitempty"` }
ListAlertRulesRequest Request Object
func (ListAlertRulesRequest) String ¶
func (o ListAlertRulesRequest) String() string
type ListAlertRulesRequestSeverity ¶
type ListAlertRulesRequestSeverity struct {
// contains filtered or unexported fields
}
func (ListAlertRulesRequestSeverity) MarshalJSON ¶
func (c ListAlertRulesRequestSeverity) MarshalJSON() ([]byte, error)
func (*ListAlertRulesRequestSeverity) UnmarshalJSON ¶
func (c *ListAlertRulesRequestSeverity) UnmarshalJSON(b []byte) error
func (ListAlertRulesRequestSeverity) Value ¶
func (c ListAlertRulesRequestSeverity) Value() string
type ListAlertRulesRequestSeverityEnum ¶
type ListAlertRulesRequestSeverityEnum struct { TIPS ListAlertRulesRequestSeverity LOW ListAlertRulesRequestSeverity MEDIUM ListAlertRulesRequestSeverity HIGH ListAlertRulesRequestSeverity FATAL ListAlertRulesRequestSeverity }
func GetListAlertRulesRequestSeverityEnum ¶
func GetListAlertRulesRequestSeverityEnum() ListAlertRulesRequestSeverityEnum
type ListAlertRulesRequestSortDir ¶
type ListAlertRulesRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListAlertRulesRequestSortDir) MarshalJSON ¶
func (c ListAlertRulesRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListAlertRulesRequestSortDir) UnmarshalJSON ¶
func (c *ListAlertRulesRequestSortDir) UnmarshalJSON(b []byte) error
func (ListAlertRulesRequestSortDir) Value ¶
func (c ListAlertRulesRequestSortDir) Value() string
type ListAlertRulesRequestSortDirEnum ¶
type ListAlertRulesRequestSortDirEnum struct { ASC ListAlertRulesRequestSortDir DESC ListAlertRulesRequestSortDir }
func GetListAlertRulesRequestSortDirEnum ¶
func GetListAlertRulesRequestSortDirEnum() ListAlertRulesRequestSortDirEnum
type ListAlertRulesRequestStatus ¶
type ListAlertRulesRequestStatus struct {
// contains filtered or unexported fields
}
func (ListAlertRulesRequestStatus) MarshalJSON ¶
func (c ListAlertRulesRequestStatus) MarshalJSON() ([]byte, error)
func (*ListAlertRulesRequestStatus) UnmarshalJSON ¶
func (c *ListAlertRulesRequestStatus) UnmarshalJSON(b []byte) error
func (ListAlertRulesRequestStatus) Value ¶
func (c ListAlertRulesRequestStatus) Value() string
type ListAlertRulesRequestStatusEnum ¶
type ListAlertRulesRequestStatusEnum struct { ENABLED ListAlertRulesRequestStatus DISABLED ListAlertRulesRequestStatus }
func GetListAlertRulesRequestStatusEnum ¶
func GetListAlertRulesRequestStatusEnum() ListAlertRulesRequestStatusEnum
type ListAlertRulesResponse ¶
type ListAlertRulesResponse struct { // 总数量。Total count. Count *int64 `json:"count,omitempty"` // 告警模型。Alert rules. Records *[]AlertRule `json:"records,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListAlertRulesResponse Response Object
func (ListAlertRulesResponse) String ¶
func (o ListAlertRulesResponse) String() string
type ListAlertsRequest ¶
type ListAlertsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *DataobjectSearch `json:"body,omitempty"` }
ListAlertsRequest Request Object
func (ListAlertsRequest) String ¶
func (o ListAlertsRequest) String() string
type ListAlertsResponse ¶
type ListAlertsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 告警总数 Total *int32 `json:"total,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` // 告警列表 Data *[]ListAlertDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListAlertsResponse Response Object
func (ListAlertsResponse) String ¶
func (o ListAlertsResponse) String() string
type ListDataclassFieldsRequest ¶ added in v0.1.68
type ListDataclassFieldsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 数据量 Limit *int32 `json:"limit,omitempty"` // 名称查询 Name *string `json:"name,omitempty"` // 是否内置 IsBuiltIn *bool `json:"is_built_in,omitempty"` // 数据类id DataclassId string `json:"dataclass_id"` // 字段分类 FieldCategory *string `json:"field_category,omitempty"` // 是否展示在分类映射外的其他地方 Mapping *bool `json:"mapping,omitempty"` }
ListDataclassFieldsRequest Request Object
func (ListDataclassFieldsRequest) String ¶ added in v0.1.68
func (o ListDataclassFieldsRequest) String() string
type ListDataclassFieldsResponse ¶ added in v0.1.68
type ListDataclassFieldsResponse struct { // list of informations of field FieldDetails *[]FieldResponseBody `json:"field_details,omitempty"` // 数据总量 Total float32 `json:"total,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListDataclassFieldsResponse Response Object
func (ListDataclassFieldsResponse) String ¶ added in v0.1.68
func (o ListDataclassFieldsResponse) String() string
type ListDataclassRequest ¶ added in v0.1.68
type ListDataclassRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 数据量 Limit *int32 `json:"limit,omitempty"` // 名称查询 Name *string `json:"name,omitempty"` // 业务编码 BusinessCode *string `json:"business_code,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否内置 IsBuiltIn *bool `json:"is_built_in,omitempty"` }
ListDataclassRequest Request Object
func (ListDataclassRequest) String ¶ added in v0.1.68
func (o ListDataclassRequest) String() string
type ListDataclassResponse ¶ added in v0.1.68
type ListDataclassResponse struct { // 数据类详情 DataclassDetails *[]DataClassResponseBody `json:"dataclass_details,omitempty"` // 数据总量 Total float32 `json:"total,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListDataclassResponse Response Object
func (ListDataclassResponse) String ¶ added in v0.1.68
func (o ListDataclassResponse) String() string
type ListDataobjectRelationsRequest ¶ added in v0.1.64
type ListDataobjectRelationsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 关联主体dataobject所属数据类,小写复数,如告警为alerts,事件为incidents DataclassType string `json:"dataclass_type"` // 关联主体dataobject的id DataObjectId string `json:"data_object_id"` // 被关联的dataobject所属数据类,小写复数,如告警为alerts,事件为incidents RelatedDataclassType string `json:"related_dataclass_type"` Body *DataobjectSearch `json:"body,omitempty"` }
ListDataobjectRelationsRequest Request Object
func (ListDataobjectRelationsRequest) String ¶ added in v0.1.64
func (o ListDataobjectRelationsRequest) String() string
type ListDataobjectRelationsResponse ¶ added in v0.1.64
type ListDataobjectRelationsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 告警总数 Total *int32 `json:"total,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` // 告警列表 Data *[]DataObjectDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListDataobjectRelationsResponse Response Object
func (ListDataobjectRelationsResponse) String ¶ added in v0.1.64
func (o ListDataobjectRelationsResponse) String() string
type ListIncidentsRequest ¶
type ListIncidentsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` Body *DataobjectSearch `json:"body,omitempty"` }
ListIncidentsRequest Request Object
func (ListIncidentsRequest) String ¶
func (o ListIncidentsRequest) String() string
type ListIncidentsResponse ¶
type ListIncidentsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 事件总数 Total *int32 `json:"total,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` // 事件列表 Data *[]IncidentDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListIncidentsResponse Response Object
func (ListIncidentsResponse) String ¶
func (o ListIncidentsResponse) String() string
type ListIndicatorsRequest ¶
type ListIndicatorsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *IndicatorListSearchRequest `json:"body,omitempty"` }
ListIndicatorsRequest Request Object
func (ListIndicatorsRequest) String ¶
func (o ListIndicatorsRequest) String() string
type ListIndicatorsResponse ¶
type ListIndicatorsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 指标列表数据 Data *[]IndicatorDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListIndicatorsResponse Response Object
func (ListIndicatorsResponse) String ¶
func (o ListIndicatorsResponse) String() string
type ListPlaybookActionsRequest ¶
type ListPlaybookActionsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // 分页查询参数,用于指定一次查询最多的结果数,从1开始 Limit int32 `json:"limit"` // 分页查询参数。用于指定查询结果的起始位置,从0开始 Offset int32 `json:"offset"` }
ListPlaybookActionsRequest Request Object
func (ListPlaybookActionsRequest) String ¶
func (o ListPlaybookActionsRequest) String() string
type ListPlaybookActionsResponse ¶
type ListPlaybookActionsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 分页大小 Size *int32 `json:"size,omitempty"` // 当前页数 Page *int32 `json:"page,omitempty"` // 剧本动作列表信息 Data *[]ActionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybookActionsResponse Response Object
func (ListPlaybookActionsResponse) String ¶
func (o ListPlaybookActionsResponse) String() string
type ListPlaybookApprovesRequest ¶
type ListPlaybookApprovesRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 资源ID ResourceId *string `json:"resource_id,omitempty"` // 审核类型。(PLAYBOOK-剧本, AOP_WORKFLOW--流程) ApproveType *string `json:"approve_type,omitempty"` }
ListPlaybookApprovesRequest Request Object
func (ListPlaybookApprovesRequest) String ¶
func (o ListPlaybookApprovesRequest) String() string
type ListPlaybookApprovesResponse ¶
type ListPlaybookApprovesResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 剧本审核详情 Data *[]ApproveOpinionDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybookApprovesResponse Response Object
func (ListPlaybookApprovesResponse) String ¶
func (o ListPlaybookApprovesResponse) String() string
type ListPlaybookAuditLogsRequest ¶
type ListPlaybookAuditLogsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // offset Offset int64 `json:"offset"` // limit Limit int64 `json:"limit"` // sort_key SortKey *string `json:"sort_key,omitempty"` // sort_dir. asc, desc SortDir *ListPlaybookAuditLogsRequestSortDir `json:"sort_dir,omitempty"` Body *AuditLogInfo `json:"body,omitempty"` }
ListPlaybookAuditLogsRequest Request Object
func (ListPlaybookAuditLogsRequest) String ¶
func (o ListPlaybookAuditLogsRequest) String() string
type ListPlaybookAuditLogsRequestSortDir ¶
type ListPlaybookAuditLogsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListPlaybookAuditLogsRequestSortDir) MarshalJSON ¶
func (c ListPlaybookAuditLogsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListPlaybookAuditLogsRequestSortDir) UnmarshalJSON ¶
func (c *ListPlaybookAuditLogsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListPlaybookAuditLogsRequestSortDir) Value ¶
func (c ListPlaybookAuditLogsRequestSortDir) Value() string
type ListPlaybookAuditLogsRequestSortDirEnum ¶
type ListPlaybookAuditLogsRequestSortDirEnum struct { ASC ListPlaybookAuditLogsRequestSortDir DESC ListPlaybookAuditLogsRequestSortDir }
func GetListPlaybookAuditLogsRequestSortDirEnum ¶
func GetListPlaybookAuditLogsRequestSortDirEnum() ListPlaybookAuditLogsRequestSortDirEnum
type ListPlaybookAuditLogsResponse ¶
type ListPlaybookAuditLogsResponse struct { // 总条数 Count *int32 `json:"count,omitempty"` // 审计日志列表信息 AuditLogs *[]AuditLogInfo `json:"audit_logs,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybookAuditLogsResponse Response Object
func (ListPlaybookAuditLogsResponse) String ¶
func (o ListPlaybookAuditLogsResponse) String() string
type ListPlaybookInstancesRequest ¶
type ListPlaybookInstancesRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本实例状态. (RUNNING--运行中、FINISHED--成功、FAILED--失败、RETRYING--重试中、TERMINATING--终止中、TERMINATED--已终止) Status *string `json:"status,omitempty"` // 实例名称 Name *string `json:"name,omitempty"` // 剧本名称 PlaybookName *string `json:"playbook_name,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 数据对象名称 DataobjectName *string `json:"dataobject_name,omitempty"` // 触发类型. TIMER--定时触发, EVENT--事件触发 TriggerType *string `json:"trigger_type,omitempty"` // 查询起始时间 FromDate *string `json:"from_date,omitempty"` // 查询结束时间 ToDate *string `json:"to_date,omitempty"` // 分页查询参数,用于指定一次查询最多的结果数,从1开始 Limit int32 `json:"limit"` // 分页查询参数。用于指定查询结果的起始位置,从0开始 Offset int32 `json:"offset"` }
ListPlaybookInstancesRequest Request Object
func (ListPlaybookInstancesRequest) String ¶
func (o ListPlaybookInstancesRequest) String() string
type ListPlaybookInstancesResponse ¶
type ListPlaybookInstancesResponse struct { // 总数 Count *int32 `json:"count,omitempty"` // 剧本实例列表信息 Instances *[]PlaybookInstanceInfo `json:"instances,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybookInstancesResponse Response Object
func (ListPlaybookInstancesResponse) String ¶
func (o ListPlaybookInstancesResponse) String() string
type ListPlaybookVersionsRequest ¶
type ListPlaybookVersionsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本ID PlaybookId string `json:"playbook_id"` // 剧本版本状态,编辑中:EDITING 审核中:APPROVING 不通过:UNPASSED 已发布:PUBLISHED Status *string `json:"status,omitempty"` // 启用/禁用 Enabled *int32 `json:"enabled,omitempty"` // 版本类型, 草稿版本:0 正式版本:1 VersionType *int32 `json:"version_type,omitempty"` // 分页查询参数。用于指定查询结果的起始位置,从0开始 Offset *int32 `json:"offset,omitempty"` // 分页查询参数,用于指定一次查询最多的结果数,从1开始 Limit *int32 `json:"limit,omitempty"` }
ListPlaybookVersionsRequest Request Object
func (ListPlaybookVersionsRequest) String ¶
func (o ListPlaybookVersionsRequest) String() string
type ListPlaybookVersionsResponse ¶
type ListPlaybookVersionsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` // 分页查询数据大小 Size *int32 `json:"size,omitempty"` // 当前页码 Page *int32 `json:"page,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 剧本版本列表信息 Data *[]PlaybookVersionListEntity `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybookVersionsResponse Response Object
func (ListPlaybookVersionsResponse) String ¶
func (o ListPlaybookVersionsResponse) String() string
type ListPlaybooksRequest ¶
type ListPlaybooksRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 搜索关键字 SearchTxt *string `json:"search_txt,omitempty"` // 是否启用 Enabled *bool `json:"enabled,omitempty"` // 分页查询参数。用于指定查询结果的起始位置,从0开始 Offset int32 `json:"offset"` // 分页查询参数,用于指定一次查询最多的结果数,从1开始 Limit int32 `json:"limit"` // 剧本描述 Description *string `json:"description,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 剧本名称 Name *string `json:"name,omitempty"` }
ListPlaybooksRequest Request Object
func (ListPlaybooksRequest) String ¶
func (o ListPlaybooksRequest) String() string
type ListPlaybooksResponse ¶
type ListPlaybooksResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 响应消息信息 Message *string `json:"message,omitempty"` // 总条数 Total *int32 `json:"total,omitempty"` // 分页查询数据大小 Size *int32 `json:"size,omitempty"` // 当前页码 Page *int32 `json:"page,omitempty"` // 剧本列表信息 Data *[]PlaybookInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListPlaybooksResponse Response Object
func (ListPlaybooksResponse) String ¶
func (o ListPlaybooksResponse) String() string
type ListWorkflowsRequest ¶ added in v0.1.68
type ListWorkflowsRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 数据量 Limit *int32 `json:"limit,omitempty"` // 排序顺序,asc:升序,desc:降序 Order *ListWorkflowsRequestOrder `json:"order,omitempty"` // 排序字段,create_time:创建时间,category:类型分类名称 Sortby *ListWorkflowsRequestSortby `json:"sortby,omitempty"` // 是否启用 Enabled *bool `json:"enabled,omitempty"` // 最新版本号 LastVersion *bool `json:"last_version,omitempty"` // 流程名称 Name *string `json:"name,omitempty"` // 流程描述 Description *string `json:"description,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 流程类型 AopType *string `json:"aop_type,omitempty"` }
ListWorkflowsRequest Request Object
func (ListWorkflowsRequest) String ¶ added in v0.1.68
func (o ListWorkflowsRequest) String() string
type ListWorkflowsRequestOrder ¶ added in v0.1.68
type ListWorkflowsRequestOrder struct {
// contains filtered or unexported fields
}
func (ListWorkflowsRequestOrder) MarshalJSON ¶ added in v0.1.68
func (c ListWorkflowsRequestOrder) MarshalJSON() ([]byte, error)
func (*ListWorkflowsRequestOrder) UnmarshalJSON ¶ added in v0.1.68
func (c *ListWorkflowsRequestOrder) UnmarshalJSON(b []byte) error
func (ListWorkflowsRequestOrder) Value ¶ added in v0.1.68
func (c ListWorkflowsRequestOrder) Value() string
type ListWorkflowsRequestOrderEnum ¶ added in v0.1.68
type ListWorkflowsRequestOrderEnum struct { ASC ListWorkflowsRequestOrder DESC ListWorkflowsRequestOrder }
func GetListWorkflowsRequestOrderEnum ¶ added in v0.1.68
func GetListWorkflowsRequestOrderEnum() ListWorkflowsRequestOrderEnum
type ListWorkflowsRequestSortby ¶ added in v0.1.68
type ListWorkflowsRequestSortby struct {
// contains filtered or unexported fields
}
func (ListWorkflowsRequestSortby) MarshalJSON ¶ added in v0.1.68
func (c ListWorkflowsRequestSortby) MarshalJSON() ([]byte, error)
func (*ListWorkflowsRequestSortby) UnmarshalJSON ¶ added in v0.1.68
func (c *ListWorkflowsRequestSortby) UnmarshalJSON(b []byte) error
func (ListWorkflowsRequestSortby) Value ¶ added in v0.1.68
func (c ListWorkflowsRequestSortby) Value() string
type ListWorkflowsRequestSortbyEnum ¶ added in v0.1.68
type ListWorkflowsRequestSortbyEnum struct { CATEGORY ListWorkflowsRequestSortby CREATE_TIME ListWorkflowsRequestSortby }
func GetListWorkflowsRequestSortbyEnum ¶ added in v0.1.68
func GetListWorkflowsRequestSortbyEnum() ListWorkflowsRequestSortbyEnum
type ListWorkflowsResponse ¶ added in v0.1.68
type ListWorkflowsResponse struct { // 返回码 Code *string `json:"code,omitempty"` // 数据总条数 Total *int32 `json:"total,omitempty"` // 当前页大小 Offset *int32 `json:"offset,omitempty"` // 当前页码 Limit *int32 `json:"limit,omitempty"` // 请求ID Message *string `json:"message,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` // 流程信息列表 Data *[]AopWorkflowInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkflowsResponse Response Object
func (ListWorkflowsResponse) String ¶ added in v0.1.68
func (o ListWorkflowsResponse) String() string
type ListWorkspacesRequest ¶ added in v0.1.107
type ListWorkspacesRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 偏移量 指定返回记录的开始位置,必须为数字,取值范围为大于或等于0, Offset float32 `json:"offset"` // 每页显示个数 Limit float32 `json:"limit"` // 区域id RegionId *string `json:"region_id,omitempty"` // 名称查询 Name *string `json:"name,omitempty"` // 描述查询 Description *string `json:"description,omitempty"` // 视图绑定的空间id ViewBindId *string `json:"view_bind_id,omitempty"` // 视图绑定的空间名称 ViewBindName *string `json:"view_bind_name,omitempty"` // 创建时间开始,例如2024-04-26T16:08:09Z+0800 CreateTimeStart *string `json:"create_time_start,omitempty"` // 创建时间结束,例如2024-04-2T16:08:09Z+0800 CreateTimeEnd *string `json:"create_time_end,omitempty"` // 是否查询视图 true or false IsView *bool `json:"is_view,omitempty"` // 工作空间id数组,英文逗号分隔 Ids *string `json:"ids,omitempty"` // 普通项目的项目id NormalProjectId *string `json:"normal_project_id,omitempty"` // 企业项目的项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListWorkspacesRequest Request Object
func (ListWorkspacesRequest) String ¶ added in v0.1.107
func (o ListWorkspacesRequest) String() string
type ListWorkspacesResponse ¶ added in v0.1.107
type ListWorkspacesResponse struct { // 空间信息 Workspaces *[]CreateWorkspaceResponseBody `json:"workspaces,omitempty"` // 数据总量 Count float32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkspacesResponse Response Object
func (ListWorkspacesResponse) String ¶ added in v0.1.107
func (o ListWorkspacesResponse) String() string
type MetricFormat ¶ added in v0.1.107
type MetricFormat struct { // 数据格式 Data *string `json:"data,omitempty"` // 显示格式 Display *string `json:"display,omitempty"` // 显示参数 DisplayParam map[string]string `json:"display_param,omitempty"` // 数据参数 DataParam map[string]string `json:"data_param,omitempty"` }
func (MetricFormat) String ¶ added in v0.1.107
func (o MetricFormat) String() string
type ModifyActionInfo ¶
type ModifyActionInfo struct { // 名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 类型,默认AOP_WORKFLOW. ActionType *string `json:"action_type,omitempty"` // 剧本动作ID ActionId *string `json:"action_id,omitempty"` // 排序方式 SortOrder *string `json:"sort_order,omitempty"` }
ModifyActionInfo Action info
func (ModifyActionInfo) String ¶
func (o ModifyActionInfo) String() string
type ModifyPlaybookInfo ¶
type ModifyPlaybookInfo struct { // 剧本名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否启用 Enabled *bool `json:"enabled,omitempty"` // 启用的剧本版本ID ActiveVersionId *string `json:"active_version_id,omitempty"` }
ModifyPlaybookInfo Information of playbook
func (ModifyPlaybookInfo) String ¶
func (o ModifyPlaybookInfo) String() string
type ModifyPlaybookVersionInfo ¶
type ModifyPlaybookVersionInfo struct { // 描述 Description *string `json:"description,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 剧本ID PlaybookId *string `json:"playbook_id,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 是否启用触发条件过滤器 RuleEnable *bool `json:"rule_enable,omitempty"` // 是否激活。(false:未激活, true:已激活) Enabled *bool `json:"enabled,omitempty"` // 状态(APPROVING:审核中,EDITING-编辑中,UNPASSED-审核未通过,PUBLISHED-已发布) Status *string `json:"status,omitempty"` // 规则ID RuleId *string `json:"rule_id,omitempty"` // 触发方式. EVENT--事件触发, TIMER--定时触发 TriggerType *string `json:"trigger_type,omitempty"` // 数据对象是否创建时触发剧本 DataobjectCreate *bool `json:"dataobject_create,omitempty"` // 数据对象是否更新时触发剧本 DataobjectUpdate *bool `json:"dataobject_update,omitempty"` // 数据对象是否删除时触发剧本 DataobjectDelete *bool `json:"dataobject_delete,omitempty"` // 执行策略. 目前仅支持异步并发执行,对应值为ASYNC ActionStrategy *string `json:"action_strategy,omitempty"` }
ModifyPlaybookVersionInfo 剧本版本信息
func (ModifyPlaybookVersionInfo) String ¶
func (o ModifyPlaybookVersionInfo) String() string
type ModifyRuleInfo ¶
type ModifyRuleInfo struct {
Rule *ConditionInfo `json:"rule,omitempty"`
}
ModifyRuleInfo Information of rule
func (ModifyRuleInfo) String ¶
func (o ModifyRuleInfo) String() string
type OperationPlaybookInfo ¶
type OperationPlaybookInfo struct { // 操作类型。重试: RETRY 终止: TERMINATE Operation *string `json:"operation,omitempty"` }
OperationPlaybookInfo 操作剧本实例请求参数
func (OperationPlaybookInfo) String ¶
func (o OperationPlaybookInfo) String() string
type OrderAlert ¶
type OrderAlert struct { // 转事件的告警id列表 Ids *[]string `json:"ids,omitempty"` IncidentContent *OrderAlertIncidentContent `json:"incident_content,omitempty"` }
OrderAlert 告警批量转事件body体
func (OrderAlert) String ¶
func (o OrderAlert) String() string
type OrderAlertIncidentContent ¶
type OrderAlertIncidentContent struct { // 事件名称 Title *string `json:"title,omitempty"` IncidentType *OrderAlertIncidentContentIncidentType `json:"incident_type,omitempty"` }
OrderAlertIncidentContent 事件内容
func (OrderAlertIncidentContent) String ¶
func (o OrderAlertIncidentContent) String() string
type OrderAlertIncidentContentIncidentType ¶
type OrderAlertIncidentContentIncidentType struct { // 事件类型id Id *string `json:"id,omitempty"` // 事件类型父类 Category *string `json:"category,omitempty"` // 事件类型子类 IncidentType *string `json:"incident_type,omitempty"` }
OrderAlertIncidentContentIncidentType 事件类型
func (OrderAlertIncidentContentIncidentType) String ¶
func (o OrderAlertIncidentContentIncidentType) String() string
type PlaybookInfo ¶
type PlaybookInfo struct { // 剧本ID Id *string `json:"id,omitempty"` // 剧本名称 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 剧本创建时间 CreateTime *string `json:"create_time,omitempty"` // 剧本更新时间 UpdateTime *string `json:"update_time,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 剧本版本ID VersionId *string `json:"version_id,omitempty"` // 是否启用 Enabled *bool `json:"enabled,omitempty"` // 工作空间ID WorkspaceId *string `json:"workspace_id,omitempty"` // 审核用户角色 ApproveRole *string `json:"approve_role,omitempty"` // 用户角色 UserRole *string `json:"user_role,omitempty"` // 编辑用户角色 EditRole *string `json:"edit_role,omitempty"` // 所有者ID OwnerId *string `json:"owner_id,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 待审核剧本版本ID UnauditedVersionId *string `json:"unaudited_version_id,omitempty"` // 已驳回剧本版本ID RejectVersionId *string `json:"reject_version_id,omitempty"` }
PlaybookInfo 剧本详情信息
func (PlaybookInfo) String ¶
func (o PlaybookInfo) String() string
type PlaybookInfoRef ¶
type PlaybookInfoRef struct { // 剧本ID Id *string `json:"id,omitempty"` // 剧本版本ID VersionId *string `json:"version_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 版本 Version *string `json:"version,omitempty"` }
PlaybookInfoRef 剧本信息
func (PlaybookInfoRef) String ¶
func (o PlaybookInfoRef) String() string
type PlaybookInstanceInfo ¶
type PlaybookInstanceInfo struct { // 剧本实例ID Id *string `json:"id,omitempty"` // 剧本实例名称 Name *string `json:"name,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` Playbook *PlaybookInfoRef `json:"playbook,omitempty"` Dataclass *DataclassInfoRef `json:"dataclass,omitempty"` Dataobject *DataobjectInfo `json:"dataobject,omitempty"` // 剧本实例状态. (RUNNING--运行中、FINISHED--成功、FAILED--失败、RETRYING--重试中、TERMINATING--终止中、TERMINATED--已终止) Status *string `json:"status,omitempty"` // 触发类型. TIMER--定时触发, EVENT--事件触发 TriggerType *string `json:"trigger_type,omitempty"` // 创建时间 StartTime *string `json:"start_time,omitempty"` // 更新时间 EndTime *string `json:"end_time,omitempty"` }
PlaybookInstanceInfo Response of listing playbook instance informations
func (PlaybookInstanceInfo) String ¶
func (o PlaybookInstanceInfo) String() string
type PlaybookInstanceMonitorDetail ¶
type PlaybookInstanceMonitorDetail struct { // 运行总次数 TotalInstanceRunNum *int32 `json:"total_instance_run_num,omitempty"` // 定时触发执行次数 ScheduleInstanceRunNum *int32 `json:"schedule_instance_run_num,omitempty"` // 时间触发执行次数 EventInstanceRunNum *int32 `json:"event_instance_run_num,omitempty"` // 平均运行时间 AverageRunTime float32 `json:"average_run_time,omitempty"` MinRunTimeInstance *PlaybookInstanceRunStatistics `json:"min_run_time_instance,omitempty"` MaxRunTimeInstance *PlaybookInstanceRunStatistics `json:"max_run_time_instance,omitempty"` // 剧本实例总数 TotalInstanceNum *int32 `json:"total_instance_num,omitempty"` // 运行成功实例数量 SuccessInstanceNum *int32 `json:"success_instance_num,omitempty"` // 运行失败实例数量 FailInstanceNum *int32 `json:"fail_instance_num,omitempty"` // 运行终止实例数量 TerminateInstanceNum *int32 `json:"terminate_instance_num,omitempty"` // 运行中实例数量 RunningInstanceNum *int32 `json:"running_instance_num,omitempty"` }
PlaybookInstanceMonitorDetail 剧本运行监控详情
func (PlaybookInstanceMonitorDetail) String ¶
func (o PlaybookInstanceMonitorDetail) String() string
type PlaybookInstanceRunStatistics ¶
type PlaybookInstanceRunStatistics struct { // 剧本实例ID PlaybookInstanceId *string `json:"playbook_instance_id,omitempty"` // 剧本实例名称 PlaybookInstanceName *string `json:"playbook_instance_name,omitempty"` // 剧本实例运行时间 PlaybookInstanceRunTime float32 `json:"playbook_instance_run_time,omitempty"` }
PlaybookInstanceRunStatistics 剧本实例运行数据
func (PlaybookInstanceRunStatistics) String ¶
func (o PlaybookInstanceRunStatistics) String() string
type PlaybookStatisticDetail ¶
type PlaybookStatisticDetail struct { // 未审核剧本数量 UnapprovedNum *int32 `json:"unapproved_num,omitempty"` // 未启用剧本数量 DisabledNum *int32 `json:"disabled_num,omitempty"` // 已启用剧本数量 EnabledNum *int32 `json:"enabled_num,omitempty"` }
PlaybookStatisticDetail 剧本状态统计信息
func (PlaybookStatisticDetail) String ¶
func (o PlaybookStatisticDetail) String() string
type PlaybookVersionInfo ¶
type PlaybookVersionInfo struct { // 剧本版本ID Id *string `json:"id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 创建者ID CreatorId *string `json:"creator_id,omitempty"` // 修改者ID ModifierId *string `json:"modifier_id,omitempty"` // 剧本ID PlaybookId *string `json:"playbook_id,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 是否启用。(true--已启用,false-未启用) Enabled *bool `json:"enabled,omitempty"` // 剧本版本状态,编辑中:EDITING 审核中:APPROVING 不通过:UNPASSED 已发布:PUBLISHED Status *string `json:"status,omitempty"` // 执行策略. 目前仅支持异步并发执行,对应值为ASYNC ActionStrategy *string `json:"action_strategy,omitempty"` // 剧本关联流程列表信息 Actions *[]ActionInfo `json:"actions,omitempty"` // 是否启用触发条件过滤器 RuleEnable *bool `json:"rule_enable,omitempty"` Rules *RuleInfo `json:"rules,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 剧本触发方式(EVENT--事件触发,TIMER--定时触发) TriggerType *string `json:"trigger_type,omitempty"` // 标识数据对象是否创建时触发剧本 DataobjectCreate *bool `json:"dataobject_create,omitempty"` // 标识数据对象是否更新时触发剧本 DataobjectUpdate *bool `json:"dataobject_update,omitempty"` // 标识数据对象是否删除时触发剧本 DataobjectDelete *bool `json:"dataobject_delete,omitempty"` // 版本类型(0--草稿版本,1--正式版本) VersionType *int32 `json:"version_type,omitempty"` // 过滤规则ID RuleId *string `json:"rule_id,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 审核者 ApproveName *string `json:"approve_name,omitempty"` }
PlaybookVersionInfo 剧本版本详情信息
func (PlaybookVersionInfo) String ¶
func (o PlaybookVersionInfo) String() string
type PlaybookVersionListEntity ¶
type PlaybookVersionListEntity struct { // 剧本版本ID Id *string `json:"id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 创建者ID CreatorId *string `json:"creator_id,omitempty"` // 修改者ID ModifierId *string `json:"modifier_id,omitempty"` // 剧本ID PlaybookId *string `json:"playbook_id,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 是否激活 Enabled *bool `json:"enabled,omitempty"` // 状态. (EDITING--编辑中, APPROVING--审核中, UNPASSED--审核不通过, PUBLISHED--审核通过) Status *string `json:"status,omitempty"` // 执行策略. 目前仅支持异步并发执行,对应值为ASYNC ActionStrategy *string `json:"action_strategy,omitempty"` // 过滤规则是否启用 RuleEnable *bool `json:"rule_enable,omitempty"` // 数据类ID DataclassId *string `json:"dataclass_id,omitempty"` // 触发方式. EVENT--事件触发, TIMER--定时触发 TriggerType *string `json:"trigger_type,omitempty"` // 标识数据对象是否创建时触发剧本 DataobjectCreate *bool `json:"dataobject_create,omitempty"` // 标识数据对象是否更新时触发剧本 DataobjectUpdate *bool `json:"dataobject_update,omitempty"` // 标识数据对象是否删除时触发剧本 DataobjectDelete *bool `json:"dataobject_delete,omitempty"` // 版本类型 VersionType *int32 `json:"version_type,omitempty"` // 过滤规则ID RuleId *string `json:"rule_id,omitempty"` // 数据类名称 DataclassName *string `json:"dataclass_name,omitempty"` // 审核者 ApproveName *string `json:"approve_name,omitempty"` }
PlaybookVersionListEntity 剧本版本详情信息
func (PlaybookVersionListEntity) String ¶
func (o PlaybookVersionListEntity) String() string
type PostPaidParam ¶ added in v0.1.107
type PostPaidParam struct { // 区域ID,如cn-north-4 RegionId string `json:"region_id"` // domainId DomainId string `json:"domain_id"` // 计费标签 TagList *[]TagInfo `json:"tag_list,omitempty"` // 商品列表 ProductList *[]ProductPostPaid `json:"product_list,omitempty"` // 操作类型:create新购, addition增加配额 OperateType *PostPaidParamOperateType `json:"operate_type,omitempty"` }
PostPaidParam 按需订阅请求体
func (PostPaidParam) String ¶ added in v0.1.107
func (o PostPaidParam) String() string
type PostPaidParamOperateType ¶ added in v0.1.107
type PostPaidParamOperateType struct {
// contains filtered or unexported fields
}
func (PostPaidParamOperateType) MarshalJSON ¶ added in v0.1.107
func (c PostPaidParamOperateType) MarshalJSON() ([]byte, error)
func (*PostPaidParamOperateType) UnmarshalJSON ¶ added in v0.1.107
func (c *PostPaidParamOperateType) UnmarshalJSON(b []byte) error
func (PostPaidParamOperateType) Value ¶ added in v0.1.107
func (c PostPaidParamOperateType) Value() string
type PostPaidParamOperateTypeEnum ¶ added in v0.1.107
type PostPaidParamOperateTypeEnum struct { CREATE PostPaidParamOperateType ADDITION PostPaidParamOperateType }
func GetPostPaidParamOperateTypeEnum ¶ added in v0.1.107
func GetPostPaidParamOperateTypeEnum() PostPaidParamOperateTypeEnum
type ProductPostPaid ¶ added in v0.1.107
type ProductPostPaid struct { // ID标识,同一次询价中不能重复,用于标识返回询价结果和请求的映射关系 Id string `json:"id"` // 产品Id,通过向CBC询价获取该商品的标识 ProductId string `json:"product_id"` // 云服务类型,固定值为hws.service.type.sa CloudServiceType string `json:"cloud_service_type"` // 用户购买云服务产品的资源类型,例如SecMaster中的典型场景配置,资源类型为hws.resource.type.secmaster.typical ResourceType string `json:"resource_type"` // 用户购买云服务产品的资源规格,例如安全云脑中的的基础版,资源规格为secmaster.basic ResourceSpecCode string `json:"resource_spec_code"` // 使用量单位标识,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时,枚举值如下: 4:小时 10:GB(带宽按流量询价使用) 11:MB(带宽按流量询价使用) UsageMeasureId ProductPostPaidUsageMeasureId `json:"usage_measure_id"` // 使用量值,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时 UsageValue float32 `json:"usage_value"` // 配额个数 ResourceSize int32 `json:"resource_size"` // 使用量因子,按需计费必填,取值和话单中的使用量因子一致,云服务和使用量因子对应关系如下: 典型场景配置:Duration 态势管理:duration 安全编排:count 智能分析:flow UsageFactor string `json:"usage_factor"` // 资源id,仅在增加配额的时候传入 ResourceId *string `json:"resource_id,omitempty"` }
func (ProductPostPaid) String ¶ added in v0.1.107
func (o ProductPostPaid) String() string
type ProductPostPaidUsageMeasureId ¶ added in v0.1.107
type ProductPostPaidUsageMeasureId struct {
// contains filtered or unexported fields
}
func (ProductPostPaidUsageMeasureId) MarshalJSON ¶ added in v0.1.107
func (c ProductPostPaidUsageMeasureId) MarshalJSON() ([]byte, error)
func (*ProductPostPaidUsageMeasureId) UnmarshalJSON ¶ added in v0.1.107
func (c *ProductPostPaidUsageMeasureId) UnmarshalJSON(b []byte) error
func (ProductPostPaidUsageMeasureId) Value ¶ added in v0.1.107
func (c ProductPostPaidUsageMeasureId) Value() int32
type ProductPostPaidUsageMeasureIdEnum ¶ added in v0.1.107
type ProductPostPaidUsageMeasureIdEnum struct { E_4 ProductPostPaidUsageMeasureId E_10 ProductPostPaidUsageMeasureId E_11 ProductPostPaidUsageMeasureId }
func GetProductPostPaidUsageMeasureIdEnum ¶ added in v0.1.107
func GetProductPostPaidUsageMeasureIdEnum() ProductPostPaidUsageMeasureIdEnum
type RuleInfo ¶
type RuleInfo struct { // 规则ID Id *string `json:"id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 触发规则 Rule *string `json:"rule,omitempty"` }
RuleInfo 剧本触发规格信息
type Schedule ¶
type Schedule struct { // 调度间隔。Frequency interval. FrequencyInterval int32 `json:"frequency_interval"` // 调度间隔单位,分钟、小时、天。Frequency unit. MINUTE, HOUR, DAY. FrequencyUnit ScheduleFrequencyUnit `json:"frequency_unit"` // 时间窗口间隔。Period interval. PeriodInterval int32 `json:"period_interval"` // 时间窗口单位,分钟、小时、天。Period unit. MINUTE, HOUR, DAY. PeriodUnit SchedulePeriodUnit `json:"period_unit"` // 延迟间隔。Delay interval DelayInterval *int32 `json:"delay_interval,omitempty"` // 超时间隔。Overtime interval OvertimeInterval *int32 `json:"overtime_interval,omitempty"` }
type ScheduleFrequencyUnit ¶
type ScheduleFrequencyUnit struct {
// contains filtered or unexported fields
}
func (ScheduleFrequencyUnit) MarshalJSON ¶
func (c ScheduleFrequencyUnit) MarshalJSON() ([]byte, error)
func (*ScheduleFrequencyUnit) UnmarshalJSON ¶
func (c *ScheduleFrequencyUnit) UnmarshalJSON(b []byte) error
func (ScheduleFrequencyUnit) Value ¶
func (c ScheduleFrequencyUnit) Value() string
type ScheduleFrequencyUnitEnum ¶
type ScheduleFrequencyUnitEnum struct { MINUTE ScheduleFrequencyUnit HOUR ScheduleFrequencyUnit DAY ScheduleFrequencyUnit }
func GetScheduleFrequencyUnitEnum ¶
func GetScheduleFrequencyUnitEnum() ScheduleFrequencyUnitEnum
type SchedulePeriodUnit ¶
type SchedulePeriodUnit struct {
// contains filtered or unexported fields
}
func (SchedulePeriodUnit) MarshalJSON ¶
func (c SchedulePeriodUnit) MarshalJSON() ([]byte, error)
func (*SchedulePeriodUnit) UnmarshalJSON ¶
func (c *SchedulePeriodUnit) UnmarshalJSON(b []byte) error
func (SchedulePeriodUnit) Value ¶
func (c SchedulePeriodUnit) Value() string
type SchedulePeriodUnitEnum ¶
type SchedulePeriodUnitEnum struct { MINUTE SchedulePeriodUnit HOUR SchedulePeriodUnit DAY SchedulePeriodUnit }
func GetSchedulePeriodUnitEnum ¶
func GetSchedulePeriodUnitEnum() SchedulePeriodUnitEnum
type SearchBaselineRequest ¶ added in v0.1.107
type SearchBaselineRequest struct { // 工作空间id WorkspaceId string `json:"workspace_id"` // 语言,参考值:zh-CN、en-US XLanguage string `json:"X-Language"` // 内容类型 ContentType string `json:"content-type"` Body *BaselineSearchRequestBody `json:"body,omitempty"` }
SearchBaselineRequest Request Object
func (SearchBaselineRequest) String ¶ added in v0.1.107
func (o SearchBaselineRequest) String() string
type SearchBaselineResponse ¶ added in v0.1.107
type SearchBaselineResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 查询结果总数 Total *int32 `json:"total,omitempty"` // 分页大小 Size *int32 `json:"size,omitempty"` // 偏移量 Page *int32 `json:"page,omitempty"` // 是否成功 Success *bool `json:"success,omitempty"` // 查询结果列表 Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
SearchBaselineResponse Response Object
func (SearchBaselineResponse) String ¶ added in v0.1.107
func (o SearchBaselineResponse) String() string
type ShowAlertRequest ¶
type ShowAlertRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 告警ID AlertId string `json:"alert_id"` }
ShowAlertRequest Request Object
func (ShowAlertRequest) String ¶
func (o ShowAlertRequest) String() string
type ShowAlertResponse ¶
type ShowAlertResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *AlertDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowAlertResponse Response Object
func (ShowAlertResponse) String ¶
func (o ShowAlertResponse) String() string
type ShowAlertRspMalware ¶
type ShowAlertRspMalware struct { // 恶意家族 MalwareFamily *string `json:"malware_family,omitempty"` // 恶意软件分类 MalwareClass *string `json:"malware_class,omitempty"` }
ShowAlertRspMalware 恶意软件
func (ShowAlertRspMalware) String ¶
func (o ShowAlertRspMalware) String() string
type ShowAlertRuleRequest ¶
type ShowAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` // 告警规则 ID。Alert rule ID. RuleId string `json:"rule_id"` }
ShowAlertRuleRequest Request Object
func (ShowAlertRuleRequest) String ¶
func (o ShowAlertRuleRequest) String() string
type ShowAlertRuleResponse ¶
type ShowAlertRuleResponse struct { // 告警规则 ID。Alert rule ID. RuleId *string `json:"rule_id,omitempty"` // 数据管道 ID。Pipe ID. PipeId *string `json:"pipe_id,omitempty"` // 数据管道名称。Pipe name. PipeName *string `json:"pipe_name,omitempty"` // 创建人。Create by. CreateBy *string `json:"create_by,omitempty"` // 创建时间。Create time. CreateTime *int64 `json:"create_time,omitempty"` // 更新人。Update by. UpdateBy *string `json:"update_by,omitempty"` // 更新时间。Update time. UpdateTime *int64 `json:"update_time,omitempty"` // 删除时间。Delete time. DeleteTime *int64 `json:"delete_time,omitempty"` // 告警规则名称。Alert rule name. RuleName *string `json:"rule_name,omitempty"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *ShowAlertRuleResponseQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *ShowAlertRuleResponseStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *ShowAlertRuleResponseSeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowAlertRuleResponse Response Object
func (ShowAlertRuleResponse) String ¶
func (o ShowAlertRuleResponse) String() string
type ShowAlertRuleResponseQueryType ¶
type ShowAlertRuleResponseQueryType struct {
// contains filtered or unexported fields
}
func (ShowAlertRuleResponseQueryType) MarshalJSON ¶
func (c ShowAlertRuleResponseQueryType) MarshalJSON() ([]byte, error)
func (*ShowAlertRuleResponseQueryType) UnmarshalJSON ¶
func (c *ShowAlertRuleResponseQueryType) UnmarshalJSON(b []byte) error
func (ShowAlertRuleResponseQueryType) Value ¶
func (c ShowAlertRuleResponseQueryType) Value() string
type ShowAlertRuleResponseQueryTypeEnum ¶
type ShowAlertRuleResponseQueryTypeEnum struct {
SQL ShowAlertRuleResponseQueryType
}
func GetShowAlertRuleResponseQueryTypeEnum ¶
func GetShowAlertRuleResponseQueryTypeEnum() ShowAlertRuleResponseQueryTypeEnum
type ShowAlertRuleResponseSeverity ¶
type ShowAlertRuleResponseSeverity struct {
// contains filtered or unexported fields
}
func (ShowAlertRuleResponseSeverity) MarshalJSON ¶
func (c ShowAlertRuleResponseSeverity) MarshalJSON() ([]byte, error)
func (*ShowAlertRuleResponseSeverity) UnmarshalJSON ¶
func (c *ShowAlertRuleResponseSeverity) UnmarshalJSON(b []byte) error
func (ShowAlertRuleResponseSeverity) Value ¶
func (c ShowAlertRuleResponseSeverity) Value() string
type ShowAlertRuleResponseSeverityEnum ¶
type ShowAlertRuleResponseSeverityEnum struct { TIPS ShowAlertRuleResponseSeverity LOW ShowAlertRuleResponseSeverity MEDIUM ShowAlertRuleResponseSeverity HIGH ShowAlertRuleResponseSeverity FATAL ShowAlertRuleResponseSeverity }
func GetShowAlertRuleResponseSeverityEnum ¶
func GetShowAlertRuleResponseSeverityEnum() ShowAlertRuleResponseSeverityEnum
type ShowAlertRuleResponseStatus ¶
type ShowAlertRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowAlertRuleResponseStatus) MarshalJSON ¶
func (c ShowAlertRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowAlertRuleResponseStatus) UnmarshalJSON ¶
func (c *ShowAlertRuleResponseStatus) UnmarshalJSON(b []byte) error
func (ShowAlertRuleResponseStatus) Value ¶
func (c ShowAlertRuleResponseStatus) Value() string
type ShowAlertRuleResponseStatusEnum ¶
type ShowAlertRuleResponseStatusEnum struct { ENABLED ShowAlertRuleResponseStatus DISABLED ShowAlertRuleResponseStatus }
func GetShowAlertRuleResponseStatusEnum ¶
func GetShowAlertRuleResponseStatusEnum() ShowAlertRuleResponseStatusEnum
type ShowAlertRuleTemplateRequest ¶
type ShowAlertRuleTemplateRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` // 告警规则模板 ID。Alert rule template ID. TemplateId string `json:"template_id"` }
ShowAlertRuleTemplateRequest Request Object
func (ShowAlertRuleTemplateRequest) String ¶
func (o ShowAlertRuleTemplateRequest) String() string
type ShowAlertRuleTemplateResponse ¶
type ShowAlertRuleTemplateResponse struct { // 告警规则模板 ID。Alert rule template ID. TemplateId *string `json:"template_id,omitempty"` // 更新时间。Update time. UpdateTime *int64 `json:"update_time,omitempty"` // 告警规则模板名称。Alert rule template name. TemplateName *string `json:"template_name,omitempty"` // 数据源。Data source. DataSource *string `json:"data_source,omitempty"` // 版本。Version Version *string `json:"version,omitempty"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *ShowAlertRuleTemplateResponseQueryType `json:"query_type,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *ShowAlertRuleTemplateResponseSeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowAlertRuleTemplateResponse Response Object
func (ShowAlertRuleTemplateResponse) String ¶
func (o ShowAlertRuleTemplateResponse) String() string
type ShowAlertRuleTemplateResponseQueryType ¶
type ShowAlertRuleTemplateResponseQueryType struct {
// contains filtered or unexported fields
}
func (ShowAlertRuleTemplateResponseQueryType) MarshalJSON ¶
func (c ShowAlertRuleTemplateResponseQueryType) MarshalJSON() ([]byte, error)
func (*ShowAlertRuleTemplateResponseQueryType) UnmarshalJSON ¶
func (c *ShowAlertRuleTemplateResponseQueryType) UnmarshalJSON(b []byte) error
func (ShowAlertRuleTemplateResponseQueryType) Value ¶
func (c ShowAlertRuleTemplateResponseQueryType) Value() string
type ShowAlertRuleTemplateResponseQueryTypeEnum ¶
type ShowAlertRuleTemplateResponseQueryTypeEnum struct {
SQL ShowAlertRuleTemplateResponseQueryType
}
func GetShowAlertRuleTemplateResponseQueryTypeEnum ¶
func GetShowAlertRuleTemplateResponseQueryTypeEnum() ShowAlertRuleTemplateResponseQueryTypeEnum
type ShowAlertRuleTemplateResponseSeverity ¶
type ShowAlertRuleTemplateResponseSeverity struct {
// contains filtered or unexported fields
}
func (ShowAlertRuleTemplateResponseSeverity) MarshalJSON ¶
func (c ShowAlertRuleTemplateResponseSeverity) MarshalJSON() ([]byte, error)
func (*ShowAlertRuleTemplateResponseSeverity) UnmarshalJSON ¶
func (c *ShowAlertRuleTemplateResponseSeverity) UnmarshalJSON(b []byte) error
func (ShowAlertRuleTemplateResponseSeverity) Value ¶
func (c ShowAlertRuleTemplateResponseSeverity) Value() string
type ShowAlertRuleTemplateResponseSeverityEnum ¶
type ShowAlertRuleTemplateResponseSeverityEnum struct { TIPS ShowAlertRuleTemplateResponseSeverity LOW ShowAlertRuleTemplateResponseSeverity MEDIUM ShowAlertRuleTemplateResponseSeverity HIGH ShowAlertRuleTemplateResponseSeverity FATAL ShowAlertRuleTemplateResponseSeverity }
func GetShowAlertRuleTemplateResponseSeverityEnum ¶
func GetShowAlertRuleTemplateResponseSeverityEnum() ShowAlertRuleTemplateResponseSeverityEnum
type ShowIncidentRequest ¶
type ShowIncidentRequest struct { // 内容类型 ContentType string `json:"content-type"` // 工作空间id WorkspaceId string `json:"workspace_id"` // 事件ID IncidentId string `json:"incident_id"` }
ShowIncidentRequest Request Object
func (ShowIncidentRequest) String ¶
func (o ShowIncidentRequest) String() string
type ShowIncidentResponse ¶
type ShowIncidentResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IncidentDetail `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ShowIncidentResponse Response Object
func (ShowIncidentResponse) String ¶
func (o ShowIncidentResponse) String() string
type ShowIndicatorDetailRequest ¶
type ShowIndicatorDetailRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 威胁情报ID IndicatorId string `json:"indicator_id"` }
ShowIndicatorDetailRequest Request Object
func (ShowIndicatorDetailRequest) String ¶
func (o ShowIndicatorDetailRequest) String() string
type ShowIndicatorDetailResponse ¶
type ShowIndicatorDetailResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IndicatorDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowIndicatorDetailResponse Response Object
func (ShowIndicatorDetailResponse) String ¶
func (o ShowIndicatorDetailResponse) String() string
type ShowMetricResultResponseBody ¶ added in v0.1.107
type ShowMetricResultResponseBody struct { // 指标ID MetricId string `json:"metric_id"` Result *ShowMetricResultResponseBodyResult `json:"result"` // 指标显示格式,根据不同指标固定返回。 MetricFormat *[]MetricFormat `json:"metric_format,omitempty"` // 结果日志信息 LogMsg *string `json:"log_msg,omitempty"` // 查询结果状态,SUCCESS:查询成功,FAILED:查询失败,FALLBACK:使用默认值 Status *ShowMetricResultResponseBodyStatus `json:"status,omitempty"` }
func (ShowMetricResultResponseBody) String ¶ added in v0.1.107
func (o ShowMetricResultResponseBody) String() string
type ShowMetricResultResponseBodyResult ¶ added in v0.1.107
type ShowMetricResultResponseBodyResult struct { // 指标查询结果表格标题 Labels []string `json:"labels"` // 指标查询结果内容表格 Datarows [][]interface{} `json:"datarows"` // 生效的列, 当有该参数时,使用指定列作为指标数据结果 EffectiveColumn *string `json:"effective_column,omitempty"` }
ShowMetricResultResponseBodyResult 指标查询结果内容
func (ShowMetricResultResponseBodyResult) String ¶ added in v0.1.107
func (o ShowMetricResultResponseBodyResult) String() string
type ShowMetricResultResponseBodyStatus ¶ added in v0.1.107
type ShowMetricResultResponseBodyStatus struct {
// contains filtered or unexported fields
}
func (ShowMetricResultResponseBodyStatus) MarshalJSON ¶ added in v0.1.107
func (c ShowMetricResultResponseBodyStatus) MarshalJSON() ([]byte, error)
func (*ShowMetricResultResponseBodyStatus) UnmarshalJSON ¶ added in v0.1.107
func (c *ShowMetricResultResponseBodyStatus) UnmarshalJSON(b []byte) error
func (ShowMetricResultResponseBodyStatus) Value ¶ added in v0.1.107
func (c ShowMetricResultResponseBodyStatus) Value() string
type ShowMetricResultResponseBodyStatusEnum ¶ added in v0.1.107
type ShowMetricResultResponseBodyStatusEnum struct { SUCCESS ShowMetricResultResponseBodyStatus FAILED ShowMetricResultResponseBodyStatus FALLBACK ShowMetricResultResponseBodyStatus }
func GetShowMetricResultResponseBodyStatusEnum ¶ added in v0.1.107
func GetShowMetricResultResponseBodyStatusEnum() ShowMetricResultResponseBodyStatusEnum
type ShowPlaybookInstanceRequest ¶
type ShowPlaybookInstanceRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // instance _id InstanceId string `json:"instance_id"` }
ShowPlaybookInstanceRequest Request Object
func (ShowPlaybookInstanceRequest) String ¶
func (o ShowPlaybookInstanceRequest) String() string
type ShowPlaybookInstanceResponse ¶
type ShowPlaybookInstanceResponse struct { // 剧本实例ID Id *string `json:"id,omitempty"` // 剧本实例名称 Name *string `json:"name,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` Playbook *PlaybookInfoRef `json:"playbook,omitempty"` Dataclass *DataclassInfoRef `json:"dataclass,omitempty"` Dataobject *DataobjectInfo `json:"dataobject,omitempty"` // 剧本实例状态. (RUNNING--运行中、FINISHED--成功、FAILED--失败、RETRYING--重试中、TERMINATING--终止中、TERMINATED--已终止) Status *string `json:"status,omitempty"` // 触发类型. TIMER--定时触发, EVENT--事件触发 TriggerType *string `json:"trigger_type,omitempty"` // 创建时间 StartTime *string `json:"start_time,omitempty"` // 更新时间 EndTime *string `json:"end_time,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookInstanceResponse Response Object
func (ShowPlaybookInstanceResponse) String ¶
func (o ShowPlaybookInstanceResponse) String() string
type ShowPlaybookMonitorsRequest ¶
type ShowPlaybookMonitorsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本ID PlaybookId string `json:"playbook_id"` // 开始时间。格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。例如:2021-01-30T23:00:00Z+0800。时区信息为剧本实例产生的时区,无法解析时区的时间,默认时区填东八区。 StartTime string `json:"start_time"` // 统计剧本版本类型(ALL:全部,VALID:有效的,DELETED:已删除) VersionQueryType ShowPlaybookMonitorsRequestVersionQueryType `json:"version_query_type"` // 结束时间。格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。例如:2021-01-30T23:00:00Z+0800。时区信息为剧本实例产生的时区,无法解析时区的时间,默认时区填东八区。 EndTime string `json:"end_time"` }
ShowPlaybookMonitorsRequest Request Object
func (ShowPlaybookMonitorsRequest) String ¶
func (o ShowPlaybookMonitorsRequest) String() string
type ShowPlaybookMonitorsRequestVersionQueryType ¶ added in v0.1.64
type ShowPlaybookMonitorsRequestVersionQueryType struct {
// contains filtered or unexported fields
}
func (ShowPlaybookMonitorsRequestVersionQueryType) MarshalJSON ¶ added in v0.1.64
func (c ShowPlaybookMonitorsRequestVersionQueryType) MarshalJSON() ([]byte, error)
func (*ShowPlaybookMonitorsRequestVersionQueryType) UnmarshalJSON ¶ added in v0.1.64
func (c *ShowPlaybookMonitorsRequestVersionQueryType) UnmarshalJSON(b []byte) error
func (ShowPlaybookMonitorsRequestVersionQueryType) Value ¶ added in v0.1.64
func (c ShowPlaybookMonitorsRequestVersionQueryType) Value() string
type ShowPlaybookMonitorsRequestVersionQueryTypeEnum ¶ added in v0.1.64
type ShowPlaybookMonitorsRequestVersionQueryTypeEnum struct {
ALLVALIDDELETED ShowPlaybookMonitorsRequestVersionQueryType
}
func GetShowPlaybookMonitorsRequestVersionQueryTypeEnum ¶ added in v0.1.64
func GetShowPlaybookMonitorsRequestVersionQueryTypeEnum() ShowPlaybookMonitorsRequestVersionQueryTypeEnum
type ShowPlaybookMonitorsResponse ¶
type ShowPlaybookMonitorsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookInstanceMonitorDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookMonitorsResponse Response Object
func (ShowPlaybookMonitorsResponse) String ¶
func (o ShowPlaybookMonitorsResponse) String() string
type ShowPlaybookRequest ¶
type ShowPlaybookRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // ID of playbook PlaybookId string `json:"playbook_id"` }
ShowPlaybookRequest Request Object
func (ShowPlaybookRequest) String ¶
func (o ShowPlaybookRequest) String() string
type ShowPlaybookResponse ¶
type ShowPlaybookResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookResponse Response Object
func (ShowPlaybookResponse) String ¶
func (o ShowPlaybookResponse) String() string
type ShowPlaybookRuleRequest ¶
type ShowPlaybookRuleRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // version Id value VersionId string `json:"version_id"` // version Id value RuleId string `json:"rule_id"` }
ShowPlaybookRuleRequest Request Object
func (ShowPlaybookRuleRequest) String ¶
func (o ShowPlaybookRuleRequest) String() string
type ShowPlaybookRuleResponse ¶
type ShowPlaybookRuleResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *RuleInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookRuleResponse Response Object
func (ShowPlaybookRuleResponse) String ¶
func (o ShowPlaybookRuleResponse) String() string
type ShowPlaybookStatisticsRequest ¶
type ShowPlaybookStatisticsRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` }
ShowPlaybookStatisticsRequest Request Object
func (ShowPlaybookStatisticsRequest) String ¶
func (o ShowPlaybookStatisticsRequest) String() string
type ShowPlaybookStatisticsResponse ¶
type ShowPlaybookStatisticsResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookStatisticDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookStatisticsResponse Response Object
func (ShowPlaybookStatisticsResponse) String ¶
func (o ShowPlaybookStatisticsResponse) String() string
type ShowPlaybookTopologyRequest ¶
type ShowPlaybookTopologyRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本实例ID InstanceId string `json:"instance_id"` }
ShowPlaybookTopologyRequest Request Object
func (ShowPlaybookTopologyRequest) String ¶
func (o ShowPlaybookTopologyRequest) String() string
type ShowPlaybookTopologyResponse ¶
type ShowPlaybookTopologyResponse struct { // 总数 Count *int32 `json:"count,omitempty"` // 流程实例列表 ActionInstances *[]ActionInstanceInfo `json:"action_instances,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookTopologyResponse Response Object
func (ShowPlaybookTopologyResponse) String ¶
func (o ShowPlaybookTopologyResponse) String() string
type ShowPlaybookVersionRequest ¶
type ShowPlaybookVersionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` }
ShowPlaybookVersionRequest Request Object
func (ShowPlaybookVersionRequest) String ¶
func (o ShowPlaybookVersionRequest) String() string
type ShowPlaybookVersionResponse ¶
type ShowPlaybookVersionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` Data *PlaybookVersionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPlaybookVersionResponse Response Object
func (ShowPlaybookVersionResponse) String ¶
func (o ShowPlaybookVersionResponse) String() string
type TagInfo ¶ added in v0.1.107
type TagsPojo ¶ added in v0.1.107
type UpdateAlertRuleRequest ¶
type UpdateAlertRuleRequest struct { // 工作空间 ID。Workspace ID. WorkspaceId string `json:"workspace_id"` // 告警规则 ID。Alert rule ID. RuleId string `json:"rule_id"` Body *UpdateAlertRuleRequestBody `json:"body,omitempty"` }
UpdateAlertRuleRequest Request Object
func (UpdateAlertRuleRequest) String ¶
func (o UpdateAlertRuleRequest) String() string
type UpdateAlertRuleRequestBody ¶
type UpdateAlertRuleRequestBody struct { // 告警规则名称。Alert rule name. RuleName *string `json:"rule_name,omitempty"` // 描述。Description. Description *string `json:"description,omitempty"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *UpdateAlertRuleRequestBodyQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *UpdateAlertRuleRequestBodyStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *UpdateAlertRuleRequestBodySeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警类型。Alert type. AlertType map[string]string `json:"alert_type,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` // 告警抑制。Suppression Suppression *bool `json:"suppression,omitempty"` // 模拟告警。Simulation. Simulation *bool `json:"simulation,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` }
func (UpdateAlertRuleRequestBody) String ¶
func (o UpdateAlertRuleRequestBody) String() string
type UpdateAlertRuleRequestBodyQueryType ¶
type UpdateAlertRuleRequestBodyQueryType struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleRequestBodyQueryType) MarshalJSON ¶
func (c UpdateAlertRuleRequestBodyQueryType) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleRequestBodyQueryType) UnmarshalJSON ¶
func (c *UpdateAlertRuleRequestBodyQueryType) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleRequestBodyQueryType) Value ¶
func (c UpdateAlertRuleRequestBodyQueryType) Value() string
type UpdateAlertRuleRequestBodyQueryTypeEnum ¶
type UpdateAlertRuleRequestBodyQueryTypeEnum struct {
SQL UpdateAlertRuleRequestBodyQueryType
}
func GetUpdateAlertRuleRequestBodyQueryTypeEnum ¶
func GetUpdateAlertRuleRequestBodyQueryTypeEnum() UpdateAlertRuleRequestBodyQueryTypeEnum
type UpdateAlertRuleRequestBodySeverity ¶
type UpdateAlertRuleRequestBodySeverity struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleRequestBodySeverity) MarshalJSON ¶
func (c UpdateAlertRuleRequestBodySeverity) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleRequestBodySeverity) UnmarshalJSON ¶
func (c *UpdateAlertRuleRequestBodySeverity) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleRequestBodySeverity) Value ¶
func (c UpdateAlertRuleRequestBodySeverity) Value() string
type UpdateAlertRuleRequestBodySeverityEnum ¶
type UpdateAlertRuleRequestBodySeverityEnum struct { TIPS UpdateAlertRuleRequestBodySeverity LOW UpdateAlertRuleRequestBodySeverity MEDIUM UpdateAlertRuleRequestBodySeverity HIGH UpdateAlertRuleRequestBodySeverity FATAL UpdateAlertRuleRequestBodySeverity }
func GetUpdateAlertRuleRequestBodySeverityEnum ¶
func GetUpdateAlertRuleRequestBodySeverityEnum() UpdateAlertRuleRequestBodySeverityEnum
type UpdateAlertRuleRequestBodyStatus ¶
type UpdateAlertRuleRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleRequestBodyStatus) MarshalJSON ¶
func (c UpdateAlertRuleRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleRequestBodyStatus) UnmarshalJSON ¶
func (c *UpdateAlertRuleRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleRequestBodyStatus) Value ¶
func (c UpdateAlertRuleRequestBodyStatus) Value() string
type UpdateAlertRuleRequestBodyStatusEnum ¶
type UpdateAlertRuleRequestBodyStatusEnum struct { ENABLED UpdateAlertRuleRequestBodyStatus DISABLED UpdateAlertRuleRequestBodyStatus }
func GetUpdateAlertRuleRequestBodyStatusEnum ¶
func GetUpdateAlertRuleRequestBodyStatusEnum() UpdateAlertRuleRequestBodyStatusEnum
type UpdateAlertRuleResponse ¶
type UpdateAlertRuleResponse struct { // 告警规则 ID。Alert rule ID. RuleId *string `json:"rule_id,omitempty"` // 数据管道 ID。Pipe ID. PipeId *string `json:"pipe_id,omitempty"` // 数据管道名称。Pipe name. PipeName *string `json:"pipe_name,omitempty"` // 创建人。Create by. CreateBy *string `json:"create_by,omitempty"` // 创建时间。Create time. CreateTime *int64 `json:"create_time,omitempty"` // 更新人。Update by. UpdateBy *string `json:"update_by,omitempty"` // 更新时间。Update time. UpdateTime *int64 `json:"update_time,omitempty"` // 删除时间。Delete time. DeleteTime *int64 `json:"delete_time,omitempty"` // 告警规则名称。Alert rule name. RuleName *string `json:"rule_name,omitempty"` // 查询语句。Query. Query *string `json:"query,omitempty"` // 查询语法,SQL。Query type. SQL. QueryType *UpdateAlertRuleResponseQueryType `json:"query_type,omitempty"` // 启用状态,启用、停用。Status, enabled, disabled. Status *UpdateAlertRuleResponseStatus `json:"status,omitempty"` // 严重程度,提示、低危、中危、高危、致命。Severity. TIPS, LOW, MEDIUM, HIGH, FATAL Severity *UpdateAlertRuleResponseSeverity `json:"severity,omitempty"` // 自定义扩展信息。Custom properties. CustomProperties map[string]string `json:"custom_properties,omitempty"` // 告警分组。Event grouping. EventGrouping *bool `json:"event_grouping,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` // 告警触发规则。Alert triggers. Triggers *[]AlertRuleTrigger `json:"triggers,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAlertRuleResponse Response Object
func (UpdateAlertRuleResponse) String ¶
func (o UpdateAlertRuleResponse) String() string
type UpdateAlertRuleResponseQueryType ¶
type UpdateAlertRuleResponseQueryType struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleResponseQueryType) MarshalJSON ¶
func (c UpdateAlertRuleResponseQueryType) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleResponseQueryType) UnmarshalJSON ¶
func (c *UpdateAlertRuleResponseQueryType) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleResponseQueryType) Value ¶
func (c UpdateAlertRuleResponseQueryType) Value() string
type UpdateAlertRuleResponseQueryTypeEnum ¶
type UpdateAlertRuleResponseQueryTypeEnum struct {
SQL UpdateAlertRuleResponseQueryType
}
func GetUpdateAlertRuleResponseQueryTypeEnum ¶
func GetUpdateAlertRuleResponseQueryTypeEnum() UpdateAlertRuleResponseQueryTypeEnum
type UpdateAlertRuleResponseSeverity ¶
type UpdateAlertRuleResponseSeverity struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleResponseSeverity) MarshalJSON ¶
func (c UpdateAlertRuleResponseSeverity) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleResponseSeverity) UnmarshalJSON ¶
func (c *UpdateAlertRuleResponseSeverity) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleResponseSeverity) Value ¶
func (c UpdateAlertRuleResponseSeverity) Value() string
type UpdateAlertRuleResponseSeverityEnum ¶
type UpdateAlertRuleResponseSeverityEnum struct { TIPS UpdateAlertRuleResponseSeverity LOW UpdateAlertRuleResponseSeverity MEDIUM UpdateAlertRuleResponseSeverity HIGH UpdateAlertRuleResponseSeverity FATAL UpdateAlertRuleResponseSeverity }
func GetUpdateAlertRuleResponseSeverityEnum ¶
func GetUpdateAlertRuleResponseSeverityEnum() UpdateAlertRuleResponseSeverityEnum
type UpdateAlertRuleResponseStatus ¶
type UpdateAlertRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateAlertRuleResponseStatus) MarshalJSON ¶
func (c UpdateAlertRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateAlertRuleResponseStatus) UnmarshalJSON ¶
func (c *UpdateAlertRuleResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateAlertRuleResponseStatus) Value ¶
func (c UpdateAlertRuleResponseStatus) Value() string
type UpdateAlertRuleResponseStatusEnum ¶
type UpdateAlertRuleResponseStatusEnum struct { ENABLED UpdateAlertRuleResponseStatus DISABLED UpdateAlertRuleResponseStatus }
func GetUpdateAlertRuleResponseStatusEnum ¶
func GetUpdateAlertRuleResponseStatusEnum() UpdateAlertRuleResponseStatusEnum
type UpdateIndicatorRequest ¶
type UpdateIndicatorRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 威胁情报ID IndicatorId string `json:"indicator_id"` Body *UpdateIndicatorRequestBody `json:"body,omitempty"` }
UpdateIndicatorRequest Request Object
func (UpdateIndicatorRequest) String ¶
func (o UpdateIndicatorRequest) String() string
type UpdateIndicatorRequestBody ¶
type UpdateIndicatorRequestBody struct {
DataObject *IndicatorDataObjectDetail `json:"data_object,omitempty"`
}
UpdateIndicatorRequestBody update indicator request body
func (UpdateIndicatorRequestBody) String ¶
func (o UpdateIndicatorRequestBody) String() string
type UpdateIndicatorResponse ¶
type UpdateIndicatorResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *IndicatorDetail `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateIndicatorResponse Response Object
func (UpdateIndicatorResponse) String ¶
func (o UpdateIndicatorResponse) String() string
type UpdatePlaybookActionRequest ¶
type UpdatePlaybookActionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // 剧本动作ID ActionId string `json:"action_id"` Body *ModifyActionInfo `json:"body,omitempty"` }
UpdatePlaybookActionRequest Request Object
func (UpdatePlaybookActionRequest) String ¶
func (o UpdatePlaybookActionRequest) String() string
type UpdatePlaybookActionResponse ¶
type UpdatePlaybookActionResponse struct { // Error code Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` Data *ActionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePlaybookActionResponse Response Object
func (UpdatePlaybookActionResponse) String ¶
func (o UpdatePlaybookActionResponse) String() string
type UpdatePlaybookRequest ¶
type UpdatePlaybookRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本ID PlaybookId string `json:"playbook_id"` Body *ModifyPlaybookInfo `json:"body,omitempty"` }
UpdatePlaybookRequest Request Object
func (UpdatePlaybookRequest) String ¶
func (o UpdatePlaybookRequest) String() string
type UpdatePlaybookResponse ¶
type UpdatePlaybookResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *PlaybookInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePlaybookResponse Response Object
func (UpdatePlaybookResponse) String ¶
func (o UpdatePlaybookResponse) String() string
type UpdatePlaybookRuleRequest ¶
type UpdatePlaybookRuleRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` // 剧本规则ID RuleId string `json:"rule_id"` Body *ModifyRuleInfo `json:"body,omitempty"` }
UpdatePlaybookRuleRequest Request Object
func (UpdatePlaybookRuleRequest) String ¶
func (o UpdatePlaybookRuleRequest) String() string
type UpdatePlaybookRuleResponse ¶
type UpdatePlaybookRuleResponse struct { // 错误码 Code *string `json:"code,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` Data *RuleInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePlaybookRuleResponse Response Object
func (UpdatePlaybookRuleResponse) String ¶
func (o UpdatePlaybookRuleResponse) String() string
type UpdatePlaybookVersionRequest ¶
type UpdatePlaybookVersionRequest struct { // application/json;charset=UTF-8 ContentType string `json:"content-type"` // 工作空间ID WorkspaceId string `json:"workspace_id"` // 剧本版本ID VersionId string `json:"version_id"` Body *ModifyPlaybookVersionInfo `json:"body,omitempty"` }
UpdatePlaybookVersionRequest Request Object
func (UpdatePlaybookVersionRequest) String ¶
func (o UpdatePlaybookVersionRequest) String() string
type UpdatePlaybookVersionResponse ¶
type UpdatePlaybookVersionResponse struct { // 错误码 Code *string `json:"code,omitempty"` // Error message Message *string `json:"message,omitempty"` Data *PlaybookVersionInfo `json:"data,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePlaybookVersionResponse Response Object
func (UpdatePlaybookVersionResponse) String ¶
func (o UpdatePlaybookVersionResponse) String() string
Source Files ¶
- model_action_info.go
- model_action_instance_info.go
- model_alert.go
- model_alert_alert_type.go
- model_alert_data_source.go
- model_alert_dest_geo.go
- model_alert_detail.go
- model_alert_detail_dataclass_ref.go
- model_alert_environment.go
- model_alert_file_info.go
- model_alert_network_list.go
- model_alert_process.go
- model_alert_remediation.go
- model_alert_resource_list.go
- model_alert_rule.go
- model_alert_rule_template.go
- model_alert_rule_trigger.go
- model_alert_src_geo.go
- model_alert_user_info.go
- model_aop_workflow_info.go
- model_approve_opinion_detail.go
- model_approve_playbook_info.go
- model_audit_log_info.go
- model_baseline_search_request_body.go
- model_batch_operate_alert_result.go
- model_batch_operate_dataobject_result.go
- model_batch_search_metric_hits_request.go
- model_batch_search_metric_hits_request_body.go
- model_batch_search_metric_hits_response.go
- model_change_alert_request.go
- model_change_alert_request_body.go
- model_change_alert_response.go
- model_change_incident_request.go
- model_change_incident_request_body.go
- model_change_incident_response.go
- model_change_playbook_instance_request.go
- model_change_playbook_instance_response.go
- model_condition_info.go
- model_condition_item.go
- model_copy_playbook_info.go
- model_copy_playbook_version_request.go
- model_copy_playbook_version_response.go
- model_create_action.go
- model_create_alert_request.go
- model_create_alert_request_body.go
- model_create_alert_response.go
- model_create_alert_rule_request.go
- model_create_alert_rule_request_body.go
- model_create_alert_rule_response.go
- model_create_alert_rule_simulation_request.go
- model_create_alert_rule_simulation_request_body.go
- model_create_alert_rule_simulation_response.go
- model_create_batch_order_alerts_request.go
- model_create_batch_order_alerts_response.go
- model_create_dataobject_relations_request.go
- model_create_dataobject_relations_request_body.go
- model_create_dataobject_relations_response.go
- model_create_dataspace_request.go
- model_create_dataspace_request_body.go
- model_create_dataspace_response.go
- model_create_incident_request.go
- model_create_incident_request_body.go
- model_create_incident_response.go
- model_create_indicator_detail.go
- model_create_indicator_detail_data_source.go
- model_create_indicator_detail_environment.go
- model_create_indicator_detail_indicator_type.go
- model_create_indicator_request.go
- model_create_indicator_response.go
- model_create_pipe_request.go
- model_create_pipe_request_body.go
- model_create_pipe_response.go
- model_create_playbook_action_request.go
- model_create_playbook_action_response.go
- model_create_playbook_approve_request.go
- model_create_playbook_approve_response.go
- model_create_playbook_info.go
- model_create_playbook_request.go
- model_create_playbook_response.go
- model_create_playbook_rule_request.go
- model_create_playbook_rule_response.go
- model_create_playbook_version_info.go
- model_create_playbook_version_request.go
- model_create_playbook_version_response.go
- model_create_post_paid_order_request.go
- model_create_post_paid_order_response.go
- model_create_rule_info.go
- model_create_workspace_request.go
- model_create_workspace_request_body.go
- model_create_workspace_response.go
- model_create_workspace_response_body.go
- model_create_workspace_response_body_workspace_agency_list.go
- model_data_class_ref_pojo.go
- model_data_class_response_body.go
- model_data_object.go
- model_data_object_detail.go
- model_dataclass_info_ref.go
- model_dataobject_info.go
- model_dataobject_search.go
- model_dataobject_search_condition.go
- model_dataobject_search_condition_conditions.go
- model_delete_alert_request.go
- model_delete_alert_request_body.go
- model_delete_alert_response.go
- model_delete_alert_rule_request.go
- model_delete_alert_rule_response.go
- model_delete_dataobject_relations_request.go
- model_delete_dataobject_relations_response.go
- model_delete_incident_request.go
- model_delete_incident_request_body.go
- model_delete_incident_response.go
- model_delete_incident_response_body_data.go
- model_delete_indicator_request.go
- model_delete_indicator_request_body.go
- model_delete_indicator_response.go
- model_delete_playbook_action_request.go
- model_delete_playbook_action_response.go
- model_delete_playbook_request.go
- model_delete_playbook_response.go
- model_delete_playbook_rule_request.go
- model_delete_playbook_rule_response.go
- model_delete_playbook_version_request.go
- model_delete_playbook_version_response.go
- model_disable_alert_rule_request.go
- model_disable_alert_rule_response.go
- model_enable_alert_rule_request.go
- model_enable_alert_rule_response.go
- model_field_response_body.go
- model_incident.go
- model_incident_detail.go
- model_incident_environment.go
- model_incident_incident_type.go
- model_indicator_batch_operate_response.go
- model_indicator_create_request.go
- model_indicator_data_object_detail.go
- model_indicator_data_object_detail_data_source.go
- model_indicator_data_object_detail_environment.go
- model_indicator_data_object_detail_indicator_type.go
- model_indicator_detail.go
- model_indicator_list_search_request.go
- model_key_index.go
- model_list_alert_detail.go
- model_list_alert_rsp.go
- model_list_alert_rule_metrics_request.go
- model_list_alert_rule_metrics_response.go
- model_list_alert_rule_templates_request.go
- model_list_alert_rule_templates_response.go
- model_list_alert_rules_request.go
- model_list_alert_rules_response.go
- model_list_alerts_request.go
- model_list_alerts_response.go
- model_list_dataclass_fields_request.go
- model_list_dataclass_fields_response.go
- model_list_dataclass_request.go
- model_list_dataclass_response.go
- model_list_dataobject_relations_request.go
- model_list_dataobject_relations_response.go
- model_list_incidents_request.go
- model_list_incidents_response.go
- model_list_indicators_request.go
- model_list_indicators_response.go
- model_list_playbook_actions_request.go
- model_list_playbook_actions_response.go
- model_list_playbook_approves_request.go
- model_list_playbook_approves_response.go
- model_list_playbook_audit_logs_request.go
- model_list_playbook_audit_logs_response.go
- model_list_playbook_instances_request.go
- model_list_playbook_instances_response.go
- model_list_playbook_versions_request.go
- model_list_playbook_versions_response.go
- model_list_playbooks_request.go
- model_list_playbooks_response.go
- model_list_workflows_request.go
- model_list_workflows_response.go
- model_list_workspaces_request.go
- model_list_workspaces_response.go
- model_metric_format.go
- model_modify_action_info.go
- model_modify_playbook_info.go
- model_modify_playbook_version_info.go
- model_modify_rule_info.go
- model_operation_playbook_info.go
- model_order_alert.go
- model_order_alert_incident_content.go
- model_order_alert_incident_content_incident_type.go
- model_playbook_info.go
- model_playbook_info_ref.go
- model_playbook_instance_info.go
- model_playbook_instance_monitor_detail.go
- model_playbook_instance_run_statistics.go
- model_playbook_statistic_detail.go
- model_playbook_version_info.go
- model_playbook_version_list_entity.go
- model_post_paid_param.go
- model_product_post_paid.go
- model_rule_info.go
- model_schedule.go
- model_search_baseline_request.go
- model_search_baseline_response.go
- model_show_alert_request.go
- model_show_alert_response.go
- model_show_alert_rsp_malware.go
- model_show_alert_rule_request.go
- model_show_alert_rule_response.go
- model_show_alert_rule_template_request.go
- model_show_alert_rule_template_response.go
- model_show_incident_request.go
- model_show_incident_response.go
- model_show_indicator_detail_request.go
- model_show_indicator_detail_response.go
- model_show_metric_result_response_body.go
- model_show_metric_result_response_body_result.go
- model_show_playbook_instance_request.go
- model_show_playbook_instance_response.go
- model_show_playbook_monitors_request.go
- model_show_playbook_monitors_response.go
- model_show_playbook_request.go
- model_show_playbook_response.go
- model_show_playbook_rule_request.go
- model_show_playbook_rule_response.go
- model_show_playbook_statistics_request.go
- model_show_playbook_statistics_response.go
- model_show_playbook_topology_request.go
- model_show_playbook_topology_response.go
- model_show_playbook_version_request.go
- model_show_playbook_version_response.go
- model_tag_info.go
- model_tags_pojo.go
- model_update_alert_rule_request.go
- model_update_alert_rule_request_body.go
- model_update_alert_rule_response.go
- model_update_indicator_request.go
- model_update_indicator_request_body.go
- model_update_indicator_response.go
- model_update_playbook_action_request.go
- model_update_playbook_action_response.go
- model_update_playbook_request.go
- model_update_playbook_response.go
- model_update_playbook_rule_request.go
- model_update_playbook_rule_response.go
- model_update_playbook_version_request.go
- model_update_playbook_version_response.go