简体   繁体   English

引用未知账户 ID 的 AWS EKS 控制平面身份验证事件

[英]AWS EKS control plane authentication events referencing unknown account id

I'm posting this here for posterity, since this doesn't seem to be covered in any documentation or discussion anywhere.我在这里发布这个是为了后代,因为这似乎没有在任何地方的任何文档或讨论中涵盖。

After creating an EKS cluster via the AWS web console, I was seeing cloudwatch events originating from the EKS control plane that referenced an account ID that I didn't recognize.通过 AWS web 控制台创建 EKS 集群后,我看到来自 EKS 控制平面的 cloudwatch 事件引用了我不认识的账户 ID。 It was referencing the ARN of a lambda script role...presumably submitting data to the lambda script.它引用了 lambda 脚本角色的 ARN...大概是向 lambda 脚本提交数据。

Example events (sanitized):示例事件(已清理):

time="2022-06-02T17:21:31Z" level=info msg="STS response"
accesskeyid=<key_id> accountid=<account_id>
arn="arn:aws:sts::<account_id>:assumed-role/AWSWesleyClusterManagerLambda-NodeManagerRole-1W15HHFYBJTFL/1654190491588606273"
client="127.0.0.1:59652" method=POST path=/authenticate
session=1654190491588606273 userid=<user_id>

time="2022-06-02T17:21:31Z" level=info msg="access granted"
arn="arn:aws:iam::<account_id>:role/AWSWesleyClusterManagerLambda-NodeManagerRole-1W15HHFYBJTFL"
client="127.0.0.1:59652" groups="[]" method=POST path=/authenticate
uid="aws-iam-authenticator:<account_id>:<user_id>"
username="eks:node-manager"

I googled for any reference to this role name, but didn't turn up any results.我用谷歌搜索了任何对此角色名称的引用,但没有找到任何结果。

I then opened a case with AWS support to verify if the events were referencing an account owned by AWS.然后,我向 AWS 支持人员开立了一个案例,以验证事件是否引用了 AWS 拥有的账户。 It turns out, they do own the account and use the lambda scripts for monitoring the EKS cluster's health.事实证明,他们确实拥有该帐户并使用 lambda 脚本来监控 EKS 集群的健康状况。 The account_id on the events could differ, depending on where the EKS cluster is deployed.事件上的 account_id 可能会有所不同,具体取决于 EKS 集群的部署位置。

The events originating from the EKS control plane that reference an external account_id belong to AWS.源自引用外部account_id的 EKS 控制平面的事件属于 AWS。 They use lambda scripts for monitoring the EKS deployments.他们使用 lambda 脚本来监控 EKS 部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM