
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
github.com/aws-observability/amp-eks-iam
Advanced tools
amp-eks-iam creates an IAM role to give remote write privileges to an EKS service account. If you are collecting Prometheus metrics on EKS and want to send them to Amazon Managed Service for Prometheus (AMP), you can use this tool to give minimal privileges to your Kubernetes namespace and service account.
$ go get github.com/aws-observability/amp-eks-iam
amp-eks-iam <cluster flags> [options...]
amp-eks-iam creates the required IAM policies and roles to give
remote write priviledges to an EKS service account.
Example:
$ amp-eks-iam \
-region=us-east-1 -cluster=eks-cluster
Cluster flags:
-cluster EKS cluster name.
Options:
-namespace Kubernetes namespace to apply the policy to. By default, "prometheus".
-service-account Kubernetes service account to apply the policy to. By default, the namespace.
-role IAM role name to create, default is
"EKS-AMP-ServiceAccount-{region}-{cluster}-{namespace}-{sa}".
-region AWS region of the EKS cluster.
By default, amp-eks-iam creates the role and the privileges for the "prometheus" Kubernetes namespace and service account. You can specify your own namespaces and service accounts. For example, if you are deploying Grafana Agent as explained in this article, use the following command:
$ amp-eks-iam \
-region=us-east-1 -cluster=eks-cluster \
-namespace=grafana-agent \
-service-account=grafana-agent
If you received an error telling "roleName" is above the character limits like below,
2021/02/20 09:46:27 Cannot create IAM role: failed to create the IAM role: ValidationError: 1 validation error detected: Value 'EKS-AMP-ServiceAccount-us-west-2-demo-prometheusdeployment-prometheusdeploymentaccount' at 'roleName' failed to satisfy constraint: Member must have length less than or equal to 64
You can set a custom role name with -role:
$ amp-eks-iam \
-region=us-east-1 -cluster=eks-cluster \
-role AMPIngestRole
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.