Skip to content

Conversation

@charliegerard
Copy link
Contributor

@charliegerard charliegerard commented Apr 15, 2024

This PR introduces the socket analytics command to display the analytics data.

Organization-level data: socket analytics --scope=org --time=<time filter>
Example: socket analytics --scope=org --time=7 for the last 7 days of data.

Screenshot 2024-08-26 at 12 59 00 PM

Repository-level data: socket analytics --scope=repo --repo=<repo name> --time=<time filter>
Example: socket analytics --scope=repo --repo=fake-repo --time=7 for the last 7 days of data.

Screenshot 2024-08-26 at 12 59 14 PM

The data can also be displayed in JSON format using the --json flag and can be saved to a local file with --file

@charliegerard charliegerard force-pushed the cg/addAnalyticsCommand branch from a6cd75f to a31796b Compare August 21, 2024 21:21
@socket-security-staging
Copy link

socket-security-staging bot commented Aug 22, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] filesystem Transitive: environment +51 9.64 MB lirantal
npm/[email protected] environment, eval, filesystem, network, shell 0 1.65 MB chjj

View full report↗︎

@socket-security-staging
Copy link

socket-security-staging bot commented Aug 22, 2024

Report is too large to display inline.
View full report↗︎

Next steps

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@charliegerard charliegerard force-pushed the cg/addAnalyticsCommand branch from 7d7745a to 21b84d0 Compare August 23, 2024 21:16
@socket-security
Copy link

socket-security bot commented Aug 23, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] filesystem Transitive: environment +51 9.64 MB lirantal
npm/[email protected] environment, eval, filesystem, network, shell 0 1.65 MB chjj

View full report↗︎

@charliegerard charliegerard changed the title [WIP] Analytics Analytics command Aug 28, 2024
@charliegerard charliegerard marked this pull request as ready for review August 28, 2024 18:57
@charliegerard charliegerard merged commit c3abf4f into master Aug 28, 2024
@charliegerard charliegerard deleted the cg/addAnalyticsCommand branch August 28, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants