mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +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 (
|
||||
// TLPLabelUnlabeled is the 'UNLABELED' policy.
|
||||
TLPLabelUnlabeled = "UNLABELED"
|
||||
TLPLabelUnlabeled TLPLabel = "UNLABELED"
|
||||
// TLPLabelWhite is the 'WHITE' policy.
|
||||
TLPLabelWhite = "WHITE"
|
||||
TLPLabelWhite TLPLabel = "WHITE"
|
||||
// TLPLabelGreen is the 'GREEN' policy.
|
||||
TLPLabelGreen = "GREEN"
|
||||
TLPLabelGreen TLPLabel = "GREEN"
|
||||
// TLPLabelAmber is the 'AMBER' policy.
|
||||
TLPLabelAmber = "AMBER"
|
||||
TLPLabelAmber TLPLabel = "AMBER"
|
||||
// TLPLabelRed is the 'RED' policy.
|
||||
TLPLabelRed = "RED"
|
||||
TLPLabelRed TLPLabel = "RED"
|
||||
)
|
||||
|
||||
var tlpLabelPattern = alternativesUnmarshal(
|
||||
TLPLabelUnlabeled,
|
||||
TLPLabelWhite,
|
||||
TLPLabelGreen,
|
||||
TLPLabelAmber,
|
||||
TLPLabelRed,
|
||||
string(TLPLabelUnlabeled),
|
||||
string(TLPLabelWhite),
|
||||
string(TLPLabelGreen),
|
||||
string(TLPLabelAmber),
|
||||
string(TLPLabelRed),
|
||||
)
|
||||
|
||||
// JSONURL is an URL to JSON document.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue