Skip to content

Commit

Permalink
disable trivy logs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux committed Feb 17, 2025
1 parent 03dd31c commit b28d498
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkg/util/trivy/init.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.

//go:build trivy

// Package trivy holds the scan components
package trivy

import (
trivylog "github.com/aquasecurity/trivy/pkg/log"
)

func init() {
trivylog.InitLogger(false, true)
}

0 comments on commit b28d498

Please sign in to comment.