Volver al catálogo

Snyk

snyk

Snyk helps development teams find, prioritize, and remediate security issues across code, dependencies, containers, and cloud infrastructure.

Acciones
71
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Add up to 100 projects to a Snyk collection. Warning: This may require collection product access or a qualifying account role.

Parámetros de entrada

  • bodyobjectObligatorio

    JSON:API data envelope containing the project identifiers to add.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • collection_idstringObligatoriouuid

    ID of the collection to which to add projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Delete ProjectsSNYK_BULK_DELETE_PROJECTSAcción

Permanently 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

  • bodyobjectObligatorio

    Exact JSON:API bulk project deletion payload.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Update Inventory AssetsSNYK_BULK_UPDATE_INVENTORY_ASSETSAcción

Transactionally 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

  • bodyobjectObligatorio

    Exact JSON:API bulk asset update payload.

  • org_idstringObligatoriouuid

    ID of the Snyk organization containing the inventory assets.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk Update ProjectsSNYK_BULK_UPDATE_PROJECTSAcción

Update 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

  • patchobject

    Shared typed patch applied to every project_id.

  • org_idstringObligatoriouuid

    ID 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create CollectionSNYK_CREATE_COLLECTIONAcción

Create 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

  • bodyobjectObligatorio

    JSON:API request payload for the new collection.

  • org_idstringObligatoriouuid

    ID of the Snyk organization in which to create the collection.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ExportSNYK_CREATE_EXPORTAcción

Start 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

  • bodyobjectObligatorio

    JSON:API request payload that configures the export.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose data should be exported.

  • include_deletedstring

    Snyk export option controlling inclusion of deleted issues.

  • include_deactivatedstring

    Snyk export option controlling inclusion of disabled issues.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Ignore PolicySNYK_CREATE_IGNORE_POLICYAcción

Create an organization-level ignore policy for a specific Snyk Code finding. This API requires Code Consistent Ignores to be enabled.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the new ignore policy.

  • org_idstringObligatoriouuid

    ID of the Snyk organization in which to create the policy.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Repository AliasesSNYK_CREATE_REPOSITORY_ALIASESAcción

Link 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_idstringObligatoriouuid

    ID of the Snyk organization in which to create repository aliases.

  • aliasesobject[]Obligatorio

    Canonical and alternate repository URL pairs to link (1-100 items).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SBOM TestSNYK_CREATE_SBOM_TESTAcción

Start 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

  • sbomobjectObligatorio

    Complete CycloneDX 1.4-1.6 JSON or SPDX 2.3 JSON document to test. Components need supported PackageURLs for vulnerability analysis.

  • formatstringenum

    Optional format of the supplied SBOM document.

    cyclonedx1.4+jsoncyclonedx1.5+jsoncyclonedx1.6+jsonspdx2.3+json
  • org_idstringObligatoriouuid

    ID of the Snyk organization in which to run the SBOM test.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete CollectionSNYK_DELETE_COLLECTIONAcción

Permanently 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • collection_idstringObligatoriouuid

    ID of the collection to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Ignore PolicySNYK_DELETE_IGNORE_POLICYAcción

Permanently 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the ignore policy.

  • policy_idstringObligatoriouuid

    ID of the ignore policy to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ProjectSNYK_DELETE_PROJECTAcción

Permanently 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the project.

  • project_idstringObligatoriouuid

    ID of the project to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Repository AliasesSNYK_DELETE_REPOSITORY_ALIASESAcción

Detach 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_idstringObligatoriouuid

    ID of the Snyk organization containing the repository assets.

  • aliasesobject[]Obligatorio

    Repository asset IDs and URL pairs to detach (1-100 items).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete TargetSNYK_DELETE_TARGETAcción

Permanently 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the target.

  • target_idstringObligatoriouuid

    ID of the target to permanently delete. Deleting the target also deletes all projects associated with it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Findings DocumentSNYK_DOWNLOAD_FINDINGS_DOCUMENTAcción

Download 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the findings document.

  • document_idstringObligatoriouuid

    ID of an existing completed findings document obtained outside this toolkit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Project SBOMSNYK_DOWNLOAD_PROJECT_SBOMAcción

