Skip to content

Analytics command #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Aug 28, 2024
Merged

Analytics command #106

merged 21 commits into from
Aug 28, 2024

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
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/blessed-contrib@4.11.0 filesystem Transitive: environment +51 9.64 MB lirantal
npm/blessed@0.1.81 environment, eval, filesystem, network, shell 0 1.65 MB chjj

View full report↗︎

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/blessed@0.1.81
  • @SocketSecurity ignore npm/@colors/colors@1.5.0
  • @SocketSecurity ignore npm/ansicolors@0.3.2
  • @SocketSecurity ignore npm/cardinal@2.1.1
  • @SocketSecurity ignore npm/core-util-is@1.0.3
  • @SocketSecurity ignore npm/esprima@4.0.1
  • @SocketSecurity ignore npm/marked@4.3.0
  • @SocketSecurity ignore npm/redeyed@2.1.1
  • @SocketSecurity ignore npm/isarray@0.0.1
  • @SocketSecurity ignore npm/string_decoder@0.10.31
  • @SocketSecurity ignore npm/optimist@0.3.7
  • @SocketSecurity ignore npm/wordwrap@0.0.3
  • @SocketSecurity ignore npm/has-ansi@2.0.0
  • @SocketSecurity ignore npm/ansi-regex@2.1.1
  • @SocketSecurity ignore npm/ansi-styles@2.2.1
  • @SocketSecurity ignore npm/chalk@1.1.3
  • @SocketSecurity ignore npm/supports-color@2.0.0
  • @SocketSecurity ignore npm/strip-ansi@3.0.1
  • @SocketSecurity ignore npm/memory-streams@0.1.3
  • @SocketSecurity ignore npm/readable-stream@1.0.34
  • @SocketSecurity ignore npm/optimist@0.2.8
  • @SocketSecurity ignore npm/charm@0.1.2
  • @SocketSecurity ignore npm/buffers@0.1.1
  • @SocketSecurity ignore npm/node-emoji@1.11.0
  • @SocketSecurity ignore npm/xmlbuilder@11.0.1
  • @SocketSecurity ignore npm/xml2js@0.4.23
  • @SocketSecurity ignore npm/x256@0.0.2
  • @SocketSecurity ignore npm/marked-terminal@5.2.0
  • @SocketSecurity ignore npm/gl-matrix@2.8.1
  • @SocketSecurity ignore npm/nopt@2.1.2
  • @SocketSecurity ignore npm/ansi-escapes@6.2.1
  • @SocketSecurity ignore npm/blessed-contrib@4.11.0
  • @SocketSecurity ignore npm/ansi-term@0.0.2
  • @SocketSecurity ignore npm/drawille-canvas-blessed-contrib@0.1.3
  • @SocketSecurity ignore npm/map-canvas@0.1.5
  • @SocketSecurity ignore npm/picture-tuber@1.0.2
  • @SocketSecurity ignore npm/sparkline@0.1.2
  • @SocketSecurity ignore npm/term-canvas@0.0.5
  • @SocketSecurity ignore npm/bresenham@0.0.3
  • @SocketSecurity ignore npm/drawille-blessed-contrib@1.0.0
  • @SocketSecurity ignore npm/event-stream@0.9.8
  • @SocketSecurity ignore npm/png-js@0.1.1
  • @SocketSecurity ignore npm/here@0.0.2
  • @SocketSecurity ignore npm/cli-table3@0.6.5

@charliegerard charliegerard force-pushed the cg/addAnalyticsCommand branch from 7d7745a to 21b84d0 Compare August 23, 2024 21:16
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/blessed-contrib@4.11.0 filesystem Transitive: environment +51 9.64 MB lirantal
npm/blessed@0.1.81 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
11 checks passed
@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.

1 participant