From a09fc0c353a10f3d2929b5f99c185995cd65ae5a Mon Sep 17 00:00:00 2001 From: 0xC0FFEEEE <119874251+0xC0FFEEEE@users.noreply.github.com> Date: Thu, 12 Jun 2025 13:19:59 +0100 Subject: [PATCH] Allow a score of 0 A risk score of zero is desirable for informational intermediate findings, or where risk score is set within the SPL. --- contentctl/objects/rba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentctl/objects/rba.py b/contentctl/objects/rba.py index 4d923c67..225ea3ab 100644 --- a/contentctl/objects/rba.py +++ b/contentctl/objects/rba.py @@ -6,7 +6,7 @@ from pydantic import BaseModel, Field, model_serializer -RiskScoreValue_Type = Annotated[int, Field(ge=1, le=100)] +RiskScoreValue_Type = Annotated[int, Field(ge=0, le=100)] class RiskObjectType(str, Enum):