socket-cli can't fetch alert details?

Open
#1,525 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript
Domain
cli, security

Research direction

Start by reviewing the CLI FAQ, Socket MCP documentation, and REST API introduction cited in the issue, then inspect the repository for existing alert-related commands or API clients. Done would mean an agreed programmatic way to retrieve alert details by alert key, with its JSON response and supported interface documented and tested.

Written by the indexing model from the issue text.

Description

Hi!

I'm trying to integrate advisories / alerts from socket.dev into an agentic workflow.

For that, I need a programmatic way to fetch alert details — a json representation of what the web UI gives on https://socket.dev/dashboard/org/acme/alerts?view=vulnerabilities&alert_item_key=QI5JxYFnX5[....]cl3QBRp-s0 — i.e. something morally equivalent to gh api advisories/<GHSA> which returns full GHSA advisories by key; except for Socket.

I've installed the CLI and connected an access token via socket login. It works, but I'm not finding any option to fetch alert details by alert key.

I've checked the docs: CLI FAQ, Socket MCP, REST API. None of the facilities seems to provide what I need.

Am I missing something? How to programmatically fetch alert details from Socket?

Dominant language
TypeScript
Stars
317
Forks
65
Avg merge
1h 26m
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SocketDev/socket-cli

All issues in SocketDev/socket-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.