Documentation
¶
Index ¶
- func AutoRelayHandlers(r *mux.Router)
- func EventHandlers(r *mux.Router)
- func FlowHandlers(r *mux.Router)
- func IntegrationHandlers(r *mux.Router)
- func JITHandlers(r *mux.Router)
- func ListRoles(w http.ResponseWriter, r *http.Request)
- func MetricHandlers(r *mux.Router)
- func NetworkHandlers(r *mux.Router)
- func OnlyServerAPIWhenUnlicensedMiddleware(handler http.Handler) http.Handler
- func PostureCheckHandlers(r *mux.Router)
- func RacHandlers(r *mux.Router)
- func ServerHandlers(r *mux.Router)
- func TagHandlers(r *mux.Router)
- func UserHandlers(r *mux.Router)
- type FlowRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRelayHandlers ¶
AutoRelayHandlers - handlers for AutoRelay
func EventHandlers ¶
func FlowHandlers ¶
func IntegrationHandlers ¶
func JITHandlers ¶
func ListRoles ¶
func ListRoles(w http.ResponseWriter, r *http.Request)
@Summary List all user roles @Router /api/v1/users/roles [get] @Tags Users @Security oauth @Produce json @Param platform query string false "If true, lists platform roles. Otherwise, lists network roles." @Success 200 {object} []schema.UserRole @Failure 500 {object} models.ErrorResponse
func NetworkHandlers ¶
func PostureCheckHandlers ¶
func RacHandlers ¶
func ServerHandlers ¶
func TagHandlers ¶
func UserHandlers ¶
Types ¶
type FlowRow ¶
type FlowRow struct {
FlowID string `ch:"flow_id" json:"flow_id"`
TenantID string `ch:"tenant_id" json:"tenant_id"`
HostID string `ch:"host_id" json:"host_id"`
HostName string `ch:"host_name" json:"host_name"`
NetworkID string `ch:"network_id" json:"network_id"`
Protocol uint16 `ch:"protocol" json:"protocol"`
SrcPort uint16 `ch:"src_port" json:"src_port"`
DstPort uint16 `ch:"dst_port" json:"dst_port"`
ICMPType uint8 `ch:"icmp_type" json:"icmp_type"`
ICMPCode uint8 `ch:"icmp_code" json:"icmp_code"`
Direction string `ch:"direction" json:"direction"`
SrcIP string `ch:"src_ip" json:"src_ip"`
SrcType string `ch:"src_type" json:"src_type"`
SrcEntityID string `ch:"src_entity_id" json:"src_entity_id"`
SrcEntityName string `ch:"src_entity_name" json:"src_entity_name"`
DstIP string `ch:"dst_ip" json:"dst_ip"`
DstType string `ch:"dst_type" json:"dst_type"`
DstEntityID string `ch:"dst_entity_id" json:"dst_entity_id"`
DstEntityName string `ch:"dst_entity_name" json:"dst_entity_name"`
StartTs time.Time `ch:"start_ts" json:"start_ts"`
EndTs time.Time `ch:"end_ts" json:"end_ts"`
BytesSent uint64 `ch:"bytes_sent" json:"bytes_sent"`
BytesRecv uint64 `ch:"bytes_recv" json:"bytes_recv"`
PacketsSent uint64 `ch:"packets_sent" json:"packets_sent"`
PacketsRecv uint64 `ch:"packets_recv" json:"packets_recv"`
Status uint32 `ch:"status" json:"status"`
Version time.Time `ch:"version" json:"version"`
}
FlowRow represents a single flow log entry
Click to show internal directories.
Click to hide internal directories.