
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
gitlab.com/gitlab-com/gl-infra/gke-notifications
This is a small cloud function that listens on a pubsub topic for messages from a GKE cluster indiciating a manual or automatic upgrade has been initiated. The function then writes an annotation into Grafana with specific tags allowing you to easily determine when GKE upgrades have taken place when looking at metrics in Grafana.
You need to setup a pubsub topic in the same GCP project as the GKE cluster in question, then you need to follow the instructions at https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-upgrade-notifications in order to have the cluster send upgrade notifications to the topic.
You can deploy this cloud function by referencing the source code which is automatically uploaded to
gs://gitlab-gke-notifications-function/gke-notifications.zip
You will need to make sure your cloud function has the following environment variables set
ENVIRONMENT
: The environment of the cluster (set as a tag on the annotation)GRAFANA_URL
: the URL to the Grafana instance that you are writing annotations toGRAFANA_API_KEY
: The API key used to authenticate to the Grafana instanceFAQs
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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.