Skip to content

Commit

Permalink
adds Minimum Priority config
Browse files Browse the repository at this point in the history
Signed-off-by: anushkamittal20 <anumittal4641@gmail.com>
  • Loading branch information
anushkamittal20 committed Jul 18, 2021
1 parent a0de584 commit 2e3c1d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ func getConfig() *types.Configuration {

v.SetDefault("PolicyReport.Enabled", false)
v.SetDefault("PolicyReport.Kubeconfig", "")
v.SetDefault("PolicyReport.MinimumPriority", "")

v.SetDefault("Rabbitmq.URL", "")
v.SetDefault("Rabbitmq.Queue", "")
Expand Down
2 changes: 1 addition & 1 deletion outputs/policyadapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ func NewPolicyReportClient(config *types.Configuration, stats *types.Statistics,

// PolicyAdapterPost receives falco payload
func (c *Client) PolicyReportPost(falcopayload types.FalcoPayload) {
fmt.Println("Hello world to policyadapter.go in outputs")
//to do
}

0 comments on commit 2e3c1d6

Please sign in to comment.