I am running as below :
package play
import future.keywords.if
default hello := false
arn_list := input.message
hello if {
regex.match("aws:arn:s3:::.*/*", arn_list)
}
arn_list is {
"message": "arn:aws:s3:::my_corporate_bucket/ram"
}
I tried regex.match , Still I am not getting valid result.