Skip to content

Commit

Permalink
spiffe id pattern update
Browse files Browse the repository at this point in the history
Signed-off-by: Volkan Özçelik <me@volkan.io>
  • Loading branch information
v0lkan committed Jan 9, 2025
1 parent 59f882e commit 57928ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

const validNamePattern = `^[a-zA-Z0-9-_ ]+$`
const maxNameLength = 250
const validSpiffeIdPattern = `^\^spiffe://[a-zA-Z0-9.-]+(/[a-zA-Z0-9._-]+)*$`
const validSpiffeIdPattern = `^\^spiffe://[a-zA-Z0-9.\-*]+(/[a-zA-Z0-9._\-*]+)*$`
const validRawSpiffeIdPattern = `^spiffe://[a-zA-Z0-9.-]+(/[a-zA-Z0-9._-]+)*$`
const maxPathPatternLength = 500
const validPathPattern = `^[a-zA-Z0-9._\-/^$()?+*|[\]{}\\]+$`
Expand Down

0 comments on commit 57928ba

Please sign in to comment.