Download 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

  • formatstringenum

    SBOM 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+json
  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization that owns the project.

  • excludestring[]

    Features to omit from the generated SBOM. Currently only licenses can be excluded.

  • project_idstringObligatoriouuid

    Unique ID of the Snyk project whose SBOM to download.

  • go_module_levelboolean

    Consolidate Go package-level dependencies into module-level components. This option applies only to gomodules dependency graphs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get CollectionSNYK_GET_COLLECTIONAcción

Retrieve a collection from a Snyk organization. The connected account must have collection product access or a qualifying organization role.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • collection_idstringObligatoriouuid

    Unique ID of the collection to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Container ImageSNYK_GET_CONTAINER_IMAGEAcción

Retrieve a container image by its SHA-256 digest from a Snyk organization.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the container image.

  • image_idstringObligatorio

    SHA-256 digest that uniquely identifies the container image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ExportSNYK_GET_EXPORTAcción

Retrieve 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the export.

  • export_idstringObligatoriouuid

    Unique ID of the export whose results to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Export Job StatusSNYK_GET_EXPORT_JOB_STATUSAcción

Get 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the export job.

  • export_idstringObligatoriouuid

    Unique export ID returned when the export was started.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get IAC SettingsSNYK_GET_IAC_SETTINGSAcción

Retrieve 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_idstringObligatoriouuid

    ID of the Snyk organization whose Infrastructure as Code settings to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ignore PolicySNYK_GET_IGNORE_POLICYAcción

Retrieve an organization-level ignore policy by ID. This API is available only for Snyk Code Consistent Ignores.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the ignore policy.

  • policy_idstringObligatoriouuid

    ID of the organization-level ignore policy to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Inventory AssetSNYK_GET_INVENTORY_ASSETAcción

Retrieve 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

  • fieldsobject

    Sparse 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the inventory asset.

  • asset_idstringObligatoriouuid

    Unique ID of the inventory asset to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Inventory Asset Search ResultsSNYK_GET_INVENTORY_ASSET_SEARCH_RESULTSAcción

Retrieve 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

  • sortstring

    Comma-separated fields by which to sort results; prefix a field with - for descending order.

  • limitinteger

    Maximum number of matching assets to return on this page (10-100).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • fieldsobject

    Sparse 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_idstringObligatoriouuid

    ID of the Snyk organization in which the asset search was started.

  • search_idstringObligatoriouuid

    ID of the asynchronous inventory asset search whose results to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Open Source Broker SettingSNYK_GET_OPEN_SOURCE_BROKER_SETTINGAcción

Retrieve whether the Open Source Broker setting is enabled for a Snyk organization.

Parámetros de entrada

  • org_idstringObligatorio

    ID of the Snyk organization whose Open Source Broker setting to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Open Source Ecosystem Broker SettingsSNYK_GET_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcción

Retrieve all Broker settings for a specific Open Source ecosystem in a Snyk organization. Ecosystem identifiers are case-sensitive.

Parámetros de entrada

  • org_idstringObligatoriouuid

    Snyk organization ID whose Open Source ecosystem Broker settings to retrieve.

  • ecosystemstringObligatorioenum

    Case-sensitive Open Source ecosystem identifier: Dotnet or Golang.

    DotnetGolang

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Open Source Private Registry SettingsSNYK_GET_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcción

Retrieve 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_idstringObligatoriouuid

    Snyk organization ID whose Open Source private registry settings to retrieve.

  • ecosystemstringObligatorioenum

    Case-sensitive Open Source ecosystem identifier whose private registry settings to retrieve: Dotnet or Golang.

    DotnetGolang

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OrganizationSNYK_GET_ORGANIZATIONAcción

Retrieve 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_idstringObligatoriouuid

    Unique ID of the Snyk organization to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Organization IssueSNYK_GET_ORGANIZATION_ISSUEAcción

Retrieve one Snyk issue by its organization and issue IDs, optionally including data flows for Snyk Code issues.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the issue.

  • issue_idstringObligatoriouuid

    Unique ID of the issue to retrieve.

  • include_code_flowsboolean

    Whether to include data-flow details for Snyk Code issues. Data flows must also be enabled for the organization.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Package TestSNYK_GET_PACKAGE_TESTAcción

