Skip to content

Commit

Permalink
Remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
michieldewilde committed Feb 29, 2024
1 parent 43edb6c commit 186a780
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plan/enforce-password-length.rego
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ import future.keywords.in

deny[sprintf("We require that passwords have at least 16 characters (%s)", [resource.address])] {
resource := new_password[_]
print(resource.change.after, resource.change.after.length)
resource.change.after.length < 16
}

warn[sprintf("We advise that passwords have at least 20 characters (%s)", [resource.address])] {
resource := new_password[_]
print(resource.change.after, resource.change.after.length)
resource.change.after.length < 20
}

Expand Down

0 comments on commit 186a780

Please sign in to comment.