From 6cc9dc3b3f7d8acd4fe39744ff0eb1610764262f Mon Sep 17 00:00:00 2001 From: kooomix Date: Sun, 7 Jul 2024 09:04:58 +0300 Subject: [PATCH] Refactor topics.go to update topic names and add new topic for NodeProfile --- pulsar/common/topics.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pulsar/common/topics.go b/pulsar/common/topics.go index 1f92c69..bdbd868 100644 --- a/pulsar/common/topics.go +++ b/pulsar/common/topics.go @@ -7,13 +7,14 @@ const ( AttackChainStateDeleteTopic = "attack-chain-delete-v1" // on finish topics - KubescapeScanReportFinishedTopic = "kubescape-scan-report-finished-v1" - ContainerScanReportFinishedTopic = "container-scan-report-finished-v1" - AttackChainScanReportFinishTopic = "attack-chain-scan-report-finished-v1" - SynchronizerFinishTopic = "synchronizer-finished-v1" - UserInputFinishTopic = "user-input-finished-v1" - PostureOnFinishPulsarTopic = "kubescape-scan-report-finished-v1" - SecurityRisksOnFinishPulsarTopic = "security-risks-scan-report-finished-v1" + KubescapeScanReportFinishedTopic = "kubescape-scan-report-finished-v1" + ContainerScanReportFinishedTopic = "container-scan-report-finished-v1" + AttackChainScanReportFinishTopic = "attack-chain-scan-report-finished-v1" + SynchronizerFinishTopic = "synchronizer-finished-v1" + UserInputFinishTopic = "user-input-finished-v1" + PostureOnFinishPulsarTopic = "kubescape-scan-report-finished-v1" + SecurityRisksOnFinishPulsarTopic = "security-risks-scan-report-finished-v1" + UIViewsIngesterOnFinishPulsarTopic = "ui-views-finished-v1" UNSOnFinishSubscriptionName = "uns-report-finished"