mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fixes missing TLPLabel type for TLPLabel constants
This commit is contained in:
parent
8dd4cb4fa8
commit
eb60aeb4dd
1 changed files with 10 additions and 10 deletions
|
|
@ -26,23 +26,23 @@ type TLPLabel string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// TLPLabelUnlabeled is the 'UNLABELED' policy.
|
// TLPLabelUnlabeled is the 'UNLABELED' policy.
|
||||||
TLPLabelUnlabeled = "UNLABELED"
|
TLPLabelUnlabeled TLPLabel = "UNLABELED"
|
||||||
// TLPLabelWhite is the 'WHITE' policy.
|
// TLPLabelWhite is the 'WHITE' policy.
|
||||||
TLPLabelWhite = "WHITE"
|
TLPLabelWhite TLPLabel = "WHITE"
|
||||||
// TLPLabelGreen is the 'GREEN' policy.
|
// TLPLabelGreen is the 'GREEN' policy.
|
||||||
TLPLabelGreen = "GREEN"
|
TLPLabelGreen TLPLabel = "GREEN"
|
||||||
// TLPLabelAmber is the 'AMBER' policy.
|
// TLPLabelAmber is the 'AMBER' policy.
|
||||||
TLPLabelAmber = "AMBER"
|
TLPLabelAmber TLPLabel = "AMBER"
|
||||||
// TLPLabelRed is the 'RED' policy.
|
// TLPLabelRed is the 'RED' policy.
|
||||||
TLPLabelRed = "RED"
|
TLPLabelRed TLPLabel = "RED"
|
||||||
)
|
)
|
||||||
|
|
||||||
var tlpLabelPattern = alternativesUnmarshal(
|
var tlpLabelPattern = alternativesUnmarshal(
|
||||||
TLPLabelUnlabeled,
|
string(TLPLabelUnlabeled),
|
||||||
TLPLabelWhite,
|
string(TLPLabelWhite),
|
||||||
TLPLabelGreen,
|
string(TLPLabelGreen),
|
||||||
TLPLabelAmber,
|
string(TLPLabelAmber),
|
||||||
TLPLabelRed,
|
string(TLPLabelRed),
|
||||||
)
|
)
|
||||||
|
|
||||||
// JSONURL is an URL to JSON document.
|
// JSONURL is an URL to JSON document.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue