File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ const (
2828 Performance NotificationCategory = "PERFORMANCE"
2929 Deprecation NotificationCategory = "DEPRECATION"
3030 Generic NotificationCategory = "GENERIC"
31+ // Security requires server version 5.14 or newer.
32+ Security NotificationCategory = "SECURITY"
33+ // Topology requires server version 5.14 or newer.
34+ Topology NotificationCategory = "TOPOLOGY"
3135)
3236
3337type NotificationDisabledCategories struct {
Original file line number Diff line number Diff line change @@ -266,6 +266,8 @@ const (
266266 Performance NotificationCategory = "PERFORMANCE"
267267 Deprecation NotificationCategory = "DEPRECATION"
268268 Generic NotificationCategory = "GENERIC"
269+ Security NotificationCategory = "SECURITY"
270+ Topology NotificationCategory = "TOPOLOGY"
269271 UnknownCategory NotificationCategory = "UNKNOWN"
270272)
271273
@@ -565,6 +567,10 @@ func (n *notification) Category() NotificationCategory {
565567 return Performance
566568 case "DEPRECATION" :
567569 return Deprecation
570+ case "SECURITY" :
571+ return Security
572+ case "TOPOLOGY" :
573+ return Topology
568574 case "GENERIC" :
569575 return Generic
570576 default :
You can’t perform that action at this time.
0 commit comments