[ Web Proxy ]
URL:
Viewing: https://docs.socket.dev/docs/socket-analytics [Back]  [Original]

socket analytics
IntroductionSocket AlertsSocket DashboardIntegrationsSocket for GitHubCI-CD IntegrationsSocket CLISocket MCPSocket FirewallSocket for VS CodeSocket REST APISocket Chrome ExtensionNext stepsAdvanced

socket analytics

Get analytics data at the organization and repository level

$ socket analytics --help

  Look up analytics data

  Usage
    $ socket analytics [options] [ "org" | "repo" <reponame>] [TIME]

  API Token Requirements
    - Quota: 1 unit
    - Permissions: report:write

  The scope is either org or repo level, defaults to org.

  When scope is repo, a repo slug must be given as well.

  The TIME argument must be number 7, 30, or 90 and defaults to 30.

  Options
    --file            Path to store result, only valid with --json/--markdown
    --json            Output result as json
    --markdown        Output result as markdown

  Examples
    $ socket analytics org 7
    $ socket analytics repo test-repo 30
    $ socket analytics 90

Example of what the dashboard looks like:

[]

v1 Migration guide
socket audit-log
Did this page help you?
Copy Page

Web Proxy Viewer  |  New URL  |  Original Page