Retrieve 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the package test.

  • test_idstringObligatoriouuid

    ID of an existing Snyk package test obtained outside this toolkit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProjectSNYK_GET_PROJECTAcción

Retrieve 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_idstringObligatoriouuid

    ID of the Snyk organization that owns the project.

  • project_idstringObligatoriouuid

    Unique ID of the project to retrieve.

  • latest_issue_countsboolean

    Include severity counts from the project's most recent scan.

  • latest_dependency_totalboolean

    Include the dependency total from the project's most recent scan.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SAST SettingsSNYK_GET_SAST_SETTINGSAcción

Retrieve the SAST settings for a Snyk organization.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose SAST settings to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SBOM Test ResultSNYK_GET_SBOM_TEST_RESULTAcción

Retrieve 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

  • limitinteger

    Number of affected packages to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • job_idstringObligatoriouuid

    Job ID of a finished SBOM test.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the SBOM test job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SBOM Test StatusSNYK_GET_SBOM_TEST_STATUSAcción

Poll 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_idstringObligatoriouuid

    Job ID returned when the SBOM test was started.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the SBOM test job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TargetSNYK_GET_TARGETAcción

Retrieve a target by ID from a Snyk organization.

Parámetros de entrada

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the target.

  • target_idstringObligatoriouuid

    Unique ID of the target to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Broker ConnectionsSNYK_LIST_BROKER_CONNECTIONSAcción

List one page of Broker connections integrated with a Snyk organization.

Parámetros de entrada

  • limitinteger

    Number of Broker connections to return on this page (1-100).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatorio

    Snyk organization ID whose Broker connections to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Collection ProjectsSNYK_LIST_COLLECTION_PROJECTSAcción

List 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.

  • sortstringenum

    Project attribute by which to sort the results.

    importedlast_tested_atissues
  • limitinteger

    Number of projects to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • directionstringenum

    Direction in which to sort the projects; Snyk defaults to DESC.

    ASCDESC
  • target_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_idstringObligatoriouuid

    Unique ID of the collection whose projects to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CollectionsSNYK_LIST_COLLECTIONSAcción

List 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

  • namestring

    Return collections whose names contain this string.

  • sortstringenum

    Attribute by which to sort collections.

    nameprojectsCountissues
  • limitinteger

    Number of collections to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatorio

    Snyk organization ID whose collections to list.

  • directionstringenum

    Direction in which to sort collections.

    ASCDESC
  • is_generatedboolean

    Filter collections by whether Snyk generated them automatically.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Component FindingsSNYK_LIST_COMPONENT_FINDINGSAcción

List 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

  • limitinteger

    Number of findings to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the package test.

  • test_idstringObligatoriouuid

    ID of an existing completed package test obtained outside this toolkit.

  • component_idstringObligatorio

    ID of the component within the test whose findings to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Container ImagesSNYK_LIST_CONTAINER_IMAGESAcción

List one page of container images in a Snyk organization, optionally filtered by image digest, platform, or registry name.

Parámetros de entrada

  • limitinteger

    Number of container images to return on this page (10-100, in multiples of 10).

  • namesstring[]

    Return images with these container registry names.

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatorio

    Snyk organization ID whose container images to list.

  • platformstringenum

    Return 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+62
  • image_idsstring[]

    Return only images with these SHA-256 image digest IDs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Container Image Target RefsSNYK_LIST_CONTAINER_IMAGE_TARGET_REFSAcción

List one page of target references associated with a container image in a Snyk organization.

Parámetros de entrada

  • limitinteger

    Number of target references to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the container image.

  • image_idstringObligatorio

    SHA-256 digest that uniquely identifies the container image.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Ignore PoliciesSNYK_LIST_IGNORE_POLICIESAcción

List one page of organization-level Snyk Code Consistent Ignore policies, with optional search, review, expiry, and sorting filters.

