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

# Update

> Update the specified Secret Scanning Finding.



## OpenAPI

````yaml PATCH /api/v2/secret-scanning/findings/{findingId}
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v2/secret-scanning/findings/{findingId}:
    patch:
      tags:
        - Secret Scanning
      description: Update the specified Secret Scanning Finding.
      operationId: updateSecretScanningFinding
      parameters:
        - schema:
            type: string
            minLength: 1
          in: path
          name: findingId
          required: true
          description: The ID of the Secret Scanning Finding to update.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                    - resolved
                    - unresolved
                    - false-positive
                    - ignore
                  description: The updated status of the specified Secret Scanning Finding.
                remarks:
                  type: string
                  nullable: true
                  description: Remarks pertaining to the status of this finding.
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  finding:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                          dataSourceName:
                            type: string
                          resourceName:
                            type: string
                          rule:
                            type: string
                          severity:
                            type: string
                          status:
                            type: string
                            default: unresolved
                          remarks:
                            type: string
                            nullable: true
                          fingerprint:
                            type: string
                          projectId:
                            type: string
                          scanId:
                            type: string
                            format: uuid
                            nullable: true
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                          resourceType:
                            type: string
                            enum:
                              - repository
                          dataSourceType:
                            type: string
                            enum:
                              - github
                          details:
                            type: object
                            properties:
                              description:
                                type: string
                              startLine:
                                type: number
                              endLine:
                                type: number
                              startColumn:
                                type: number
                              endColumn:
                                type: number
                              file:
                                type: string
                              link:
                                type: string
                              symlinkFile:
                                type: string
                              commit:
                                type: string
                              entropy:
                                type: number
                              author:
                                type: string
                              email:
                                type: string
                              date:
                                type: string
                              message:
                                type: string
                              tags:
                                type: array
                                items:
                                  type: string
                              ruleID:
                                type: string
                              fingerprint:
                                type: string
                            required:
                              - description
                              - startLine
                              - endLine
                              - startColumn
                              - endColumn
                              - file
                              - link
                              - symlinkFile
                              - commit
                              - entropy
                              - author
                              - email
                              - date
                              - message
                              - tags
                              - ruleID
                              - fingerprint
                            additionalProperties: false
                        required:
                          - id
                          - dataSourceName
                          - resourceName
                          - rule
                          - severity
                          - fingerprint
                          - projectId
                          - createdAt
                          - updatedAt
                          - resourceType
                          - dataSourceType
                          - details
                        additionalProperties: false
                        title: GitHub
                      - type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                          dataSourceName:
                            type: string
                          resourceName:
                            type: string
                          rule:
                            type: string
                          severity:
                            type: string
                          status:
                            type: string
                            default: unresolved
                          remarks:
                            type: string
                            nullable: true
                          fingerprint:
                            type: string
                          projectId:
                            type: string
                          scanId:
                            type: string
                            format: uuid
                            nullable: true
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                          resourceType:
                            type: string
                            enum:
                              - repository
                          dataSourceType:
                            type: string
                            enum:
                              - bitbucket
                          details:
                            type: object
                            properties:
                              description:
                                type: string
                              startLine:
                                type: number
                              endLine:
                                type: number
                              startColumn:
                                type: number
                              endColumn:
                                type: number
                              file:
                                type: string
                              link:
                                type: string
                              symlinkFile:
                                type: string
                              commit:
                                type: string
                              entropy:
                                type: number
                              author:
                                type: string
                              email:
                                type: string
                              date:
                                type: string
                              message:
                                type: string
                              tags:
                                type: array
                                items:
                                  type: string
                              ruleID:
                                type: string
                              fingerprint:
                                type: string
                            required:
                              - description
                              - startLine
                              - endLine
                              - startColumn
                              - endColumn
                              - file
                              - link
                              - symlinkFile
                              - commit
                              - entropy
                              - author
                              - email
                              - date
                              - message
                              - tags
                              - ruleID
                              - fingerprint
                            additionalProperties: false
                        required:
                          - id
                          - dataSourceName
                          - resourceName
                          - rule
                          - severity
                          - fingerprint
                          - projectId
                          - createdAt
                          - updatedAt
                          - resourceType
                          - dataSourceType
                          - details
                        additionalProperties: false
                        title: Bitbucket
                      - type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                          dataSourceName:
                            type: string
                          resourceName:
                            type: string
                          rule:
                            type: string
                          severity:
                            type: string
                          status:
                            type: string
                            default: unresolved
                          remarks:
                            type: string
                            nullable: true
                          fingerprint:
                            type: string
                          projectId:
                            type: string
                          scanId:
                            type: string
                            format: uuid
                            nullable: true
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                          resourceType:
                            type: string
                            enum:
                              - project
                          dataSourceType:
                            type: string
                            enum:
                              - gitlab
                          details:
                            type: object
                            properties:
                              description:
                                type: string
                              startLine:
                                type: number
                              endLine:
                                type: number
                              startColumn:
                                type: number
                              endColumn:
                                type: number
                              file:
                                type: string
                              link:
                                type: string
                              symlinkFile:
                                type: string
                              commit:
                                type: string
                              entropy:
                                type: number
                              author:
                                type: string
                              email:
                                type: string
                              date:
                                type: string
                              message:
                                type: string
                              tags:
                                type: array
                                items:
                                  type: string
                              ruleID:
                                type: string
                              fingerprint:
                                type: string
                            required:
                              - description
                              - startLine
                              - endLine
                              - startColumn
                              - endColumn
                              - file
                              - link
                              - symlinkFile
                              - commit
                              - entropy
                              - author
                              - email
                              - date
                              - message
                              - tags
                              - ruleID
                              - fingerprint
                            additionalProperties: false
                        required:
                          - id
                          - dataSourceName
                          - resourceName
                          - rule
                          - severity
                          - fingerprint
                          - projectId
                          - createdAt
                          - updatedAt
                          - resourceType
                          - dataSourceType
                          - details
                        additionalProperties: false
                        title: GitLab
                required:
                  - finding
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````