如何获取AWS中所有服务器的服务器名称/ID和内核版本的报告?
我正在使用 SSM 运行
uname -srm
来识别项目中一堆 AWS 账户中所有 EC2 实例的内核版本。我将 SSM 命令的结果存储在 S3 上
接下来我将下载 S3 内容并对结果执行 grep 以查看是否正在使用内核 5.x
有没有更好的方法来自动执行此搜索?我只需要一份实例名称/ID、内核版本的报告。
我进行此搜索是为了确定哪些服务器受到 Dirty Pipe Linux 内核漏洞 (CVE-2022-0847) 的影响。
I am using SSM to run
uname -srm
to identify the kernel versions of all the EC2 instances in a bunch of AWS accounts in my project.And I'm storing the results of SSM commands on S3
Next I'm downloading the S3 contents and doing a grep on the results to see if there's a kernel 5.x being used
Is there a better way to automate this search? I just need a report of instance name/id, kernel vsersion.
I am doing this search to identify which servers are affected by the Dirty Pipe Linux kernel vuln (CVE-2022-0847).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论