{"action":"opened","issue":{"url":"https://api.github.com/repos/cilium/cilium/issues/3945","repository_url":"https://api.github.com/repos/cilium/cilium","labels_url":"https://api.github.com/repos/cilium/cilium/issues/3945/labels{/name}","comments_url":"https://api.github.com/repos/cilium/cilium/issues/3945/comments","events_url":"https://api.github.com/repos/cilium/cilium/issues/3945/events","html_url":"https://github.com/cilium/cilium/issues/3945","id":318567760,"number":3945,"title":"Zero length cidr mask is not allowed inspite of being a valid cidr","user":{"login":"manalibhutiyani","id":31253464,"avatar_url":"https://avatars3.githubusercontent.com/u/31253464?v=4","gravatar_id":"","url":"https://api.github.com/users/manalibhutiyani","html_url":"https://github.com/manalibhutiyani","followers_url":"https://api.github.com/users/manalibhutiyani/followers","following_url":"https://api.github.com/users/manalibhutiyani/following{/other_user}","gists_url":"https://api.github.com/users/manalibhutiyani/gists{/gist_id}","starred_url":"https://api.github.com/users/manalibhutiyani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manalibhutiyani/subscriptions","organizations_url":"https://api.github.com/users/manalibhutiyani/orgs","repos_url":"https://api.github.com/users/manalibhutiyani/repos","events_url":"https://api.github.com/users/manalibhutiyani/events{/privacy}","received_events_url":"https://api.github.com/users/manalibhutiyani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T22:29:31Z","updated_at":"2018-04-27T22:29:31Z","closed_at":null,"author_association":"OWNER","body":"Apply policy with 0 length cidr mask\r\n\r\nPolicy:\r\n```\r\n[{\r\n    \"labels\": [{\"key\": \"name\", \"value\": \"cidr-rule\"}],\r\n    \"endpointSelector\": {\"matchLabels\":{\"app.client\":\"\"}},\r\n    \"egress\": [{\r\n        \"toCIDRSet\": [{\r\n            \"cidr\": \"0.0.0.0/0\",\r\n            \"except\": [\r\n                \"1.1.1.1/32\"\r\n            ]}\r\n        ]\r\n    }]\r\n}]\r\n```\r\n\r\nThis is the error we get when trying to import this policy\r\n```\r\nvagrant@runtime1:~/go/src/github.com/cilium/cilium$ cilium policy import examples/policies/l3/cidr/cidr-test.json \r\nError: Mask length can not be zero\r\n```"}}
{"actor":{"display_login":"manalibhutiyani"}}