Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@gitlab/application-sdk-node
Advanced tools
This SDK is for using GitLab Application Services with Node.
Add the NPM package to your package JSON using your preferred package manager:
yarn add @gitlab/application-sdk-node
OR
npm i @gitlab/application-sdk-node
import { GitLabSDK } from '@gitlab/application-sdk-node';
const glSDK = new GitLabSDK({ app_id: 'YOUR_APP_ID', host: 'YOUR_HOST' });
Option | Description |
---|---|
app_id | The ID specified in the GitLab Project Analytics setup guide. It ensures your data is sent to your analytics instance. |
host | The GitLab Project Analytics instance specified in the setup guide. |
identify
Used to associate a user and their attributes with the session and tracking events.
glSDK.identify('123abc', { user_name: 'Matthew' });
Property | Type | Description |
---|---|---|
user_id | String | The ID of the user. |
user_attributes | Hash | Optional. The user attributes to add to the session and tracking events. |
track
Used to trigger a custom event.
glSDK.track(event_name, event_attributes);
Property | Type | Description |
---|---|---|
event_name | String | The name of the custom event. |
event_attributes | Hash | The event attributes to add to the tracked event. |
To develop with a local Snowplow pipeline, use Analytics devkit's Snowplow setup.
Want to contribute to the GitLab Application SDK - Node? follow contributing guide.
FAQs
NodeJS SDK for GitLab Application services
We found that @gitlab/application-sdk-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.