> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blindsight.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Suggest Rule From Event Scan Finding

> Promote a scan Text-Analysis finding to a draft (disabled) custom rule.



## OpenAPI

````yaml /api-reference/openapi.json post /api/runtime-security/apps/{app_uuid}/scans/{scan_uuid}/findings/{finding_id}/suggest-rule
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
  description: >-
    The full Blindsight REST surface, generated from the running application.
    Replace the server host with your own deployment.


    For the Runtime Security integration surface (scan, proxy, tool calls) see
    the Runtime Security spec, which is hand written and carries worked
    examples.
servers:
  - url: https://api.your-blindsight.com
    description: Your Blindsight deployment
security: []
paths:
  /api/runtime-security/apps/{app_uuid}/scans/{scan_uuid}/findings/{finding_id}/suggest-rule:
    post:
      tags:
        - runtime-security-apps
      summary: Suggest Rule From Event Scan Finding
      description: Promote a scan Text-Analysis finding to a draft (disabled) custom rule.
      operationId: >-
        suggest_rule_from_event_scan_finding_api_runtime_security_apps__app_uuid__scans__scan_uuid__findings__finding_id__suggest_rule_post
      parameters:
        - name: app_uuid
          in: path
          required: true
          schema:
            type: string
            title: App Uuid
        - name: scan_uuid
          in: path
          required: true
          schema:
            type: string
            title: Scan Uuid
        - name: finding_id
          in: path
          required: true
          schema:
            type: integer
            title: Finding Id
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````