Documentation ¶
Index ¶
- Constants
- Variables
- func CreateIpAddress(addr string, prefixLen int) (ipAddress string)
- func DeleteBaselineById(session *xorm.Session, id int64) (err error)
- func DeleteControlFiltering(session *xorm.Session, mitigationScopeId int64) (err error)
- func DeleteCustomerParameterValue(session *xorm.Session, customerId int) (err error)
- func DeleteCustomerPrefix(session *xorm.Session, customerId int) (err error)
- func DeleteMitigationScopeICMPTypeRange(session *xorm.Session, mitigationScopeId int64) (err error)
- func DeleteMitigationScopeParameterValue(session *xorm.Session, mitigationScopeId int64) (err error)
- func DeleteMitigationScopePortRange(session *xorm.Session, mitigationScopeId int64) (err error)
- func DeleteMitigationScopePrefix(session *xorm.Session, mitigationScopeId int64) (err error)
- func DeleteTelemetryAttackDetailById(session *xorm.Session, id int64) (err error)
- func DeleteTelemetryConfigurationById(session *xorm.Session, id int64) (err error)
- func DeleteTelemetryParameterValue(session *xorm.Session, tType string, typeId int64) (err error)
- func DeleteTelemetryPortRange(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
- func DeleteTelemetryPrefix(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
- func DeleteTelemetrySetupById(session *xorm.Session, id int64) (err error)
- func DeleteTelemetrySourceCountByTeleAttackDetailId(session *xorm.Session, teleAdId int64) (err error)
- func DeleteTelemetrySourceICMPTypeRange(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteTelemetrySourcePortRange(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteTelemetrySourcePrefix(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteTelemetryTopTalkerById(session *xorm.Session, id int64) (err error)
- func DeleteTelemetryTotalAttackConnection(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
- func DeleteTelemetryTraffic(session *xorm.Session, prefixType string, prefixTypeId int64, ...) (err error)
- func DeleteTotalConnectionCapacityByTeleBaselineId(session *xorm.Session, teleBaselineId int64) (err error)
- func DeleteTotalConnectionCapacityPerPortByTeleBaselineId(session *xorm.Session, teleBaselineId int64) (err error)
- func DeleteTotalPipeCapacityById(session *xorm.Session, id int64) (err error)
- func DeleteTraffic(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
- func DeleteTrafficPerPort(session *xorm.Session, tType string, typeId int64) (err error)
- func DeleteTrafficPerProtocol(session *xorm.Session, tType string, typeId int64) (err error)
- func DeleteUnitConfigurationByTeleConfigId(session *xorm.Session, tcid int64) (err error)
- func DeleteUriFilteringAttackDetailByTelePreMitigationId(session *xorm.Session, telePreMitigationId int64) (err error)
- func DeleteUriFilteringIcmpTypeRange(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteUriFilteringSourceCountByTeleAttackDetailId(session *xorm.Session, teleAdId int64) (err error)
- func DeleteUriFilteringSourcePortRange(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteUriFilteringSourcePrefix(session *xorm.Session, teleTopTalkerId int64) (err error)
- func DeleteUriFilteringTelemetryPreMitigationByTmid(session *xorm.Session, tmid int) (err error)
- func DeleteUriFilteringTopTalkerByAttackDetailId(session *xorm.Session, teleAttackDetailId int64) (err error)
- func DeleteUriFilteringTotalAttackConnectionPort(session *xorm.Session, telePreMitigationId int64) (err error)
- func DeleteUriFilteringTotalAttackConnectionProtocol(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
- func DeleteUriFilteringTraffic(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
- func DeleteUriFilteringTrafficPerPort(session *xorm.Session, telePreMitigationId int64) (err error)
- func DeleteUriFilteringTrafficPerProtocol(session *xorm.Session, telePreMitigationId int64) (err error)
- func GetAliasNameValue(param *ParameterValue) string
- func GetFqdnValue(param *ParameterValue) string
- func GetTargetProtocolValue(param *ParameterValue) int
- func GetTrafficProtocolValue(param *ParameterValue) int
- func GetUriValue(param *ParameterValue) string
- type AristaParameter
- type Baseline
- type Blocker
- type BlockerConfiguration
- type BlockerConfigurationParameter
- type BlockerParameter
- type ControlFiltering
- type Customer
- type FlowSpecParameter
- type GoBgpParameter
- type IcmpTypeRange
- type MitigationScope
- type ParameterValue
- func CreateAliasNameParam(aliasName string) (param *ParameterValue)
- func CreateFqdnParam(fqdn string) (param *ParameterValue)
- func CreateParameterValue(value interface{}, typeString string) *ParameterValue
- func CreateTargetProtocolParam(targetProtocol int) (param *ParameterValue)
- func CreateTrafficProtocolParam(trafficProtocol int) (param *ParameterValue)
- func CreateUriParam(uri string) (param *ParameterValue)
- type PortRange
- type Prefix
- func CreateAddressRangeParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateDestinationIpv4NetworkParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateIpAddressParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateIpParam(addr string, prefixLen int) (prefix *Prefix)
- func CreatePrefixParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateSourceIpv4NetworkParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateSourcePrefixParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateTargetIpParam(addr string, prefixLen int) (prefix *Prefix)
- func CreateTargetPrefixParam(addr string, prefixLen int) (prefix *Prefix)
- type Protection
- type ProtectionParameter
- type ProtectionStatus
- type SignalSessionConfiguration
- type TelemetryAttackDetail
- type TelemetryConfiguration
- type TelemetryParameterValue
- type TelemetryPortRange
- type TelemetryPrefix
- type TelemetrySetup
- type TelemetrySourceCount
- type TelemetrySourceIcmpTypeRange
- type TelemetrySourcePortRange
- type TelemetrySourcePrefix
- type TelemetryTopTalker
- type TelemetryTotalAttackConnection
- type TelemetryTraffic
- type TotalConnectionCapacity
- type TotalConnectionCapacityPerPort
- type TotalPipeCapacity
- type Traffic
- type TrafficPerPort
- type TrafficPerProtocol
- type UnitConfiguration
- type UriFilteringAttackDetail
- type UriFilteringIcmpTypeRange
- type UriFilteringSourceCount
- type UriFilteringSourcePortRange
- type UriFilteringSourcePrefix
- type UriFilteringTelemetryPreMitigation
- type UriFilteringTopTalker
- type UriFilteringTotalAttackConnectionPort
- type UriFilteringTotalAttackConnectionProtocol
- type UriFilteringTraffic
- type UriFilteringTrafficPerPort
- type UriFilteringTrafficPerProtocol
Constants ¶
const ParameterValueFieldTrafficProtocol = "TrafficProtocol"
const ParameterValueTypeAliasName = "ALIAS_NAME"
const ParameterValueTypeFqdn = "FQDN"
const ParameterValueTypeTargetProtocol = "TARGET_PROTOCOL"
const ParameterValueTypeTrafficProtocol = "TRAFFIC_PROTOCOL"
const ParameterValueTypeUri = "URI"
const PortRangeTypeSourcePort = "SOURCE_PORT"
const PortRangeTypeTargetPort = "TARGET_PORT"
const PrefixTypeAddressRange = "ADDRESS_RANGE"
const PrefixTypeDestinationIpv4Network = "DESTINATION_IPV4_NETWORK"
const PrefixTypeIp = "IP"
const PrefixTypeIpAddress = "IP_ADDRESS"
const PrefixTypePrefix = "PREFIX"
const PrefixTypeSourceIpv4Network = "SOURCE_IPV4_NETWORK"
const PrefixTypeSourcePrefix = "SOURCE_PREFIX"
const PrefixTypeTargetIp = "TARGET_IP"
const PrefixTypeTargetPrefix = "TARGET_PREFIX"
const TELEMETRY = "TELEMETRY"
const TELEMETRY_SETUP = "TELEMETRY_SETUP"
Variables ¶
var TableLists []interface{}
Functions ¶
func CreateIpAddress ¶
func DeleteBaselineById ¶
Delete baseline by id
func DeleteControlFiltering ¶
func DeleteCustomerPrefix ¶
func DeleteMitigationScopeICMPTypeRange ¶
* Delete icmp type range by mitigation scope id
func DeleteMitigationScopePortRange ¶
* Delete port range by mitigation scope id
func DeleteTelemetryAttackDetailById ¶
Delete telemetry attack-detail by Id
func DeleteTelemetryConfigurationById ¶
Delete telemetry configuration by id
func DeleteTelemetryParameterValue ¶
Delete telemetry parameter value
func DeleteTelemetryPortRange ¶
func DeleteTelemetryPortRange(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
Delete telemetry port range
func DeleteTelemetryPrefix ¶
func DeleteTelemetryPrefix(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
Delete telemetry prefix
func DeleteTelemetrySetupById ¶
Delete telemetry setup by id
func DeleteTelemetrySourceCountByTeleAttackDetailId ¶
func DeleteTelemetrySourceCountByTeleAttackDetailId(session *xorm.Session, teleAdId int64) (err error)
Delete attack-detail by Id
func DeleteTelemetrySourceICMPTypeRange ¶
Delete telemetry source icmp type range by telemetry top talker id
func DeleteTelemetrySourcePortRange ¶
Delete telemetry source port range
func DeleteTelemetrySourcePrefix ¶
Delete telemetry source prefix
func DeleteTelemetryTopTalkerById ¶
Delete telemetry top-talker by Id
func DeleteTelemetryTotalAttackConnection ¶
func DeleteTelemetryTotalAttackConnection(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
Delete telemetry total attack connection (by mitigation)
func DeleteTelemetryTraffic ¶
func DeleteTelemetryTraffic(session *xorm.Session, prefixType string, prefixTypeId int64, trafficType string) (err error)
Delete telemetry traffic (by mitigation)
func DeleteTotalConnectionCapacityByTeleBaselineId ¶
func DeleteTotalConnectionCapacityByTeleBaselineId(session *xorm.Session, teleBaselineId int64) (err error)
Delete total connection capacity by teleBaselineId
func DeleteTotalConnectionCapacityPerPortByTeleBaselineId ¶
func DeleteTotalConnectionCapacityPerPortByTeleBaselineId(session *xorm.Session, teleBaselineId int64) (err error)
Delete total connection capacity per port by teleBaselineId
func DeleteTotalPipeCapacityById ¶
Delete total pipe capacity by id
func DeleteTraffic ¶
func DeleteTraffic(session *xorm.Session, tType string, typeId int64, prefixType string) (err error)
Delete traffic
func DeleteTrafficPerPort ¶
Delete traffic per port
func DeleteTrafficPerProtocol ¶
Delete traffic per protocol
func DeleteUnitConfigurationByTeleConfigId ¶
Delete unit configuration by teleConfigId
func DeleteUriFilteringAttackDetailByTelePreMitigationId ¶
func DeleteUriFilteringAttackDetailByTelePreMitigationId(session *xorm.Session, telePreMitigationId int64) (err error)
Delete uri filtering attack-detail by TelePreMitigationId
func DeleteUriFilteringIcmpTypeRange ¶
Delete uri filtering icmp type range by telemetry top talker id
func DeleteUriFilteringSourceCountByTeleAttackDetailId ¶
func DeleteUriFilteringSourceCountByTeleAttackDetailId(session *xorm.Session, teleAdId int64) (err error)
Delete uri filtering attack-detail by Id
func DeleteUriFilteringSourcePortRange ¶
Delete uri filtering source port range
func DeleteUriFilteringSourcePrefix ¶
Delete uri filtering source prefix
func DeleteUriFilteringTelemetryPreMitigationByTmid ¶
Delete uri filtering telemetry pre-mitigtaion by tmid
func DeleteUriFilteringTopTalkerByAttackDetailId ¶
func DeleteUriFilteringTopTalkerByAttackDetailId(session *xorm.Session, teleAttackDetailId int64) (err error)
Delete uri filtering top-talker by Id
func DeleteUriFilteringTotalAttackConnectionPort ¶
func DeleteUriFilteringTotalAttackConnectionPort(session *xorm.Session, telePreMitigationId int64) (err error)
Delete uri filtering total attack connection port
func DeleteUriFilteringTotalAttackConnectionProtocol ¶
func DeleteUriFilteringTotalAttackConnectionProtocol(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
Delete uri filtering total attack connection protocol
func DeleteUriFilteringTraffic ¶
func DeleteUriFilteringTraffic(session *xorm.Session, prefixType string, prefixTypeId int64) (err error)
Delete uri filtering traffic
func DeleteUriFilteringTrafficPerPort ¶
Delete uri filtering traffic per port
func DeleteUriFilteringTrafficPerProtocol ¶
func DeleteUriFilteringTrafficPerProtocol(session *xorm.Session, telePreMitigationId int64) (err error)
Delete uri filtering traffic per protocol
func GetAliasNameValue ¶
func GetAliasNameValue(param *ParameterValue) string
func GetFqdnValue ¶
func GetFqdnValue(param *ParameterValue) string
func GetTargetProtocolValue ¶
func GetTargetProtocolValue(param *ParameterValue) int
func GetTrafficProtocolValue ¶
func GetTrafficProtocolValue(param *ParameterValue) int
func GetUriValue ¶
func GetUriValue(param *ParameterValue) string
Types ¶
type AristaParameter ¶
type Baseline ¶
type BlockerConfiguration ¶
type BlockerParameter ¶
type ControlFiltering ¶
type ControlFiltering struct { Id int64 `xorm:"'id' pk autoincr"` MitigationScopeId int64 `xorm:"'mitigation_scope_id'"` AclName string `xorm:"'acl_name'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateControlFiltering ¶
func CreateControlFiltering(aclName string) (controlFiltering *ControlFiltering)
type FlowSpecParameter ¶
type GoBgpParameter ¶
type IcmpTypeRange ¶
type IcmpTypeRange struct { Id int64 `xorm:"'id' pk autoincr"` MitigationScopeId int64 `xorm:"'mitigation_scope_id'"` LowerType int `xorm:"'lower_type'"` UpperType int `xorm:"'upper_type'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateSourceICMPTypeRangeParam ¶
func CreateSourceICMPTypeRangeParam(lowerType int, upperType int) (typeRange *IcmpTypeRange)
* Create source icmp type range
type MitigationScope ¶
type MitigationScope struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id'"` ClientIdentifier string `xorm:"'client_identifier'"` ClientDomainIdentifier string `xorm:"'client_domain_identifier'"` MitigationId int `xorm:"'mitigation_id'"` Status int `xorm:"'status'"` Lifetime int `xorm:"'lifetime'"` TriggerMitigation bool `xorm:"'trigger-mitigation'"` AttackStatus int `xorm:"'attack-status'"` AclName string `xorm:"'acl_name'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
type ParameterValue ¶
type ParameterValue struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id'"` MitigationScopeId int64 `xorm:"'mitigation_scope_id'"` Type string `xorm:"'type' enum('FQDN','URI','TRAFFIC_PROTOCOL','ALIAS_NAME','TARGET_PROTOCOL') not null"` StringValue string `xorm:"'string_value'"` IntValue int `xorm:"'int_value'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateAliasNameParam ¶
func CreateAliasNameParam(aliasName string) (param *ParameterValue)
func CreateFqdnParam ¶
func CreateFqdnParam(fqdn string) (param *ParameterValue)
func CreateParameterValue ¶
func CreateParameterValue(value interface{}, typeString string) *ParameterValue
func CreateTargetProtocolParam ¶
func CreateTargetProtocolParam(targetProtocol int) (param *ParameterValue)
func CreateTrafficProtocolParam ¶
func CreateTrafficProtocolParam(trafficProtocol int) (param *ParameterValue)
func CreateUriParam ¶
func CreateUriParam(uri string) (param *ParameterValue)
type PortRange ¶
type PortRange struct { Id int64 `xorm:"'id' pk autoincr"` MitigationScopeId int64 `xorm:"'mitigation_scope_id'"` Type string `xorm:"'type' enum('TARGET_PORT','SOURCE_PORT') not null"` LowerPort int `xorm:"'lower_port'"` UpperPort int `xorm:"'upper_port'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateSourcePortRangeParam ¶
* Create source port range
func CreateTargetPortRangeParam ¶
* Create target port range
type Prefix ¶
type Prefix struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id'"` MitigationScopeId int64 `xorm:"'mitigation_scope_id'"` Type string `` /* 164-byte string literal not displayed */ Addr string `xorm:"'addr'"` PrefixLen int `xorm:"'prefix_len'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateAddressRangeParam ¶
func CreateIpAddressParam ¶
func CreateIpParam ¶
func CreatePrefixParam ¶
func CreateSourcePrefixParam ¶
func CreateTargetIpParam ¶
func CreateTargetPrefixParam ¶
type Protection ¶
type Protection struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id' not null"` TargetId int64 `xorm:"'target_id' not null"` TargetType string `xorm:"'target_type' not null"` AclName string `xorm:"'acl_name'"` IsEnabled bool `xorm:"'is_enabled' not null"` ProtectionType string `xorm:"'protection_type' not null"` TargetBlockerId int64 `xorm:"'target_blocker_id'"` StartedAt time.Time `xorm:"'started_at'"` FinishedAt time.Time `xorm:"'finished_at'"` RecordTime time.Time `xorm:"'record_time'"` DroppedDataInfoId int64 `xorm:"'dropped_data_info_id'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
type ProtectionParameter ¶
type ProtectionStatus ¶
type SignalSessionConfiguration ¶
type SignalSessionConfiguration struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id' not null index(idx_customer_id)"` SessionId int `xorm:"'session_id' not null index(idx_session_id)"` HeartbeatInterval int `xorm:"'heartbeat_interval'"` MissingHbAllowed int `xorm:"'missing_hb_allowed'"` MaxRetransmit int `xorm:"'max_retransmit'"` AckTimeout float64 `xorm:"'ack_timeout'"` AckRandomFactor float64 `xorm:"'ack_random_factor'"` MaxPayload int `xorm:"max_payload"` NonMaxRetransmit int `xorm:"non_max_retransmit"` NonTimeout float64 `xorm:"non_timeout"` NonReceiveTimeout float64 `xorm:"non_receive_timeout"` NonProbingWait float64 `xorm:"non_probing_wait"` NonPartialWait float64 `xorm:"non_partial_wait"` HeartbeatIntervalIdle int `xorm:"'heartbeat_interval_idle'"` MissingHbAllowedIdle int `xorm:"'missing_hb_allowed_idle'"` MaxRetransmitIdle int `xorm:"'max_retransmit_idle'"` AckTimeoutIdle float64 `xorm:"'ack_timeout_idle'"` AckRandomFactorIdle float64 `xorm:"'ack_random_factor_idle'"` MaxPayloadIdle int `xorm:"max_payload_idle"` NonMaxRetransmitIdle int `xorm:"non_max_retransmit_idle"` NonTimeoutIdle float64 `xorm:"non_timeout_idle"` NonReceiveTimeoutIdle float64 `xorm:"non_receive_timeout_idle"` NonProbingWaitIdle float64 `xorm:"non_probing_wait_idle"` NonPartialWaitIdle float64 `xorm:"non_partial_wait_idle"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
type TelemetryAttackDetail ¶
type TelemetryAttackDetail struct { Id int64 `xorm:"'id' pk autoincr"` MitigationScopeId int64 `xorm:"'mitigation_scope_id' not null"` VendorId int `xorm:"vendor_id"` AttackId int `xorm:"'attack_id' not null"` AttackDescription string `xorm:"attack_description"` AttackSeverity string `xorm:"'attack_severity' enum('none','low','medium','high','unknown') not null"` StartTime uint64 `xorm:"start_time"` EndTime uint64 `xorm:"end_time"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryAttackDetailByMitigationScopeId ¶
func GetTelemetryAttackDetailByMitigationScopeId(engine *xorm.Engine, mitigationScopeId int64) ([]TelemetryAttackDetail, error)
Get telemetry attack-detail by MitigationScopeId
type TelemetryConfiguration ¶
type TelemetryConfiguration struct { Id int64 `xorm:"'id' pk autoincr"` TeleSetupId int64 `xorm:"'tele_setup_id' not null"` MeasurementInterval string `xorm:"'measurement_interval' enum('5-minutes','10-minutes','30-minutes','hour','day','week','month') not null"` MeasurementSample string `` /* 130-byte string literal not displayed */ LowPercentile float64 `xorm:"'low_percentile'"` MidPercentile float64 `xorm:"'mid_percentile'"` HighPercentile float64 `xorm:"'high_percentile'"` ServerOriginatedTelemetry bool `xorm:"'server_originated_telemetry' not null"` TelemetryNotifyInterval int `xorm:"'telemetry_notify_interval'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryConfigurationByTeleSetupId ¶
func GetTelemetryConfigurationByTeleSetupId(engine *xorm.Engine, teleSetupId int64) (telemetryConfiguration TelemetryConfiguration, err error)
Get telemetry configuration by teleSetupId
type TelemetryParameterValue ¶
type TelemetryParameterValue struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` TypeId int64 `xorm:"'type_id' not null"` ParameterType string `xorm:"'parameter_type' enum('TARGET_PROTOCOL','FQDN','URI','ALIAS_NAME') not null"` StringValue string `xorm:"'string_value'"` IntValue int `xorm:"'int_value'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryParameterValue ¶
func GetTelemetryParameterValue(engine *xorm.Engine, tType string, typeId int64, parameterType string) (parameterList []TelemetryParameterValue, err error)
Get telemetry parameter value
type TelemetryPortRange ¶
type TelemetryPortRange struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` TypeId int64 `xorm:"'type_id' not null"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` LowerPort int `xorm:"'lower_port' not null"` UpperPort int `xorm:"'upper_port'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryPortRange ¶
func GetTelemetryPortRange(engine *xorm.Engine, tType string, typeId int64, prefixType string) (portRangeList []TelemetryPortRange, err error)
Get telemetry port range
type TelemetryPrefix ¶
type TelemetryPrefix struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` TypeId int64 `xorm:"'type_id' not null"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` Addr string `xorm:"'addr'"` PrefixLen int `xorm:"'prefix_len'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryPrefix ¶
func GetTelemetryPrefix(engine *xorm.Engine, tType string, typeId int64, prefixType string) (prefixList []TelemetryPrefix, err error)
Get telemetry prefix
type TelemetrySetup ¶
type TelemetrySetup struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id' not null"` Cuid string `xorm:"'cuid' not null"` Cdid string `xorm:"'cdid'"` Tsid int `xorm:"'tsid' not null"` SetupType string `xorm:"'setup_type' enum('TELEMETRY_CONFIGURATION','PIPE','BASLINE') not null"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
type TelemetrySourceCount ¶
type TelemetrySourceCount struct { Id int64 `xorm:"'id' pk autoincr"` TeleAttackDetailId int64 `xorm:"'tele_attack_detail_id' not null"` LowPercentileG uint64 `xorm:"low_percentile_g"` MidPercentileG uint64 `xorm:"mid_percentile_g"` HighPercentileG uint64 `xorm:"high_percentile_g"` PeakG uint64 `xorm:"peak_g"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetrySourceCountByTeleAttackDetailId ¶
func GetTelemetrySourceCountByTeleAttackDetailId(engine *xorm.Engine, teleAdId int64) (*TelemetrySourceCount, error)
Get telemetry source-count by TeleAttackDetailId
type TelemetrySourceIcmpTypeRange ¶
type TelemetrySourceIcmpTypeRange struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` LowerType int `xorm:"'lower_type'"` UpperType int `xorm:"'upper_type'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetrySourceIcmpTypeRange ¶
func GetTelemetrySourceIcmpTypeRange(engine *xorm.Engine, teleTopTalkerId int64) (icmpTypeRangeList []TelemetrySourceIcmpTypeRange, err error)
Get telemetry source icmp type range
type TelemetrySourcePortRange ¶
type TelemetrySourcePortRange struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` LowerPort int `xorm:"'lower_port' not null"` UpperPort int `xorm:"'upper_port'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetrySourcePortRange ¶
func GetTelemetrySourcePortRange(engine *xorm.Engine, teleTopTalkerId int64) (portRangeList []TelemetrySourcePortRange, err error)
Get telemetry source port range
type TelemetrySourcePrefix ¶
type TelemetrySourcePrefix struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` Addr string `xorm:"'addr'"` PrefixLen int `xorm:"'prefix_len'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetrySourcePrefix ¶
func GetTelemetrySourcePrefix(engine *xorm.Engine, teleTopTalkerId int64) (prefixList TelemetrySourcePrefix, err error)
Get telemetry source prefix
type TelemetryTopTalker ¶
type TelemetryTopTalker struct { Id int64 `xorm:"'id' pk autoincr"` TeleAttackDetailId int64 `xorm:"'tele_attack_detail_id' not null"` SpoofedStatus bool `xorm:"spoofed_status"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryTopTalkerByTeleAttackDetailId ¶
func GetTelemetryTopTalkerByTeleAttackDetailId(engine *xorm.Engine, teleAdId int64) (topTalkerList []TelemetryTopTalker, err error)
Get telemetry top-talker by TeleAttackDetailId
type TelemetryTotalAttackConnection ¶
type TelemetryTotalAttackConnection struct { Id int64 `xorm:"'id' pk autoincr"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` PrefixTypeId int64 `xorm:"'prefix_type_id' not null"` Type string `xorm:"'type' enum('CONNECTION-C','EMBRYONIC-C','CONNECTION-PS-C','REQUEST-PS-C','PARTIAL-REQUEST-C') not null"` LowPercentileG uint64 `xorm:"low_percentile_g"` MidPercentileG uint64 `xorm:"mid_percentile_g"` HighPercentileG uint64 `xorm:"high_percentile_g"` PeakG uint64 `xorm:"peak_g"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryTotalAttackConnection ¶
func GetTelemetryTotalAttackConnection(engine *xorm.Engine, prefixType string, prefixTypeId int64) (ttacList []TelemetryTotalAttackConnection, err error)
Get telemetry total attack connection (by mitigation)
type TelemetryTraffic ¶
type TelemetryTraffic struct { Id int64 `xorm:"'id' pk autoincr"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` PrefixTypeId int64 `xorm:"'prefix_type_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` CurrentG uint64 `xorm:"current_g"` PeakG uint64 `xorm:"'peak_g'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTelemetryTraffic ¶
func GetTelemetryTraffic(engine *xorm.Engine, prefixType string, prefixTypeId int64, trafficType string) (trafficList []TelemetryTraffic, err error)
Get telemetry traffic (by mitigation)
type TotalConnectionCapacity ¶
type TotalConnectionCapacity struct { Id int64 `xorm:"'id' pk autoincr"` TeleBaselineId int64 `xorm:"'tele_baseline_id' not null"` Protocol int `xorm:"'protocol' not null"` Connection uint64 `xorm:"'connection'"` ConnectionClient uint64 `xorm:"'connection_client'"` Embryonic uint64 `xorm:"'embryonic'"` EmbryonicClient uint64 `xorm:"'embryonic_client'"` ConnectionPs uint64 `xorm:"'connection_ps'"` ConnectionClientPs uint64 `xorm:"'connection_client_ps'"` RequestPs uint64 `xorm:"'request_ps'"` RequestClientPs uint64 `xorm:"'request_client_ps'"` PartialRequestMax uint64 `xorm:"'partial_request_max'"` PartialRequestClientMax uint64 `xorm:"'partial_request_client_max'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTotalConnectionCapacityByTeleBaselineId ¶
func GetTotalConnectionCapacityByTeleBaselineId(engine *xorm.Engine, teleBaselineId int64) (tccList []TotalConnectionCapacity, err error)
Get total connection capacity by teleBaselineId
type TotalConnectionCapacityPerPort ¶
type TotalConnectionCapacityPerPort struct { Id int64 `xorm:"'id' pk autoincr"` TeleBaselineId int64 `xorm:"'tele_baseline_id' not null"` Protocol int `xorm:"'protocol' not null"` Port int `xorm:"'port' not null"` Connection uint64 `xorm:"'connection'"` ConnectionClient uint64 `xorm:"'connection_client'"` Embryonic uint64 `xorm:"'embryonic'"` EmbryonicClient uint64 `xorm:"'embryonic_client'"` ConnectionPs uint64 `xorm:"'connection_ps'"` ConnectionClientPs uint64 `xorm:"'connection_client_ps'"` RequestPs uint64 `xorm:"'request_ps'"` RequestClientPs uint64 `xorm:"'request_client_ps'"` PartialRequestMax uint64 `xorm:"'partial_request_max'"` PartialRequestClientMax uint64 `xorm:"'partial_request_client_max'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTotalConnectionCapacityPerPortByTeleBaselineId ¶
func GetTotalConnectionCapacityPerPortByTeleBaselineId(engine *xorm.Engine, teleBaselineId int64) (tccList []TotalConnectionCapacityPerPort, err error)
Get total connection capacity per port by teleBaselineId
type TotalPipeCapacity ¶
type TotalPipeCapacity struct { Id int64 `xorm:"'id' pk autoincr"` TeleSetupId int64 `xorm:"'tele_setup_id' not null"` LinkId string `xorm:"'link_id' not null"` Capacity uint64 `xorm:"'capacity'"` Unit string `` /* 232-byte string literal not displayed */ Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTotalPipeCapacityByTeleSetupId ¶
func GetTotalPipeCapacityByTeleSetupId(engine *xorm.Engine, teleSetupId int64) (pipeList []TotalPipeCapacity, err error)
Get total pipe capacity by teleSetupId
type Traffic ¶
type Traffic struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` TypeId int64 `xorm:"'type_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
type TrafficPerPort ¶
type TrafficPerPort struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` TypeId int64 `xorm:"'type_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ Port int `xorm:"'port' not null"` LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTrafficPerPort ¶
func GetTrafficPerPort(engine *xorm.Engine, tType string, typeId int64, trafficType string) (trafficList []TrafficPerPort, err error)
Get traffic per port
type TrafficPerProtocol ¶
type TrafficPerProtocol struct { Id int64 `xorm:"'id' pk autoincr"` Type string `xorm:"'type' enum('TELEMETRY','TELEMETRY_SETUP') not null"` TypeId int64 `xorm:"'type_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ Protocol int `xorm:"'protocol' not null"` LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetTrafficPerProtocol ¶
func GetTrafficPerProtocol(engine *xorm.Engine, tType string, typeId int64, trafficType string) (trafficList []TrafficPerProtocol, err error)
Get traffic per protocol
type UnitConfiguration ¶
type UnitConfiguration struct { Id int64 `xorm:"'id' pk autoincr"` TeleConfigId int64 `xorm:"'tele_config_id' not null"` Unit string `xorm:"'unit' enum('packet-ps','bit-ps','byte-ps') not null"` UnitStatus bool `xorm:"'unit_status'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func CreateUnitConfiguration ¶
func CreateUnitConfiguration(tcid int64, unit string, unitStatus bool) (unitConfig *UnitConfiguration)
create unit configuration
type UriFilteringAttackDetail ¶
type UriFilteringAttackDetail struct { Id int64 `xorm:"'id' pk autoincr"` TelePreMitigationId int64 `xorm:"tele_pre_mitigation_id"` VendorId int `xorm:"vendor_id"` AttackId int `xorm:"'attack_id' not null"` DescriptionLang string `xorm:"description_lang"` AttackDescription string `xorm:"attack_description"` AttackSeverity string `xorm:"'attack_severity' enum('none','low','medium','high','unknown') not null"` StartTime uint64 `xorm:"start_time"` EndTime uint64 `xorm:"end_time"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringAttackDetailByTelePreMitigationId ¶
func GetUriFilteringAttackDetailByTelePreMitigationId(engine *xorm.Engine, telePreMitigationId int64) ([]UriFilteringAttackDetail, error)
Get uri filtering attack-detail by TelePreMitigationId
type UriFilteringIcmpTypeRange ¶
type UriFilteringIcmpTypeRange struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` LowerType int `xorm:"'lower_type'"` UpperType int `xorm:"'upper_type'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringIcmpTypeRange ¶
func GetUriFilteringIcmpTypeRange(engine *xorm.Engine, teleTopTalkerId int64) (icmpTypeRangeList []UriFilteringIcmpTypeRange, err error)
Get uri filtering icmp type range
type UriFilteringSourceCount ¶
type UriFilteringSourceCount struct { Id int64 `xorm:"'id' pk autoincr"` TeleAttackDetailId int64 `xorm:"'tele_attack_detail_id' not null"` LowPercentileG uint64 `xorm:"low_percentile_g"` MidPercentileG uint64 `xorm:"mid_percentile_g"` HighPercentileG uint64 `xorm:"high_percentile_g"` PeakG uint64 `xorm:"peak_g"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringSourceCountByTeleAttackDetailId ¶
func GetUriFilteringSourceCountByTeleAttackDetailId(engine *xorm.Engine, teleAdId int64) (*UriFilteringSourceCount, error)
Get uri filtering source-count by TeleAttackDetailId
type UriFilteringSourcePortRange ¶
type UriFilteringSourcePortRange struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` LowerPort int `xorm:"'lower_port' not null"` UpperPort int `xorm:"'upper_port'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringSourcePortRange ¶
func GetUriFilteringSourcePortRange(engine *xorm.Engine, teleTopTalkerId int64) (portRangeList []UriFilteringSourcePortRange, err error)
Get uri filtering source port range
type UriFilteringSourcePrefix ¶
type UriFilteringSourcePrefix struct { Id int64 `xorm:"'id' pk autoincr"` TeleTopTalkerId int64 `xorm:"'tele_top_talker_id' not null"` Addr string `xorm:"'addr'"` PrefixLen int `xorm:"'prefix_len'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringSourcePrefix ¶
func GetUriFilteringSourcePrefix(engine *xorm.Engine, teleTopTalkerId int64) (prefixList UriFilteringSourcePrefix, err error)
Get uri filtering source prefix
type UriFilteringTelemetryPreMitigation ¶
type UriFilteringTelemetryPreMitigation struct { Id int64 `xorm:"'id' pk autoincr"` CustomerId int `xorm:"'customer_id' not null"` Cuid string `xorm:"'cuid' not null"` Cdid string `xorm:"'cdid'"` Tmid int `xorm:"'tmid' not null"` TargetPrefix string `xorm:"target_prefix"` LowerPort int `xorm:"lower_port"` UpperPort int `xorm:"upper_port"` TargetProtocol int `xorm:"target_protocol"` TargetFqdn string `xorm:"target_fqdn"` AliasName string `xorm:"alias_name"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTelemetryPreMitigationByCuid ¶
func GetUriFilteringTelemetryPreMitigationByCuid(engine *xorm.Engine, customerId int, cuid string) ([]UriFilteringTelemetryPreMitigation, error)
Get uri filtering telemetry pre-mitigation by cuid
func GetUriFilteringTelemetryPreMitigationByTmid ¶
func GetUriFilteringTelemetryPreMitigationByTmid(engine *xorm.Engine, customerId int, cuid string, tmid int) ([]UriFilteringTelemetryPreMitigation, error)
Get uri filtering telemetry pre-mitigation by tmid
type UriFilteringTopTalker ¶
type UriFilteringTopTalker struct { Id int64 `xorm:"'id' pk autoincr"` TeleAttackDetailId int64 `xorm:"'tele_attack_detail_id' not null"` SpoofedStatus bool `xorm:"spoofed_status"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTopTalkerByTeleAttackDetailId ¶
func GetUriFilteringTopTalkerByTeleAttackDetailId(engine *xorm.Engine, teleAdId int64) (topTalkerList []UriFilteringTopTalker, err error)
Get uri filtering top-talker by TeleAttackDetailId
type UriFilteringTotalAttackConnectionPort ¶
type UriFilteringTotalAttackConnectionPort struct { Id int64 `xorm:"'id' pk autoincr"` TelePreMitigationId int64 `xorm:"'tele_pre_mitigation_id' not null"` Protocol int `xorm:"'protocol' not null"` Port int `xorm:"'port' not null"` Type string `xorm:"'type' enum('CONNECTION-C','EMBRYONIC-C','CONNECTION-PS-C','REQUEST-PS-C','PARTIAL-REQUEST-C')"` LowPercentileG uint64 `xorm:"low_percentile_g"` MidPercentileG uint64 `xorm:"mid_percentile_g"` HighPercentileG uint64 `xorm:"high_percentile_g"` PeakG uint64 `xorm:"peak_g"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTotalAttackConnectionPort ¶
func GetUriFilteringTotalAttackConnectionPort(engine *xorm.Engine, telePreMitigationId int64) (tac []UriFilteringTotalAttackConnectionPort, err error)
Get uri filtering total attack connection port
type UriFilteringTotalAttackConnectionProtocol ¶
type UriFilteringTotalAttackConnectionProtocol struct { Id int64 `xorm:"'id' pk autoincr"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` PrefixTypeId int64 `xorm:"'prefix_type_id' not null"` Protocol int `xorm:"'protocol' not null"` Type string `xorm:"'type' enum('CONNECTION-C','EMBRYONIC-C','CONNECTION-PS-C','REQUEST-PS-C','PARTIAL-REQUEST-C')"` LowPercentileG uint64 `xorm:"low_percentile_g"` MidPercentileG uint64 `xorm:"mid_percentile_g"` HighPercentileG uint64 `xorm:"high_percentile_g"` PeakG uint64 `xorm:"peak_g"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTotalAttackConnectionProtocol ¶
func GetUriFilteringTotalAttackConnectionProtocol(engine *xorm.Engine, prefixType string, prefixTypeId int64) (tac []UriFilteringTotalAttackConnectionProtocol, err error)
Get uri filtering total attack connection protocol
type UriFilteringTraffic ¶
type UriFilteringTraffic struct { Id int64 `xorm:"'id' pk autoincr"` PrefixType string `xorm:"'prefix_type' enum('TARGET_PREFIX','SOURCE_PREFIX') not null"` PrefixTypeId int64 `xorm:"'prefix_type_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTraffic ¶
func GetUriFilteringTraffic(engine *xorm.Engine, prefixType string, prefixTypeId int64, trafficType string) (trafficList []UriFilteringTraffic, err error)
Get uri filtering traffic
type UriFilteringTrafficPerPort ¶
type UriFilteringTrafficPerPort struct { Id int64 `xorm:"'id' pk autoincr"` TelePreMitigationId int64 `xorm:"'tele_pre_mitigation_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ Port int `xorm:"'port' not null"` LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTrafficPerPort ¶
func GetUriFilteringTrafficPerPort(engine *xorm.Engine, telePreMitigationId int64, trafficType string) (trafficList []UriFilteringTrafficPerPort, err error)
Get uri filtering traffic per port
type UriFilteringTrafficPerProtocol ¶
type UriFilteringTrafficPerProtocol struct { Id int64 `xorm:"'id' pk autoincr"` TelePreMitigationId int64 `xorm:"'tele_pre_mitigation_id' not null"` TrafficType string `xorm:"'traffic_type' enum('TOTAL_TRAFFIC_NORMAL','TOTAL_ATTACK_TRAFFIC','TOTAL_TRAFFIC') not null"` Unit string `` /* 232-byte string literal not displayed */ Protocol int `xorm:"'protocol' not null"` LowPercentileG uint64 `xorm:"'low_percentile_g'"` MidPercentileG uint64 `xorm:"'mid_percentile_g'"` HighPercentileG uint64 `xorm:"'high_percentile_g'"` PeakG uint64 `xorm:"'peak_g'"` CurrentG uint64 `xorm:"current_g"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` }
func GetUriFilteringTrafficPerProtocol ¶
func GetUriFilteringTrafficPerProtocol(engine *xorm.Engine, telePreMitigationId int64, trafficType string) (trafficList []UriFilteringTrafficPerProtocol, err error)
Get uri filtering traffic per protocol
Source Files ¶
- arista_parameter.go
- baseline.go
- blocker.go
- blocker_configuration.go
- blocker_configuration_parameter.go
- blocker_parameter.go
- control_filtering.go
- customer.go
- flow_spec_parameter.go
- gobgp_parameter.go
- icmp_type_range.go
- mitigation_scope.go
- parameter_value.go
- port_range.go
- prefix.go
- protection.go
- protection_parameter.go
- protection_status.go
- setting.go
- signal_session_configuration.go
- telemetry_attack_detail.go
- telemetry_configuration.go
- telemetry_parameter_value.go
- telemetry_port_range.go
- telemetry_prefix.go
- telemetry_setup.go
- telemetry_source_count.go
- telemetry_source_icmp_type_range.go
- telemetry_source_port_range.go
- telemetry_source_prefix.go
- telemetry_top_talker.go
- telemetry_total_attack_connection.go
- telemetry_traffic.go
- total_connection_capacity.go
- total_connection_capacity_per_port.go
- total_pipe_capacity.go
- traffic.go
- traffic_per_port.go
- traffic_per_protocol.go
- unit_configuration.go
- uri_filtering_attack_detail.go
- uri_filtering_icmp_type_range.go
- uri_filtering_source_count.go
- uri_filtering_source_port_range.go
- uri_filtering_source_prefix.go
- uri_filtering_telemetry_pre_mitigation.go
- uri_filtering_top_talker.go
- uri_filtering_total_attack_connection_port.go
- uri_filtering_total_attack_connection_protocol.go
- uri_filtering_traffic.go
- uri_filtering_traffic_per_port.go
- uri_filtering_traffic_per_protocol.go