Skip to content

Commit

Permalink
chore: remove debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Risnes Dagfinrud <[email protected]>
  • Loading branch information
Daniel Risnes Dagfinrud committed Aug 31, 2024
1 parent 984d75c commit ea22a7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/pkg/k8s/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ func IsSystemNamespace(namespace string) bool {
// Scoring logic
func CalculateScore(hasPolicies bool, hasDenyAll bool, unprotectedPodsCount int) int {
score := 50 // Start with a base score of 50
fmt.Printf("Initial score: %d\n", score)

if hasDenyAll {
score += 20 // Add 20 points for having deny-all policies
Expand Down

0 comments on commit ea22a7e

Please sign in to comment.