{"action":"opened","issue":{"url":"https://api.github.com/repos/grafeas/kritis/issues/188","repository_url":"https://api.github.com/repos/grafeas/kritis","labels_url":"https://api.github.com/repos/grafeas/kritis/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/grafeas/kritis/issues/188/comments","events_url":"https://api.github.com/repos/grafeas/kritis/issues/188/events","html_url":"https://github.com/grafeas/kritis/issues/188","id":348462364,"node_id":"MDU6SXNzdWUzNDg0NjIzNjQ=","number":188,"title":"whitelist postinstall, predelete and preinstall pods for checking vuln","user":{"login":"tejal29","id":1534539,"node_id":"MDQ6VXNlcjE1MzQ1Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1534539?v=4","gravatar_id":"","url":"https://api.github.com/users/tejal29","html_url":"https://github.com/tejal29","followers_url":"https://api.github.com/users/tejal29/followers","following_url":"https://api.github.com/users/tejal29/following{/other_user}","gists_url":"https://api.github.com/users/tejal29/gists{/gist_id}","starred_url":"https://api.github.com/users/tejal29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejal29/subscriptions","organizations_url":"https://api.github.com/users/tejal29/orgs","repos_url":"https://api.github.com/users/tejal29/repos","events_url":"https://api.github.com/users/tejal29/events{/privacy}","received_events_url":"https://api.github.com/users/tejal29/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-07T19:48:41Z","updated_at":"2018-08-07T19:48:41Z","closed_at":null,"author_association":"COLLABORATOR","body":"Right now, when i run the cron job i se a bunch of logs for postinstall, preinstall and predelete pods.\r\nLets whitelist them\r\n\r\n```\r\n23 cron.go:99] Checking po kritis-postinstall\r\nI0807 19:15:14.832892      23 review.go:88] Check if gcr.io/tejaldesai-personal/postinstall:latest as valid Attestations.\r\nI0807 19:15:14.896955      23 review.go:130] No attestations found for this image.\r\nThis normally happens when you deploy a pod before kritis or no attestation authority is deployed.\r\nPlease see instructions \r\nI0807 19:15:14.896986      23 review.go:136] a digest must contain exactly one '@' separator (e.g. registry/repository@digest) saw: gcr.io/tejaldesai-personal/postinstall:latest\r\nI0807 19:15:15.026071      23 review.go:122] error handling attestations admission webhook \"kritis-validation-hook.grafeas.io\" denied the request: gcr.io/tejaldesai-personal/postinstall:latest is not a fully qualified image\r\n\r\n\r\nI0807 19:15:15.026091      23 review.go:95] Getting vulnz for gcr.io/tejaldesai-personal/postinstall:latest\r\nI0807 19:15:15.026102      23 review.go:97] voilations [{{ %!s(bool=false) } %!s(int=0) gcr.io/tejaldesai-personal/postinstall:latest is not a fully qualified image}]\r\nI0807 19:15:15.026117      23 review.go:98] err %!s(<nil>)\r\nhandling violations\r\nE0807 19:15:15.134917      23 cron.go:101] gcr.io/tejaldesai-personal/postinstall:latest is not a fully qualified image. error handling violation admission webhook \"kritis-validation-hook.grafeas.io\" denied the request: gcr.io/tejaldesai-personal/postinstall:latest is not a fully qualified image\r\n\r\n\r\n\r\nI0807 19:15:15.135397      23 cron.go:99] Checking po kritis-predelete\r\nI0807 19:15:15.135431      23 review.go:88] Check if gcr.io/tejaldesai-personal/predelete:latest as valid Attestations.\r\nI0807 19:15:15.177690      23 review.go:130] No attestations found for this image.\r\nThis normally happens when you deploy a pod before kritis or no attestation authority is deployed.\r\nPlease see instructions \r\nI0807 19:15:15.178325      23 review.go:136] a digest must contain exactly one '@' separator (e.g. registry/repository@digest) saw: gcr.io/tejaldesai-personal/predelete:latest\r\nI0807 19:15:15.191529      23 strategy.go:98] Adding label notAttested and annotation No valid attestations present. This pod will not be able to restart in future\r\nI0807 19:15:15.214827      23 review.go:95] Getting vulnz for gcr.io/tejaldesai-personal/predelete:latest\r\nI0807 19:15:15.215410      23 review.go:97] voilations [{{ %!s(bool=false) } %!s(int=0) gcr.io/tejaldesai-personal/predelete:latest is not a fully qualified image}]\r\nI0807 19:15:15.215844      23 review.go:98] err %!s(<nil>)\r\n\r\n````"}}
{"actor":{"display_login":"tejal29"}}