Skip to content

Add event tracking to NPM package API

Steve Abrams requested to merge npm_api_event_tracking into master

What does this MR do?

This MR adds snowplow tracking events to the NPM API endpoints to track package publish and install events.

It does not require a changelog or any doc updates as it is purely ~backstage.

Related: #197117 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Steve Abrams

Merge request reports