ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Osv.Types

Description

The advisory-range vocabulary of the OSV pipeline.

Ecluse.Core.Osv.Advisory and Ecluse.Core.Osv.Compile write these bounds into the compiled artifact, and Ecluse.Core.Cve and Ecluse.Core.Rules read them back. The vocabulary lives apart from both so the reading side never imports the writing side.

Synopsis

Documentation

data UpperBound Source #

Where an affected interval closes. An advisory states one upper bound or none, so no segment can carry two.

Constructors

FixedBefore Text

Exclusive: affected below this version, which is itself the fix.

LastAffected Text

Inclusive: affected up to and including this version.

Unbounded

The interval never closes.

Instances

Instances details
Show UpperBound Source # 
Instance details

Defined in Ecluse.Core.Osv.Types

Eq UpperBound Source # 
Instance details

Defined in Ecluse.Core.Osv.Types