aws / aws-network-policy-agent

Apache License 2.0
45 stars 29 forks source link

Rule sorting/Strict mode fix #289

Closed jchen6585 closed 2 months ago

jchen6585 commented 3 months ago

Issue #, if available: We currently pass in "/32" as a parameter which will fail when converting to an int. We strict mode is on and np agent is off, np agent will crashloop.

Description of changes: Parse the "/32" we pass in

Add a check if np agent is on when validating strict mode requests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.