Create full scan
Action ID:tools.socket.create_full_scan
Create a full scan. Calls POST /v0/orgs/{org_slug}/full-scans directly with multipart files.
Reference: https://docs.socket.dev/reference/createorgfullscan
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
The branch name to associate the full-scan with. Branch names must follow Git branch name rules: be 1-255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain ”//”, ”..”, or ”@{”; and cannot include control characters, spaces, or any of ~^:?*[.Default:
null.The committers to associate with the full-scan. Set query more than once to set multiple.Default:
null.The integration org slug to associate the full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges.Default:
null.The integration type to associate the full-scan with. Defaults to “Api” if omitted. Supported values are api, github, gitlab, bitbucket, azure and web.Default:
null.Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option.Default:
null.The type of scan to perform. Defaults to ‘socket’. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.Default:
null.Designate this full-scan as the latest scan of a given branch. Default branch head scans are included in org alerts. This is only supported on the default branch. A branch name is required with this option.Default:
null.Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true.Default:
null.Create full scan from archive
Action ID:tools.socket.create_full_scan_from_archive
Create a full scan from an archive. Calls POST /v0/orgs/{org_slug}/full-scans/archive directly with multipart files.
Reference: https://docs.socket.dev/reference/createorgfullscanarchive
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
The branch name to associate the full-scan with. Branch names must follow Git branch name rules: be 1-255 characters long; cannot be exactly @; cannot begin or end with /, ., or .lock; cannot contain ”//”, ”..”, or ”@{”; and cannot include control characters, spaces, or any of ~^:?*[.Default:
null.The committers to associate with the full-scan. Set query more than once to set multiple.Default:
null.The integration org slug to associate the full-scan with. If omitted, the Socket org name will be used. This is used to generate links and badges.Default:
null.The integration type to associate the full-scan with. Defaults to “Api” if omitted. Supported values are api, github, gitlab, bitbucket, azure and web.Default:
null.Set the default branch of the repository to the branch of this full-scan. A branch name is required with this option.Default:
null.The type of scan to perform. Defaults to ‘socket’. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.Default:
null.Designate this full-scan as the latest scan of a given branch. Default branch head scans are included in org alerts. This is only supported on the default branch. A branch name is required with this option.Default:
null.Create a temporary full-scan that is not listed in the reports dashboard. Cannot be used when set_as_pending_head=true.Default:
null.Fetch packages by PURL
Action ID:tools.socket.fetch_packages_by_purl
Fetch packages by PURL. Calls POST /v0/orgs/{org_slug}/purl directly.
Reference: https://docs.socket.dev/reference/batchpackagefetchbyorg
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
Include only alerts with comma separated actions defined by security policy. Supported values are error, monitor, warn and ignore.Default:
null.Legacy fallback for older clients. Only used when poll is omitted: cachedResultsOnly=true behaves like poll=false, while cachedResultsOnly=false preserves the older blocking behavior.Default:
null.Compact metadata. When enabled, excludes metadata fields like author, scores, size, dependencies, and manifest files. Always includes: id, type, name, version, release, namespace, subpath, alerts, and alertPriorities.Default:
null.Repository label slugs to apply policies. Only one label is supported currently; the parameter is an array to allow future support for multiple labels.Default:
null.Include license attribution data, including license text and author information. Maps attribution/license text to a list of data objects to which that attribution info applies.Default:
null.Include detailed license information, including location and match strength, for each license datum.Default:
null.When true, wait up to timeoutSec for pending analysis to complete before returning. When false (default), return the current known state immediately, including synthesized pendingScan and notFound alerts when alerts=true unless purlErrors=true keeps legacy not-found errors.Default:
null.Include a summary object at the end of the stream with counts of malformed, resolved, and not found PURLs.Default:
null.Maximum time in seconds to wait for package resolution and, when poll=true, pending analysis. Inputs that have not completed processing when the timeout is reached return pendingScan alerts when alerts=true, or errors when purlErrors=true.Default:
null.Get full scan metadata
Action ID:tools.socket.get_full_scan_metadata
Get full scan metadata. Calls GET /v0/orgs/{org_slug}/full-scans/{full_scan_id}/metadata directly.
Reference: https://docs.socket.dev/reference/getorgfullscanmetadata
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
List full scans
Action ID:tools.socket.list_full_scans
List full scans. Calls GET /v0/orgs/{org_slug}/full-scans directly.
Reference: https://docs.socket.dev/reference/getorgfullscanlist
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
Specify sort direction. Supported values are asc and desc. Socket defaults to desc.Default:
null.The page number to return when using offset-style pagination. Ignored when cursor pagination is used. Socket defaults to 1.Default:
null.Specify the maximum number of results to return per page. Socket defaults to 30.Default:
null.A scan type to filter full-scans by (e.g. socket, socket_tier1, socket_basics).Default:
null.Specify Sort order. Supported values are name and created_at. Socket defaults to created_at.Default:
null.Cursor token for pagination. Pass the returned nextPageCursor from previous responses to fetch the next set of results.Default:
null.List supported files
Action ID:tools.socket.list_supported_files
List supported files. Calls GET /v0/orgs/{org_slug}/supported-files directly.
Reference: https://docs.socket.dev/reference/getsupportedfiles
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
List threat feed items
Action ID:tools.socket.list_threat_feed_items
List threat feed items. Calls GET /v0/orgs/{org_slug}/threat-feed directly.
Reference: https://docs.socket.dev/reference/getorgthreatfeeditems
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
A Unix timestamp in seconds that filters results to items only created after the date.Default:
null.Order direction of the provided sort field. Supported values are desc and asc. Socket defaults to desc.Default:
null.Filter threats by package ecosystem. Supported values are github, cargo, clawhub, composer, chrome, firefox-extension, edge-extension, golang, huggingface, maven, npm, nuget, vscode, pypi, gem and swift.Default:
null.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). Socket defaults to mal.Default:
null.Page cursor token. Pass the returned nextPageCursor to this query string to fetch the next page of the threat feed.Default:
null.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. Supported values are id, created_at and updated_at.Default:
null.A Unix timestamp in seconds that filters results to items only updated after the timestamp.Default:
null.Stream full scan
Action ID:tools.socket.stream_full_scan
Stream a full scan. Calls GET /v0/orgs/{org_slug}/full-scans/{full_scan_id} directly.
Reference: https://docs.socket.dev/reference/getorgfullscan
Secrets
Required secrets:socket: required valuesSOCKET_API_TOKEN.
Input fields
Return cached immutable scan results. When enabled and results are cached, returns the pre-computed scan. When results are not yet cached, returns 202 Accepted and enqueues a background job.Default:
null.Control which alert priority fields to include in the response. Set to “true” to include all fields, “false” to exclude all fields, or specify individual fields like “components,formula” to include only those fields.Default:
null.Include license details in the response. This can increase the response size significantly.Default:
false.Include scores event in the response. include_scores_details implies this flag.Default:
false.