cyberark / conjur-policy-parser

Parser library for Conjur Policy YAML
MIT License
0 stars 1 forks source link

Validate CIDR notation in policy document #27

Closed micahlee closed 3 years ago

micahlee commented 4 years ago

We expect the values provided for restricted_to are CIDR notated IP addresses and ranges, but we only validate that the values are strings. We should instead type check these values when the policy is parsed.