
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
fullstory-cli
Advanced tools
FullStory CLI is a user analytics CLI that pulls user data from FullStory data export feature.
You can use the CLI interactively or by passing command line arguments.
To get started, let's install the package:
npm i fullstory-cli -g
.
Next, we need to create a story.js
file in the root of our project. The story.js
allows us to configure the CLI with the various options:
apiKey
: This is the API key you get out of FullStory. This is required.routes
: This is a array of { route: string, page: string }
that
we can normalize our routes to. The routes table uses path-to-regexp
under the hood to allow you to normalize complex URLs to human readable ones.transforms
: This is a key/value map of properties we can use to transform data attributes.blacklists
: This is a key/value map of properties that we want to exclude certain values from.An example story.js
might look like:
module.exports = {
"apiKey": "XXXXXXXXXXXXXXXXXXXXX",
"blacklists": {
"Customer": [
"sandbox",
],
"UserEmailDomain": [
'bob.com'
]
},
"transforms": {
"Customer": (data) => {
return data.PageUrlOrigin.replace('https://', '')
}
},
"routes": [
{ "route": "/dashboard", "page": "/dashboard" },
{ "route": "/users/:id", "page": "/users/details" },
{ "route": "/users/:id/:tab?", "page": "/users/details" }
]
};
Now that everything is configured, we can run our CLI. The CLI can be ran interactively which allows a user to type in values dynamically or via command line arguments.
To run the CLI interactively, you can do sbc
or if you want
to run it your command line arguments like: sbc --offset=1 --type=JSON --aggregate=true
.
FAQs
Interactive CLI for enriching and aggregating FullStory data.
We found that fullstory-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.