Skip to main content
PATCH
Update Policy

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Path Parameters

policy_id
integer
required

The ID of the policy

Body

application/json
policy_type
enum<string>
Available options:
BLAST,
scan,
false_positive,
fix
description
string
Minimum string length: 10
name
string
Minimum string length: 3
cwes
string[] | null
excludes
string[] | null
projects
(string | integer)[] | null

Project names or IDs that scope the policy. Empty or null makes the policy company-wide.

active
boolean
instruction_type
enum<string>
Available options:
overwrite,
append
glob_pattern
string | null
Maximum string length: 255
guidance_text
string | null
Maximum string length: 3000

Response

Policy updated successfully

policy
object