naftiko: 1.0.0-alpha2 info: label: InsightIDR API — Assets description: 'InsightIDR API — Assets. 2 operations. Lead operation: Get asset by RRN. Self-contained Naftiko capability covering one business surface.' tags: - Rapid7 - Assets created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: RAPID7_API_KEY: RAPID7_API_KEY capability: consumes: - type: http namespace: insightidr-assets baseUri: https://{region}.api.insight.rapid7.com description: InsightIDR API — Assets business capability. Self-contained, no shared references. resources: - name: idr-v1-assets-search path: /idr/v1/assets/_search operations: - name: searchassets method: POST description: Search assets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: index in: query type: integer description: The optional, 0 based index of the page to retrieve. Must be an integer greater than or equal to 0. - name: size in: query type: integer description: The optional size of the page to retrieve. Must be an integer greater than 0 or less than or equal to 1000. - name: body in: body type: object description: Request body (JSON). required: true - name: idr-v1-assets-rrn path: /idr/v1/assets/{rrn} operations: - name: findassetbyrrn method: GET description: Get asset by RRN outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: rrn in: path type: string description: The RRN of the asset. required: true exposes: - type: rest namespace: insightidr-assets-rest port: 8080 description: REST adapter for InsightIDR API — Assets. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/idr/v1/assets/_search name: idr-v1-assets-search description: REST surface for idr-v1-assets-search. operations: - method: POST name: searchassets description: Search assets call: insightidr-assets.searchassets with: index: rest.index size: rest.size body: rest.body outputParameters: - type: object mapping: $. - path: /v1/idr/v1/assets/{rrn} name: idr-v1-assets-rrn description: REST surface for idr-v1-assets-rrn. operations: - method: GET name: findassetbyrrn description: Get asset by RRN call: insightidr-assets.findassetbyrrn with: rrn: rest.rrn outputParameters: - type: object mapping: $. - type: mcp namespace: insightidr-assets-mcp port: 9090 transport: http description: MCP adapter for InsightIDR API — Assets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: rapid7-searchassets description: Search assets hints: readOnly: false destructive: false idempotent: false call: insightidr-assets.searchassets with: index: tools.index size: tools.size body: tools.body outputParameters: - type: object mapping: $. - name: rapid7-findassetbyrrn description: Get asset by RRN hints: readOnly: true destructive: false idempotent: true call: insightidr-assets.findassetbyrrn with: rrn: tools.rrn outputParameters: - type: object mapping: $.