Contents

LoupePolicy

When a document is sent for review. Leave it out for our default. A probability at or above fail is FAILED, at or above flag is FLAG; below auto it is AUTO_APPROVE when auto_approve is true, and APPROVE otherwise. The thresholds are between 0 and 1 and rise from auto to flag to fail.

Fields

  • name required Type: string
  • version required Type: integer
  • fail required Type: number
  • flag required Type: number
  • auto required Type: number
  • auto_approve required Type: boolean
  • weights optional Type: object

    How much each kind of finding counts, by the detector findings name; 1 unless given.

  • disabled optional Type: string[]

    Kinds of finding not to look for, by detector.

  • loupe_version optional Type: string

    The Loupe version checks under this policy run, such as 1.5.6. Left out, they run your organisation's version.

Example
{
  "name": "lenient",
  "version": 1,
  "fail": 0.95,
  "flag": 0.6,
  "auto": 0.15,
  "auto_approve": true,
  "weights": {},
  "disabled": []
}

Where you'll see it