Secret Validation Rules

Update the specified Static Secrets Validation Rule.

patch/api/v1/secret-validation-rules/static-secrets/{ruleId}

Path parameters

ruleIdstring uuid required

The ID of the Static Secrets Validation Rule to update.

Request body

namestring

The updated name of the Static Secrets Validation Rule.

descriptionstring nullable

The updated description of the Static Secrets Validation Rule.

environmentstring nullable

The slug of the environment to scope this rule to. Pass null to enforce the rule in every environment of the project.

secretPathstring

The secret path to scope this rule to. Supports glob patterns such as /apps/**.

isActiveboolean

Whether the rule is enforced. An inactive rule is kept but ignored.

Response

Default Response

Changes

Changed in 2 of the 38 revisions of this API.25

  • f66a9641924024See the full diff
    • ●

      removed the request property /

      request-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      endpoint added

      endpoint-added