{"id":108230,"date":"2020-03-25T01:23:15","date_gmt":"2020-03-25T08:23:15","guid":{"rendered":"https:\/\/www.paloaltonetworks.com\/blog\/?p=108230"},"modified":"2020-03-25T01:31:20","modified_gmt":"2020-03-25T08:31:20","slug":"scan-aws-image-warehouse-ecr-with-prisma-cloud","status":"publish","type":"post","link":"https:\/\/www2.paloaltonetworks.com\/blog\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud\/?lang=zh-hans","title":{"rendered":"\u4f7f\u7528 Palo Alto Networks \u7684 Prisma Cloud \u8ba1\u7b97\u7248\u672c\u626b\u63cf AWS \u955c\u50cf\u4ed3\u5e93ECR"},"content":{"rendered":"<p><div style=\"max-width:100%\" data-width=\"1200\"><span class=\"ar-custom\" style=\"padding-bottom:52.33%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108231 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/prisma-cloud-scan-aws-social-1200x627-1.png\" alt=\"\" width=\"1200\" height=\"628\" \/><\/span><\/div><\/p>\n<p>\u76ee\u524d\u4f01\u4e1a\u5bb9\u5668\u7684\u4f7f\u7528\u8d8a\u6765\u8d8a\u666e\u904d\uff0c\u6839\u636eGartner\u7684\u7edf\u8ba1\uff0c\u76ee\u524d\u5df2\u7ecf\u6709\u4e00\u534a\u7684\u4f01\u4e1a\u5df2\u7ecf\u4f7f\u7528\u4e86\u5bb9\u5668\u90e8\u7f72\u3002\u800c\u4e14\u8fd9\u4e2a\u589e\u957f\u7684\u8d8b\u52bf\u4e5f\u4f1a\u8d8a\u6765\u8d8a\u5feb\u3002\u5176\u4e2d\u5bb9\u5668\u7684\u955c\u50cf\u4ed3\u5e93\u4e3a\u5b58\u50a8\u548c\u5206\u53d1\u5e94\u7528\u955c\u50cf\u63d0\u4f9b\u4e86\u4fbf\u6377\u3001\u96c6\u4e2d\u5316\u7684\u6765\u6e90\u3002\u5f53\u4eca\u6211\u4eec\u7684\u4f01\u4e1a\u548c\u7ec4\u7ec7\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5c06\u6570\u4ee5\u4e07\u8ba1\u7684\u955c\u50cf\u5b58\u50a8\u5728\u955c\u50cf\u4ed3\u5e93\u4e2d\uff0c\u6bd4\u5982\u8bf4\u6211\u4eec<strong>AWS<\/strong>\u7684\u955c\u50cf\u4ed3\u5e93<strong>ECR\u00a0<\/strong><strong>\uff08<\/strong><strong>Elastic Container Registry<\/strong><strong>\uff09\u3002<\/strong><\/p>\n<p>\u53ef\u4ee5\u8bf4\u4ed6\u73b0\u5728\u662f\u5bb9\u5668\u5316\u73af\u5883\u8fd0\u884c\u7684\u6838\u5fc3\uff0c\u56e0\u6b64\u4fdd\u62a4\u5b83\u7684\u5b89\u5168\u81f3\u5173\u91cd\u8981\u3002\u955c\u50cf\u4ed3\u5e93\u4e2d\u7684\u955c\u50cf\u7ed9\u6211\u4eec\u7684\u5bb9\u5668\u90e8\u7f72\u5e26\u6765\u4e86\u5f88\u591a\u7684\u4fbf\u5229\u6027\uff0c\u4f46\u662f\u540c\u65f6\uff0c\u4f46\u662f\u4e00\u65e6\u5728\u955c\u50cf\u4ed3\u5e93\u4e2d\u5b58\u5728\u5177\u6709\u6f0f\u6d1e\u6216\u8005\u5b89\u5168\u9690\u60a3\u7684\u955c\u50cf\uff0c\u4e5f\u4f1a\u901a\u8fc7\u5bb9\u5668\u7684\u81ea\u52a8\u90e8\u7f72\u7ed9\u6211\u4eec\u7684\u5bb9\u5668\u73af\u5883\u5e26\u6765\u5f88\u5927\u7684\u5b89\u5168\u98ce\u9669\u3002\u56e0\u6b64\uff0c\u6301\u7eed\u76d1\u63a7\u955c\u50cf\u4ed3\u5e93\u4e2d\u955c\u50cf\u7684\u6f0f\u6d1e\u72b6\u6001\uff0c\u662f\u4e00\u9879\u6838\u5fc3\u5b89\u5168\u8981\u6c42\uff0c\u9700\u8981\u6211\u4eec\u80fd\u591f\u4fdd\u8bc1\u6211\u4eec\u6240\u90e8\u7f72\u8fd0\u884c\u7684\u5bb9\u5668\u672c\u8eab\u662f\u5b89\u5168\u7684\u3002<\/p>\n<p>AWS\u7684ECR\u672c\u8eab\u5c31\u5185\u7f6e\u4e86\u955c\u50cf\u6f0f\u6d1e\u626b\u63cf\u529f\u80fd\uff0c\u540c\u65f6\u53ef\u4ee5\u5728\u955c\u50cf\u4e0a\u4f20\u65f6\u81ea\u52a8\u8fdb\u884c\u626b\u63cf\uff0c\u7136\u540e\u5217\u51fa\u955c\u50cf\u4e2d\u7684\u6f5c\u5728\u6f0f\u6d1e\u3002\u4f7f\u7528\u4e5f\u975e\u5e38\u7684\u65b9\u4fbf\u3002ECR\u7684\u626b\u63cf\u5f15\u64ce\u5229\u7528\u7684\u662f\u5f00\u6e90\u7684CoreOS Clair\uff0c\u5e76\u901a\u8fc7Clair\u63d0\u4f9b\u7684CVE\u6570\u636e\u5e93\u5217\u51fa\u955c\u50cf\u4e2d\u7684\u5b89\u5168\u6f0f\u6d1e\u3002\u5bf9\u955c\u50cf\u5185\u7684\u6076\u610f\u4ee3\u7801\uff0c\u6216\u8005\u955c\u50cf\u5185\u662f\u5426\u5b58\u6709\u654f\u611f\u4fe1\u606f\uff08\u7528\u6237\u8eab\u4efd\u4fe1\u606f\uff09\uff0c\u955c\u50cf\u662f\u5426\u4ee5root\u8eab\u4efd\u8fd0\u884c\uff0c\u955c\u50cf\u7684\u73af\u5883\u53d8\u91cf\u91cc\u662f\u5426\u5b58\u6709\u7528\u6237\u5bc6\u7801\u4fe1\u606f\u7b49\u8fd9\u4e9b\u7528\u6237\u914d\u7f6e\u5c42\u9762\u7684\u68c0\u67e5\uff0c\u8fd8\u9700\u8981\u5229\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u3002\u540c\u65f6\uff0c\u5982\u4f55\u80fd\u4fdd\u8bc1\u6211\u4eec\u7684\u6784\u5efa\u7684\u955c\u50cf\u7b26\u5408Docker\u6216Kubernetes\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u5982\u4f55\u4fdd\u8bc1\u5408\u89c4\u6807\u51c6\uff0c\u6bd4\u5982NIST\uff0cGDPR\uff0cPCI\u7b49\uff0c\u540c\u6837\u9700\u8981\u7b2c\u4e09\u65b9\u7684\u5b89\u5168\u5de5\u5177\u6765\u8865\u5168\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u5bf9\u5f88\u591a\u91cd\u5ea6\u4f7f\u7528\u5bb9\u5668\u90e8\u7f72\u7684\u4f01\u4e1a\u6765\u8bf4\uff0c\u5982\u4f55\u80fd\u628a\u955c\u50cf\u6f0f\u6d1e\u626b\u63cf\uff0c\u955c\u50cf\u914d\u7f6e\u53ca\u5408\u89c4\u68c0\u67e5\u7d27\u5bc6\u96c6\u6210\u5230\u4e00\u4e2a\u5e73\u53f0\uff0c\u80fd\u591f\u6e05\u6670\u7684\u4e86\u89e3\u81ea\u5df1\u955c\u50cf\u4ed3\u5e93\u4e2d\u955c\u50cf\u7684\u5b89\u5168\u72b6\u6001\u53ca\u5176\u5408\u89c4\u60c5\u51b5\u5c31\u663e\u5f97\u7279\u522b\u91cd\u8981\u3002\u4f8b\u5982\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p><div style=\"max-width:100%\" data-width=\"294\"><span class=\"ar-custom\" style=\"padding-bottom:27.21%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108244 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/cuebiq.png\" alt=\"\" width=\"294\" height=\"80\" \/><\/span><\/div><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Cuebiq\u00a0<\/strong>\u662f\u4e00\u5bb6\u603b\u90e8\u5728\u7f8e\u56fd\u7684\u5e02\u573a\u63a8\u5e7f\u516c\u53f8\u3002\u7531\u4e8e\u8981\u8fc5\u901f\u54cd\u5e94\u5e02\u573a\u7684\u53d8\u5316\uff0c\u53ca\u5feb\u901f\u53d1\u5e03\u4ea7\u54c1\uff0c<strong>Cuebiq\u00a0<\/strong>\u542f\u7528\u4e86Kubernetes\u7684\u67b6\u6784\uff0c\u540c\u65f6\u7ec4\u7ec7\u4e86DevOps\u7684\u56e2\u961f\u6765\u652f\u6301\u5e94\u7528\u7684\u5feb\u901f\u5f00\u53d1\u53ca\u8fed\u4ee3\u3002\u4f46\u662f\u5982\u4f55\u7ba1\u7406\u5bb9\u5668\u5e73\u53f0\u7684\u5b89\u5168\uff0c\u6210\u4e3a\u4e86\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002\u901a\u8fc7\u00a0<strong>Prisma<\/strong>\u00a0<strong>Cloud<\/strong>\uff0c<strong>Cuebiq\u00a0<\/strong>\u80fd\u591f\u5bb9\u6613\u7684\u76d1\u63a7\u5bb9\u5668\u95f4\u7684\u7f51\u7edc\u8bbf\u95ee\uff0c\u963b\u6b62\u6076\u610f\u7684\u6d41\u91cf\uff0c\u76d1\u63a7\u5bb9\u5668\u8fdb\u7a0b\uff0c\u5e76\u4e14\u6301\u7eed\u7684\u955c\u50cf\u4ed3\u5e93\u8fdb\u884c\u5b89\u5168\u6f0f\u6d1e\uff0c\u955c\u50cf\u914d\u7f6e\uff0c\u955c\u50cf\u5408\u89c4\u6027\u626b\u63cf\u3002\u4ee5\u4fdd\u8bc1\u6240\u8fd0\u884c\u7684\u955c\u50cf\u672c\u8eab\u90fd\u662f\u5b89\u5168\u7684\u3002<\/p>\n<p>\u6211\u4eec\u4eca\u5929\u5c31\u6765\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7\u00a0<strong>Palo Alto Networks\u00a0<\/strong>\u7684\u00a0<strong>Prisma Cloud\u00a0<\/strong>\u8ba1\u7b97\u7248\u672c\u4e0e\u00a0<strong>AWS ECR\u00a0<\/strong>\u96c6\u6210\u6765\u626b\u63cf\u60a8\u955c\u50cf\u4ed3\u5e93\u4e2d\u7684\u955c\u50cf\uff0c\u67e5\u770b\u955c\u50cf\u4e2d\u5b58\u5728\u7684\u6f0f\u6d1e\uff0c\u914d\u7f6e\u53ca\u5176\u955c\u50cf\u5408\u89c4\u95ee\u9898\u3002<\/p>\n<p>\u8981\u626b\u63cfAWS\u7684ECR\u955c\u50cf\u4ed3\u5e93\uff0cPrisma Cloud\u5fc5\u987b\u4f7f\u7528IAM\u7528\u6237\uff08\u670d\u52a1\u5e10\u6237\uff09\u6216IAM\u89d2\u8272\u901a\u8fc7ECR\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002\u6240\u9700\u7684\u6700\u4f4e\u6743\u9650\u7b56\u7565\u662f<\/p>\n<p><strong>AmazonEC2ContainerRegistryReadOnly<\/strong><\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u6258\u7ba1\u7684\u9884\u5b9a\u4e49\u7b56\u7565\u3002AWS\u6258\u7ba1\u7b56\u7565\u6388\u4e88\u5e38\u89c1\u7528\u4f8b\u6240\u9700\u7684\u6700\u5c11\u6743\u9650\u96c6\uff0c\u56e0\u6b64\u60a8\u65e0\u9700\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u81ea\u5df1\u8c03\u67e5\u6743\u9650\u3002<\/p>\n<p><strong>AmazonEC2ContainerRegistryReadOnly<\/strong><\/p>\n<p>\u6743\u9650\u7b56\u7565\u5f53\u524d\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">{ <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"Version\": \"2012-10-17\", <\/span><\/p>\n<p class=\"p1\"><span style=\"color: #339966;\"><span class=\"s1\">\"Statement\"<\/span><span class=\"s1\">: [<\/span><\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\"> { <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"Effect\": \"Allow\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"Action\": [ <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:GetAuthorizationToken\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:BatchCheckLayerAvailability\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:GetDownloadUrlForLayer\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:GetRepositoryPolicy\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:DescribeRepositories\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:ListImages\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:DescribeImages\", <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"ecr:BatchGetImage\" <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">], <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">\"Resource\": \"*\" <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">} <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">] <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\" style=\"color: #339966;\">}<\/span><\/p>\n<p><strong>\u5148\u51b3\u6761\u4ef6\uff1a<\/strong><\/p>\n<p>\u60a8\u5df2\u90e8\u7f72\u5b8c\u5bb9\u5668\u73af\u5883<\/p>\n<p>\u60a8\u5df2\u5728\u73af\u5883\u4e2d\u5b89\u88c5\u597d\u4e86Prisma Cloud console\u53ca\u5176defender\u7ec4\u4ef6\u3002<\/p>\n<p><strong>\u7b2c\u4e00\u6b65\uff1a\u6253\u5f00\u63a7\u5236\u53f0\u5e76\u8f6c\u5230\u00a0\u9632\u5fa1&gt;\u6f0f\u6d1e&gt;\u955c\u50cf\u4ed3\u5e93<\/strong><\/p>\n<p><strong>\u7b2c\u4e8c\u6b65\uff1a\u8bf7\u70b9\u51fb\u00a0\u6dfb\u52a0\u955c\u50cf\u4ed3\u5e93\u3002<\/strong><\/p>\n<p><strong>\u7b2c\u4e09\u6b65\uff1a\u5728\u5bf9\u8bdd\u6846\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/strong><\/p>\n<ul>\n<li>\u9009\u62e9<strong>Amazon EC2 container registry<\/strong><\/li>\n<\/ul>\n<p><div style=\"max-width:100%\" data-width=\"1384\"><span class=\"ar-custom\" style=\"padding-bottom:63.44%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108263 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks2.png\" alt=\"\" width=\"1384\" height=\"878\" \/><\/span><\/div><\/p>\n<ul>\n<li>\u8f93\u5165\u955c\u50cf\u4ed3\u5e93\u7684<strong>URL<\/strong><\/li>\n<\/ul>\n<p><div style=\"max-width:100%\" data-width=\"1278\"><span class=\"ar-custom\" style=\"padding-bottom:22.22%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108276 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks3.png\" alt=\"\" width=\"1278\" height=\"284\" \/><\/span><\/div><\/p>\n<ul>\n<li>\u8f93\u5165\u8981\u626b\u63cf\u7684<strong>\u4ed3\u5e93\u540d\u79f0<\/strong><\/li>\n<\/ul>\n<p><div style=\"max-width:100%\" data-width=\"1308\"><span class=\"ar-custom\" style=\"padding-bottom:9.33%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108289 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks4.png\" alt=\"\" width=\"1308\" height=\"122\" \/><\/span><\/div><\/p>\n<ul>\n<li>\u5728\u6807\u7b7e\u5b57\u6bb5\u4e2d\uff0c\u8f93\u5165<strong>\u6807\u7b7e\u540d<\/strong>\u3002\u5c06\u6b64\u5b57\u6bb5\u7559\u7a7a\u8868\u793a\u626b\u63cf\u6240\u6709\u6807\u7b7e<\/li>\n<li>\u914d\u7f6e<strong>AWS\u7684\u8ba4\u8bc1\u4fe1\u606f<\/strong>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>\u5982\u8981\u4f7f\u7528IAM Role\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\uff0c\u6253\u5f00 \u4f7f\u7528IAM Role<\/li>\n<li>\u5982\u8981\u4f7f\u7528IAM \u51ed\u636e\u8fdb\u884c\u9a8c\u8bc1\uff0c\u8bf7\u70b9\u51fb \u6dfb\u52a0 \u5728\u91cc\u9762\u6dfb\u52a0AWS\u51ed\u636e\u4fe1\u606f<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<ul>\n<li>\u5728<strong>OS Type<\/strong>\u4e2d<strong>\uff0c<\/strong>\u9009\u62e9\u955c\u50cf\u4ed3\u5e93\u4e2d\u955c\u50cf\u7c7b\u578b<strong>\uff08<\/strong><strong>Linux\u6216\u8005Windows\uff09<\/strong><strong>\u00a0<\/strong><\/li>\n<\/ul>\n<ul>\n<li>\u5728<strong>Scanner<\/strong>\u4e2d<strong>\uff0c<\/strong>\u9009\u62e9<strong>\u00a0Automatic (\u81ea\u52a8)<\/strong><\/li>\n<\/ul>\n<ul>\n<li>\u5728<strong>Number of Scanners<\/strong>\u4e2d<strong>\uff0c<\/strong>\u8f93\u5165\u60a8\u5e0c\u671b\u542f\u7528\u626b\u63cf\u529f\u80fd\u7684<strong>defender\u5bb9\u5668\u6570\u91cf<\/strong><\/li>\n<li>\u8bbe\u7f6e<strong>Cap<\/strong>\u7684\u6570\u91cf<strong>\u3002<\/strong>\u9009\u62e9\u9ed8\u8ba4\u76845\u4f1a\u53ea\u626b\u63cf\u6700\u8fd1\u76845\u4e2a\u955c\u50cf\uff0c\u8bbe\u4e3a0\u5c06\u626b\u63cf\u6240\u6709\u955c\u50cf<\/li>\n<li>\u5355\u51fb<strong>\u6dfb\u52a0<\/strong><\/li>\n<\/ul>\n<p><strong>\u7b2c\u56db\u6b65\uff1a\u70b9\u51fb\u9ec4\u8272\u5b58\u50a8\u6309\u952e<\/strong><\/p>\n<p><div style=\"max-width:100%\" data-width=\"78\"><span class=\"ar-custom\" style=\"padding-bottom:89.74%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108302 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks5.png\" alt=\"\" width=\"78\" height=\"70\" \/><\/span><\/div><\/p>\n<p>\u7b2c\u4e94\u6b65<strong>\uff1a\u00a0<\/strong>\u68c0\u67e5\u662f\u5426\u6b63\u5728\u626b\u63cf\u6dfb\u52a0\u7684\u955c\u50cf\u4ed3\u5e93\u4e2d\u7684\u955c\u50cf<\/p>\n<ul>\n<li>\u5bfc\u822a\u53bb<strong>Monitor \u2013<\/strong><strong>&gt; Vulnerabilities -&gt; Registry<\/strong><\/li>\n<\/ul>\n<p><strong>\u4e00\u4e2a\u8fdb\u5ea6\u6761\u4f1a\u663e\u793a\u5f53\u524d\u7684\u626b\u63cf\u72b6\u6001\u3002\u5f53\u626b\u63cf\u5b8c\u6210\u65f6\uff0c\u626b\u63cf\u7ed3\u679c\u4f1a\u52a0\u5165\u626b\u63cf\u7ed3\u679c\u8868\u683c\u4e2d<\/strong><\/p>\n<p><div style=\"max-width:100%\" data-width=\"1416\"><span class=\"ar-custom\" style=\"padding-bottom:20.2%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108315 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks6.png\" alt=\"\" width=\"1416\" height=\"286\" \/><\/span><\/div><\/p>\n<p><strong>2\uff09<\/strong>\u53ef\u4ee5\u70b9\u51fb\u955c\u50cf\u4e2d\u7684\u6f0f\u6d1e\uff0c\u67e5\u770b\u6f0f\u6d1e\u4fe1\u606f<\/p>\n<p><div style=\"max-width:100%\" data-width=\"2084\"><span class=\"ar-custom\" style=\"padding-bottom:52.78%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108328 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks7.png\" alt=\"\" width=\"2084\" height=\"1100\" \/><\/span><\/div><\/p>\n<p><strong>3<\/strong><strong>\uff09<\/strong>\u53ef\u4ee5\u70b9\u51fb\u5408\u89c4\u68c0\u67e5\uff0c\u68c0\u67e5\u5bb9\u5668\u5185\u662f\u5426\u6709\u6076\u610f\u8f6f\u4ef6\uff0c\u662f\u5426\u5b58\u6709\u7528\u6237\u654f\u611f\u4fe1\u606f\u7b49\u7b49\u3002<\/p>\n<p><div style=\"max-width:100%\" data-width=\"2376\"><span class=\"ar-custom\" style=\"padding-bottom:69.44%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108341 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks8.png\" alt=\"\" width=\"2376\" height=\"1650\" \/><\/span><\/div><\/p>\n<p><strong>4\uff09<\/strong>\u53ef\u4ee5\u70b9\u51fbLayer\u67e5\u770b\u955c\u50cfbuild\u7684\u6bcf\u4e2aLayer\u4fe1\u606f\uff0c\u6e05\u6670\u4e86\u89e3\u95ee\u9898\u7684\u6839\u6e90\u53ca\u63d0\u4f9b\u5982\u4f55\u4fee\u590d\u5efa\u8bae<\/p>\n<p><div style=\"max-width:100%\" data-width=\"2374\"><span class=\"ar-custom\" style=\"padding-bottom:43.89%;\"><img loading=\"lazy\" decoding=\"async\"  class=\"aligncenter size-full wp-image-108354 lozad\"  data-src=\"https:\/\/www.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/scan-aws-image-warehouse-ecr-with-prisma-cloud-computing-version-of-palo-alto-networks9.png\" alt=\"\" width=\"2374\" height=\"1042\" \/><\/span><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524d\u4f01\u4e1a\u5bb9\u5668\u7684\u4f7f\u7528\u8d8a\u6765\u8d8a\u666e\u904d\uff0c\u6839\u636eGartner\u7684\u7edf\u8ba1\uff0c\u76ee\u524d\u5df2\u7ecf\u6709\u4e00\u534a\u7684\u4f01\u4e1a\u5df2\u7ecf\u4f7f\u7528\u4e86\u5bb9\u5668\u90e8\u7f72\u3002\u800c\u4e14\u8fd9\u4e2a\u589e\u957f\u7684\u8d8b\u52bf\u4e5f\u4f1a\u8d8a\u6765\u8d8a\u5feb\u3002\u5176\u4e2d\u5bb9\u5668\u7684\u955c\u50cf\u4ed3\u5e93\u4e3a\u5b58\u50a8\u548c\u5206\u53d1\u5e94\u7528\u955c\u50cf\u63d0\u4f9b\u4e86\u4fbf\u6377\u3001\u96c6\u4e2d\u5316\u7684\u6765\u6e90\u3002\u5f53\u4eca\u6211\u4eec\u7684\u4f01\u4e1a\u548c\u7ec4\u7ec7\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5c06\u6570\u4ee5\u4e07\u8ba1\u7684\u955c\u50cf\u5b58\u50a8\u5728\u955c\u50cf\u4ed3\u5e93\u4e2d\uff0c\u6bd4\u5982\u8bf4\u6211\u4eecAWS\u7684\u955c\u50cf\u4ed3\u5e93ECR\u00a0\uff08Elastic Container Registry\uff09\u3002 \u53ef\u4ee5\u8bf4\u4ed6\u73b0\u5728\u662f\u5bb9\u5668\u5316\u73af\u5883\u8fd0\u884c\u7684\u6838\u5fc3\uff0c\u56e0\u6b64\u4fdd\u62a4\u5b83\u7684\u5b89\u5168\u81f3\u5173\u91cd\u8981\u3002\u955c\u50cf\u4ed3\u5e93\u4e2d\u7684\u955c\u50cf\u7ed9\u6211\u4eec\u7684\u5bb9\u5668\u90e8\u7f72\u5e26\u6765\u4e86\u5f88\u591a\u7684\u4fbf\u5229\u6027\uff0c\u4f46\u662f\u540c\u65f6\uff0c\u4f46\u662f\u4e00\u65e6\u5728\u955c\u50cf\u4ed3\u5e93\u4e2d\u5b58\u5728\u5177\u6709\u6f0f\u6d1e\u6216\u8005\u5b89\u5168\u9690\u60a3\u7684\u955c\u50cf\uff0c\u4e5f\u4f1a\u901a\u8fc7\u5bb9\u5668\u7684\u81ea\u52a8\u90e8\u7f72\u7ed9\u6211\u4eec\u7684\u5bb9\u5668\u73af\u5883\u5e26\u6765\u5f88\u5927\u7684\u5b89\u5168\u98ce\u9669\u3002\u56e0\u6b64\uff0c\u6301\u7eed\u76d1\u63a7\u955c\u50cf\u4ed3\u5e93\u4e2d\u955c\u50cf\u7684\u6f0f\u6d1e\u72b6\u6001\uff0c\u662f\u4e00\u9879\u6838\u5fc3\u5b89\u5168\u8981\u6c42\uff0c\u9700\u8981\u6211\u4eec\u80fd\u591f\u4fdd\u8bc1\u6211\u4eec\u6240\u90e8\u7f72\u8fd0\u884c\u7684\u5bb9\u5668\u672c\u8eab\u662f\u5b89\u5168\u7684\u3002 AWS\u7684ECR\u672c\u8eab\u5c31\u5185\u7f6e\u4e86\u955c\u50cf\u6f0f\u6d1e\u626b\u63cf\u529f\u80fd\uff0c\u540c\u65f6\u53ef\u4ee5\u5728\u955c\u50cf\u4e0a\u4f20\u65f6\u81ea\u52a8\u8fdb\u884c\u626b\u63cf\uff0c\u7136\u540e\u5217\u51fa\u955c\u50cf\u4e2d\u7684\u6f5c\u5728\u6f0f\u6d1e\u3002\u4f7f\u7528\u4e5f\u975e\u5e38\u7684\u65b9\u4fbf\u3002ECR\u7684\u626b\u63cf\u5f15\u64ce\u5229\u7528\u7684\u662f\u5f00\u6e90\u7684CoreOS Clair\uff0c\u5e76\u901a\u8fc7Clair\u63d0\u4f9b\u7684CVE\u6570\u636e\u5e93\u5217\u51fa\u955c\u50cf\u4e2d\u7684\u5b89\u5168\u6f0f\u6d1e\u3002\u5bf9\u955c\u50cf\u5185\u7684\u6076\u610f\u4ee3\u7801\uff0c\u6216\u8005\u955c\u50cf\u5185\u662f\u5426\u5b58\u6709\u654f\u611f\u4fe1\u606f\uff08\u7528\u6237\u8eab\u4efd\u4fe1\u606f\uff09\uff0c\u955c\u50cf\u662f\u5426\u4ee5root\u8eab\u4efd\u8fd0\u884c\uff0c\u955c\u50cf\u7684\u73af\u5883\u53d8\u91cf\u91cc\u662f\u5426\u5b58\u6709\u7528\u6237\u5bc6\u7801\u4fe1\u606f\u7b49\u8fd9\u4e9b\u7528\u6237\u914d\u7f6e\u5c42\u9762\u7684\u68c0\u67e5\uff0c\u8fd8\u9700\u8981\u5229\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u3002\u540c\u65f6\uff0c\u5982\u4f55\u80fd\u4fdd\u8bc1\u6211\u4eec\u7684\u6784\u5efa\u7684\u955c\u50cf\u7b26\u5408Docker\u6216Kubernetes\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u5982\u4f55\u4fdd\u8bc1\u5408\u89c4\u6807\u51c6\uff0c\u6bd4\u5982NIST\uff0cGDPR\uff0cPCI\u7b49\uff0c\u540c\u6837\u9700\u8981\u7b2c\u4e09\u65b9\u7684\u5b89\u5168\u5de5\u5177\u6765\u8865\u5168\u3002 \u56e0\u6b64\uff0c\u5bf9\u5f88\u591a\u91cd\u5ea6\u4f7f\u7528\u5bb9\u5668\u90e8\u7f72\u7684\u4f01\u4e1a\u6765\u8bf4\uff0c\u5982\u4f55\u80fd\u628a\u955c\u50cf\u6f0f\u6d1e\u626b\u63cf\uff0c\u955c\u50cf\u914d\u7f6e\u53ca\u5408\u89c4\u68c0\u67e5\u7d27\u5bc6\u96c6\u6210\u5230\u4e00\u4e2a\u5e73\u53f0\uff0c\u80fd\u591f\u6e05\u6670\u7684\u4e86\u89e3\u81ea\u5df1\u955c\u50cf\u4ed3\u5e93\u4e2d\u955c\u50cf\u7684\u5b89\u5168\u72b6\u6001\u53ca\u5176\u5408\u89c4\u60c5\u51b5\u5c31\u663e\u5f97\u7279\u522b\u91cd\u8981\u3002\u4f8b\u5982\uff1a &nbsp; &nbsp; Cuebiq\u00a0\u662f\u4e00\u5bb6\u603b\u90e8\u5728\u7f8e\u56fd\u7684\u5e02\u573a\u63a8\u5e7f\u516c\u53f8\u3002\u7531\u4e8e\u8981\u8fc5\u901f\u54cd\u5e94\u5e02\u573a\u7684\u53d8\u5316\uff0c\u53ca\u5feb\u901f\u53d1\u5e03\u4ea7\u54c1\uff0cCuebiq\u00a0\u542f\u7528\u4e86Kubernetes\u7684\u67b6\u6784\uff0c\u540c\u65f6\u7ec4\u7ec7\u4e86DevOps\u7684\u56e2\u961f\u6765\u652f\u6301\u5e94\u7528\u7684\u5feb\u901f\u5f00\u53d1\u53ca\u8fed\u4ee3\u3002\u4f46\u662f\u5982\u4f55\u7ba1\u7406\u5bb9\u5668\u5e73\u53f0\u7684\u5b89\u5168\uff0c\u6210\u4e3a\u4e86\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002\u901a\u8fc7\u00a0Prisma\u00a0Cloud\uff0cCuebiq\u00a0\u80fd\u591f\u5bb9\u6613\u7684\u76d1\u63a7\u5bb9\u5668\u95f4\u7684\u7f51\u7edc\u8bbf\u95ee\uff0c\u963b\u6b62\u6076\u610f\u7684\u6d41\u91cf\uff0c\u76d1\u63a7\u5bb9\u5668\u8fdb\u7a0b\uff0c\u5e76\u4e14\u6301\u7eed\u7684\u955c\u50cf\u4ed3\u5e93\u8fdb\u884c\u5b89\u5168\u6f0f\u6d1e\uff0c\u955c\u50cf\u914d\u7f6e\uff0c\u955c\u50cf\u5408\u89c4\u6027\u626b\u63cf\u3002\u4ee5\u4fdd\u8bc1\u6240\u8fd0\u884c\u7684\u955c\u50cf\u672c\u8eab\u90fd\u662f\u5b89\u5168\u7684\u3002 \u6211\u4eec\u4eca\u5929\u5c31\u6765\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u901a\u8fc7\u00a0Palo Alto Networks\u00a0\u7684\u00a0Prisma Cloud\u00a0\u8ba1\u7b97\u7248\u672c\u4e0e\u00a0AWS ECR\u00a0\u96c6\u6210\u6765\u626b\u63cf\u60a8\u955c\u50cf\u4ed3\u5e93\u4e2d\u7684\u955c\u50cf\uff0c\u67e5\u770b\u955c\u50cf\u4e2d\u5b58\u5728\u7684\u6f0f\u6d1e\uff0c\u914d\u7f6e\u53ca\u5176\u955c\u50cf\u5408\u89c4\u95ee\u9898\u3002 \u8981\u626b\u63cfAWS\u7684ECR\u955c\u50cf\u4ed3\u5e93\uff0cPrisma Cloud\u5fc5\u987b\u4f7f\u7528IAM\u7528\u6237\uff08\u670d\u52a1\u5e10\u6237\uff09\u6216IAM\u89d2\u8272\u901a\u8fc7ECR\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002\u6240\u9700\u7684\u6700\u4f4e\u6743\u9650\u7b56\u7565\u662f AmazonEC2ContainerRegistryReadOnly \u8fd9\u662f\u4e00\u4e2a\u6258\u7ba1\u7684\u9884\u5b9a\u4e49\u7b56\u7565\u3002AWS\u6258\u7ba1\u7b56\u7565\u6388\u4e88\u5e38\u89c1\u7528\u4f8b\u6240\u9700\u7684\u6700\u5c11\u6743\u9650\u96c6\uff0c\u56e0\u6b64\u60a8\u65e0\u9700\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u81ea\u5df1\u8c03\u67e5\u6743\u9650\u3002 AmazonEC2ContainerRegistryReadOnly \u6743\u9650\u7b56\u7565\u5f53\u524d\u5b9a\u4e49\u5982\u4e0b\uff1a { \"Version\": \"2012-10-17\", \"Statement\": [ { \"Effect\": \"Allow\", \"Action\": [ \"ecr:GetAuthorizationToken\", &hellip;<\/p>\n","protected":false},"author":674,"featured_media":108385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3540],"tags":[],"coauthors":[6988],"class_list":["post-108230","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3540"],"jetpack_featured_media_url":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-content\/uploads\/2020\/03\/prisma-cloud-scan-ecr-blogv2.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/108230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/users\/674"}],"replies":[{"embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/comments?post=108230"}],"version-history":[{"count":12,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/108230\/revisions"}],"predecessor-version":[{"id":108399,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/108230\/revisions\/108399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/media\/108385"}],"wp:attachment":[{"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/media?parent=108230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/categories?post=108230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/tags?post=108230"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www2.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/coauthors?post=108230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}