Get Threat Feed Items (Beta)
Changed onPaginated list of threats, sorted by updated_at by default. Set updated_after to the unix timestamp of your last sync while sorting by updated_at to synchronize all new or updated threats in the feed.
This endpoint requires an Enterprise Plan with Threat Feed add-on. Contact our sales team for more details.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- threat-feed:list
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/threat-feed
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
The slug of the organization
Query parameters
Number of threats per page
Pass the previous response endCursor to retrieve the next page. Takes precedence over page_cursor when both are supplied. Unsupported cursor aliases return 400; unrelated query parameters are unchanged.
Deprecated alias for startAfterCursor. Existing nextPageCursor values remain accepted.
Set the sort order for the threat feed items. Default is descending order by updated_at, which includes all new and updated threat feed items.
A Unix timestamp in seconds that filters results to items only updated after the timestamp.
A Unix timestamp in seconds that filters results to items only created after the date.
Order direction of the provided sort field.
Filter by threat classification. Supported values: mal (malware, including possible malware), vuln (vulnerability), typo (typosquat, including possible typosquat), anom (anomaly), spy (telemetry), obf (obfuscated code), dual (dual-use tool), joke (protestware or joke package), tp (all confirmed true positives), fp (false positive), u (unreviewed), c (classified, i.e. anything except unreviewed).
Filter threats by package name
Filter threats by package version.
Only return threats which have been human-reviewed
Filter threats by package ecosystem.
Response
The paginated list of items in the threat feed and the next page cursor.
Changes
- breaking
removed the enum value
clawhubfrom thequeryrequest parameterecosystem - info
added the new optional
queryrequest parameterstartAfterCursor - info
queryrequest parameterpage_cursorwas deprecated - info
added the new enum value
edge-extensionto thequeryrequest parameterecosystem - info
added the new enum value
firefox-extensionto thequeryrequest parameterecosystem - info
added the new enum value
vscode-extensionto thequeryrequest parameterecosystem - info
added the non-success response with the status
- info
added the non-success response with the status
- info
response property
nextPageCursordeprecated - info
added the required property
to the response with the status
- breaking