cyberark / conjur-policy-parser

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

Duplicate annotation error #21

Closed h-artzi closed 4 years ago

h-artzi commented 4 years ago

This PR is cherry-picked from https://github.com/cyberark/conjur-policy-parser/pull/16

What does this PR do? Is there any background context you want to provide?

This PR ensures an upload of a policy fails when there are duplicates in any of its mappings. Such as having duplicate annotations within a resource

What ticket does this PR close?

cyberark/conjur#1263 and cyberark/conjur#1262

Where should the reviewer start? How should this functionality be validated?

handler.rb

Next steps

Ensure the appliance uses this updated version