/
resource_ddos_dst_entry_stats.go
1523 lines (1513 loc) · 88.3 KB
/
resource_ddos_dst_entry_stats.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package thunder
import (
"context"
edpt "github.com/a10networks/terraform-provider-thunder/thunder/axapi/endpoint"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
func resourceDdosDstEntryStats() *schema.Resource {
return &schema.Resource{
Description: "`thunder_ddos_dst_entry_stats`: Statistics for the object entry\n\n__PLACEHOLDER__",
ReadContext: resourceDdosDstEntryStatsRead,
Schema: map[string]*schema.Schema{
"dst_entry_name": {
Type: schema.TypeString, Required: true, Description: "",
},
"stats": {
Type: schema.TypeList, MaxItems: 1, Optional: true, Description: "",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"dst_tcp_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Rate: Total Exceeded",
},
"dst_tcp_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Rate: Packet Exceeded",
},
"dst_tcp_conn_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Rate: Conn Exceeded",
},
"dst_udp_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Rate: Total Exceeded",
},
"dst_udp_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Rate: Packet Exceeded",
},
"dst_udp_conn_limit_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Limit: Conn Exceeded",
},
"dst_udp_conn_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Rate: Conn Exceeded",
},
"dst_icmp_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Dst Rate: Packet Exceeded",
},
"dst_other_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Dst L4-Type Rate: Packet Exceeded",
},
"dst_other_frag_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Dst L4-Type Rate: Frag Exceeded",
},
"dst_port_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Port Rate: Packet Exceeded",
},
"dst_port_conn_limit_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Port Limit: Conn Exceeded",
},
"dst_port_conn_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Port Rate: Conn Exceeded",
},
"dst_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Packets Forwarded",
},
"dst_udp_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Packets Forwarded",
},
"dst_tcp_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Packets Forwarded",
},
"dst_icmp_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Packets Forwarded",
},
"dst_other_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Packets Forwarded",
},
"dst_tcp_conn_limit_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Limit: Conn Exceeded",
},
"dst_tcp_pkt_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Packets Received",
},
"dst_udp_pkt_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Packets Received",
},
"dst_icmp_pkt_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Packets Received",
},
"dst_other_pkt_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Packets Received",
},
"dst_udp_filter_match": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Match",
},
"dst_udp_filter_not_match": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Not Matched on Pkt",
},
"dst_udp_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Action Blacklist",
},
"dst_udp_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Action Drop",
},
"dst_tcp_syn": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total SYN Received",
},
"dst_tcp_syn_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP SYN Packets Dropped",
},
"dst_tcp_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Src Rate: Total Exceeded",
},
"dst_udp_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Src Rate: Total Exceeded",
},
"dst_icmp_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Src Rate: Total Exceeded",
},
"dst_other_frag_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Src Rate: Frag Exceeded",
},
"dst_other_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Src Rate: Total Exceeded",
},
"dst_tcp_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Packets Dropped",
},
"dst_udp_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Packets Dropped",
},
"dst_icmp_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Packets Dropped",
},
"dst_frag_drop": {
Type: schema.TypeInt, Optional: true, Description: "Fragmented Packets Dropped",
},
"dst_other_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Packets Dropped",
},
"dst_tcp_auth": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Cookie Sent",
},
"dst_udp_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Action Default Pass",
},
"dst_tcp_filter_match": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Match",
},
"dst_tcp_filter_not_match": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Not Matched on Pkt",
},
"dst_tcp_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Action Blacklist",
},
"dst_tcp_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Action Drop",
},
"dst_tcp_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Action Default Pass",
},
"dst_udp_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "UDP Filter Action WL",
},
"dst_udp_kibit_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Rate: KiBit Exceeded",
},
"dst_tcp_kibit_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Rate: KiBit Exceeded",
},
"dst_icmp_kibit_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Dst Rate: KiBit Exceeded",
},
"dst_other_kibit_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Dst L4-Type Rate: KiBit Exceeded",
},
"dst_port_undef_drop": {
Type: schema.TypeInt, Optional: true, Description: "Dst Port Undefined Dropped",
},
"dst_port_bl": {
Type: schema.TypeInt, Optional: true, Description: "Dst Port Blacklist Packets Dropped",
},
"dst_src_port_bl": {
Type: schema.TypeInt, Optional: true, Description: "Dst SrcPort Blacklist Packets Dropped",
},
"dst_port_kbit_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Port Rate: KiBit Exceeded",
},
"dst_tcp_src_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Src Packets Dropped",
},
"dst_udp_src_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Src Packets Dropped",
},
"dst_icmp_src_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Src Packets Dropped",
},
"dst_other_src_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Src Packets Dropped",
},
"tcp_syn_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Inbound SYN Received",
},
"tcp_syn_ack_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP SYN ACK Received",
},
"tcp_ack_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP ACK Received",
},
"tcp_fin_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP FIN Received",
},
"tcp_rst_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "TCP RST Received",
},
"ingress_bytes": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Bytes Received",
},
"egress_bytes": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Bytes Received",
},
"ingress_packets": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Packets Received",
},
"egress_packets": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Packets Received",
},
"tcp_fwd_recv": {
Type: schema.TypeInt, Optional: true, Description: "TCP Inbound Packets Received",
},
"udp_fwd_recv": {
Type: schema.TypeInt, Optional: true, Description: "UDP Inbound Packets Received",
},
"icmp_fwd_recv": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Inbound Packets Received",
},
"tcp_syn_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Cookie Failed",
},
"dst_tcp_session_created": {
Type: schema.TypeInt, Optional: true, Description: "TCP Sessions Created",
},
"dst_udp_session_created": {
Type: schema.TypeInt, Optional: true, Description: "UDP Sessions Created",
},
"dst_tcp_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "TCP Filter Action WL",
},
"dst_other_filter_match": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Match",
},
"dst_other_filter_not_match": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Not Matched on Pkt",
},
"dst_other_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Action Blacklist",
},
"dst_other_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Action Drop",
},
"dst_other_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Action WL",
},
"dst_other_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Filter Action Default Pass",
},
"dst_blackhole_inject": {
Type: schema.TypeInt, Optional: true, Description: "Dst Blackhole Inject",
},
"dst_blackhole_withdraw": {
Type: schema.TypeInt, Optional: true, Description: "Dst Blackhole Withdraw",
},
"dst_tcp_out_of_seq_excd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Out-Of-Seq Exceeded",
},
"dst_tcp_retransmit_excd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Retransmit Exceeded",
},
"dst_tcp_zero_window_excd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Zero-Window Exceeded",
},
"dst_tcp_conn_prate_excd": {
Type: schema.TypeInt, Optional: true, Description: "TCP Rate: Conn Pkt Exceeded",
},
"dst_tcp_action_on_ack_init": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Init",
},
"dst_tcp_action_on_ack_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Retry-Gap Dropped",
},
"dst_tcp_action_on_ack_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Dropped",
},
"dst_tcp_action_on_ack_pass": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Passed",
},
"dst_tcp_action_on_syn_init": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Init",
},
"dst_tcp_action_on_syn_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry-Gap Dropped",
},
"dst_tcp_action_on_syn_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Dropped",
},
"dst_tcp_action_on_syn_pass": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Passed",
},
"udp_payload_too_small": {
Type: schema.TypeInt, Optional: true, Description: "UDP Payload Too Small",
},
"udp_payload_too_big": {
Type: schema.TypeInt, Optional: true, Description: "UDP Payload Too Large",
},
"dst_udp_conn_prate_excd": {
Type: schema.TypeInt, Optional: true, Description: "UDP Rate: Conn Pkt Exceeded",
},
"dst_udp_ntp_monlist_req": {
Type: schema.TypeInt, Optional: true, Description: "UDP NTP Monlist Request",
},
"dst_udp_ntp_monlist_resp": {
Type: schema.TypeInt, Optional: true, Description: "UDP NTP Monlist Response",
},
"dst_udp_wellknown_sport_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP SrcPort Wellknown",
},
"dst_udp_retry_init": {
Type: schema.TypeInt, Optional: true, Description: "UDP Auth: Retry Init",
},
"dst_udp_retry_pass": {
Type: schema.TypeInt, Optional: true, Description: "UDP Auth: Retry Passed",
},
"dst_tcp_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Bytes Dropped",
},
"dst_udp_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Bytes Dropped",
},
"dst_icmp_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Bytes Dropped",
},
"dst_other_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Bytes Dropped",
},
"dst_out_no_route": {
Type: schema.TypeInt, Optional: true, Description: "Dst IPv4/v6 Out No Route",
},
"outbound_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Bytes Forwarded",
},
"outbound_pkt_drop": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Packets Dropped",
},
"outbound_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Bytes Dropped",
},
"outbound_pkt_sent": {
Type: schema.TypeInt, Optional: true, Description: "Outbound: Packets Forwarded",
},
"inbound_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Bytes Forwarded",
},
"inbound_bytes_drop": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Bytes Dropped",
},
"dst_src_port_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "SrcPort Rate: Packet Exceeded",
},
"dst_src_port_kbit_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "SrcPort Rate: KiBit Exceeded",
},
"dst_src_port_conn_limit_exceed": {
Type: schema.TypeInt, Optional: true, Description: "SrcPort Limit: Conn Exceeded",
},
"dst_src_port_conn_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "SrcPort Rate: Conn Exceeded",
},
"dst_ip_proto_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "IP-Proto Rate: Packet Exceeded",
},
"dst_ip_proto_kbit_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "IP-Proto Rate: KiBit Exceeded",
},
"dst_tcp_port_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Port Rate: Total Exceed",
},
"dst_udp_port_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Port Rate: Total Exceed",
},
"dst_tcp_auth_pass": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Auth Passed",
},
"dst_tcp_rst_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: RST Cookie Failed",
},
"dst_tcp_unauth_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: Unauth Dropped",
},
"src_tcp_syn_auth_fail": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Auth Failed",
},
"src_tcp_syn_cookie_sent": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Cookie Sent",
},
"src_tcp_syn_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Cookie Failed",
},
"src_tcp_rst_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: RST Cookie Failed",
},
"src_tcp_unauth_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: Unauth Dropped",
},
"src_tcp_action_on_syn_init": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry Init",
},
"src_tcp_action_on_syn_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry-Gap Dropped",
},
"src_tcp_action_on_syn_fail": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry Dropped",
},
"src_tcp_action_on_ack_init": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Init",
},
"src_tcp_action_on_ack_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Retry-Gap Dropped",
},
"src_tcp_action_on_ack_fail": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Dropped",
},
"src_tcp_out_of_seq_excd": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Out-Of-Seq Exceeded",
},
"src_tcp_retransmit_excd": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Retransmit Exceeded",
},
"src_tcp_zero_window_excd": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Zero-Window Exceeded",
},
"src_tcp_conn_prate_excd": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Rate: Conn Pkt Exceeded",
},
"src_udp_min_payload": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Payload Too Small",
},
"src_udp_max_payload": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Payload Too Large",
},
"src_udp_conn_prate_excd": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Rate: Conn Pkt Exceeded",
},
"src_udp_ntp_monlist_req": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP NTP Monlist Request",
},
"src_udp_ntp_monlist_resp": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP NTP Monlist Response",
},
"src_udp_wellknown_sport_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP SrcPort Wellknown",
},
"src_udp_retry_init": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Auth: Retry Init",
},
"dst_udp_retry_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Auth: Retry-Gap Dropped",
},
"dst_udp_retry_fail": {
Type: schema.TypeInt, Optional: true, Description: "UDP Auth: Retry Timeout",
},
"dst_tcp_session_aged": {
Type: schema.TypeInt, Optional: true, Description: "TCP Sessions Aged",
},
"dst_udp_session_aged": {
Type: schema.TypeInt, Optional: true, Description: "UDP Sessions Aged",
},
"dst_tcp_conn_close": {
Type: schema.TypeInt, Optional: true, Description: "TCP Connections Closed",
},
"dst_tcp_conn_close_half_open": {
Type: schema.TypeInt, Optional: true, Description: "TCP Half Open Connections Closed",
},
"dst_l4_tcp_auth": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Auth: SYN Cookie Sent",
},
"tcp_l4_syn_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Auth: SYN Cookie Failed",
},
"tcp_l4_rst_cookie_fail": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Auth: RST Cookie Failed",
},
"tcp_l4_unauth_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Auth: Unauth Dropped",
},
"src_tcp_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Filter Action Blacklist",
},
"src_tcp_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Filter Action WL",
},
"src_tcp_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Filter Action Drop",
},
"src_tcp_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Filter Action Default Pass",
},
"src_udp_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Filter Action Blacklist",
},
"src_udp_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Filter Action WL",
},
"src_udp_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Filter Action Drop",
},
"src_udp_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Filter Action Default Pass",
},
"src_other_filter_action_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "Src OTHER Filter Action Blacklist",
},
"src_other_filter_action_whitelist": {
Type: schema.TypeInt, Optional: true, Description: "Src OTHER Filter Action WL",
},
"src_other_filter_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src OTHER Filter Action Drop",
},
"src_other_filter_action_default_pass": {
Type: schema.TypeInt, Optional: true, Description: "Src OTHER Filter Action Default Pass",
},
"tcp_invalid_syn": {
Type: schema.TypeInt, Optional: true, Description: "TCP Invalid SYN Received",
},
"dst_tcp_conn_close_w_rst": {
Type: schema.TypeInt, Optional: true, Description: "TCP RST Connections Closed",
},
"dst_tcp_conn_close_w_fin": {
Type: schema.TypeInt, Optional: true, Description: "TCP FIN Connections Closed",
},
"dst_tcp_conn_close_w_idle": {
Type: schema.TypeInt, Optional: true, Description: "TCP Idle Connections Closed",
},
"dst_tcp_conn_create_from_syn": {
Type: schema.TypeInt, Optional: true, Description: "TCP Connections Created From SYN",
},
"dst_tcp_conn_create_from_ack": {
Type: schema.TypeInt, Optional: true, Description: "TCP Connections Created From ACK",
},
"src_frag_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src Fragmented Packets Dropped",
},
"dst_l4_tcp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Dst L4-type TCP Blacklist Dropped",
},
"dst_l4_udp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Dst L4-type UDP Blacklist Dropped",
},
"dst_l4_icmp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Dst L4-type ICMP Blacklist Dropped",
},
"dst_l4_other_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Dst L4-type OTHER Blacklist Dropped",
},
"src_l4_tcp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src L4-type TCP Blacklist Dropped",
},
"src_l4_udp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src L4-type UDP Blacklist Dropped",
},
"src_l4_icmp_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src L4-type ICMP Blacklist Dropped",
},
"src_l4_other_blacklist_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src L4-type OTHER Blacklist Dropped",
},
"dst_port_kbit_rate_exceed_pkt": {
Type: schema.TypeInt, Optional: true, Description: "Port Rate: KiBit Pkt Exceeded",
},
"dst_tcp_bytes_rcv": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Bytes Received",
},
"dst_udp_bytes_rcv": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Bytes Received",
},
"dst_icmp_bytes_rcv": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Bytes Received",
},
"dst_other_bytes_rcv": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Bytes Received",
},
"dst_tcp_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "TCP Total Bytes Forwarded",
},
"dst_udp_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "UDP Total Bytes Forwarded",
},
"dst_icmp_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Total Bytes Forwarded",
},
"dst_other_bytes_sent": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Total Bytes Forwarded",
},
"dst_udp_auth_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Auth: Dropped",
},
"dst_tcp_auth_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: Dropped",
},
"dst_tcp_auth_resp": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: Responded",
},
"inbound_pkt_drop": {
Type: schema.TypeInt, Optional: true, Description: "Inbound: Packets Dropped",
},
"dst_entry_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Entry Rate: Packet Exceeded",
},
"dst_entry_kbit_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Entry Rate: KiBit Exceeded",
},
"dst_entry_conn_limit_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Entry Limit: Conn Exceeded",
},
"dst_entry_conn_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Entry Rate: Conn Exceeded",
},
"dst_entry_frag_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Entry Rate: Frag Packet Exceeded",
},
"dst_icmp_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Rate: Total Exceed",
},
"dst_other_any_exceed": {
Type: schema.TypeInt, Optional: true, Description: "OTHER Rate: Total Exceed",
},
"src_dst_pair_entry_total": {
Type: schema.TypeInt, Optional: true, Description: "Src-Dst Pair Entry Total Count",
},
"src_dst_pair_entry_udp": {
Type: schema.TypeInt, Optional: true, Description: "Src-Dst Pair Entry UDP Count",
},
"src_dst_pair_entry_tcp": {
Type: schema.TypeInt, Optional: true, Description: "Src-Dst Pair Entry TCP Count",
},
"src_dst_pair_entry_icmp": {
Type: schema.TypeInt, Optional: true, Description: "Src-Dst Pair Entry ICMP Count",
},
"src_dst_pair_entry_other": {
Type: schema.TypeInt, Optional: true, Description: "Src-Dst Pair Entry OTHER Count",
},
"dst_clist_overflow_policy_at_learning": {
Type: schema.TypeInt, Optional: true, Description: "Dst Src-Based Overflow Policy Hit",
},
"tcp_rexmit_syn_limit_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP SYN Retransmit Exceeded Drop",
},
"tcp_rexmit_syn_limit_bl": {
Type: schema.TypeInt, Optional: true, Description: "TCP SYN Retransmit Exceeded Blacklist",
},
"dst_tcp_wellknown_sport_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP SrcPort Wellknown",
},
"src_tcp_wellknown_sport_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP SrcPort Wellknown",
},
"dst_frag_rcvd": {
Type: schema.TypeInt, Optional: true, Description: "Fragmented Packets Received",
},
"no_policy_class_list_match": {
Type: schema.TypeInt, Optional: true, Description: "No Policy Class-list Match",
},
"src_udp_retry_gap_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Auth: Retry-Gap Dropped",
},
"dst_entry_kbit_rate_exceed_count": {
Type: schema.TypeInt, Optional: true, Description: "Entry Rate: KiBit Exceeded Count",
},
"dst_port_undef_hit": {
Type: schema.TypeInt, Optional: true, Description: "Dst Port Undefined Hit",
},
"dst_tcp_action_on_ack_timeout": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Timeout",
},
"dst_tcp_action_on_ack_reset": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Timeout Reset",
},
"dst_tcp_action_on_ack_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: ACK Retry Timeout Blacklisted",
},
"src_tcp_action_on_ack_timeout": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Timeout",
},
"src_tcp_action_on_ack_reset": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Timeout Reset",
},
"src_tcp_action_on_ack_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: ACK Retry Timeout Blacklisted",
},
"dst_tcp_action_on_syn_timeout": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Timeout",
},
"dst_tcp_action_on_syn_reset": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Timeout Reset",
},
"dst_tcp_action_on_syn_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: SYN Retry Timeout Blacklisted",
},
"src_tcp_action_on_syn_timeout": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry Timeout",
},
"src_tcp_action_on_syn_reset": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry Timeout Reset",
},
"src_tcp_action_on_syn_blacklist": {
Type: schema.TypeInt, Optional: true, Description: "Src TCP Auth: SYN Retry Timeout Blacklisted",
},
"dst_udp_frag_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "UDP Dst L4-Type Rate: Frag Exceeded",
},
"dst_udp_frag_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "UDP Src Rate: Frag Exceeded",
},
"dst_tcp_frag_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "TCP Dst L4-Type Rate: Frag Exceeded",
},
"dst_tcp_frag_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "TCP Src Rate: Frag Exceeded",
},
"dst_icmp_frag_pkt_rate_exceed": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Dst L4-Type Rate: Frag Exceeded",
},
"dst_icmp_frag_src_rate_drop": {
Type: schema.TypeInt, Optional: true, Description: "ICMP Src Rate: Frag Exceeded",
},
"sflow_internal_samples_packed": {
Type: schema.TypeInt, Optional: true, Description: "Sflow Internal Samples Packed",
},
"sflow_external_samples_packed": {
Type: schema.TypeInt, Optional: true, Description: "Sflow External Samples Packed",
},
"sflow_internal_packets_sent": {
Type: schema.TypeInt, Optional: true, Description: "Sflow Internal Packets Sent",
},
"sflow_external_packets_sent": {
Type: schema.TypeInt, Optional: true, Description: "Sflow External Packets Sent",
},
"dns_outbound_total_query": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Total Query",
},
"dns_outbound_query_malformed": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Malformed",
},
"dns_outbound_query_resp_chk_failed": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Resp Check Failed",
},
"dns_outbound_query_resp_chk_blacklisted": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Resp Check Blacklisted",
},
"dns_outbound_query_resp_chk_refused_sent": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Resp Check REFUSED Sent",
},
"dns_outbound_query_resp_chk_reset_sent": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Resp Check RESET Sent",
},
"dns_outbound_query_resp_chk_no_resp_sent": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Resp Check No Response Sent",
},
"dns_outbound_query_resp_size_exceed": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Response Size Exceed",
},
"dns_outbound_query_sess_timed_out": {
Type: schema.TypeInt, Optional: true, Description: "DNS Outbound Query Session Timed Out",
},
"dst_exceed_action_tunnel": {
Type: schema.TypeInt, Optional: true, Description: "Entry Exceed Action: Tunnel",
},
"src_udp_auth_timeout": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Auth: Retry Timeout",
},
"src_udp_retry_pass": {
Type: schema.TypeInt, Optional: true, Description: "Src UDP Retry Passed",
},
"dst_hw_drop_rule_insert": {
Type: schema.TypeInt, Optional: true, Description: "Dst Hardware Drop Rules Inserted",
},
"dst_hw_drop_rule_remove": {
Type: schema.TypeInt, Optional: true, Description: "Dst Hardware Drop Rules Removed",
},
"src_hw_drop_rule_insert": {
Type: schema.TypeInt, Optional: true, Description: "Src Hardware Drop Rules Inserted",
},
"src_hw_drop_rule_remove": {
Type: schema.TypeInt, Optional: true, Description: "Src Hardware Drop Rules Removed",
},
"prog_first_req_time_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: First Request Time Exceed",
},
"prog_req_resp_time_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Request to Response Time Exceed",
},
"prog_request_len_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Request Length Exceed",
},
"prog_response_len_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Response Length Exceed",
},
"prog_resp_req_ratio_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Response to Request Ratio Exceed",
},
"prog_resp_req_time_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Response to Request Time Exceed",
},
"entry_sync_message_received": {
Type: schema.TypeInt, Optional: true, Description: "Entry Sync Message Received",
},
"entry_sync_message_sent": {
Type: schema.TypeInt, Optional: true, Description: "Entry Sync Message Sent",
},
"prog_conn_sent_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Sent Exceed",
},
"prog_conn_rcvd_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Received Exceed",
},
"prog_conn_time_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Time Exceed",
},
"prog_conn_rcvd_sent_ratio_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Received to Sent Ratio Exceed",
},
"prog_win_sent_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Time Window: Sent Exceed",
},
"prog_win_rcvd_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Time Window: Received Exceed",
},
"prog_win_rcvd_sent_ratio_exceed": {
Type: schema.TypeInt, Optional: true, Description: "Time Window: Received to Sent Exceed",
},
"prog_exceed_drop": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Violation Exceed Dropped",
},
"prog_exceed_bl": {
Type: schema.TypeInt, Optional: true, Description: "Req-Resp: Violation Exceed Blacklisted",
},
"prog_conn_exceed_drop": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Violation Exceed Dropped",
},
"prog_conn_exceed_bl": {
Type: schema.TypeInt, Optional: true, Description: "Connection: Violation Exceed Blacklisted",
},
"prog_win_exceed_drop": {
Type: schema.TypeInt, Optional: true, Description: "Time Window: Violation Exceed Dropped",
},
"prog_win_exceed_bl": {
Type: schema.TypeInt, Optional: true, Description: "Time Window: Violation Exceed Blacklisted",
},
"dst_exceed_action_drop": {
Type: schema.TypeInt, Optional: true, Description: "Entry Exceed Action: Dropped",
},
"prog_conn_samples": {
Type: schema.TypeInt, Optional: true, Description: "Sample Collected: Connection",
},
"prog_req_samples": {
Type: schema.TypeInt, Optional: true, Description: "Sample Collected: Req-Resp",
},
"prog_win_samples": {
Type: schema.TypeInt, Optional: true, Description: "Sample Collected: Time Window",
},
"prog_conn_samples_processed": {
Type: schema.TypeInt, Optional: true, Description: "Sample Processed: Connnection",
},
"prog_req_samples_processed": {
Type: schema.TypeInt, Optional: true, Description: "Sample Processed: Req-Resp",
},
"prog_win_samples_processed": {
Type: schema.TypeInt, Optional: true, Description: "Sample Processed: Time Window",
},
"src_hw_drop": {
Type: schema.TypeInt, Optional: true, Description: "Src Hardware Packets Dropped",
},
"dst_tcp_auth_rst": {
Type: schema.TypeInt, Optional: true, Description: "TCP Auth: Reset",
},
"dst_src_learn_overflow": {
Type: schema.TypeInt, Optional: true, Description: "Src Dynamic Entry Count Overflow",
},
"tcp_fwd_sent": {
Type: schema.TypeInt, Optional: true, Description: "TCP Inbound Packets Forwarded",
},
"udp_fwd_sent": {
Type: schema.TypeInt, Optional: true, Description: "UDP Inbound Packets Forwarded",
},
},
},
},
},
}
}
func resourceDdosDstEntryStatsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
client := meta.(Thunder)
logger := client.log
logger.Println("resourceDdosDstEntryStatsRead()")
var diags diag.Diagnostics
if client.Host != "" {
obj := dataToEndpointDdosDstEntryStats(d)
res, err := obj.Get(client.Token, client.Host, d.Id(), logger)
d.SetId(obj.GetId())
logger.Println(res)
DdosDstEntryStatsStats := setObjectDdosDstEntryStatsStats(res)
d.Set("stats", DdosDstEntryStatsStats)
if err != nil {
return diag.FromErr(err)
}
}
return diags
}
func setObjectDdosDstEntryStatsStats(ret edpt.DataDdosDstEntryStats) []interface{} {
return []interface{}{
map[string]interface{}{
"dst_tcp_any_exceed": ret.DtDdosDstEntryStats.Stats.Dst_tcp_any_exceed,
"dst_tcp_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_tcp_pkt_rate_exceed,
"dst_tcp_conn_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_tcp_conn_rate_exceed,
"dst_udp_any_exceed": ret.DtDdosDstEntryStats.Stats.Dst_udp_any_exceed,
"dst_udp_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_udp_pkt_rate_exceed,
"dst_udp_conn_limit_exceed": ret.DtDdosDstEntryStats.Stats.Dst_udp_conn_limit_exceed,
"dst_udp_conn_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_udp_conn_rate_exceed,
"dst_icmp_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_icmp_pkt_rate_exceed,
"dst_other_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_other_pkt_rate_exceed,
"dst_other_frag_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_other_frag_pkt_rate_exceed,
"dst_port_pkt_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_port_pkt_rate_exceed,
"dst_port_conn_limit_exceed": ret.DtDdosDstEntryStats.Stats.Dst_port_conn_limit_exceed,
"dst_port_conn_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_port_conn_rate_exceed,
"dst_pkt_sent": ret.DtDdosDstEntryStats.Stats.Dst_pkt_sent,
"dst_udp_pkt_sent": ret.DtDdosDstEntryStats.Stats.Dst_udp_pkt_sent,
"dst_tcp_pkt_sent": ret.DtDdosDstEntryStats.Stats.Dst_tcp_pkt_sent,
"dst_icmp_pkt_sent": ret.DtDdosDstEntryStats.Stats.Dst_icmp_pkt_sent,
"dst_other_pkt_sent": ret.DtDdosDstEntryStats.Stats.Dst_other_pkt_sent,
"dst_tcp_conn_limit_exceed": ret.DtDdosDstEntryStats.Stats.Dst_tcp_conn_limit_exceed,
"dst_tcp_pkt_rcvd": ret.DtDdosDstEntryStats.Stats.Dst_tcp_pkt_rcvd,
"dst_udp_pkt_rcvd": ret.DtDdosDstEntryStats.Stats.Dst_udp_pkt_rcvd,
"dst_icmp_pkt_rcvd": ret.DtDdosDstEntryStats.Stats.Dst_icmp_pkt_rcvd,
"dst_other_pkt_rcvd": ret.DtDdosDstEntryStats.Stats.Dst_other_pkt_rcvd,
"dst_udp_filter_match": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_match,
"dst_udp_filter_not_match": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_not_match,
"dst_udp_filter_action_blacklist": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_action_blacklist,
"dst_udp_filter_action_drop": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_action_drop,
"dst_tcp_syn": ret.DtDdosDstEntryStats.Stats.Dst_tcp_syn,
"dst_tcp_syn_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_syn_drop,
"dst_tcp_src_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_src_rate_drop,
"dst_udp_src_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_udp_src_rate_drop,
"dst_icmp_src_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_icmp_src_rate_drop,
"dst_other_frag_src_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_frag_src_rate_drop,
"dst_other_src_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_src_rate_drop,
"dst_tcp_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_drop,
"dst_udp_drop": ret.DtDdosDstEntryStats.Stats.Dst_udp_drop,
"dst_icmp_drop": ret.DtDdosDstEntryStats.Stats.Dst_icmp_drop,
"dst_frag_drop": ret.DtDdosDstEntryStats.Stats.Dst_frag_drop,
"dst_other_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_drop,
"dst_tcp_auth": ret.DtDdosDstEntryStats.Stats.Dst_tcp_auth,
"dst_udp_filter_action_default_pass": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_action_default_pass,
"dst_tcp_filter_match": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_match,
"dst_tcp_filter_not_match": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_not_match,
"dst_tcp_filter_action_blacklist": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_action_blacklist,
"dst_tcp_filter_action_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_action_drop,
"dst_tcp_filter_action_default_pass": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_action_default_pass,
"dst_udp_filter_action_whitelist": ret.DtDdosDstEntryStats.Stats.Dst_udp_filter_action_whitelist,
"dst_udp_kibit_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_udp_kibit_rate_drop,
"dst_tcp_kibit_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_kibit_rate_drop,
"dst_icmp_kibit_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_icmp_kibit_rate_drop,
"dst_other_kibit_rate_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_kibit_rate_drop,
"dst_port_undef_drop": ret.DtDdosDstEntryStats.Stats.Dst_port_undef_drop,
"dst_port_bl": ret.DtDdosDstEntryStats.Stats.Dst_port_bl,
"dst_src_port_bl": ret.DtDdosDstEntryStats.Stats.Dst_src_port_bl,
"dst_port_kbit_rate_exceed": ret.DtDdosDstEntryStats.Stats.Dst_port_kbit_rate_exceed,
"dst_tcp_src_drop": ret.DtDdosDstEntryStats.Stats.Dst_tcp_src_drop,
"dst_udp_src_drop": ret.DtDdosDstEntryStats.Stats.Dst_udp_src_drop,
"dst_icmp_src_drop": ret.DtDdosDstEntryStats.Stats.Dst_icmp_src_drop,
"dst_other_src_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_src_drop,
"tcp_syn_rcvd": ret.DtDdosDstEntryStats.Stats.Tcp_syn_rcvd,
"tcp_syn_ack_rcvd": ret.DtDdosDstEntryStats.Stats.Tcp_syn_ack_rcvd,
"tcp_ack_rcvd": ret.DtDdosDstEntryStats.Stats.Tcp_ack_rcvd,
"tcp_fin_rcvd": ret.DtDdosDstEntryStats.Stats.Tcp_fin_rcvd,
"tcp_rst_rcvd": ret.DtDdosDstEntryStats.Stats.Tcp_rst_rcvd,
"ingress_bytes": ret.DtDdosDstEntryStats.Stats.Ingress_bytes,
"egress_bytes": ret.DtDdosDstEntryStats.Stats.Egress_bytes,
"ingress_packets": ret.DtDdosDstEntryStats.Stats.Ingress_packets,
"egress_packets": ret.DtDdosDstEntryStats.Stats.Egress_packets,
"tcp_fwd_recv": ret.DtDdosDstEntryStats.Stats.Tcp_fwd_recv,
"udp_fwd_recv": ret.DtDdosDstEntryStats.Stats.Udp_fwd_recv,
"icmp_fwd_recv": ret.DtDdosDstEntryStats.Stats.Icmp_fwd_recv,
"tcp_syn_cookie_fail": ret.DtDdosDstEntryStats.Stats.Tcp_syn_cookie_fail,
"dst_tcp_session_created": ret.DtDdosDstEntryStats.Stats.Dst_tcp_session_created,
"dst_udp_session_created": ret.DtDdosDstEntryStats.Stats.Dst_udp_session_created,
"dst_tcp_filter_action_whitelist": ret.DtDdosDstEntryStats.Stats.Dst_tcp_filter_action_whitelist,
"dst_other_filter_match": ret.DtDdosDstEntryStats.Stats.Dst_other_filter_match,
"dst_other_filter_not_match": ret.DtDdosDstEntryStats.Stats.Dst_other_filter_not_match,
"dst_other_filter_action_blacklist": ret.DtDdosDstEntryStats.Stats.Dst_other_filter_action_blacklist,
"dst_other_filter_action_drop": ret.DtDdosDstEntryStats.Stats.Dst_other_filter_action_drop,