PolicyThresholds
Fields
Risk score thresholds for GO/NO_GO classification.
4 fields
go_threshold- number
no_go_threshold- number
pass_rate_hard_floor_factor- number
pass_rate_minimum- number
Raw schema (JSON)
{
"description": "Risk score thresholds for GO/NO_GO classification.",
"properties": {
"go_threshold": {
"default": 20,
"maximum": 100,
"minimum": 0,
"title": "Go Threshold",
"type": "number"
},
"no_go_threshold": {
"default": 55,
"maximum": 100,
"minimum": 0,
"title": "No Go Threshold",
"type": "number"
},
"pass_rate_hard_floor_factor": {
"default": 0.7,
"maximum": 1,
"minimum": 0,
"title": "Pass Rate Hard Floor Factor",
"type": "number"
},
"pass_rate_minimum": {
"default": 90,
"maximum": 100,
"minimum": 0,
"title": "Pass Rate Minimum",
"type": "number"
}
},
"title": "PolicyThresholds",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”3 endpoints send or return this schema, on its own or inside another schema.
POST/api/v1/release-gate-policies— Create PolicyPATCH/api/v1/release-gate-policies/{policy_id}— Update PolicyPOST/api/v1/release-gate-policies/simulate— Simulate Policy
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON