Snyk
snykSnyk helps development teams find, prioritize, and remediate security issues across code, dependencies, containers, and cloud infrastructure.
Acciones disponibles (71)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Projects To CollectionSNYK_ADD_PROJECTS_TO_COLLECTIONAcciónAdd up to 100 projects to a Snyk collection. Warning: This may require collection product access or a qualifying account role.
SNYK_ADD_PROJECTS_TO_COLLECTIONAcciónAdd up to 100 projects to a Snyk collection. Warning: This may require collection product access or a qualifying account role.
Parámetros de entrada
bodyobjectObligatorioJSON:API data envelope containing the project identifiers to add.
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
collection_idstringObligatoriouuidID of the collection to which to add projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bulk Delete ProjectsSNYK_BULK_DELETE_PROJECTSAcciónPermanently delete up to 100 Snyk projects. This is destructive and cannot be undone; confirm the organization and every project ID before calling. A 200 response may include per-project failures, so inspect both meta.deleted and meta.failed.
SNYK_BULK_DELETE_PROJECTSAcciónPermanently delete up to 100 Snyk projects. This is destructive and cannot be undone; confirm the organization and every project ID before calling. A 200 response may include per-project failures, so inspect both meta.deleted and meta.failed.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API bulk project deletion payload.
org_idstringObligatoriouuidID of the Snyk organization that owns the projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bulk Update Inventory AssetsSNYK_BULK_UPDATE_INVENTORY_ASSETSAcciónTransactionally update attributes for up to 100 inventory assets in a Snyk organization. This Early Access endpoint is beta and its contract may change; the connected account must have access to Snyk Inventory.
SNYK_BULK_UPDATE_INVENTORY_ASSETSAcciónTransactionally update attributes for up to 100 inventory assets in a Snyk organization. This Early Access endpoint is beta and its contract may change; the connected account must have access to Snyk Inventory.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API bulk asset update payload.
org_idstringObligatoriouuidID of the Snyk organization containing the inventory assets.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bulk Update ProjectsSNYK_BULK_UPDATE_PROJECTSAcciónUpdate 1-20 distinct Snyk projects using individual typed patches or one shared patch. Sends one request per project, does not roll back successful updates, and returns an explicit outcome for every project when at least one succeeds. If every update fails, the action returns a top-level error to prevent a no-op from being reported as successful.
SNYK_BULK_UPDATE_PROJECTSAcciónUpdate 1-20 distinct Snyk projects using individual typed patches or one shared patch. Sends one request per project, does not roll back successful updates, and returns an explicit outcome for every project when at least one succeeds. If every update fails, the action returns a top-level error to prevent a no-op from being reported as successful.
Parámetros de entrada
patchobjectShared typed patch applied to every project_id.
org_idstringObligatoriouuidID of the Snyk organization that owns the projects.
updatesobject[]One to 20 project IDs with individual typed patches.
project_idsstring[]One to 20 project IDs that receive the shared patch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create CollectionSNYK_CREATE_COLLECTIONAcciónCreate a collection in a Snyk organization. This operation may require collection product access or a qualifying account role; the build account returned 403 with the documented collection scopes granted.
SNYK_CREATE_COLLECTIONAcciónCreate a collection in a Snyk organization. This operation may require collection product access or a qualifying account role; the build account returned 403 with the documented collection scopes granted.
Parámetros de entrada
bodyobjectObligatorioJSON:API request payload for the new collection.
org_idstringObligatoriouuidID of the Snyk organization in which to create the collection.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ExportSNYK_CREATE_EXPORTAcciónStart an asynchronous organization export and return the export ID and polling link. Use Get Export Job Status before retrieving the results. This operation may require reporting/export product access or a qualifying role; the build account returned 403 with org.report.read granted.
SNYK_CREATE_EXPORTAcciónStart an asynchronous organization export and return the export ID and polling link. Use Get Export Job Status before retrieving the results. This operation may require reporting/export product access or a qualifying role; the build account returned 403 with org.report.read granted.
Parámetros de entrada
bodyobjectObligatorioJSON:API request payload that configures the export.
org_idstringObligatoriouuidID of the Snyk organization whose data should be exported.
include_deletedstringSnyk export option controlling inclusion of deleted issues.
include_deactivatedstringSnyk export option controlling inclusion of disabled issues.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Ignore PolicySNYK_CREATE_IGNORE_POLICYAcciónCreate an organization-level ignore policy for a specific Snyk Code finding. This API requires Code Consistent Ignores to be enabled.
SNYK_CREATE_IGNORE_POLICYAcciónCreate an organization-level ignore policy for a specific Snyk Code finding. This API requires Code Consistent Ignores to be enabled.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the new ignore policy.
org_idstringObligatoriouuidID of the Snyk organization in which to create the policy.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Repository AliasesSNYK_CREATE_REPOSITORY_ALIASESAcciónLink one or more alternate repository URLs to canonical repository assets in a Snyk organization. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_CREATE_REPOSITORY_ALIASESAcciónLink one or more alternate repository URLs to canonical repository assets in a Snyk organization. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization in which to create repository aliases.
aliasesobject[]ObligatorioCanonical and alternate repository URL pairs to link (1-100 items).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SBOM TestSNYK_CREATE_SBOM_TESTAcciónStart asynchronous vulnerability analysis of a CycloneDX 1.4-1.6 JSON or SPDX 2.3 JSON SBOM. Returns the job ID and polling URL for the SBOM test status and result actions. Components without supported PackageURLs are skipped. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_CREATE_SBOM_TESTAcciónStart asynchronous vulnerability analysis of a CycloneDX 1.4-1.6 JSON or SPDX 2.3 JSON SBOM. Returns the job ID and polling URL for the SBOM test status and result actions. Components without supported PackageURLs are skipped. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
sbomobjectObligatorioComplete CycloneDX 1.4-1.6 JSON or SPDX 2.3 JSON document to test. Components need supported PackageURLs for vulnerability analysis.
formatstringenumOptional format of the supplied SBOM document.
cyclonedx1.4+jsoncyclonedx1.5+jsoncyclonedx1.6+jsonspdx2.3+jsonorg_idstringObligatoriouuidID of the Snyk organization in which to run the SBOM test.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete CollectionSNYK_DELETE_COLLECTIONAcciónPermanently delete a Snyk collection. This destructive operation cannot be undone; confirm the organization and collection IDs before calling. May require collection product access or a qualifying account role.
SNYK_DELETE_COLLECTIONAcciónPermanently delete a Snyk collection. This destructive operation cannot be undone; confirm the organization and collection IDs before calling. May require collection product access or a qualifying account role.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
collection_idstringObligatoriouuidID of the collection to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Ignore PolicySNYK_DELETE_IGNORE_POLICYAcciónPermanently delete an organization-level Snyk ignore policy. This destructive operation cannot be undone; confirm the organization and policy IDs before calling. Organization-level policy APIs require Code Consistent Ignores.
SNYK_DELETE_IGNORE_POLICYAcciónPermanently delete an organization-level Snyk ignore policy. This destructive operation cannot be undone; confirm the organization and policy IDs before calling. Organization-level policy APIs require Code Consistent Ignores.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the ignore policy.
policy_idstringObligatoriouuidID of the ignore policy to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ProjectSNYK_DELETE_PROJECTAcciónPermanently delete one Snyk project from an organization. This destructive operation cannot be undone; confirm the organization and project IDs before calling.
SNYK_DELETE_PROJECTAcciónPermanently delete one Snyk project from an organization. This destructive operation cannot be undone; confirm the organization and project IDs before calling.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the project.
project_idstringObligatoriouuidID of the project to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Repository AliasesSNYK_DELETE_REPOSITORY_ALIASESAcciónDetach 1-100 aliased URLs from their canonical repository assets in a Snyk organization. Each detached URL becomes a standalone asset. This destructive Early Access operation cannot be undone; confirm every asset ID and URL pair before calling. Snyk marks this endpoint beta and its contract may change.
SNYK_DELETE_REPOSITORY_ALIASESAcciónDetach 1-100 aliased URLs from their canonical repository assets in a Snyk organization. Each detached URL becomes a standalone asset. This destructive Early Access operation cannot be undone; confirm every asset ID and URL pair before calling. Snyk marks this endpoint beta and its contract may change.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization containing the repository assets.
aliasesobject[]ObligatorioRepository asset IDs and URL pairs to detach (1-100 items).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete TargetSNYK_DELETE_TARGETAcciónPermanently delete a Snyk target and all projects associated with it. This destructive cascade cannot be undone; confirm the organization and target IDs before calling.
SNYK_DELETE_TARGETAcciónPermanently delete a Snyk target and all projects associated with it. This destructive cascade cannot be undone; confirm the organization and target IDs before calling.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the target.
target_idstringObligatoriouuidID of the target to permanently delete. Deleting the target also deletes all projects associated with it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Findings DocumentSNYK_DOWNLOAD_FINDINGS_DOCUMENTAcciónDownload the raw bytes of a completed findings document and return an offloaded file reference. Supply an existing completed document ID because this toolkit does not provide the findings-document create/poll workflow. Warning: Snyk marks this endpoint beta and its contract may change.
SNYK_DOWNLOAD_FINDINGS_DOCUMENTAcciónDownload the raw bytes of a completed findings document and return an offloaded file reference. Supply an existing completed document ID because this toolkit does not provide the findings-document create/poll workflow. Warning: Snyk marks this endpoint beta and its contract may change.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the findings document.
document_idstringObligatoriouuidID of an existing completed findings document obtained outside this toolkit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Project SBOMSNYK_DOWNLOAD_PROJECT_SBOMAcciónDownload a Snyk project's software bill of materials as CycloneDX JSON/XML or SPDX JSON and return an offloaded file reference.
SNYK_DOWNLOAD_PROJECT_SBOMAcciónDownload a Snyk project's software bill of materials as CycloneDX JSON/XML or SPDX JSON and return an offloaded file reference.
Parámetros de entrada
formatstringenumSBOM document format. Supports CycloneDX 1.4, 1.5, and 1.6 as JSON or XML, and SPDX 2.3 as JSON.
cyclonedx1.6+jsoncyclonedx1.6+xmlcyclonedx1.5+jsoncyclonedx1.5+xmlcyclonedx1.4+jsoncyclonedx1.4+xmlspdx2.3+jsonorg_idstringObligatoriouuidUnique ID of the Snyk organization that owns the project.
excludestring[]Features to omit from the generated SBOM. Currently only licenses can be excluded.
project_idstringObligatoriouuidUnique ID of the Snyk project whose SBOM to download.
go_module_levelbooleanConsolidate Go package-level dependencies into module-level components. This option applies only to gomodules dependency graphs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CollectionSNYK_GET_COLLECTIONAcciónRetrieve a collection from a Snyk organization. The connected account must have collection product access or a qualifying organization role.
SNYK_GET_COLLECTIONAcciónRetrieve a collection from a Snyk organization. The connected account must have collection product access or a qualifying organization role.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
collection_idstringObligatoriouuidUnique ID of the collection to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Container ImageSNYK_GET_CONTAINER_IMAGEAcciónRetrieve a container image by its SHA-256 digest from a Snyk organization.
SNYK_GET_CONTAINER_IMAGEAcciónRetrieve a container image by its SHA-256 digest from a Snyk organization.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the container image.
image_idstringObligatorioSHA-256 digest that uniquely identifies the container image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ExportSNYK_GET_EXPORTAcciónRetrieve completed export results from a Snyk organization. This endpoint may require reporting/export product access or a qualifying organization role.
SNYK_GET_EXPORTAcciónRetrieve completed export results from a Snyk organization. This endpoint may require reporting/export product access or a qualifying organization role.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the export.
export_idstringObligatoriouuidUnique ID of the export whose results to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Export Job StatusSNYK_GET_EXPORT_JOB_STATUSAcciónGet the current status of a Snyk organization export job. The connected account may need reporting or export product access or a qualifying role.
SNYK_GET_EXPORT_JOB_STATUSAcciónGet the current status of a Snyk organization export job. The connected account may need reporting or export product access or a qualifying role.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the export job.
export_idstringObligatoriouuidUnique export ID returned when the export was started.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get IAC SettingsSNYK_GET_IAC_SETTINGSAcciónRetrieve Infrastructure as Code settings for a Snyk organization. This may require Snyk IaC product access or a qualifying account role.
SNYK_GET_IAC_SETTINGSAcciónRetrieve Infrastructure as Code settings for a Snyk organization. This may require Snyk IaC product access or a qualifying account role.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization whose Infrastructure as Code settings to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ignore PolicySNYK_GET_IGNORE_POLICYAcciónRetrieve an organization-level ignore policy by ID. This API is available only for Snyk Code Consistent Ignores.
SNYK_GET_IGNORE_POLICYAcciónRetrieve an organization-level ignore policy by ID. This API is available only for Snyk Code Consistent Ignores.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the ignore policy.
policy_idstringObligatoriouuidID of the organization-level ignore policy to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Inventory AssetSNYK_GET_INVENTORY_ASSETAcciónRetrieve one inventory asset by ID from a Snyk organization, optionally using sparse fieldsets. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
SNYK_GET_INVENTORY_ASSETAcciónRetrieve one inventory asset by ID from a Snyk organization, optionally using sparse fieldsets. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
Parámetros de entrada
fieldsobjectSparse fieldsets keyed by JSON:API asset type: container_images, sboms, or repositories. Each value is a comma-separated field list; type and id are always returned.
org_idstringObligatoriouuidID of the Snyk organization that owns the inventory asset.
asset_idstringObligatoriouuidUnique ID of the inventory asset to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Inventory Asset Search ResultsSNYK_GET_INVENTORY_ASSET_SEARCH_RESULTSAcciónRetrieve one page of results from a previously started asynchronous Snyk inventory asset search. Supply a search ID created outside this toolkit because the search-start endpoint is not exposed. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
SNYK_GET_INVENTORY_ASSET_SEARCH_RESULTSAcciónRetrieve one page of results from a previously started asynchronous Snyk inventory asset search. Supply a search ID created outside this toolkit because the search-start endpoint is not exposed. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
Parámetros de entrada
sortstringComma-separated fields by which to sort results; prefix a field with - for descending order.
limitintegerMaximum number of matching assets to return on this page (10-100).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
fieldsobjectSparse fieldsets keyed by JSON:API asset type: container_images, sboms, or repositories. Each value is a comma-separated field list; type and id are always returned.
org_idstringObligatoriouuidID of the Snyk organization in which the asset search was started.
search_idstringObligatoriouuidID of the asynchronous inventory asset search whose results to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Open Source Broker SettingSNYK_GET_OPEN_SOURCE_BROKER_SETTINGAcciónRetrieve whether the Open Source Broker setting is enabled for a Snyk organization.
SNYK_GET_OPEN_SOURCE_BROKER_SETTINGAcciónRetrieve whether the Open Source Broker setting is enabled for a Snyk organization.
Parámetros de entrada
org_idstringObligatorioID of the Snyk organization whose Open Source Broker setting to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Open Source Ecosystem Broker SettingsSNYK_GET_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcciónRetrieve all Broker settings for a specific Open Source ecosystem in a Snyk organization. Ecosystem identifiers are case-sensitive.
SNYK_GET_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcciónRetrieve all Broker settings for a specific Open Source ecosystem in a Snyk organization. Ecosystem identifiers are case-sensitive.
Parámetros de entrada
org_idstringObligatoriouuidSnyk organization ID whose Open Source ecosystem Broker settings to retrieve.
ecosystemstringObligatorioenumCase-sensitive Open Source ecosystem identifier: Dotnet or Golang.
DotnetGolang
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Open Source Private Registry SettingsSNYK_GET_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcciónRetrieve publicly accessible private registry settings for a specific Open Source ecosystem in a Snyk organization. These registries are reached directly with credentials rather than through Snyk Broker.
SNYK_GET_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcciónRetrieve publicly accessible private registry settings for a specific Open Source ecosystem in a Snyk organization. These registries are reached directly with credentials rather than through Snyk Broker.
Parámetros de entrada
org_idstringObligatoriouuidSnyk organization ID whose Open Source private registry settings to retrieve.
ecosystemstringObligatorioenumCase-sensitive Open Source ecosystem identifier whose private registry settings to retrieve: Dotnet or Golang.
DotnetGolang
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OrganizationSNYK_GET_ORGANIZATIONAcciónRetrieve the full details of a Snyk organization. Optionally expand the organization's tenant relationship.
SNYK_GET_ORGANIZATIONAcciónRetrieve the full details of a Snyk organization. Optionally expand the organization's tenant relationship.
Parámetros de entrada
expandstring[]Related resources whose attributes should be included in the response.
org_idstringObligatoriouuidUnique ID of the Snyk organization to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization IssueSNYK_GET_ORGANIZATION_ISSUEAcciónRetrieve one Snyk issue by its organization and issue IDs, optionally including data flows for Snyk Code issues.
SNYK_GET_ORGANIZATION_ISSUEAcciónRetrieve one Snyk issue by its organization and issue IDs, optionally including data flows for Snyk Code issues.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the issue.
issue_idstringObligatoriouuidUnique ID of the issue to retrieve.
include_code_flowsbooleanWhether to include data-flow details for Snyk Code issues. Data flows must also be enabled for the organization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Package TestSNYK_GET_PACKAGE_TESTAcciónRetrieve a Snyk package test by ID, including its execution state, outcome, component facts, and finding summaries. The findings themselves are available through the returned findings link. This toolkit does not provide the package-test create/poll workflow, so supply an existing test ID. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_GET_PACKAGE_TESTAcciónRetrieve a Snyk package test by ID, including its execution state, outcome, component facts, and finding summaries. The findings themselves are available through the returned findings link. This toolkit does not provide the package-test create/poll workflow, so supply an existing test ID. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the package test.
test_idstringObligatoriouuidID of an existing Snyk package test obtained outside this toolkit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProjectSNYK_GET_PROJECTAcciónRetrieve a Snyk project by ID, including its settings and relationships. Optionally expand the target and include metadata from the latest scan.
SNYK_GET_PROJECTAcciónRetrieve a Snyk project by ID, including its settings and relationships. Optionally expand the target and include metadata from the latest scan.
Parámetros de entrada
expandstring[]Set to target to include attributes for the project's target relationship.
org_idstringObligatoriouuidID of the Snyk organization that owns the project.
project_idstringObligatoriouuidUnique ID of the project to retrieve.
latest_issue_countsbooleanInclude severity counts from the project's most recent scan.
latest_dependency_totalbooleanInclude the dependency total from the project's most recent scan.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SAST SettingsSNYK_GET_SAST_SETTINGSAcciónRetrieve the SAST settings for a Snyk organization.
SNYK_GET_SAST_SETTINGSAcciónRetrieve the SAST settings for a Snyk organization.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization whose SAST settings to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SBOM Test ResultSNYK_GET_SBOM_TEST_RESULTAcciónRetrieve one page of affected packages from a finished Snyk SBOM test, together with the test result resource. Poll Get SBOM Test Status first and call this action after the job finishes. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_GET_SBOM_TEST_RESULTAcciónRetrieve one page of affected packages from a finished Snyk SBOM test, together with the test result resource. Poll Get SBOM Test Status first and call this action after the job finishes. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
limitintegerNumber of affected packages to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
job_idstringObligatoriouuidJob ID of a finished SBOM test.
org_idstringObligatoriouuidID of the Snyk organization that owns the SBOM test job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SBOM Test StatusSNYK_GET_SBOM_TEST_STATUSAcciónPoll the status of an asynchronous Snyk SBOM test job. When the status is finished, use Get SBOM Test Result with the same job ID. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_GET_SBOM_TEST_STATUSAcciónPoll the status of an asynchronous Snyk SBOM test job. When the status is finished, use Get SBOM Test Result with the same job ID. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
job_idstringObligatoriouuidJob ID returned when the SBOM test was started.
org_idstringObligatoriouuidID of the Snyk organization that owns the SBOM test job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TargetSNYK_GET_TARGETAcciónRetrieve a target by ID from a Snyk organization.
SNYK_GET_TARGETAcciónRetrieve a target by ID from a Snyk organization.
Parámetros de entrada
org_idstringObligatoriouuidID of the Snyk organization that owns the target.
target_idstringObligatoriouuidUnique ID of the target to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Broker ConnectionsSNYK_LIST_BROKER_CONNECTIONSAcciónList one page of Broker connections integrated with a Snyk organization.
SNYK_LIST_BROKER_CONNECTIONSAcciónList one page of Broker connections integrated with a Snyk organization.
Parámetros de entrada
limitintegerNumber of Broker connections to return on this page (1-100).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatorioSnyk organization ID whose Broker connections to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Collection ProjectsSNYK_LIST_COLLECTION_PROJECTSAcciónList one page of projects in a Snyk collection, with issue counts and owning targets. May require collection product access or a qualifying account role.
SNYK_LIST_COLLECTION_PROJECTSAcciónList one page of projects in a Snyk collection, with issue counts and owning targets. May require collection product access or a qualifying account role.
Parámetros de entrada
showstring[]Projects to include: vuln-groups selects projects with issues and clean-groups selects projects without issues; pass both for both groups.
sortstringenumProject attribute by which to sort the results.
importedlast_tested_atissueslimitintegerNumber of projects to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
directionstringenumDirection in which to sort the projects; Snyk defaults to DESC.
ASCDESCtarget_idstring[]Target IDs whose projects to include (maximum 25).
integrationstring[]Snyk integration types whose projects to include. Accepted values: acr, api, artifactory-cr, aws-lambda, azure-functions, azure-repos, bitbucket-cloud, bitbucket-connect-app, bitbucket-server, cli, cloud-foundry, digitalocean-cr, docker-hub, ecr, gcr, github-cr, github-enterprise, github, gitlab-cr, gitlab, google-artifact-cr, harbor-cr, heroku, ibm-cloud, kubernetes, nexus-cr, pivotal, quay-cr, and terraform-cloud.
collection_idstringObligatoriouuidUnique ID of the collection whose projects to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CollectionsSNYK_LIST_COLLECTIONSAcciónList one page of a Snyk organization's collections, including project and issue counts. May require collection product access or a qualifying account role.
SNYK_LIST_COLLECTIONSAcciónList one page of a Snyk organization's collections, including project and issue counts. May require collection product access or a qualifying account role.
Parámetros de entrada
namestringReturn collections whose names contain this string.
sortstringenumAttribute by which to sort collections.
nameprojectsCountissueslimitintegerNumber of collections to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatorioSnyk organization ID whose collections to list.
directionstringenumDirection in which to sort collections.
ASCDESCis_generatedbooleanFilter collections by whether Snyk generated them automatically.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Component FindingsSNYK_LIST_COMPONENT_FINDINGSAcciónList one page of unsuppressed findings for a component in a completed Snyk package test. The organization, test, and component IDs select the findings; use the returned cursor to continue in finding-ID order. Supply existing test and component IDs because this toolkit does not provide the package-test create/poll workflow. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_LIST_COMPONENT_FINDINGSAcciónList one page of unsuppressed findings for a component in a completed Snyk package test. The organization, test, and component IDs select the findings; use the returned cursor to continue in finding-ID order. Supply existing test and component IDs because this toolkit does not provide the package-test create/poll workflow. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
limitintegerNumber of findings to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization that owns the package test.
test_idstringObligatoriouuidID of an existing completed package test obtained outside this toolkit.
component_idstringObligatorioID of the component within the test whose findings to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Container ImagesSNYK_LIST_CONTAINER_IMAGESAcciónList one page of container images in a Snyk organization, optionally filtered by image digest, platform, or registry name.
SNYK_LIST_CONTAINER_IMAGESAcciónList one page of container images in a Snyk organization, optionally filtered by image digest, platform, or registry name.
Parámetros de entrada
limitintegerNumber of container images to return on this page (10-100, in multiples of 10).
namesstring[]Return images with these container registry names.
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatorioSnyk organization ID whose container images to list.
platformstringenumReturn images for this operating-system and processor-architecture platform.
aix/ppc64android/386android/amd64android/armandroid/arm/v5android/arm/v6android/arm/v7android/arm64android/arm64/v8darwin/amd64darwin/armdarwin/arm/v5+62image_idsstring[]Return only images with these SHA-256 image digest IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Container Image Target RefsSNYK_LIST_CONTAINER_IMAGE_TARGET_REFSAcciónList one page of target references associated with a container image in a Snyk organization.
SNYK_LIST_CONTAINER_IMAGE_TARGET_REFSAcciónList one page of target references associated with a container image in a Snyk organization.
Parámetros de entrada
limitintegerNumber of target references to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization that owns the container image.
image_idstringObligatorioSHA-256 digest that uniquely identifies the container image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Ignore PoliciesSNYK_LIST_IGNORE_POLICIESAcciónList one page of organization-level Snyk Code Consistent Ignore policies, with optional search, review, expiry, and sorting filters.
SNYK_LIST_IGNORE_POLICIESAcciónList one page of organization-level Snyk Code Consistent Ignore policies, with optional search, review, expiry, and sorting filters.
Parámetros de entrada
limitintegerNumber of policies to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization whose ignore policies to list.
reviewstring[]Review states by which to filter policies: pending, approved, rejected, or not-required.
searchstringSearch ignored-user names and emails or ignore types in policy rules.
order_bystringenumPolicy field by which to sort the results.
createdexpiresignore-typerequested-byexpires_afterstringReturn only policies that expire strictly after this RFC 3339 timestamp.
expires_neverbooleanReturn only policies that never expire when true.
expires_beforestringReturn only policies that expire strictly before this RFC 3339 timestamp.
order_directionstringenumDirection in which to sort the policies.
ascdesc
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Ignore Policy EventsSNYK_LIST_IGNORE_POLICY_EVENTSAcciónList one page of event history for a Snyk organization ignore policy. Warning: this beta API requires Code Consistent Ignores and the ignore approval workflow feature.
SNYK_LIST_IGNORE_POLICY_EVENTSAcciónList one page of event history for a Snyk organization ignore policy. Warning: this beta API requires Code Consistent Ignores and the ignore approval workflow feature.
Parámetros de entrada
limitintegerNumber of policy events to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization that owns the ignore policy.
policy_idstringObligatoriouuidID of the ignore policy whose event history to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Asset ProjectsSNYK_LIST_INVENTORY_ASSET_PROJECTSAcciónList one page of Snyk projects linked to an inventory asset, including project attributes and issue counts. This Early Access beta endpoint may require inventory product access or a qualifying account role.
SNYK_LIST_INVENTORY_ASSET_PROJECTSAcciónList one page of Snyk projects linked to an inventory asset, including project attributes and issue counts. This Early Access beta endpoint may require inventory product access or a qualifying account role.
Parámetros de entrada
sortstringenumSort projects by snapshot_created_at or issues; prefix the field with '-' for descending order. Defaults to snapshot_created_at ascending.
snapshot_created_at-snapshot_created_atissues-issueslimitintegerNumber of linked projects to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidUnique ID of the Snyk organization that owns the inventory asset.
asset_idstringObligatoriouuidUnique ID of the inventory asset whose linked projects to list.
canonicalstringenumFilter projects by canonical status: 'with' returns all projects and populates is_canonical, 'only' returns canonical projects, and 'none' returns non-canonical projects.
withonlynonetarget_idstringuuidReturn only projects that belong to this target ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory AssetsSNYK_LIST_INVENTORY_ASSETSAcciónList one page of a Snyk organization's inventory assets, with optional RSQL filtering, sorting, sparse fieldsets, and total count. This Early Access endpoint is beta, may change, and requires Snyk inventory product access.
SNYK_LIST_INVENTORY_ASSETSAcciónList one page of a Snyk organization's inventory assets, with optional RSQL filtering, sorting, sparse fieldsets, and total count. This Early Access endpoint is beta, may change, and requires Snyk inventory product access.
Parámetros de entrada
sortstringComma-separated fields by which to sort assets; prefix a field with - for descending order.
limitintegerNumber of inventory assets to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
fieldsobjectSparse fieldsets keyed by JSON:API asset type. Each value is a comma-separated field list; type and id are always returned.
filterstringRSQL expression used to filter assets. Supports comparison operators, =in=/=out= lists, ; for AND, , for OR, and * wildcards with == or !=.
org_idstringObligatorioSnyk organization ID whose inventory assets to list.
meta_countstringenumUse with to include the total matching asset count with data, or only to return the count without asset data.
withonly
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Asset TargetsSNYK_LIST_INVENTORY_ASSET_TARGETSAcciónList one page of Snyk targets linked to an inventory asset, including each target's origin, reference, manifest file, integration, and import time. This Early Access beta endpoint may require inventory product access or a qualifying account role.
SNYK_LIST_INVENTORY_ASSET_TARGETSAcciónList one page of Snyk targets linked to an inventory asset, including each target's origin, reference, manifest file, integration, and import time. This Early Access beta endpoint may require inventory product access or a qualifying account role.
Parámetros de entrada
limitintegerNumber of linked targets to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidUnique ID of the Snyk organization that owns the inventory asset.
asset_idstringObligatoriouuidUnique ID of the inventory asset whose linked targets to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Filter FieldsSNYK_LIST_INVENTORY_FILTER_FIELDSAcciónList one page of fields available for filtering a Snyk organization's inventory assets with RSQL. This Early Access endpoint is beta and its contract may change.
SNYK_LIST_INVENTORY_FILTER_FIELDSAcciónList one page of fields available for filtering a Snyk organization's inventory assets with RSQL. This Early Access endpoint is beta and its contract may change.
Parámetros de entrada
limitintegerNumber of inventory filter fields to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatorioSnyk organization ID whose inventory filter fields to list.
asset_typesstring[]Inventory asset types whose available filter fields to return: container_images, sboms, or repositories. Values are sent as a comma-separated query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Filter ValuesSNYK_LIST_INVENTORY_FILTER_VALUESAcciónList one page of distinct values for a Snyk inventory filter field for autocomplete. This inventory endpoint is in beta.
SNYK_LIST_INVENTORY_FILTER_VALUESAcciónList one page of distinct values for a Snyk inventory filter field for autocomplete. This inventory endpoint is in beta.
Parámetros de entrada
keystringReturn object-filter values associated with this key.
limitintegerNumber of filter values to return on this page (10-100, in multiples of 10).
querystringSearch the available values; with keys_only this searches object keys, and with key it searches values for that key.
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization whose inventory filter values to list.
filter_idstringObligatoriouuidID of a filter field returned by the inventory filter fields endpoint.
keys_onlybooleanReturn only object-filter keys when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Group FieldsSNYK_LIST_INVENTORY_GROUP_FIELDSAcciónList one page of fields available for grouping inventory assets in a Snyk organization, optionally filtered by asset type. This Early Access beta capability may require additional Snyk product access.
SNYK_LIST_INVENTORY_GROUP_FIELDSAcciónList one page of fields available for grouping inventory assets in a Snyk organization, optionally filtered by asset type. This Early Access beta capability may require additional Snyk product access.
Parámetros de entrada
limitintegerNumber of grouping fields to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidSnyk organization ID whose available inventory grouping fields to list.
asset_typesstring[]Inventory asset types for which to return grouping fields: container_images, sboms, or repositories. Values are sent as a comma-separated query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inventory Group ValuesSNYK_LIST_INVENTORY_GROUP_VALUESAcciónList one page of aggregated values for a Snyk inventory group field. This Early Access capability may require inventory product access or a qualifying account role.
SNYK_LIST_INVENTORY_GROUP_VALUESAcciónList one page of aggregated values for a Snyk inventory group field. This Early Access capability may require inventory product access or a qualifying account role.
Parámetros de entrada
sortstringComma-separated fields used to sort group values; prefix a field with '-' for descending order. Supported fields are value, count, created_at, last_seen_at, updated_at, risk_score, built_at, and issues.
limitintegerNumber of group values to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
filterstringRSQL expression that filters the assets included in the aggregation.
org_idstringObligatoriouuidUnique ID of the Snyk organization whose inventory to query.
aggregateobjectPer-metadata-field aggregation overrides. Fields default to 'last'; supported functions are max, min, first, last, and sum.
asset_typesstringComma-separated asset types to include in the aggregation.
meta_fieldsstring[]Aggregated metadata to include: count, created_at, last_seen_at, updated_at, risk_score, issues, labels, tags, or built_at. Use all for every available field. Requesting metadata can increase response time.
group_field_idstringObligatoriouuidGroup-field ID returned by the inventory group-fields endpoint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Issues For PackageSNYK_LIST_ISSUES_FOR_PACKAGEAcciónList one offset page of direct vulnerabilities for a versioned Package URL. Transitive vulnerabilities are not included. Pass the returned opaque cursor unchanged to continue; Maven checksum qualifiers also return match metadata.
SNYK_LIST_ISSUES_FOR_PACKAGEAcciónList one offset page of direct vulnerabilities for a versioned Package URL. Transitive vulnerabilities are not included. Pass the returned opaque cursor unchanged to continue; Maven checksum qualifiers also return match metadata.
Parámetros de entrada
purlstringObligatorioUnencoded, versioned Package URL to inspect. The tool safely encodes it as one path segment. Supported package types are apk, cargo, cocoapods, composer, conan, deb, gem, generic, golang, hex, maven, npm, nuget, pub, pypi, rpm, and swift. Maven purls may include one checksum qualifier.
limitintegerMaximum number of direct vulnerabilities to return in this page (1-1000).
cursorstringOpaque continuation cursor returned by a previous call. Pass it back unchanged to retrieve the next offset page; omit it for the first page.
org_idstringObligatoriouuidUnique ID of the Snyk organization in which to inspect the package.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Issues For PackagesSNYK_LIST_ISSUES_FOR_PACKAGESAcciónList direct vulnerabilities for a batch of versioned Package URLs. Snyk restricts this endpoint and does not make it available to all customers; availability depends on the connected account's product entitlement. Transitive vulnerabilities are not included.
SNYK_LIST_ISSUES_FOR_PACKAGESAcciónList direct vulnerabilities for a batch of versioned Package URLs. Snyk restricts this endpoint and does not make it available to all customers; availability depends on the connected account's product entitlement. Transitive vulnerabilities are not included.
Parámetros de entrada
bodyobjectObligatorioExact Snyk batch payload: data.attributes.purls contains versioned Package URLs; data.type is optional.
org_idstringObligatoriouuidUnique ID of the Snyk organization in which to inspect packages.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Language SettingsSNYK_LIST_LANGUAGE_SETTINGSAcciónGet one page of language and package-manager settings for a Snyk organization. This beta Early Access contract is deprecated and marked for sunset; use it only while the pinned API version remains available.
SNYK_LIST_LANGUAGE_SETTINGSAcciónGet one page of language and package-manager settings for a Snyk organization. This beta Early Access contract is deprecated and marked for sunset; use it only while the pinned API version remains available.
Parámetros de entrada
limitintegerNumber of results to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization whose language settings to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Organization IssuesSNYK_LIST_ORGANIZATION_ISSUESAcciónList one page of issues for a Snyk organization, with filters for scan item, issue type, timestamps, effective severity, status, ignored state, and Code data flows.
SNYK_LIST_ORGANIZATION_ISSUESAcciónList one page of issues for a Snyk organization, with filters for scan item, issue type, timestamps, effective severity, status, ignored state, and Code data flows.
Parámetros de entrada
typestringenumReturn only issues of this issue type.
package_vulnerabilitylicensecloudcodecustomconfigsecretslimitintegerNumber of issues to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization whose issues to list.
statusstring[]Issue statuses by which to filter issues: open or resolved.
ignoredbooleanReturn ignored issues when true or non-ignored issues when false.
scan_item_idstringuuidReturn only issues related to this scan item ID.
created_afterstringReturn only issues created after this RFC 3339 timestamp.
updated_afterstringReturn only issues updated after this RFC 3339 timestamp.
created_beforestringReturn only issues created before this RFC 3339 timestamp.
scan_item_typestringenumReturn only issues related to this type of scan item.
projectenvironmentupdated_beforestringReturn only issues updated before this RFC 3339 timestamp.
include_code_flowsbooleanInclude data-flow details for Snyk Code issues when true.
effective_severity_levelstring[]Effective severity levels by which to filter issues: info, low, medium, high, or critical.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OrganizationsSNYK_LIST_ORGANIZATIONSAcciónList one page of Snyk organizations accessible to the connected account, with group, personal-organization, slug, name, and relationship-expansion filters.
SNYK_LIST_ORGANIZATIONSAcciónList one page of Snyk organizations accessible to the connected account, with group, personal-organization, slug, name, and relationship-expansion filters.
Parámetros de entrada
namestringReturn only organizations whose display name contains this value.
slugstringReturn only organizations whose URL-friendly slug exactly matches this value.
limitintegerNumber of organizations to return on this page (10-100, in multiples of 10).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
expandstring[]Related resources to expand with attributes. The only accepted value is member_role.
group_idstringuuidReturn only organizations in this Snyk group.
is_personalbooleanWhen true, return only personal organizations that are not part of a group.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsSNYK_LIST_PROJECTSAcciónList one page of a Snyk organization's projects. Filter by target, identity, name, origin, type, CLI monitoring time, importing user, tags, or project classifications, and optionally include target and latest-scan metadata.
SNYK_LIST_PROJECTSAcciónList one page of a Snyk organization's projects. Filter by target, identity, name, origin, type, CLI monitoring time, importing user, tags, or project classifications, and optionally include target and latest-scan metadata.
Parámetros de entrada
idsstring[]Return projects matching any of these project IDs.
tagsstring[]Return projects matching all key:value tags.
limitintegerNumber of projects to return on this page (10-100, in multiples of 10).
namesstring[]Return projects matching any of these exact names.
typesstring[]Return projects using any of these package-manager or project types.
cursorstringContinuation cursor returned by a previous call; omit for the first page.
expandstring[]Relationships to expand. The only accepted value is target, which expands each project's target relationship.
org_idstringObligatoriouuidID of the Snyk organization whose projects to list.
originsstring[]Return projects imported from any of these origins, such as github or cli.
lifecyclestring[]Return projects matching all selected lifecycle values: production, development, or sandbox.
target_idstring[]Return projects belonging to any of these target IDs.
meta_countstringSet to the only accepted value, only, to return the total matching project count without project data.
environmentstring[]Return projects matching all selected environment values: frontend, backend, internal, external, mobile, saas, onprem, hosted, or distributed.
target_filestringReturn projects whose scanned target file or path matches this value.
target_runtimestringReturn projects whose target runtime matches this value.
names_start_withstring[]Return projects whose names start with any of these prefixes.
target_referencestringReturn projects whose scanned target revision matches this reference.
cli_monitored_afterstringdate-timeReturn CLI projects uploaded and monitored after this timestamp.
latest_issue_countsbooleanInclude severity counts from each project's most recent scan.
business_criticalitystring[]Return projects matching all selected business-criticality values: critical, high, medium, or low.
cli_monitored_beforestringdate-timeReturn CLI projects uploaded and monitored before this timestamp.
latest_dependency_totalbooleanInclude the dependency total from each project's most recent scan.
importing_user_public_idstring[]Return projects imported by any of these user public IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TargetsSNYK_LIST_TARGETSAcciónList one page of a Snyk organization's targets. Filter by privacy, project presence, remote URL, integration source type, display-name prefix, or creation time, and optionally include the total matching count.
SNYK_LIST_TARGETSAcciónList one page of a Snyk organization's targets. Filter by privacy, project presence, remote URL, integration source type, display-name prefix, or creation time, and optionally include the total matching count.
Parámetros de entrada
urlstringReturn targets whose remote URL exactly matches this value.
countbooleanCalculate and return the total number of targets matching the filters.
limitintegerNumber of targets to return on this page (1-100).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization whose targets to list.
is_privatebooleanReturn targets matching this private or publicly accessible status.
created_gtestringdate-timeReturn targets created at or after this timestamp.
display_namestringReturn targets whose display names start with this string.
source_typesstring[]Return targets matching any integration source type. Accepted values: bitbucket-server, gitlab, github-enterprise, bitbucket-cloud, bitbucket-connect-app, azure-repos, github, github-cloud-app, github-server-app, cli, docker-hub, in-memory-fs, acr, ecr, gcr, artifactory-cr, harbor-cr, quay-cr, github-cr, nexus-cr, nexus-private-repo, digitalocean-cr, gitlab-cr, google-artifact-cr, heroku, kubernetes, api, aws-lambda, azure-functions, cloud-foundry, pivotal, ibm-cloud, and terraform-cloud.
exclude_emptybooleanWhen true, return only targets that contain projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Test FindingsSNYK_LIST_TEST_FINDINGSAcciónList one page of non-threshold-violating, policy-unsuppressed findings from a Snyk package test. Findings are scanner-independent vulnerability and policy-breach records sorted by ID. Supply an existing completed test ID because this toolkit does not provide the package-test create/poll workflow. Warning: Snyk marks this endpoint as beta and its contract may change.
SNYK_LIST_TEST_FINDINGSAcciónList one page of non-threshold-violating, policy-unsuppressed findings from a Snyk package test. Findings are scanner-independent vulnerability and policy-breach records sorted by ID. Supply an existing completed test ID because this toolkit does not provide the package-test create/poll workflow. Warning: Snyk marks this endpoint as beta and its contract may change.
Parámetros de entrada
limitintegerNumber of findings to return on this page (1-100).
cursorstringContinuation cursor returned by a previous call; omit for the first page.
org_idstringObligatoriouuidID of the Snyk organization that owns the package test.
test_idstringObligatoriouuidID of an existing completed Snyk package test obtained outside this toolkit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Lookup Inventory AssetSNYK_LOOKUP_INVENTORY_ASSETAcciónLook up one inventory asset in a Snyk organization by natural key or alias. A natural-key match takes precedence over an alias match. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
SNYK_LOOKUP_INVENTORY_ASSETAcciónLook up one inventory asset in a Snyk organization by natural key or alias. A natural-key match takes precedence over an alias match. This Early Access endpoint is beta, may change, and requires Snyk Inventory access.
Parámetros de entrada
keystringObligatorioNatural key or alias to resolve. Snyk prefers a natural-key match when an alias matches a different asset.
typestringObligatorioenumJSON:API asset type to search within: repositories, container_images, or sboms.
container_imagessbomsrepositoriesfieldsobjectSparse fieldsets keyed by JSON:API asset type: container_images, sboms, or repositories. Each value is a comma-separated field list; type and id are always returned.
org_idstringObligatoriouuidUnique ID of the Snyk organization containing the inventory asset.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Projects From CollectionSNYK_REMOVE_PROJECTS_FROM_COLLECTIONAcciónRemove up to 100 projects from a Snyk collection. Warning: This may require collection product access or a qualifying account role.
SNYK_REMOVE_PROJECTS_FROM_COLLECTIONAcciónRemove up to 100 projects from a Snyk collection. Warning: This may require collection product access or a qualifying account role.
Parámetros de entrada
bodyobjectObligatorioJSON:API data envelope containing the project identifiers to remove.
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
collection_idstringObligatoriouuidID of the collection from which to remove projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update CollectionSNYK_UPDATE_COLLECTIONAcciónRename a Snyk collection. This may require collection product access or a qualifying account role.
SNYK_UPDATE_COLLECTIONAcciónRename a Snyk collection. This may require collection product access or a qualifying account role.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the collection update.
org_idstringObligatoriouuidID of the Snyk organization that owns the collection.
collection_idstringObligatoriouuidID of the collection to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update IAC SettingsSNYK_UPDATE_IAC_SETTINGSAcciónUpdate Infrastructure as Code custom-rule inheritance, enablement, or OCI registry URL and tag for a Snyk organization. This may require Snyk IaC product access or a qualifying organization role.
SNYK_UPDATE_IAC_SETTINGSAcciónUpdate Infrastructure as Code custom-rule inheritance, enablement, or OCI registry URL and tag for a Snyk organization. This may require Snyk IaC product access or a qualifying organization role.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the Infrastructure as Code settings update.
org_idstringObligatoriouuidID of the Snyk organization whose Infrastructure as Code settings to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Ignore PolicySNYK_UPDATE_IGNORE_POLICYAcciónUpdate an organization-level ignore policy. This API is available only when Snyk Code Consistent Ignores is enabled.
SNYK_UPDATE_IGNORE_POLICYAcciónUpdate an organization-level ignore policy. This API is available only when Snyk Code Consistent Ignores is enabled.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the policy update.
org_idstringObligatoriouuidID of the Snyk organization that owns the policy.
policy_idstringObligatoriouuidID of the policy to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Inventory AssetSNYK_UPDATE_INVENTORY_ASSETAcciónPartially update the classification, labels, or tags of one Snyk inventory asset. This Early Access endpoint is beta and its contract may change; the connected account must have access to Snyk Inventory.
SNYK_UPDATE_INVENTORY_ASSETAcciónPartially update the classification, labels, or tags of one Snyk inventory asset. This Early Access endpoint is beta and its contract may change; the connected account must have access to Snyk Inventory.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API asset update payload.
org_idstringObligatoriouuidID of the Snyk organization containing the inventory asset.
asset_idstringObligatoriouuidID of the inventory asset to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Language SettingsSNYK_UPDATE_LANGUAGE_SETTINGSAcciónUpdate package-manager settings for one programming language in a Snyk organization. Warning: Snyk marks this beta contract as deprecated or sunset; use it only while the pinned version remains served.
SNYK_UPDATE_LANGUAGE_SETTINGSAcciónUpdate package-manager settings for one programming language in a Snyk organization. Warning: Snyk marks this beta contract as deprecated or sunset; use it only while the pinned version remains served.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the language-settings update.
org_idstringObligatoriouuidID of the Snyk organization whose language settings are updated.
languagestringObligatorioenumProgramming language whose package-manager settings are updated.
javascriptpythondotnetphpgolangjava
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Open Source Ecosystem Broker SettingsSNYK_UPDATE_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcciónUpdate selected Broker integrations for a specific Open Source ecosystem in a Snyk organization. Only provided integrations are changed; omitting an integration's URLs or providing an empty list removes that integration.
SNYK_UPDATE_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcciónUpdate selected Broker integrations for a specific Open Source ecosystem in a Snyk organization. Only provided integrations are changed; omitting an integration's URLs or providing an empty list removes that integration.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the ecosystem Broker settings update.
org_idstringObligatoriouuidID of the Snyk organization whose ecosystem Broker settings are updated.
ecosystemstringObligatorioCase-sensitive Open Source ecosystem identifier.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Open Source Private Registry SettingsSNYK_UPDATE_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcciónAdd, update, or remove private registry integrations for one Open Source ecosystem in a Snyk organization. The endpoint uses patch semantics, so unlisted integrations remain unchanged.
SNYK_UPDATE_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcciónAdd, update, or remove private registry integrations for one Open Source ecosystem in a Snyk organization. The endpoint uses patch semantics, so unlisted integrations remain unchanged.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload containing the private registry changes.
org_idstringObligatoriouuidID of the Snyk organization whose private registry settings to update.
ecosystemstringObligatorioCase-sensitive Open Source ecosystem identifier.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update OrganizationSNYK_UPDATE_ORGANIZATIONAcciónUpdate the display name of a Snyk organization.
SNYK_UPDATE_ORGANIZATIONAcciónUpdate the display name of a Snyk organization.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the organization update.
org_idstringObligatoriouuidID of the Snyk organization to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Org Secrets SettingsSNYK_UPDATE_ORG_SECRETS_SETTINGSAcciónUpdate the Early Access Secrets settings for a Snyk organization. Availability depends on product enablement; Snyk marks this contract beta and it may change.
SNYK_UPDATE_ORG_SECRETS_SETTINGSAcciónUpdate the Early Access Secrets settings for a Snyk organization. Availability depends on product enablement; Snyk marks this contract beta and it may change.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the Secrets settings update.
org_idstringObligatoriouuidID of the Snyk organization whose Secrets settings are updated.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ProjectSNYK_UPDATE_PROJECTAcciónUpdate a Snyk project's classifications, tags, test frequency, or owner.
SNYK_UPDATE_PROJECTAcciónUpdate a Snyk project's classifications, tags, test frequency, or owner.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the project update.
expandstring[]Set to target to expand the updated project's target relationship.
org_idstringObligatoriouuidID of the Snyk organization that owns the project.
project_idstringObligatoriouuidID of the project to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update SAST SettingsSNYK_UPDATE_SAST_SETTINGSAcciónEnable or disable Snyk Code SAST for an organization.
SNYK_UPDATE_SAST_SETTINGSAcciónEnable or disable Snyk Code SAST for an organization.
Parámetros de entrada
bodyobjectObligatorioExact JSON:API payload for the SAST settings update.
org_idstringObligatoriouuidID of the Snyk organization whose SAST settings are updated.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not