{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/2671","repository_url":"https://api.github.com/repos/capitalone/cloud-custodian","labels_url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/2671/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/2671/comments","events_url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/2671/events","html_url":"https://github.com/capitalone/cloud-custodian/issues/2671","id":344604990,"node_id":"MDU6SXNzdWUzNDQ2MDQ5OTA=","number":2671,"title":"mugc.py does not work if you have a single policy","user":{"login":"thomasbiddle","id":1205663,"node_id":"MDQ6VXNlcjEyMDU2NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1205663?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasbiddle","html_url":"https://github.com/thomasbiddle","followers_url":"https://api.github.com/users/thomasbiddle/followers","following_url":"https://api.github.com/users/thomasbiddle/following{/other_user}","gists_url":"https://api.github.com/users/thomasbiddle/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasbiddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasbiddle/subscriptions","organizations_url":"https://api.github.com/users/thomasbiddle/orgs","repos_url":"https://api.github.com/users/thomasbiddle/repos","events_url":"https://api.github.com/users/thomasbiddle/events{/privacy}","received_events_url":"https://api.github.com/users/thomasbiddle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-25T20:59:15Z","updated_at":"2018-07-26T20:10:34Z","closed_at":null,"author_association":"NONE","body":"Start with a policy:\r\n\r\n```\r\npolicies:\r\n - name: password-policy-check\r\n   resource: account\r\n   region: us-east-1\r\n   mode:\r\n     role: arn:aws:iam::123456789000:role/your-role\r\n     type: periodic\r\n     schedule: \"rate(3 minutes)\"\r\n   filters:\r\n     - type: password-policy\r\n       key: MinimumPasswordLength\r\n       value: 10\r\n       op: ge\r\n     - type: password-policy\r\n       key: RequireSymbols\r\n       value: true\r\n```\r\n\r\nRun custodian, try to remove either everything, or just everything under `policies` and mugc will throw an error.\r\n\r\nI guess actually; this bug means I wouldn't ever be able to remove *all* of my policies - regardless"},"comment":{"url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/comments/408220226","html_url":"https://github.com/capitalone/cloud-custodian/issues/2671#issuecomment-408220226","issue_url":"https://api.github.com/repos/capitalone/cloud-custodian/issues/2671","id":408220226,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODIyMDIyNg==","user":{"login":"thisisshi","id":4026535,"node_id":"MDQ6VXNlcjQwMjY1MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4026535?v=4","gravatar_id":"","url":"https://api.github.com/users/thisisshi","html_url":"https://github.com/thisisshi","followers_url":"https://api.github.com/users/thisisshi/followers","following_url":"https://api.github.com/users/thisisshi/following{/other_user}","gists_url":"https://api.github.com/users/thisisshi/gists{/gist_id}","starred_url":"https://api.github.com/users/thisisshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisisshi/subscriptions","organizations_url":"https://api.github.com/users/thisisshi/orgs","repos_url":"https://api.github.com/users/thisisshi/repos","events_url":"https://api.github.com/users/thisisshi/events{/privacy}","received_events_url":"https://api.github.com/users/thisisshi/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T20:10:34Z","updated_at":"2018-07-26T20:10:34Z","author_association":"COLLABORATOR","body":"Thanks for filing the issue @thomasbiddle, I'll add a label and edit the title to reflect this should be a docs fix."}}
{"actor":{"display_login":"thisisshi"}}