Skip to main content

Snyk/settings

@webframp/snyk/settingsv2026.10.21.1· Apache-2.0· 5d agoBEHAVIORS
01README

Snyk Settings — organization and group setting management

02Release Notes

2026.10.21.1

Changed: The README now shows the Snyk API token stored in a swamp vault (swamp vault put snyk API_TOKEN) and wired with --global-arg 'apiToken=${{ vault.get("snyk", "API_TOKEN") }}', replacing the literal-token example. The apiToken argument description says the same.

Documentation only: nothing behavioral changed. This API returns no secrets.

03Behaviors1
@webframp/snyk/settingsv2026.10.21.1snyk/settings.ts

Global Arguments

ArgumentTypeDescription
apiTokenstringSnyk API token. Store it in a vault and wire it with ${{ vault.get("snyk", "API_TOKEN") }}; never pass the literal token.
orgIdstringSnyk organization ID
version?stringSnyk API version date
fn get_iac_settings_for_group(group_id: string)
Get the Infrastructure as Code Settings for a group
ArgumentTypeDescription
group_idstringThe id of the group whose Infrastructure as Code settings are requested
fn update_iac_settings_for_group(group_id: string, data?: unknown)
Update the Infrastructure as Code Settings for a group
ArgumentTypeDescription
group_idstringThe id of the group whose Infrastructure as Code settings are getting updated
data?unknown
fn get_opensource_broker_setting_for_group(group_id: string)
Get opensource broker setting for group
ArgumentTypeDescription
group_idstringGroup ID
fn enable_opensource_broker_for_group(group_id: string)
Enable opensource broker for group
ArgumentTypeDescription
group_idstringGroup ID
fn delete_opensource_broker_setting_for_group(group_id: string)
Delete opensource broker setting for group
ArgumentTypeDescription
group_idstringGroup ID
fn get_pull_request_template(group_id: string)
Get pull request template for group
ArgumentTypeDescription
group_idstringSnyk Group ID
fn create_or_update_pull_request_template(group_id: string, data: object)
Create or update pull request template for group
ArgumentTypeDescription
group_idstringSnyk Group ID
dataobject
fn delete_pull_request_template(group_id: string)
Delete pull request template for group
ArgumentTypeDescription
group_idstringSnyk Group ID
fn get_iac_settings_for_org()
Get the Infrastructure as Code Settings for an org.
fn update_iac_settings_for_org(data?: unknown)
Update the Infrastructure as Code Settings for an org
ArgumentTypeDescription
data?unknown
fn get_org_languages_settings()
Get language settings for an organization (Early Access)
fn update_org_languages_settings(language: string, data: unknown)
Update language settings for an organization (Early Access)
ArgumentTypeDescription
languagestringThe language for which settings are being updated
dataunknown
fn get_open_source_settings_for_org()
Get the Open Source Settings for an Org. (Early Access)
fn get_opensource_broker_setting()
Get opensource broker setting for organization
fn enable_opensource_broker_for_org()
Enable opensource broker for organization
fn delete_opensource_broker_setting_for_org()
Delete opensource broker setting for organization
fn get_opensource_broker_ecosystem_settings_for_org(ecosystem: string)
Get opensource broker settings of ecosystem for organization
ArgumentTypeDescription
ecosystemstringThe ecosystem identifier
fn update_opensource_broker_ecosystem_settings_for_org(ecosystem: string, data: unknown)
Update opensource broker settings of ecosystem for organization
ArgumentTypeDescription
ecosystemstringThe ecosystem identifier
dataunknown
fn get_opensource_private_registry_ecosystem_settings_for_org(ecosystem: string)
Get opensource private registry settings of ecosystem for organization
ArgumentTypeDescription
ecosystemstringThe ecosystem identifier
fn update_opensource_private_registry_ecosystem_settings_for_org(ecosystem: string, data: unknown)
Update opensource private registry settings of ecosystem for organization
ArgumentTypeDescription
ecosystemstringThe ecosystem identifier
dataunknown
fn get_sast_settings()
Retrieves the SAST settings for an org
fn update_org_sast_settings(data: object)
Enable/Disable the Snyk Code settings for an org
ArgumentTypeDescription
dataobject
fn get_secrets_settings()
Retrieves the Secrets settings for an org (Early Access)
fn update_org_secrets_settings(data: object)
Update the Secrets settings for an org (Early Access)
ArgumentTypeDescription
dataobject

Resources

iac_settings_for_group(infinite)— Get the Infrastructure as Code Settings for a group
opensource_broker_setting_for_group(infinite)— Get opensource broker setting for group
enable_opensource_broker_for_group(infinite)— Enable opensource broker for group
pull_request_template(infinite)— Get pull request template for group
or_update_pull_request_template(infinite)— Create or update pull request template for group
iac_settings_for_org(infinite)— Get the Infrastructure as Code Settings for an org.
org_languages_settings(infinite)— Get language settings for an organization (Early Access)
open_source_settings_for_org(infinite)— Get the Open Source Settings for an Org. (Early Access)
opensource_broker_setting(infinite)— Get opensource broker setting for organization
enable_opensource_broker_for_org(infinite)— Enable opensource broker for organization
opensource_broker_ecosystem_settings_for_org(infinite)— Get opensource broker settings of ecosystem for organization
opensource_private_registry_ecosystem_settings_for_org(infinite)— Get opensource private registry settings of ecosystem for organization
sast_settings(infinite)— Retrieves the SAST settings for an org
org_sast_settings(infinite)— Enable/Disable the Snyk Code settings for an org
secrets_settings(infinite)— Retrieves the Secrets settings for an org (Early Access)
org_secrets_settings(infinite)— Update the Secrets settings for an org (Early Access)
04Previous Versions14
2026.10.14.1Apache-2.0(was none)

2026.10.14.1

Fixed: Methods that write a singleton resource failed on current swamp with Data name 'latest' is reserved for internal use.

Changed: Singleton get and action methods now write their data under enable_opensource_broker_for_group-current, enable_opensource_broker_for_org-current, iac_settings_for_org-current, open_source_settings_for_org-current, opensource_broker_setting-current, org_languages_settings-current, sast_settings-current, secrets_settings-current instead of latest. Anything that read data.latest("<model>", "latest") or queried name == "latest" must use the new name.

Upgrade note: Data previously stored under latest is not migrated; re-run the method to populate the new name. No attribute schemas changed.

Added: The manifest now declares license: Apache-2.0 (SPDX). The registry quality rubric scores a declared license separately from the bundled LICENSE.md.

2026.10.07.1

2026.10.07.1

Fixed: A request that never answers no longer hangs the method. Each attempt now has a 30-second deadline, and a timeout names the method and path. Rate limiting (HTTP 429) retries up to three times, waits at most 30 seconds between tries, and then reports the rate limit instead of failing with a consumed-body TypeError. An empty 2xx body (202, 204, or an empty 200) no longer fails JSON parsing. A malformed JSON body now reports the HTTP status and the request instead of a bare SyntaxError, and HTTP errors name the request too. Pagination follows a relative next link with or without the /rest prefix, and refuses a next link that leaves the Snyk API origin or the /rest path instead of sending the API token to it.

Changed: Response schemas now accept what the API returns. Enumerated response fields accept any value of their type, value constraints (min, max, pattern) are dropped, response properties may be missing or null, and nested objects keep fields the spec does not list, so one unexpected value no longer fails a whole page. Methods that read or create a single resource now fail when the API answers with an empty body where the spec promises content, instead of storing an empty resource. Operations the spec documents as returning no content (204) still succeed. Argument and field descriptions now end at a word boundary. Request arguments are unchanged.

Upgrade note: The loosened response schemas change validation behavior. Stored resources remain valid, and no data migration is needed. Anything that relied on a resource schema to reject an out-of-enum value or a missing field must now check the data itself.

2026.09.27.1

2026.09.27.1

Added: Initial code-generated release of @webframp/snyk/settings with 24 methods covering the Snyk settings API surface.

2026.09.18.1

2026.09.18.1

Upgrade note: Normalized npm:zod dependency version to 4.6.5 across the repo. No behavioral changes in this extension.

2026.09.15.1

2026.09.15.1

Changed: Bump zod 4.4.3 → 4.6.5

2026.09.08.1

Added: Initial code-generated release of @webframp/snyk/settings with 24 methods covering the Snyk settings API surface.

2026.09.08.1

2026.09.08.1

Added: Initial code-generated release of @webframp/snyk/settings with 24 methods covering the Snyk settings API surface.

2026.08.28.2

2026.08.28.2

Hardened codegen: instance names sanitized against path traversal; 429 rate-limit retry with Retry-After; string schema patterns emit regex validation; output schemas passthrough unknown fields.

updated labels

2026.08.28.1

2026.08.28.1

Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.

Upgrade note: License text only. No API, schema, or runtime behavior changed.

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.26.2

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.25.1

2026.08.25.1

Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.

updated labels

2026.08.24.1

2026.08.24.1

Added: Output metadata attributes for observability.

  • durationMs: Method execution duration in milliseconds.
  • collectedBy: Extension name that produced the data.
  • fetchedAt: ISO 8601 timestamp when data was fetched (added to resources that previously lacked it).
2026.08.21.1

2026.08.21.1

Changed: group_id, ecosystem, and language now must be non-empty strings — previously an empty value passed schema validation and only failed deep inside the Snyk API call with a generic 404. Errors from the Snyk API now name the HTTP method and path that was attempted instead of just the bare status and body. Network-level failures (DNS, connection refused, TLS errors) reaching the Snyk API are now also caught and reported with the operation and path that was being attempted, rather than surfacing as an unhandled fetch exception.

2026.07.20.1

2026.07.20.1

Fixed: Group-scoped methods (paths under /groups/{group_id}/...) dropped their group_id path parameter. The generated code referenced args.group_id, but the argument was never declared or forwarded, so requests went to /groups/undefined/... and returned HTTP 404. These methods now declare and forward group_id correctly.

Upgrade note: Group-scoped methods now take a required group_id argument. Calls that previously failed with a 404 succeed once group_id is supplied.

2026.07.19.1

2026.07.19.1

Added: Initial code-generated release of @webframp/snyk/settings with 24 methods covering the Snyk settings API surface.

05Stats
A
100 / 100
Downloads
33
Archive size
17.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels