orgs

Create a package vulnerability policy.

Create a package vulnerability policy.

post/orgs/{org}/vulnerability-policy/

Request body

allow_unknown_severityboolean

Denotes whether vulnerabilities detected by a security scan with an unknown severity are permitted by this policy.

descriptionstring nullable
min_severity'Low' | 'Medium' | 'High' | 'Critical'
namestring required
on_violation_quarantineboolean
package_query_stringstring nullable

Response

Created

allow_unknown_severityboolean

Denotes whether vulnerabilities detected by a security scan with an unknown severity are permitted by this policy.

created_atstring date-time
descriptionstring nullable
min_severity'Low' | 'Medium' | 'High' | 'Critical'
namestring required
on_violation_quarantineboolean
package_query_stringstring nullable
slug_permstring slug
updated_atstring date-time

Changes