Parámetros de entrada

  • limitinteger

    Number of policies to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose ignore policies to list.

  • reviewstring[]

    Review states by which to filter policies: pending, approved, rejected, or not-required.

  • searchstring

    Search ignored-user names and emails or ignore types in policy rules.

  • order_bystringenum

    Policy field by which to sort the results.

    createdexpiresignore-typerequested-by
  • expires_afterstring

    Return only policies that expire strictly after this RFC 3339 timestamp.

  • expires_neverboolean

    Return only policies that never expire when true.

  • expires_beforestring

    Return only policies that expire strictly before this RFC 3339 timestamp.

  • order_directionstringenum

    Direction in which to sort the policies.

    ascdesc

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Ignore Policy EventsSNYK_LIST_IGNORE_POLICY_EVENTSAcción

List 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

  • limitinteger

    Number of policy events to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the ignore policy.

  • policy_idstringObligatoriouuid

    ID of the ignore policy whose event history to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Asset ProjectsSNYK_LIST_INVENTORY_ASSET_PROJECTSAcción

List 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

  • sortstringenum

    Sort 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-issues
  • limitinteger

    Number of linked projects to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization that owns the inventory asset.

  • asset_idstringObligatoriouuid

    Unique ID of the inventory asset whose linked projects to list.

  • canonicalstringenum

    Filter projects by canonical status: 'with' returns all projects and populates is_canonical, 'only' returns canonical projects, and 'none' returns non-canonical projects.

    withonlynone
  • target_idstringuuid

    Return only projects that belong to this target ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory AssetsSNYK_LIST_INVENTORY_ASSETSAcción

List 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

  • sortstring

    Comma-separated fields by which to sort assets; prefix a field with - for descending order.

  • limitinteger

    Number of inventory assets to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • fieldsobject

    Sparse fieldsets keyed by JSON:API asset type. Each value is a comma-separated field list; type and id are always returned.

  • filterstring

    RSQL expression used to filter assets. Supports comparison operators, =in=/=out= lists, ; for AND, , for OR, and * wildcards with == or !=.

  • org_idstringObligatorio

    Snyk organization ID whose inventory assets to list.

  • meta_countstringenum

    Use with to include the total matching asset count with data, or only to return the count without asset data.

    withonly

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Asset TargetsSNYK_LIST_INVENTORY_ASSET_TARGETSAcción

List 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

  • limitinteger

    Number of linked targets to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization that owns the inventory asset.

  • asset_idstringObligatoriouuid

    Unique ID of the inventory asset whose linked targets to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Filter FieldsSNYK_LIST_INVENTORY_FILTER_FIELDSAcción

List 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

  • limitinteger

    Number of inventory filter fields to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatorio

    Snyk 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Filter ValuesSNYK_LIST_INVENTORY_FILTER_VALUESAcción

List one page of distinct values for a Snyk inventory filter field for autocomplete. This inventory endpoint is in beta.

Parámetros de entrada

  • keystring

    Return object-filter values associated with this key.

  • limitinteger

    Number of filter values to return on this page (10-100, in multiples of 10).

  • querystring

    Search the available values; with keys_only this searches object keys, and with key it searches values for that key.

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose inventory filter values to list.

  • filter_idstringObligatoriouuid

    ID of a filter field returned by the inventory filter fields endpoint.

  • keys_onlyboolean

    Return only object-filter keys when true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Group FieldsSNYK_LIST_INVENTORY_GROUP_FIELDSAcción

List 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

  • limitinteger

    Number of grouping fields to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    Snyk 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inventory Group ValuesSNYK_LIST_INVENTORY_GROUP_VALUESAcción

List 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

  • sortstring

    Comma-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.

  • limitinteger

    Number of group values to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • filterstring

    RSQL expression that filters the assets included in the aggregation.

  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization whose inventory to query.

  • aggregateobject

    Per-metadata-field aggregation overrides. Fields default to 'last'; supported functions are max, min, first, last, and sum.

  • asset_typesstring

    Comma-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_idstringObligatoriouuid

    Group-field ID returned by the inventory group-fields endpoint.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Issues For PackageSNYK_LIST_ISSUES_FOR_PACKAGEAcción

