-
Notifications
You must be signed in to change notification settings - Fork 26
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
Analytics command #106
Conversation
a6cd75f
to
a31796b
Compare
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
Report is too large to display inline. Next stepsMark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
7d7745a
to
21b84d0
Compare
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
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.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.The data can also be displayed in JSON format using the
--json
flag and can be saved to a local file with--file