File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,14 @@ export interface Fields {
179179 _IsFirst ?: string ;
180180 /** In conversation tracking, a counter of flow logs per conversation */
181181 numFlowLogs ?: number ;
182+ /** Xlat Source IP address (ipv4 or ipv6) */
183+ XlatSrcAddr ?: string ;
184+ /** Xlat Destination IP address (ipv4 or ipv6) */
185+ XlatDstAddr ?: string ;
186+ /** Xlat Source port */
187+ XlatSrcPort ?: number ;
188+ /** Xlat Destination port */
189+ XlatDstPort ?: number ;
182190}
183191
184192export type Field = keyof Fields | keyof Labels ;
Original file line number Diff line number Diff line change @@ -378,6 +378,26 @@ export const RecordField: React.FC<RecordFieldProps> = ({
378378 flow . fields . DstK8S_Name
379379 )
380380 ) ;
381+ case ColumnsId . xlatsrckubeobject :
382+ return singleContainer (
383+ explicitKubeObjContent (
384+ flow . fields . XlatSrcAddr || '' ,
385+ flow . fields . XlatSrcPort || NaN ,
386+ flow . labels . SrcK8S_Type ,
387+ flow . labels . SrcK8S_Namespace ,
388+ flow . fields . SrcK8S_Name
389+ )
390+ ) ;
391+ case ColumnsId . xlatdstkubeobject :
392+ return singleContainer (
393+ explicitKubeObjContent (
394+ flow . fields . XlatDstAddr || '' ,
395+ flow . fields . XlatDstPort || NaN ,
396+ flow . labels . DstK8S_Type ,
397+ flow . labels . DstK8S_Namespace ,
398+ flow . fields . DstK8S_Name
399+ )
400+ ) ;
381401 case ColumnsId . ownerkubeobject :
382402 return doubleContainer (
383403 explicitKubeObjContent (
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ export enum ColumnsId {
2626 kubeobject = 'K8S_Object' ,
2727 srckubeobject = 'SrcK8S_Object' ,
2828 dstkubeobject = 'DstK8S_Object' ,
29+ xlatsrckubeobject = 'XlatSrcK8S_Object' ,
30+ xlatdstkubeobject = 'XlatDstK8S_Object' ,
2931 addr = 'Addr' ,
3032 srcaddr = 'SrcAddr' ,
3133 dstaddr = 'DstAddr' ,
@@ -44,7 +46,7 @@ export enum ColumnsId {
4446 dscp = 'Dscp' ,
4547 tcpflags = 'TCPFlags' ,
4648 bytes = 'Bytes' ,
47- packets = 'Packets ' ,
49+ packets = 'Padstkubeobjectckets ' ,
4850 owner = 'K8S_OwnerName' ,
4951 srcowner = 'SrcK8S_OwnerName' ,
5052 dstowner = 'DstK8S_OwnerName' ,
You can’t perform that action at this time.
0 commit comments