List 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

  • purlstringObligatorio

    Unencoded, 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.

  • limitinteger

    Maximum number of direct vulnerabilities to return in this page (1-1000).

  • cursorstring

    Opaque continuation cursor returned by a previous call. Pass it back unchanged to retrieve the next offset page; omit it for the first page.

  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization in which to inspect the package.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Issues For PackagesSNYK_LIST_ISSUES_FOR_PACKAGESAcción

List 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

  • bodyobjectObligatorio

    Exact Snyk batch payload: data.attributes.purls contains versioned Package URLs; data.type is optional.

  • org_idstringObligatoriouuid

    Unique ID of the Snyk organization in which to inspect packages.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Language SettingsSNYK_LIST_LANGUAGE_SETTINGSAcción

Get 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

  • limitinteger

    Number of results to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose language settings to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Organization IssuesSNYK_LIST_ORGANIZATION_ISSUESAcción

List 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

  • typestringenum

    Return only issues of this issue type.

    package_vulnerabilitylicensecloudcodecustomconfigsecrets
  • limitinteger

    Number of issues to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose issues to list.

  • statusstring[]

    Issue statuses by which to filter issues: open or resolved.

  • ignoredboolean

    Return ignored issues when true or non-ignored issues when false.

  • scan_item_idstringuuid

    Return only issues related to this scan item ID.

  • created_afterstring

    Return only issues created after this RFC 3339 timestamp.

  • updated_afterstring

    Return only issues updated after this RFC 3339 timestamp.

  • created_beforestring

    Return only issues created before this RFC 3339 timestamp.

  • scan_item_typestringenum

    Return only issues related to this type of scan item.

    projectenvironment
  • updated_beforestring

    Return only issues updated before this RFC 3339 timestamp.

  • include_code_flowsboolean

    Include 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List OrganizationsSNYK_LIST_ORGANIZATIONSAcción

List one page of Snyk organizations accessible to the connected account, with group, personal-organization, slug, name, and relationship-expansion filters.

Parámetros de entrada

  • namestring

    Return only organizations whose display name contains this value.

  • slugstring

    Return only organizations whose URL-friendly slug exactly matches this value.

  • limitinteger

    Number of organizations to return on this page (10-100, in multiples of 10).

  • cursorstring

    Continuation 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_idstringuuid

    Return only organizations in this Snyk group.

  • is_personalboolean

    When true, return only personal organizations that are not part of a group.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsSNYK_LIST_PROJECTSAcción

List 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.

  • limitinteger

    Number 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.

  • cursorstring

    Continuation 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_idstringObligatoriouuid

    ID 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_countstring

    Set 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_filestring

    Return projects whose scanned target file or path matches this value.

  • target_runtimestring

    Return projects whose target runtime matches this value.

  • names_start_withstring[]

    Return projects whose names start with any of these prefixes.

  • target_referencestring

    Return projects whose scanned target revision matches this reference.

  • cli_monitored_afterstringdate-time

    Return CLI projects uploaded and monitored after this timestamp.

  • latest_issue_countsboolean

    Include 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-time

    Return CLI projects uploaded and monitored before this timestamp.

  • latest_dependency_totalboolean

    Include 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TargetsSNYK_LIST_TARGETSAcción

List 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

  • urlstring

    Return targets whose remote URL exactly matches this value.

  • countboolean

    Calculate and return the total number of targets matching the filters.

  • limitinteger

    Number of targets to return on this page (1-100).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose targets to list.

  • is_privateboolean

    Return targets matching this private or publicly accessible status.

  • created_gtestringdate-time

    Return targets created at or after this timestamp.

  • display_namestring

    Return 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_emptyboolean

    When true, return only targets that contain projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Test FindingsSNYK_LIST_TEST_FINDINGSAcción

List 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

  • limitinteger

    Number of findings to return on this page (1-100).

  • cursorstring

    Continuation cursor returned by a previous call; omit for the first page.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the package test.

  • test_idstringObligatoriouuid

    ID of an existing completed Snyk package test obtained outside this toolkit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Lookup Inventory AssetSNYK_LOOKUP_INVENTORY_ASSETAcción

Look 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

  • keystringObligatorio

    Natural key or alias to resolve. Snyk prefers a natural-key match when an alias matches a different asset.

  • typestringObligatorioenum

    JSON:API asset type to search within: repositories, container_images, or sboms.

    container_imagessbomsrepositories
  • fieldsobject

    Sparse 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_idstringObligatoriouuid

    Unique ID of the Snyk organization containing the inventory asset.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Projects From CollectionSNYK_REMOVE_PROJECTS_FROM_COLLECTIONAcción

Remove up to 100 projects from a Snyk collection. Warning: This may require collection product access or a qualifying account role.

Parámetros de entrada

  • bodyobjectObligatorio

    JSON:API data envelope containing the project identifiers to remove.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • collection_idstringObligatoriouuid

    ID of the collection from which to remove projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update CollectionSNYK_UPDATE_COLLECTIONAcción

Rename a Snyk collection. This may require collection product access or a qualifying account role.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the collection update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the collection.

  • collection_idstringObligatoriouuid

    ID of the collection to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update IAC SettingsSNYK_UPDATE_IAC_SETTINGSAcción

Update 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

  • bodyobjectObligatorio

    Exact JSON:API payload for the Infrastructure as Code settings update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose Infrastructure as Code settings to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Ignore PolicySNYK_UPDATE_IGNORE_POLICYAcción

Update an organization-level ignore policy. This API is available only when Snyk Code Consistent Ignores is enabled.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the policy update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the policy.

  • policy_idstringObligatoriouuid

    ID of the policy to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Inventory AssetSNYK_UPDATE_INVENTORY_ASSETAcción

Partially 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

  • bodyobjectObligatorio

    Exact JSON:API asset update payload.

  • org_idstringObligatoriouuid

    ID of the Snyk organization containing the inventory asset.

  • asset_idstringObligatoriouuid

    ID of the inventory asset to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Language SettingsSNYK_UPDATE_LANGUAGE_SETTINGSAcción

Update 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

  • bodyobjectObligatorio

    Exact JSON:API payload for the language-settings update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose language settings are updated.

  • languagestringObligatorioenum

    Programming language whose package-manager settings are updated.

    javascriptpythondotnetphpgolangjava

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Open Source Ecosystem Broker SettingsSNYK_UPDATE_OPEN_SOURCE_ECOSYSTEM_BROKER_SETTINGSAcción

Update 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

  • bodyobjectObligatorio

    Exact JSON:API payload for the ecosystem Broker settings update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose ecosystem Broker settings are updated.

  • ecosystemstringObligatorio

    Case-sensitive Open Source ecosystem identifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Open Source Private Registry SettingsSNYK_UPDATE_OPEN_SOURCE_PRIVATE_REGISTRY_SETTINGSAcción

Add, 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

  • bodyobjectObligatorio

    Exact JSON:API payload containing the private registry changes.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose private registry settings to update.

  • ecosystemstringObligatorio

    Case-sensitive Open Source ecosystem identifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update OrganizationSNYK_UPDATE_ORGANIZATIONAcción

Update the display name of a Snyk organization.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the organization update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Org Secrets SettingsSNYK_UPDATE_ORG_SECRETS_SETTINGSAcción

Update 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

  • bodyobjectObligatorio

    Exact JSON:API payload for the Secrets settings update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose Secrets settings are updated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ProjectSNYK_UPDATE_PROJECTAcción

Update a Snyk project's classifications, tags, test frequency, or owner.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the project update.

  • expandstring[]

    Set to target to expand the updated project's target relationship.

  • org_idstringObligatoriouuid

    ID of the Snyk organization that owns the project.

  • project_idstringObligatoriouuid

    ID of the project to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SAST SettingsSNYK_UPDATE_SAST_SETTINGSAcción

Enable or disable Snyk Code SAST for an organization.

Parámetros de entrada

  • bodyobjectObligatorio

    Exact JSON:API payload for the SAST settings update.

  • org_idstringObligatoriouuid

    ID of the Snyk organization whose SAST settings are updated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not