naftiko: 1.0.0-alpha2 info: label: Snyk API — IacSettings description: 'Snyk API — IacSettings. 4 operations. Lead operation: Get the Infrastructure as Code Settings for a group. Self-contained Naftiko capability covering one Snyk business surface.' tags: - Snyk - IacSettings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SNYK_API_KEY: SNYK_API_KEY capability: consumes: - type: http namespace: rest-iacsettings baseUri: https://api.snyk.io/rest description: Snyk API — IacSettings business capability. Self-contained, no shared references. resources: - name: groups-group_id-settings-iac path: /groups/{group_id}/settings/iac operations: - name: getiacsettingsforgroup method: GET description: Get the Infrastructure as Code Settings for a group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: The id of the group whose Infrastructure as Code settings are requested required: true - name: updateiacsettingsforgroup method: PATCH description: Update the Infrastructure as Code Settings for a group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: The id of the group whose Infrastructure as Code settings are getting updated required: true - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-org_id-settings-iac path: /orgs/{org_id}/settings/iac operations: - name: getiacsettingsfororg method: GET description: Get the Infrastructure as Code Settings for an org. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: The id of the org whose Infrastructure as Code settings are requested. required: true - name: updateiacsettingsfororg method: PATCH description: Update the Infrastructure as Code Settings for an org outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string description: The id of the org whose Infrastructure as Code settings are getting updated required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SNYK_API_KEY}}' exposes: - type: rest namespace: rest-iacsettings-rest port: 8080 description: REST adapter for Snyk API — IacSettings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups/{group-id}/settings/iac name: groups-group-id-settings-iac description: REST surface for groups-group_id-settings-iac. operations: - method: GET name: getiacsettingsforgroup description: Get the Infrastructure as Code Settings for a group call: rest-iacsettings.getiacsettingsforgroup with: group_id: rest.group_id outputParameters: - type: object mapping: $. - method: PATCH name: updateiacsettingsforgroup description: Update the Infrastructure as Code Settings for a group call: rest-iacsettings.updateiacsettingsforgroup with: group_id: rest.group_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org-id}/settings/iac name: orgs-org-id-settings-iac description: REST surface for orgs-org_id-settings-iac. operations: - method: GET name: getiacsettingsfororg description: Get the Infrastructure as Code Settings for an org. call: rest-iacsettings.getiacsettingsfororg with: org_id: rest.org_id outputParameters: - type: object mapping: $. - method: PATCH name: updateiacsettingsfororg description: Update the Infrastructure as Code Settings for an org call: rest-iacsettings.updateiacsettingsfororg with: org_id: rest.org_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-iacsettings-mcp port: 9090 transport: http description: MCP adapter for Snyk API — IacSettings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-infrastructure-code-settings-group description: Get the Infrastructure as Code Settings for a group hints: readOnly: true destructive: false idempotent: true call: rest-iacsettings.getiacsettingsforgroup with: group_id: tools.group_id outputParameters: - type: object mapping: $. - name: update-infrastructure-code-settings-group description: Update the Infrastructure as Code Settings for a group hints: readOnly: false destructive: false idempotent: true call: rest-iacsettings.updateiacsettingsforgroup with: group_id: tools.group_id body: tools.body outputParameters: - type: object mapping: $. - name: get-infrastructure-code-settings-org description: Get the Infrastructure as Code Settings for an org. hints: readOnly: true destructive: false idempotent: true call: rest-iacsettings.getiacsettingsfororg with: org_id: tools.org_id outputParameters: - type: object mapping: $. - name: update-infrastructure-code-settings-org description: Update the Infrastructure as Code Settings for an org hints: readOnly: false destructive: false idempotent: true call: rest-iacsettings.updateiacsettingsfororg with: org_id: tools.org_id body: tools.body outputParameters: - type: object mapping: $.