Seclib.Schema.Types
validAssetType — ⚪ definition
def · source
Validation predicate for asset type strings. Go source: internal/core/kernel/asset_type.go regex
^[a-z0-9][a-z0-9_.-]*$
def validAssetType (s : String) : Bool
Severity.toNat — ⚪ definition
def · source
def Severity.toNat : Severity → Nat
| .info => 1
| .low => 2
| .medium => 3
| .high => 4
| .critical => 5
— ⚪ definition
instance · source
instance : Ord Severity where
— ⚪ definition
instance · source
instance : LE Severity where
— ⚪ definition
instance · source
instance (a b : Severity) : Decidable (a ≤ b)
Severity.max — ⚪ definition
def · source
def Severity.max (a b : Severity) : Severity
ControlType.requiresCELValidation — ⚪ definition
def · source
def ControlType.requiresCELValidation : ControlType → Bool
| .unsafeState => true
| .marker => true
| _ => false
ControlType.isEvaluatable — ⚪ definition
def · source
def ControlType.isEvaluatable : ControlType → Bool
| .unsafeState | .unsafeDuration | .unsafeRecurrence
| .prefixExposure | .marker => true
Operator.requiresValue — ⚪ definition
def · source
def Operator.requiresValue : Operator → Bool
| .missing => false
| .present => false
| .listEmpty => false
| _ => true
FieldPath — ⚪ definition
structure · source
FieldPath Go source: internal/core/predicate/field_path.go:14 Dot-separated property path, eagerly split into segments
structure FieldPath where
— ⚪ definition
instance · source
instance : BEq FieldPath where
— ⚪ definition
instance · source
instance : DecidableEq FieldPath
FieldPath.raw — ⚪ definition
def · source
def FieldPath.raw (fp : FieldPath) : String
FieldPath.hasPathPrefix — ⚪ definition
def · source
def FieldPath.hasPathPrefix (fp : FieldPath) (pfx : String) : Bool
FieldPath.stripPropertiesPrefix — ⚪ definition
def · source
def FieldPath.stripPropertiesPrefix (fp : FieldPath) : List String