naftiko: 1.0.0-alpha2 info: label: Fortify on Demand API — Audit Templates description: 'Fortify on Demand API — Audit Templates. 2 operations. Lead operation: Fortify Set audit action. Self-contained Naftiko capability covering one Fortify business surface.' tags: - Fortify - Audit Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FORTIFY_API_KEY: FORTIFY_API_KEY capability: consumes: - type: http namespace: on-demand-audit-templates baseUri: https://api.ams.fortify.com description: Fortify on Demand API — Audit Templates business capability. Self-contained, no shared references. resources: - name: api-v3-releases-releaseId-audit-action path: /api/v3/releases/{releaseId}/audit-action operations: - name: setreleaseauditaction method: POST description: Fortify Set audit action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v3-releases-releaseId-audit-options path: /api/v3/releases/{releaseId}/audit-options operations: - name: getreleaseauditoptions method: GET description: Fortify Get audit options outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FORTIFY_API_KEY}}' exposes: - type: rest namespace: on-demand-audit-templates-rest port: 8080 description: REST adapter for Fortify on Demand API — Audit Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v3/releases/{releaseid}/audit-action name: api-v3-releases-releaseid-audit-action description: REST surface for api-v3-releases-releaseId-audit-action. operations: - method: POST name: setreleaseauditaction description: Fortify Set audit action call: on-demand-audit-templates.setreleaseauditaction with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v3/releases/{releaseid}/audit-options name: api-v3-releases-releaseid-audit-options description: REST surface for api-v3-releases-releaseId-audit-options. operations: - method: GET name: getreleaseauditoptions description: Fortify Get audit options call: on-demand-audit-templates.getreleaseauditoptions outputParameters: - type: object mapping: $. - type: mcp namespace: on-demand-audit-templates-mcp port: 9090 transport: http description: MCP adapter for Fortify on Demand API — Audit Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: fortify-set-audit-action description: Fortify Set audit action hints: readOnly: false destructive: false idempotent: false call: on-demand-audit-templates.setreleaseauditaction with: body: tools.body outputParameters: - type: object mapping: $. - name: fortify-get-audit-options description: Fortify Get audit options hints: readOnly: true destructive: false idempotent: true call: on-demand-audit-templates.getreleaseauditoptions outputParameters: - type: object mapping: $.