', '<component>').replace('lang=""', 'lang="en"') # TODO: Remove the hacks
+ if not inline_style_start_seen and cand.strip() == '':
+ inline_style_end_seen = True
+ continue # ignore all automatic inline styles from generator (pandoc)
+
+ if inline_style_end_seen and not base_style_seen:
+ if is_base_style_rel_line(cand):
+ cand = '' + NL
+ skin_style_seen = True
+ lines.append(cand)
+ else:
+ print(f'diff-{STYLE_SKIN_REPLACE_LINE}-')
+ print(f'diff+{cand.strip()}+')
+ raise RuntimeError(f'error in parser at skin style detect[slot {slot}]: ({cand.strip()})')
+ continue
+
+ if skin_style_seen and not header_start_seen:
+ if is_header_start_line(cand):
+ header_start_seen = True
+ lines.append(cand)
+ continue
+
+ if header_start_seen and not header_end_seen:
+ if is_header_end_line(cand):
+ header_end_seen = True
+ continue # omit all found html/body/header entries besides start
+
+ if header_start_seen and not logo_replaced:
+ if is_logo_line(cand):
+ cand = replace_logo_line(cand) + NL + '' + NL # TODO: horizontal rule should go in header
+ logo_replaced = True
+ lines.append(cand)
+ continue
+
+ if logo_replaced and not title_seen:
+ if is_document_title_line(cand):
+ # cand = cand.replace('', '
')
+ title_seen = True
+ lines.append(cand)
+ continue
+
+ if title_seen and not type_seen:
+ if is_document_type_line(cand):
+ # cand = cand.replace('
', '
')
+ type_seen = True
+ lines.append(cand)
+ continue
+
+ if type_seen and not date_seen:
+ if is_document_date_line(cand):
+ # cand = cand.replace('
', '
')
+ date_seen = True
+ lines.append(cand)
+ continue
+
+ if date_seen and not this_stage_seen:
+ if is_document_this_stage_line(cand):
+ this_stage_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if this_stage_seen and not previous_stage_seen:
+ if is_document_previous_stage_line(cand):
+ previous_stage_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+ cand = cand.replace('
', '
')
+
+ if previous_stage_seen and not latest_stage_seen:
+ if is_document_latest_stage_line(cand):
+ latest_stage_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+ cand = cand.replace('
', '
')
+
+ if latest_stage_seen and not technical_committee_seen:
+ if is_document_technical_committee_line(cand):
+ technical_committee_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+ cand = cand.replace('
', '
')
+
+ if technical_committee_seen and not chairs_seen:
+ if is_document_chairs_line(cand):
+ chairs_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if chairs_seen and not editors_seen:
+ if is_document_editors_line(cand):
+ editors_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+ cand = cand.replace('
', '
')
+
+ if editors_seen and not additional_artifacts_seen:
+ if is_document_additional_artifacts_line(cand):
+ print('additional_artifacts_seen')
+ additional_artifacts_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+ cand = cand.replace('
', '
')
+
+ if additional_artifacts_seen and not abstract_seen:
+ if is_document_abstract_line(cand):
+ print('abstract_seen')
+ abstract_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if abstract_seen and not status_seen:
+ if is_document_status_line(cand):
+ print('status_seen')
+ status_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if status_seen and not citation_format_seen:
+ if is_document_citation_format_line(cand):
+ print('citation_format_seen')
+ citation_format_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if citation_format_seen and not notices_seen:
+ if is_document_notices_line(cand):
+ print('notices_seen')
+ notices_seen = True
+ # cand = cand.replace('
', '
')
+ lines.append(cand)
+ continue
+
+ if notices_seen and not toc_start_seen:
+ if start_of_toc_in(cand):
+ print('toc_start_seen')
+ toc_start_seen = True
+ lines.append(cand)
+ continue
+
+ if toc_start_seen and not toc_end_seen:
+ if end_of_toc_in(cand):
+ print('toc_end_seen')
+ toc_end_seen = True
+ cand = generate_toc(toc_db) + NL + cand
+ lines.append(cand)
+ continue
+
+ lines.append(cand)
+
+ # remove any trailing blank line
+ while lines[-1] == NL:
+ del lines[-1]
+
+ BUILD_AT.mkdir(parents=True, exist_ok=True)
+ dump_html_assembly(lines, BUILD_AT / 'injected.html')
+
+ return 0
+
+
+if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))
diff --git a/csaf_2.1/prose/edit/bin/volatile.py b/csaf_2.1/prose/edit/bin/volatile.py
new file mode 100755
index 00000000..6ce0760e
--- /dev/null
+++ b/csaf_2.1/prose/edit/bin/volatile.py
@@ -0,0 +1,575 @@
+#! /usr/bin/env python
+"""Volatile script file for prototyping that may take on different behaviors in time.
+
+This one off script is a constant place to document the early stages of tools for processing the editable
+sources and build the delivery items.
+
+Currently impersonating phase zero concatenate and map from the initial sources to the GFM+gh_cosmetics file.
+"""
+import json
+import pathlib
+import re
+import os
+import sys
+from typing import Union
+
+import yaml
+
+ENCODING = 'utf-8'
+NL = '\n'
+CB_END = '}'
+COLON = ':'
+DASH = '-'
+DOT = '.'
+FULL_STOP = '.'
+HASH = '#'
+PARA = '§'
+SEMI = ';'
+SPACE = ' '
+TM = '™'
+
+# Optionally dump the look-up tables (LUT)s for section display and label:
+DUMP_LUT = bool(os.getenv('DUMP_LUT', ''))
+
+# Configuration and runtime parameter candidates:
+BINDER_AT = pathlib.Path('etc') / 'bind.txt'
+SOURCE_AT = pathlib.Path('src')
+BUILD_AT = pathlib.Path('build')
+SECTION_DISPLAY_TO_LABEL_AT = pathlib.Path('etc') / 'section-display-to-label.json'
+SECTION_LABEL_TO_DISPLAY_AT = pathlib.Path('etc') / 'section-label-to-display.json'
+EG_GLOBAL_TO_LABEL_AT = pathlib.Path('etc') / 'example-global-to-local.json'
+EG_LABEL_TO_GLOBAL_AT = pathlib.Path('etc') / 'example-local-to-global.json'
+
+# Parsers and magical literals:
+IS_CITE_REF = 'cite'
+CITE_REF_DETECT = re.compile(r'\[(?Pcite)\]\(#(?P[^)]+)\)') # [cite](#label) pattern
+IS_EG_REF = 'eg'
+EG_REF_DETECT = re.compile(r'\[(?Peg)\]\(#(?P[^)]+)\)') # [eg](#label) pattern
+IS_SEC_REF = 'sec'
+SEC_REF_DETECT = re.compile(r'\[(?Psec)\]\(#(?P[^)1-9]+)\)') # [sec](#label) pattern
+MD_REF_DETECT = re.compile(r'\[(?P[^]]+)\]\(#(?P[^)]+)\)') # [ref](#anylabel) pattern
+
+# Detecting code block references with label values
+# e.g. ' # ((#run-object)).'
+SEC_LABEL_BRACKET_CB_DETECT = re.compile(r'\ +#\ +[^(]+\((?P\(#(?P[0-9a-z-]+)\))\)\.')
+# e.g. ' # (#run-object).'
+SEC_LABEL_FREE_CB_DETECT = re.compile(r'\ +#\ +[^(]+(?P\(#(?P[0-9a-z-]+)\))\.')
+
+# Reverse detection patterns for documentation purposes
+# e.g. ' # A run object (§3.14).' or ' # (§3.1.2).'
+SEC_DISP_BRACKET_CB_DETECT = re.compile(r'\ +#\ +[^(]+\((?P§[0-9.]+)\)\.')
+SEC_DISP_FREE_CB_DETECT = re.compile(r'\ +#\ +[^(]+(?P§[0-9.]+)\.') # e.g. ' # See §3.14.14.'
+
+# Specific tokens:
+HC_BEG = ''
+YAML_SEP = '---'
+TOK_TOC = '(#$thing$)' # Transform phase ToC label string template replacing $thing$ with the old value
+TOK_SEC = " " # Transform phase section title label string template ($thing$ -> old value)
+TOK_LAB = '{#'
+H = '#'
+YAML_X_SEP = DASH * 7
+TOC_HEADER = f"""{YAML_X_SEP}
+
+# Table of Contents
+"""
+CLEAN_MD_START = '# Introduction'
+
+SECTION_DISPLAY_TO_LABEL = {}
+SECTION_LABEL_TO_DISPLAY: dict[str, str] = {}
+SEC_LABEL_TEXT = {} # Mapping section labels to the display text
+
+TOC_TEMPLATE = {
+ 1: '$sec_cnt_disp$ [$text$](#$label$) ',
+ 2: '\t$sec_cnt_disp$ [$text$](#$label$) ',
+ 3: '\t\t$sec_cnt_disp$ [$text$](#$label$) ',
+ 4: '\t\t\t$sec_cnt_disp$ [$text$](#$label$) ',
+ 5: '\t\t\t\t$sec_cnt_disp$ [$text$](#$label$) ',
+}
+
+TOK_EG = " " # Transform phase example title label string template ($thing$ -> old value)
+EG_LABEL_TEXT: dict[str, str] = {} # Mapping example labels to the display text
+
+# This value leads to empty line needed on GitHub to respect the new line for non-numerically starting lines
+TOC_VERTICAL_SPACER = ''
+
+# Data interface robustness hacks:
+CHILDREN = 'children'
+ENUMERATE = 'enumerate'
+LABEL = 'label'
+TOC = 'toc'
+
+CS_OF_SLOT: list[Union[str, None]] = []
+
+CITE_COSMETICS_TEMPLATE = '**\\[** **$code$\\]** $text$'
+CITATION_SOURCES = ('introduction-03-normative-references.md', 'introduction-04-informative-references.md')
+GLOSSARY_SOURCES = ('introduction-02-terminology-glossary.md',)
+
+# Type declarations:
+META_TOC_TYPE = dict[str, dict[str, Union[bool, str, list[dict[str, str]]]]]
+
+
+def load_binder(binder_at: Union[str, pathlib.Path]) -> list[pathlib.Path]:
+ """Load the linear binder text file into a list of file paths."""
+ with open(binder_at, 'rt', encoding=ENCODING) as resource:
+ return [pathlib.Path(entry.strip()) for entry in resource.readlines() if entry.strip()]
+
+
+def end_of_toc_in(text: str) -> bool:
+ """Detect the end of the table of contents."""
+ return text.startswith('#') and ' Introduction' in text
+
+
+def detect_meta(text_lines: list[str]) -> tuple[META_TOC_TYPE, list[str]]:
+ """Extract any YAML data from top, remove used lines from text lines, and yield meta as well as remaining lines."""
+ meta_lines = []
+ if text_lines[0].startswith(HC_BEG) and text_lines[1].startswith(YAML_SEP):
+ for line in text_lines[2:]:
+ if line.startswith(YAML_SEP):
+ break
+ meta_lines.append(line)
+
+ from_here = len(meta_lines) + 4
+ if from_here > 4:
+ text_lines = text_lines[from_here:]
+
+ return yaml.safe_load(''.join(meta_lines)) if meta_lines else {}, text_lines
+
+
+def load_document(path: Union[str, pathlib.Path]) -> tuple[META_TOC_TYPE, list[str]]:
+ """Load the text file into a list of strings and harvest any YAML meta info (if present remove the lines)."""
+ with open(path, 'rt', encoding=ENCODING) as resource:
+ return detect_meta(resource.readlines())
+
+
+def dump_assembly(text_lines: list[str], to_path: Union[str, pathlib.Path]) -> None:
+ """Dump the lines of text into the text file at path."""
+ with open(to_path, 'wt', encoding=ENCODING) as resource:
+ resource.write(''.join(text_lines))
+
+
+def label_derive_from(text: str) -> str:
+ """Transform text to kebab style conventional label assuming no newlines present."""
+ good_nuff = (' ', '.', ',', ';', '?', '!', '_', '(', ')', '[', ']', '{', '}', '<', '>', '\\', '/', '$', ':')
+ slug = text.strip()
+ for bad in good_nuff:
+ slug = slug.replace(bad, '-')
+ parts = slug.split('-')
+ slug = '-'.join(s for s in parts if s and s != '-')
+ return slug.lower()
+
+
+def label_in(text: str) -> bool:
+ """Detect if the text line contains a label."""
+ return '](#' in text
+
+
+def example_local_number(text: str) -> int:
+ """Harvest integer local number of example or zero (0) if failed."""
+ ls_text = text.lstrip()
+ if ls_text.startswith('*Example ') or ls_text.startswith('*Examples '):
+ rest = ls_text.split(SPACE, 1)[1]
+ de_colon = rest.split(COLON, 1)[0]
+ number = de_colon.split(SPACE, 1)[0] if SPACE in de_colon else de_colon
+ try:
+ return int(number)
+ except ValueError:
+ pass
+ return 0
+
+
+def example_in(text: str) -> bool:
+ """Detect if the text line contains a magic example token."""
+ return example_local_number(text) > 0
+
+
+def code_block_label_in(text: str) -> bool:
+ """Detect if the text line contains a code block section label."""
+ return '(#' in text and ' # ' in text
+
+
+def load_label_to_display_lut(path: Union[str, pathlib.Path] = SECTION_LABEL_TO_DISPLAY_AT) -> dict[str, str]:
+ """Load the LUT for section labels -> display."""
+ with pathlib.Path(path).open('rt', encoding=ENCODING) as handle:
+ return json.load(handle)
+
+
+def load_display_to_label_lut(path: Union[str, pathlib.Path] = SECTION_DISPLAY_TO_LABEL_AT) -> dict[str, str]:
+ """Load the LUT for section display -> labels."""
+ with pathlib.Path(path).open('rt', encoding=ENCODING) as handle:
+ return json.load(handle)
+
+
+def load_eg_label_to_global_lut(path: Union[str, pathlib.Path] = EG_LABEL_TO_GLOBAL_AT) -> dict[str, str]:
+ """Load the LUT for example labels -> global."""
+ with pathlib.Path(path).open('rt', encoding=ENCODING) as handle:
+ return json.load(handle)
+
+
+def load_eg_global_to_label_lut(path: Union[str, pathlib.Path] = EG_GLOBAL_TO_LABEL_AT) -> dict[str, str]:
+ """Load the LUT for example global -> labels."""
+ with pathlib.Path(path).open('rt', encoding=ENCODING) as handle:
+ return json.load(handle)
+
+
+def main(argv: list[str]) -> int:
+ """Drive the assembly."""
+
+ bind_seq_path = pathlib.Path(argv[0]) if argv else BINDER_AT
+ binder = load_binder(bind_seq_path)
+ for resource in binder:
+ if not (SOURCE_AT / resource).is_file():
+ print(f'Problem reading {resource}')
+ return 1
+
+ display_from = load_label_to_display_lut()
+ eg_global_from = load_eg_label_to_global_lut()
+
+ lines: list[str] = []
+ meta_hooks = {}
+ first_meta_slot = None
+ for resource in binder:
+ meta, part_lines = load_document(SOURCE_AT / resource)
+ if part_lines[-1] != NL:
+ part_lines.append(NL)
+ if meta:
+ meta_hooks[len(lines)] = meta
+ meta_hooks[len(lines) + len(part_lines) - 1] = {}
+ if first_meta_slot is None:
+ first_meta_slot = len(lines) + len(part_lines) - 1
+
+ if resource.name in CITATION_SOURCES: # TODO: citation management -> class
+ patched = []
+ in_citation = False
+ for line in part_lines:
+ if line.startswith(HASH):
+ patched.append(line)
+ continue
+ if line.strip() and not line.startswith(COLON):
+ # the term -> citation code, the visible text in the square brackets
+ in_citation = True
+ # prepare the data triplet
+ code = line.strip()
+ label = code.replace(COLON, SEMI).rstrip(TM)
+ text = ''
+ continue
+ if in_citation:
+ if line.startswith(COLON):
+ text += line.lstrip(COLON).strip()
+ continue
+ if line.strip():
+ text += SPACE + line.strip()
+ continue
+ if not line.strip():
+ citation = (
+ CITE_COSMETICS_TEMPLATE.replace('$label$', label)
+ .replace('$code$', code)
+ .replace('$text$', text)
+ + NL
+ )
+ in_citation = False
+ patched.append(citation)
+ patched.append(line)
+ continue
+ else:
+ patched.append(line)
+ part_lines = [a for a in patched]
+
+ if resource.name in GLOSSARY_SOURCES: # TODO: glossary management -> class
+ patched = ['' + NL]
+ in_definition = False
+ for line in part_lines:
+ if not in_definition and line.strip() and not line.startswith(COLON):
+ # the term -> glossary term, the visible text in the square brackets for refs
+ in_definition = True
+ # prepare the data triplet
+ term = line.strip()
+ label = 'def;' + label_derive_from(term)
+ definition = ''
+ continue
+ if in_definition:
+ if line.startswith(COLON):
+ definition += line.lstrip(COLON).strip()
+ # HACK A DID ACK
+ definition = (
+ definition.replace('_Examples_', 'Examples ')
+ .replace('_Example_', 'Example ')
+ .replace('**Notes**', 'Notes ')
+ .replace('**Note**', 'Note ')
+ )
+ continue
+ if line.strip():
+ definition += NL + ' ' * 6 + line.strip()
+ # HACK A DID ACK
+ definition = (
+ definition.replace('_Examples_', 'Examples ')
+ .replace('_Example_', 'Example ')
+ .replace('**Notes**', 'Notes ')
+ .replace('**Note**', 'Note ')
+ )
+ continue
+ if not line.strip():
+ for ref in MD_REF_DETECT.finditer(definition):
+ if ref:
+ # Found ref in markdown format
+ found = ref.groupdict()
+ text = found['text']
+ target = found['target']
+ md_ref = f'[{text}](#{target})'
+ html_ref = f'{text} '
+ definition = definition.replace(md_ref, html_ref)
+
+ item = f'{" " * 2}{term} \n{" " * 2}{definition} \n'
+ in_definition = False
+ patched.append(item)
+ continue
+ else:
+ patched.append(line)
+ patched.append(' ' + NL + NL)
+ part_lines = [a for a in patched]
+
+ lines.extend(part_lines)
+
+ # TODO: counter management -> class
+ lvl_min, lvl_sup = 1, 7
+ sec_cnt = {f'{H * level} ': 0 for level in range(lvl_min, lvl_sup)}
+ sec_lvl = {f'{H * level} ': level for level in range(lvl_min, lvl_sup)}
+ lvl_sec = {level: f'{H * level} ' for level in range(lvl_min, lvl_sup)}
+ H1 = f'{H} '
+ cur_lvl = sec_lvl[H1]
+ meta_hook = {}
+ # TODO: ToC builder -> class
+ tic_toc = [TOC_HEADER]
+ mint = []
+ did_appendix_sep = False
+ clean_headings = False
+ current_cs = None
+ CS_OF_SLOT = [None for _ in lines]
+ for slot, line in enumerate(lines):
+ if meta_hooks.get(slot) is not None:
+ meta_hook = meta_hooks[slot]
+ is_plain = True # No special meta data needed
+ if line.startswith(CLEAN_MD_START):
+ clean_headings = True
+ CS_OF_SLOT[slot] = current_cs
+ for tag in sec_cnt:
+ if line.startswith(tag) and clean_headings:
+ # manage counter
+ if not meta_hook:
+ # auto counters
+ is_plain = True
+ nxt_lvl = sec_lvl[tag]
+ sec_cnt[tag] += 1
+ if nxt_lvl < cur_lvl:
+ for level in range(nxt_lvl + 1, lvl_sup):
+ sec_cnt[lvl_sec[level]] = 0
+ sec_cnt_disp_vec = []
+ for s_tag, cnt in sec_cnt.items():
+ if cnt == 0:
+ raise RuntimeError(f'counting is hard: {sec_cnt} at {tag} for {slot}:{line.rstrip(NL)}')
+ sec_cnt_disp_vec.append(str(cnt))
+ if s_tag == tag:
+ break
+ sec_cnt_disp = FULL_STOP.join(sec_cnt_disp_vec)
+ # Hack to amend first level numeric section counter displays with a full stop - do not ask ...
+ if FULL_STOP not in sec_cnt_disp:
+ sec_cnt_disp += FULL_STOP
+ else:
+ # pull in counters from meta
+ is_plain = False
+ app_lvl = 1 # belt and braces ...
+ text = line.split(tag, 1)[1].rstrip()
+ if TOK_LAB in text:
+ # special label
+ label = text.split(TOK_LAB, 1)[1].rstrip(CB_END)
+ text = text.split(TOK_LAB, 1)[0]
+ if text == meta_hook[TOC][LABEL]:
+ sec_cnt_disp = meta_hook[TOC][ENUMERATE] # type: ignore
+ app_lvl = 1
+ elif meta_hook[TOC].get(CHILDREN):
+ for cand in meta_hook[TOC][CHILDREN]: # type: ignore
+ if text == cand[LABEL]: # type: ignore
+ sec_cnt_disp = cand[ENUMERATE] # type: ignore
+ app_lvl = 2
+
+ # manage label
+ text = line.split(tag, 1)[1].rstrip()
+ if TOK_LAB in text:
+ # special label
+ label = text.split(TOK_LAB, 1)[1].rstrip(CB_END)
+ text = text.split(TOK_LAB, 1)[0]
+ else:
+ label = label_derive_from(text)
+ clean_sec_cnt_disp = (f'{sec_cnt_disp}' if is_plain else sec_cnt_disp).rstrip(FULL_STOP)
+ SEC_LABEL_TEXT[label] = clean_sec_cnt_disp
+ SECTION_DISPLAY_TO_LABEL[clean_sec_cnt_disp] = label
+ line = tag + text + ' ' + TOK_SEC.replace('$thing$', label)
+
+ line = line.replace(tag, f'{tag}{sec_cnt_disp} ', 1) + NL
+ lines[slot] = line
+ cur_lvl = nxt_lvl
+ if not did_appendix_sep and meta_hook and slot < first_meta_slot: # type: ignore
+ tic_toc.append(TOC_VERTICAL_SPACER)
+ did_appendix_sep = True
+ toc_template = TOC_TEMPLATE[cur_lvl if not meta_hook else app_lvl]
+ tic_toc.append(
+ toc_template.replace('$sec_cnt_disp$', sec_cnt_disp)
+ .replace('$text$', text)
+ .replace('$label$', label)
+ )
+ extended = False
+ if sec_cnt_disp.upper().isupper():
+ extended = 2 if set(sec_cnt_disp).intersection('0123456789') else 1
+ if extended == 2:
+ extended = sec_cnt_disp.count(DOT) + 1
+ mint.append([list(sec_cnt.values()), extended, sec_cnt_disp, text, label])
+ current_cs = label # Update state for label in non tag lines
+ # correct the default state assignment
+ CS_OF_SLOT[slot] = current_cs # type: ignore
+
+ # Process the text display of citation refs
+ for slot, line in enumerate(lines):
+ if label_in(line):
+ for ref in CITE_REF_DETECT.finditer(line):
+ if ref:
+ # Found citation label in markdown format
+ found = ref.groupdict()
+ trigger_text = found['text']
+ if trigger_text != IS_CITE_REF:
+ raise RuntimeError(f'false positive cite ref in ({line.rstrip(NL)})')
+ label = found['label']
+ text = label.replace(';', ':')
+ sem_ref = f'[cite](#{label})'
+ evil_ref = f'\\[[{text}](#{label})\\]' # \[[GFMCMARK](#GFMCMARK)\]
+ line = line.replace(sem_ref, evil_ref)
+ lines[slot] = line
+
+ # Process the text display of example refs
+ for slot, line in enumerate(lines):
+ if example_in(line):
+ num = example_local_number(line)
+ section = CS_OF_SLOT[slot]
+ magic_label = f'{section}-eg-{num}'
+ pl_anchor = TOK_EG.replace('$thing$', magic_label)
+ line = line.rstrip(NL) + pl_anchor + NL
+ # now the UX bonus:
+ sec_disp = 'sec-' + display_from[section].replace(FULL_STOP, '-') # type: ignore
+ sec_disp_num_label = f'{sec_disp}-eg-{num}'
+ sec_disp_num_anchor = TOK_EG.replace('$thing$', sec_disp_num_label)
+ line = line.rstrip(NL) + sec_disp_num_anchor + NL
+ # now the global counter extra:
+ global_example_num = eg_global_from[magic_label]
+ global_example_num_label = f'example-{global_example_num}'
+ global_example_num_anchor = TOK_EG.replace('$thing$', global_example_num_label)
+ line = line.rstrip(NL) + global_example_num_anchor + NL
+ # Update the list of lines
+ lines[slot] = line
+
+ if label_in(line):
+ for ref in EG_REF_DETECT.finditer(line):
+ if ref:
+ # Found example label in markdown format
+ found = ref.groupdict()
+ trigger_text = found['text']
+ if trigger_text != IS_EG_REF:
+ raise RuntimeError(f'false positive example ref in ({line.rstrip(NL)})')
+ label = found['label']
+ text = label.replace(';', ':')
+ sem_ref = f'[eg](#{label})'
+ if '-eg-' not in label: # TODO - refactor and clean up
+ raise RuntimeError(f'bad label for example in ({line.rstrip(NL)})')
+ section, number = label.split('-eg-', 1)
+ if section == CS_OF_SLOT[slot]:
+ print(f'detected local reference for {label} in ({line.rstrip(NL)})')
+ evil_ref = f'\\[[{number}](#{label})\\]' # [1](#a-sec-eg-1)
+ else:
+ print(f'detected remote reference for {label} in ({line.rstrip(NL)})')
+ sec_disp = display_from[section]
+ evil_ref = (
+ f'\\[[{number} (of section {sec_disp})](#{label})\\]' # [1 (of section 1.2.3)](#a-sec-eg-1)
+ )
+ line = line.replace(sem_ref, evil_ref)
+ print(line.rstrip(NL))
+ lines[slot] = line
+
+ # Process the text display of section refs
+ for slot, line in enumerate(lines):
+ if label_in(line):
+ for ref in SEC_REF_DETECT.finditer(line):
+ if ref:
+ # Found section label in markdown format
+ found = ref.groupdict()
+ trigger_text = found['text']
+ if trigger_text != IS_SEC_REF:
+ raise RuntimeError(f'false positive sec ref in ({line.rstrip(NL)})')
+ label = found['label']
+ if label not in SEC_LABEL_TEXT:
+ raise RuntimeError(f'missing register label for sec ref in ({line.rstrip(NL)})')
+ text = SEC_LABEL_TEXT[label]
+ sem_ref = f'[sec](#{label})'
+ evil_ref = f'[{text}](#{label})' # [GFMCMARK](#GFMCMARK)
+ line = line.replace(sem_ref, evil_ref)
+ lines[slot] = line
+
+ # Process the code blocks for references to map from label to display value
+ for slot, line in enumerate(lines):
+ if code_block_label_in(line):
+ for ref in SEC_LABEL_BRACKET_CB_DETECT.finditer(line):
+ if ref:
+ # Found bracketed label ref to section in code block
+ found = ref.groupdict()
+ value = found['value']
+ if not value or value not in display_from:
+ continue
+ label = found['label']
+ display = display_from[value]
+ sem_ref = label
+ disp_ref = display
+ line = line.replace(sem_ref, disp_ref)
+ lines[slot] = line
+ for ref in SEC_LABEL_FREE_CB_DETECT.finditer(line):
+ if ref:
+ # Found free label ref to section in code block
+ found = ref.groupdict()
+ value = found['value']
+ if not value or value not in display_from:
+ continue
+ label = found['label']
+ display = display_from[value]
+ sem_ref = label
+ disp_ref = display
+ line = line.replace(sem_ref, disp_ref)
+ lines[slot] = line
+
+ tic_toc.append(YAML_X_SEP)
+ tic_toc.append(NL)
+ # Inject the table of contents:
+ for slot, line in enumerate(lines):
+ if end_of_toc_in(line):
+ lines[slot] = NL.join(tic_toc) + line
+ break
+
+ # remove any trailing blank line
+ while lines[-1] == NL:
+ del lines[-1]
+
+ BUILD_AT.mkdir(parents=True, exist_ok=True)
+ dump_assembly(lines, BUILD_AT / 'tmp.md')
+
+ with open(BUILD_AT / 'toc-mint.json', 'wt', encoding=ENCODING) as handle:
+ json.dump(mint, handle, indent=2)
+
+ if DUMP_LUT:
+ with SECTION_DISPLAY_TO_LABEL_AT.open('wt', encoding=ENCODING) as handle:
+ json.dump(SECTION_DISPLAY_TO_LABEL, handle, indent=2)
+ SECTION_LABEL_TO_DISPLAY = {
+ label: disp for label, disp in sorted((label, disp) for disp, label in SECTION_DISPLAY_TO_LABEL.items())
+ }
+ with SECTION_LABEL_TO_DISPLAY_AT.open('wt', encoding=ENCODING) as handle:
+ json.dump(SECTION_LABEL_TO_DISPLAY, handle, indent=2)
+
+ return 0
+
+
+if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))
diff --git a/csaf_2.1/prose/edit/etc/bind.txt b/csaf_2.1/prose/edit/etc/bind.txt
new file mode 100644
index 00000000..5e8aa002
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/bind.txt
@@ -0,0 +1,72 @@
+frontmatter.md
+introduction-00.md
+introduction-01-ipr-policy.md
+introduction-02-terminology.md
+introduction-02-terminology-glossary.md
+introduction-03-normative-references.md
+introduction-04-informative-references.md
+introduction-05-typographical-conventions.md
+design-considerations-00.md
+design-considerations-01-construction-principles.md
+schema-elements-00.md
+schema-elements-01-definitions.md
+schema-elements-01-defs-01-acknowledgements.md
+schema-elements-01-defs-02-branches.md
+schema-elements-01-defs-03-full-product-name.md
+schema-elements-01-defs-04-language.md
+schema-elements-01-defs-05-notes.md
+schema-elements-01-defs-06-product-group-id.md
+schema-elements-01-defs-07-product-groups.md
+schema-elements-01-defs-08-product-id.md
+schema-elements-01-defs-09-products.md
+schema-elements-01-defs-10-references.md
+schema-elements-01-defs-11-version.md
+schema-elements-02-properties.md
+schema-elements-02-props-01-document.md
+schema-elements-02-props-02-product-tree.md
+schema-elements-02-props-03-vulnerabilities.md
+profiles.md
+additional-conventions.md
+tests-00.md
+tests-01-mandatory.md
+tests-01-mndtr-01-missing-definition-of-product-id.md
+tests-01-mndtr-02-multiple-definition-of-product-id.md
+tests-01-mndtr-03-circular-definition-of-product-id.md
+tests-01-mndtr-04-missing-definition-of-product-group-id.md
+tests-01-mndtr-05-multiple-definition-of-product-group-id.md
+tests-01-mndtr-06-contradicting-product-status.md
+tests-01-mndtr-07-multiple-scores-with-same-version-per-product.md
+tests-01-mndtr-08-invalid-cvss.md
+tests-01-mndtr-09-invalid-cvss-computation.md
+tests-01-mndtr-10-inconsistent-cvss.md
+tests-01-mndtr-11-cwe.md
+tests-01-mndtr-12-language.md
+tests-01-mndtr-13-purl.md
+tests-01-mndtr-14-sorted-revision-history.md
+tests-01-mndtr-15-translator.md
+tests-01-mndtr-16-latest-document-version.md
+tests-01-mndtr-17-document-status-draft.md
+tests-01-mndtr-18-released-revision-history.md
+tests-01-mndtr-19-revision-history-entries-for-pre-release-versions.md
+tests-01-mndtr-20-non-draft-document-version.md
+tests-01-mndtr-21-missing-item-in-revision-history.md
+tests-01-mndtr-22-multiple-definition-in-revision-history.md
+tests-01-mndtr-23-multiple-use-of-same-cve.md
+tests-01-mndtr-24-multiple-definition-in-involvements.md
+tests-01-mndtr-25-multiple-use-of-same-hash-algorithm.md
+tests-01-mndtr-26-prohibited-document-category-name.md
+tests-01-mndtr-27-profile-tests.md
+tests-01-mndtr-28-translation.md
+tests-01-mndtr-29-remediation-without-product-reference.md
+tests-01-mndtr-30-mixed-integer-and-semantic-versioning.md
+tests-01-mndtr-31-version-range-in-product-version.md
+tests-01-mndtr-32-flag-without-product-reference.md
+tests-01-mndtr-33-multiple-flags-with-vex-justification-codes-per-product.md
+tests-02-optional.md
+tests-03-informative.md
+distributing.md
+safety-security-and-data-protection.md
+conformance.md
+acknowledgements.md
+revision-history.md
+guidance-on-size.md
diff --git a/csaf_2.1/prose/edit/etc/example-global-to-local.json b/csaf_2.1/prose/edit/etc/example-global-to-local.json
new file mode 100644
index 00000000..c9f4ed4f
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/example-global-to-local.json
@@ -0,0 +1,146 @@
+{
+ "4321": "typographical-conventions-eg-1",
+ "1": "acknowledgments-type-names-eg-1",
+ "2": "acknowledgments-type-organization-eg-1",
+ "3": "acknowledgments-type-summary-eg-1",
+ "4": "acknowledgments-type-example-eg-1",
+ "5": "branches-type-name-eg-1",
+ "6": "branches-type-name-under-product-version-eg-1",
+ "7": "branches-type-name-under-product-version-eg-2",
+ "8": "branches-type-name-under-product-version-range-eg-1",
+ "9": "branches-type-name-under-product-version-range-eg-2",
+ "10": "full-product-name-type-name-eg-1",
+ "11": "full-product-name-type-product-identification-helper-hashes-eg-1",
+ "12": "full-product-name-type-product-identification-helper-hashes-eg-2",
+ "13": "full-product-name-type-product-identification-helper-hashes-eg-3",
+ "14": "full-product-name-type-product-identification-helper-model-numbers-eg-1",
+ "15": "full-product-name-type-product-identification-helper-sbom-urls-eg-1",
+ "16": "full-product-name-type-product-identification-helper-generic-uris-eg-1",
+ "17": "full-product-name-type-product-identification-helper-generic-uris-eg-2",
+ "18": "language-type-eg-1",
+ "19": "notes-type-eg-1",
+ "20": "notes-type-eg-2",
+ "21": "product-group-id-type-eg-1",
+ "22": "product-id-type-eg-1",
+ "23": "version-type-eg-1",
+ "24": "version-type-semantic-versioning-eg-1",
+ "25": "version-type-semantic-versioning-eg-2",
+ "26": "version-type-semantic-versioning-eg-3",
+ "27": "version-type-semantic-versioning-eg-4",
+ "28": "version-type-semantic-versioning-eg-5",
+ "29": "document-property-aggregate-severity-eg-1",
+ "30": "document-property-category-eg-1",
+ "31": "document-property-distribution-text-eg-1",
+ "32": "document-property-distribution-tlp-eg-1",
+ "33": "document-property-publisher-contact-details-eg-1",
+ "34": "document-property-publisher-name-eg-1",
+ "35": "document-property-publisher-namespace-eg-1",
+ "36": "document-property-title-eg-1",
+ "37": "document-property-tracking-aliases-eg-1",
+ "38": "document-property-tracking-generator-eg-1",
+ "39": "document-property-tracking-generator-eg-2",
+ "40": "document-property-tracking-id-eg-1",
+ "41": "product-tree-property-product-groups-eg-1",
+ "42": "product-tree-property-relationships-eg-1",
+ "43": "vulnerabilities-property-cwe-eg-1",
+ "44": "vulnerabilities-property-cwe-eg-2",
+ "45": "vulnerabilities-property-ids-eg-1",
+ "46": "vulnerabilities-property-ids-eg-2",
+ "47": "filename-eg-1",
+ "48": "filename-eg-2",
+ "49": "missing-definition-of-product-id-eg-1",
+ "50": "multiple-definition-of-product-id-eg-1",
+ "51": "circular-definition-of-product-id-eg-1",
+ "52": "missing-definition-of-product-group-id-eg-1",
+ "53": "multiple-definition-of-product-group-id-eg-1",
+ "54": "contradicting-product-status-eg-1",
+ "55": "multiple-scores-with-same-version-per-product-eg-1",
+ "56": "invalid-cvss-eg-1",
+ "57": "invalid-cvss-computation-eg-1",
+ "58": "inconsistent-cvss-eg-1",
+ "59": "cwe-eg-1",
+ "60": "language-eg-1",
+ "61": "purl-eg-1",
+ "62": "sorted-revision-history-eg-1",
+ "63": "translator-eg-1",
+ "64": "latest-document-version-eg-1",
+ "65": "document-status-draft-eg-1",
+ "66": "released-revision-history-eg-1",
+ "67": "revision-history-entries-for-pre-release-versions-eg-1",
+ "68": "non-draft-document-version-eg-1",
+ "69": "missing-item-in-revision-history-eg-1",
+ "70": "multiple-definition-in-revision-history-eg-1",
+ "71": "multiple-use-of-same-cve-eg-1",
+ "72": "multiple-definition-in-involvements-eg-1",
+ "73": "multiple-use-of-same-hash-algorithm-eg-1",
+ "74": "prohibited-document-category-name-eg-1",
+ "75": "prohibited-document-category-name-eg-2",
+ "76": "document-notes-eg-1",
+ "77": "document-references-eg-1",
+ "78": "vulnerabilities-for-informational-advisory-eg-1",
+ "79": "product-tree-eg-1",
+ "80": "vulnerability-notes-eg-1",
+ "81": "product-status-eg-1",
+ "82": "vex-product-status-eg-1",
+ "83": "vulnerability-id-eg-1",
+ "84": "impact-statement-eg-1",
+ "85": "action-statement-eg-1",
+ "86": "vulnerabilities-for-security-advisory-or-vex-eg-1",
+ "87": "translation-eg-1",
+ "88": "remediation-without-product-reference-eg-1",
+ "89": "mixed-integer-and-semantic-versioning-eg-1",
+ "90": "version-range-in-product-version-eg-1",
+ "91": "flag-without-product-reference-eg-1",
+ "92": "multiple-flags-with-vex-justification-codes-per-product-eg-1",
+ "93": "unused-definition-of-product-id-eg-1",
+ "94": "missing-remediation-eg-1",
+ "95": "missing-score-eg-1",
+ "96": "build-metadata-in-revision-history-eg-1",
+ "97": "older-initial-release-date-than-revision-history-eg-1",
+ "98": "older-current-release-date-than-revision-history-eg-1",
+ "99": "missing-date-in-involvements-eg-1",
+ "100": "use-of-md5-as-the-only-hash-algorithm-eg-1",
+ "101": "use-of-sha-1-as-the-only-hash-algorithm-eg-1",
+ "102": "missing-tlp-label-eg-1",
+ "103": "missing-canonical-url-eg-1",
+ "104": "missing-document-language-eg-1",
+ "105": "optional-tests--sorting-eg-1",
+ "106": "use-of-private-language-eg-1",
+ "107": "use-of-default-language-eg-1",
+ "108": "missing-product-identification-helper-eg-1",
+ "109": "cve-in-field-ids-eg-1",
+ "110": "product-version-range-without-vers-eg-1",
+ "111": "cvss-for-fixed-products-eg-1",
+ "112": "additional-properties-eg-1",
+ "113": "use-of-cvss-v2-as-the-only-scoring-system-eg-1",
+ "114": "use-of-cvss-v3-0-eg-1",
+ "115": "missing-cve-eg-1",
+ "116": "missing-cwe-eg-1",
+ "117": "use-of-short-hash-eg-1",
+ "118": "use-of-non-self-referencing-urls-failing-to-resolve-eg-1",
+ "119": "use-of-self-referencing-urls-failing-to-resolve-eg-1",
+ "120": "spell-check-eg-1",
+ "121": "branch-categories-eg-1",
+ "122": "usage-of-product-version-range-eg-1",
+ "123": "usage-of-v-as-version-indicator-eg-1",
+ "124": "requirement-7-provider-metadata-json-eg-1",
+ "125": "requirement-8-security-txt-eg-1",
+ "126": "requirement-9-well-known-url-for-provider-metadata-json-eg-1",
+ "127": "requirement-11-one-folder-per-year-eg-1",
+ "128": "requirement-12-index-txt-eg-1",
+ "129": "requirement-13-changes-csv-eg-1",
+ "130": "requirement-15-rolie-feed-eg-1",
+ "131": "requirement-16-rolie-service-document-eg-1",
+ "132": "requirement-17-rolie-category-document-eg-1",
+ "133": "requirement-17-rolie-category-document-eg-2",
+ "134": "requirement-17-rolie-category-document-eg-3",
+ "135": "requirement-18-integrity-eg-1",
+ "136": "requirement-18-integrity-eg-2",
+ "137": "requirement-19-signatures-eg-1",
+ "138": "requirement-21-list-of-csaf-providers-eg-1",
+ "139": "requirement-23-mirror-eg-1",
+ "140": "conformance-clause-5-cvrf-csaf-converter-eg-1",
+ "141": "conformance-clause-5-cvrf-csaf-converter-eg-2",
+ "142": "conformance-clause-5-cvrf-csaf-converter-eg-3",
+ "143": "conformance-clause-5-cvrf-csaf-converter-eg-4"
+}
diff --git a/csaf_2.1/prose/edit/etc/example-local-to-global.json b/csaf_2.1/prose/edit/etc/example-local-to-global.json
new file mode 100644
index 00000000..4e958008
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/example-local-to-global.json
@@ -0,0 +1,146 @@
+{
+ "acknowledgments-type-example-eg-1": "4",
+ "acknowledgments-type-names-eg-1": "1",
+ "acknowledgments-type-organization-eg-1": "2",
+ "acknowledgments-type-summary-eg-1": "3",
+ "action-statement-eg-1": "85",
+ "additional-properties-eg-1": "112",
+ "branch-categories-eg-1": "121",
+ "branches-type-name-eg-1": "5",
+ "branches-type-name-under-product-version-eg-1": "6",
+ "branches-type-name-under-product-version-eg-2": "7",
+ "branches-type-name-under-product-version-range-eg-1": "8",
+ "branches-type-name-under-product-version-range-eg-2": "9",
+ "build-metadata-in-revision-history-eg-1": "96",
+ "circular-definition-of-product-id-eg-1": "51",
+ "conformance-clause-5-cvrf-csaf-converter-eg-1": "140",
+ "conformance-clause-5-cvrf-csaf-converter-eg-2": "141",
+ "conformance-clause-5-cvrf-csaf-converter-eg-3": "142",
+ "conformance-clause-5-cvrf-csaf-converter-eg-4": "143",
+ "contradicting-product-status-eg-1": "54",
+ "cve-in-field-ids-eg-1": "109",
+ "cvss-for-fixed-products-eg-1": "111",
+ "cwe-eg-1": "59",
+ "document-notes-eg-1": "76",
+ "document-property-aggregate-severity-eg-1": "29",
+ "document-property-category-eg-1": "30",
+ "document-property-distribution-text-eg-1": "31",
+ "document-property-distribution-tlp-eg-1": "32",
+ "document-property-publisher-contact-details-eg-1": "33",
+ "document-property-publisher-name-eg-1": "34",
+ "document-property-publisher-namespace-eg-1": "35",
+ "document-property-title-eg-1": "36",
+ "document-property-tracking-aliases-eg-1": "37",
+ "document-property-tracking-generator-eg-1": "38",
+ "document-property-tracking-generator-eg-2": "39",
+ "document-property-tracking-id-eg-1": "40",
+ "document-references-eg-1": "77",
+ "document-status-draft-eg-1": "65",
+ "filename-eg-1": "47",
+ "filename-eg-2": "48",
+ "flag-without-product-reference-eg-1": "91",
+ "full-product-name-type-name-eg-1": "10",
+ "full-product-name-type-product-identification-helper-generic-uris-eg-1": "16",
+ "full-product-name-type-product-identification-helper-generic-uris-eg-2": "17",
+ "full-product-name-type-product-identification-helper-hashes-eg-1": "11",
+ "full-product-name-type-product-identification-helper-hashes-eg-2": "12",
+ "full-product-name-type-product-identification-helper-hashes-eg-3": "13",
+ "full-product-name-type-product-identification-helper-model-numbers-eg-1": "14",
+ "full-product-name-type-product-identification-helper-sbom-urls-eg-1": "15",
+ "impact-statement-eg-1": "84",
+ "inconsistent-cvss-eg-1": "58",
+ "invalid-cvss-computation-eg-1": "57",
+ "invalid-cvss-eg-1": "56",
+ "language-eg-1": "60",
+ "language-type-eg-1": "18",
+ "latest-document-version-eg-1": "64",
+ "missing-canonical-url-eg-1": "103",
+ "missing-cve-eg-1": "115",
+ "missing-cwe-eg-1": "116",
+ "missing-date-in-involvements-eg-1": "99",
+ "missing-definition-of-product-group-id-eg-1": "52",
+ "missing-definition-of-product-id-eg-1": "49",
+ "missing-document-language-eg-1": "104",
+ "missing-item-in-revision-history-eg-1": "69",
+ "missing-product-identification-helper-eg-1": "108",
+ "missing-remediation-eg-1": "94",
+ "missing-score-eg-1": "95",
+ "missing-tlp-label-eg-1": "102",
+ "mixed-integer-and-semantic-versioning-eg-1": "89",
+ "multiple-definition-in-involvements-eg-1": "72",
+ "multiple-definition-in-revision-history-eg-1": "70",
+ "multiple-definition-of-product-group-id-eg-1": "53",
+ "multiple-definition-of-product-id-eg-1": "50",
+ "multiple-flags-with-vex-justification-codes-per-product-eg-1": "92",
+ "multiple-scores-with-same-version-per-product-eg-1": "55",
+ "multiple-use-of-same-cve-eg-1": "71",
+ "multiple-use-of-same-hash-algorithm-eg-1": "73",
+ "non-draft-document-version-eg-1": "68",
+ "notes-type-eg-1": "19",
+ "notes-type-eg-2": "20",
+ "older-current-release-date-than-revision-history-eg-1": "98",
+ "older-initial-release-date-than-revision-history-eg-1": "97",
+ "optional-tests--sorting-eg-1": "105",
+ "product-group-id-type-eg-1": "21",
+ "product-id-type-eg-1": "22",
+ "product-status-eg-1": "81",
+ "product-tree-eg-1": "79",
+ "product-tree-property-product-groups-eg-1": "41",
+ "product-tree-property-relationships-eg-1": "42",
+ "product-version-range-without-vers-eg-1": "110",
+ "prohibited-document-category-name-eg-1": "74",
+ "prohibited-document-category-name-eg-2": "75",
+ "purl-eg-1": "61",
+ "released-revision-history-eg-1": "66",
+ "remediation-without-product-reference-eg-1": "88",
+ "requirement-11-one-folder-per-year-eg-1": "127",
+ "requirement-12-index-txt-eg-1": "128",
+ "requirement-13-changes-csv-eg-1": "129",
+ "requirement-15-rolie-feed-eg-1": "130",
+ "requirement-16-rolie-service-document-eg-1": "131",
+ "requirement-17-rolie-category-document-eg-1": "132",
+ "requirement-17-rolie-category-document-eg-2": "133",
+ "requirement-17-rolie-category-document-eg-3": "134",
+ "requirement-18-integrity-eg-1": "135",
+ "requirement-18-integrity-eg-2": "136",
+ "requirement-19-signatures-eg-1": "137",
+ "requirement-21-list-of-csaf-providers-eg-1": "138",
+ "requirement-23-mirror-eg-1": "139",
+ "requirement-7-provider-metadata-json-eg-1": "124",
+ "requirement-8-security-txt-eg-1": "125",
+ "requirement-9-well-known-url-for-provider-metadata-json-eg-1": "126",
+ "revision-history-entries-for-pre-release-versions-eg-1": "67",
+ "sorted-revision-history-eg-1": "62",
+ "spell-check-eg-1": "120",
+ "translation-eg-1": "87",
+ "translator-eg-1": "63",
+ "typographical-conventions-eg-1": "4321",
+ "unused-definition-of-product-id-eg-1": "93",
+ "usage-of-product-version-range-eg-1": "122",
+ "usage-of-v-as-version-indicator-eg-1": "123",
+ "use-of-cvss-v2-as-the-only-scoring-system-eg-1": "113",
+ "use-of-cvss-v3-0-eg-1": "114",
+ "use-of-default-language-eg-1": "107",
+ "use-of-md5-as-the-only-hash-algorithm-eg-1": "100",
+ "use-of-non-self-referencing-urls-failing-to-resolve-eg-1": "118",
+ "use-of-private-language-eg-1": "106",
+ "use-of-self-referencing-urls-failing-to-resolve-eg-1": "119",
+ "use-of-sha-1-as-the-only-hash-algorithm-eg-1": "101",
+ "use-of-short-hash-eg-1": "117",
+ "version-range-in-product-version-eg-1": "90",
+ "version-type-eg-1": "23",
+ "version-type-semantic-versioning-eg-1": "24",
+ "version-type-semantic-versioning-eg-2": "25",
+ "version-type-semantic-versioning-eg-3": "26",
+ "version-type-semantic-versioning-eg-4": "27",
+ "version-type-semantic-versioning-eg-5": "28",
+ "vex-product-status-eg-1": "82",
+ "vulnerabilities-for-informational-advisory-eg-1": "78",
+ "vulnerabilities-for-security-advisory-or-vex-eg-1": "86",
+ "vulnerabilities-property-cwe-eg-1": "43",
+ "vulnerabilities-property-cwe-eg-2": "44",
+ "vulnerabilities-property-ids-eg-1": "45",
+ "vulnerabilities-property-ids-eg-2": "46",
+ "vulnerability-id-eg-1": "83",
+ "vulnerability-notes-eg-1": "80"
+}
diff --git a/csaf_2.1/prose/edit/etc/markdownlint.json b/csaf_2.1/prose/edit/etc/markdownlint.json
new file mode 100644
index 00000000..eeb14631
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/markdownlint.json
@@ -0,0 +1,60 @@
+{
+ "blanks-around-fences": false,
+ "blanks-around-lists": false,
+ "code-block-style": false,
+ "code-fence-style": {
+ "style": "backtick"
+ },
+ "emphasis-style": {
+ "style": "underscore"
+ },
+ "fenced-code-language": false,
+ "first-line-heading": false,
+ "heading-style": {
+ "style": "atx"
+ },
+ "hr-style": {
+ "style": "-------"
+ },
+ "line-length": false,
+ "link-fragments": false,
+ "link-image-reference-definitions": false,
+ "list-marker-space": false,
+ "no-bare-urls": false,
+ "no-blanks-blockquote": false,
+ "no-duplicate-heading": {
+ "siblings_only": true
+ },
+ "no-emphasis-as-heading": false,
+ "no-hard-tabs": false,
+ "no-inline-html": {
+ "allowed_elements": [
+ "a",
+ "br",
+ "em",
+ "col",
+ "colgroup",
+ "img",
+ "p",
+ "pre",
+ "span",
+ "strong",
+ "sub",
+ "sup",
+ "table",
+ "tbody",
+ "td",
+ "th",
+ "thead",
+ "tr"
+ ]
+ },
+ "no-trailing-punctuation": false,
+ "ol-prefix": false,
+ "strong-style": {
+ "style": "asterisk"
+ },
+ "ul-style": {
+ "style": "asterisk"
+ }
+}
diff --git a/csaf_2.1/prose/edit/etc/section-display-to-label.json b/csaf_2.1/prose/edit/etc/section-display-to-label.json
new file mode 100644
index 00000000..d8de853d
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/section-display-to-label.json
@@ -0,0 +1,257 @@
+{
+ "1": "introduction",
+ "1.1": "ipr-policy",
+ "1.2": "terminology",
+ "1.3": "normative-references",
+ "1.4": "informative-references",
+ "1.5": "typographical-conventions",
+ "2": "design-considerations",
+ "2.1": "construction-principles",
+ "3": "schema-elements",
+ "3.1": "definitions",
+ "3.1.1": "acknowledgments-type",
+ "3.1.1.1": "acknowledgments-type-names",
+ "3.1.1.2": "acknowledgments-type-organization",
+ "3.1.1.3": "acknowledgments-type-summary",
+ "3.1.1.4": "acknowledgments-type-urls",
+ "3.1.1.5": "acknowledgments-type-example",
+ "3.1.2": "branches-type",
+ "3.1.2.1": "branches-type-branches",
+ "3.1.2.2": "branches-type-category",
+ "3.1.2.3": "branches-type-name",
+ "3.1.2.3.1": "branches-type-name-under-product-version",
+ "3.1.2.3.2": "branches-type-name-under-product-version-range",
+ "3.1.2.4": "branches-type-product",
+ "3.1.3": "full-product-name-type",
+ "3.1.3.1": "full-product-name-type-name",
+ "3.1.3.2": "full-product-name-type-product-id",
+ "3.1.3.3": "full-product-name-type-product-identification-helper",
+ "3.1.3.3.1": "full-product-name-type-product-identification-helper-cpe",
+ "3.1.3.3.2": "full-product-name-type-product-identification-helper-hashes",
+ "3.1.3.3.3": "full-product-name-type-product-identification-helper-model-numbers",
+ "3.1.3.3.4": "full-product-name-type-product-identification-helper-purl",
+ "3.1.3.3.5": "full-product-name-type-product-identification-helper-sbom-urls",
+ "3.1.3.3.6": "full-product-name-type-product-identification-helper-serial-numbers",
+ "3.1.3.3.7": "full-product-name-type-product-identification-helper-skus",
+ "3.1.3.3.8": "full-product-name-type-product-identification-helper-generic-uris",
+ "3.1.4": "language-type",
+ "3.1.5": "notes-type",
+ "3.1.6": "product-group-id-type",
+ "3.1.7": "product-groups-type",
+ "3.1.8": "product-id-type",
+ "3.1.9": "products-type",
+ "3.1.10": "references-type",
+ "3.1.11": "version-type",
+ "3.1.11.1": "version-type-integer-versioning",
+ "3.1.11.2": "version-type-semantic-versioning",
+ "3.2": "properties",
+ "3.2.1": "document-property",
+ "3.2.1.1": "document-property-acknowledgments",
+ "3.2.1.2": "document-property-aggregate-severity",
+ "3.2.1.3": "document-property-category",
+ "3.2.1.4": "document-property-csaf-version",
+ "3.2.1.5": "document-property-distribution",
+ "3.2.1.5.1": "document-property-distribution-text",
+ "3.2.1.5.2": "document-property-distribution-tlp",
+ "3.2.1.6": "document-property-language",
+ "3.2.1.7": "document-property-notes",
+ "3.2.1.8": "document-property-publisher",
+ "3.2.1.8.1": "document-property-publisher-category",
+ "3.2.1.8.2": "document-property-publisher-contact-details",
+ "3.2.1.8.3": "document-property-publisher-issuing-authority",
+ "3.2.1.8.4": "document-property-publisher-name",
+ "3.2.1.8.5": "document-property-publisher-namespace",
+ "3.2.1.9": "document-property-references",
+ "3.2.1.10": "document-property-source-language",
+ "3.2.1.11": "document-property-title",
+ "3.2.1.12": "document-property-tracking",
+ "3.2.1.12.1": "document-property-tracking-aliases",
+ "3.2.1.12.2": "document-property-tracking-current-release-date",
+ "3.2.1.12.3": "document-property-tracking-generator",
+ "3.2.1.12.4": "document-property-tracking-id",
+ "3.2.1.12.5": "document-property-tracking-initial-release-date",
+ "3.2.1.12.6": "document-property-tracking-revision-history",
+ "3.2.1.12.7": "document-property-tracking-status",
+ "3.2.1.12.8": "document-property-tracking-version",
+ "3.2.2": "product-tree-property",
+ "3.2.2.1": "product-tree-property-branches",
+ "3.2.2.2": "product-tree-property-full-product-names",
+ "3.2.2.3": "product-tree-property-product-groups",
+ "3.2.2.4": "product-tree-property-relationships",
+ "3.2.3": "vulnerabilities-property",
+ "3.2.3.1": "vulnerabilities-property-acknowledgments",
+ "3.2.3.2": "vulnerabilities-property-cve",
+ "3.2.3.3": "vulnerabilities-property-cwe",
+ "3.2.3.4": "vulnerabilities-property-discovery-date",
+ "3.2.3.5": "vulnerabilities-property-flags",
+ "3.2.3.6": "vulnerabilities-property-ids",
+ "3.2.3.7": "vulnerabilities-property-involvements",
+ "3.2.3.8": "vulnerabilities-property-notes",
+ "3.2.3.9": "vulnerabilities-property-product-status",
+ "3.2.3.10": "vulnerabilities-property-references",
+ "3.2.3.11": "vulnerabilities-property-release-date",
+ "3.2.3.12": "vulnerabilities-property-remediations",
+ "3.2.3.12.1": "vulnerabilities-property-remediations-category",
+ "3.2.3.12.2": "vulnerabilities-property-remediations-date",
+ "3.2.3.12.3": "vulnerabilities-property-remediations-details",
+ "3.2.3.12.4": "vulnerabilities-property-remediations-entitlements",
+ "3.2.3.12.5": "vulnerabilities-property-remediations-group-ids",
+ "3.2.3.12.6": "vulnerabilities-property-remediations-product-ids",
+ "3.2.3.12.7": "vulnerabilities-property-remediations-restart-required",
+ "3.2.3.12.8": "vulnerabilities-property-remediations-url",
+ "3.2.3.13": "vulnerabilities-property-scores",
+ "3.2.3.14": "vulnerabilities-property-threats",
+ "3.2.3.15": "vulnerabilities-property-title",
+ "4": "profiles",
+ "4.1": "profile-1-csaf-base",
+ "4.2": "profile-2-security-incident-response",
+ "4.3": "profile-3-informational-advisory",
+ "4.4": "profile-4-security-advisory",
+ "4.5": "profile-5-vex",
+ "5": "additional-conventions",
+ "5.1": "filename",
+ "5.2": "separation-in-data-stream",
+ "5.3": "additional-conventions--sorting",
+ "6": "tests",
+ "6.1": "mandatory-tests",
+ "6.1.1": "missing-definition-of-product-id",
+ "6.1.2": "multiple-definition-of-product-id",
+ "6.1.3": "circular-definition-of-product-id",
+ "6.1.4": "missing-definition-of-product-group-id",
+ "6.1.5": "multiple-definition-of-product-group-id",
+ "6.1.6": "contradicting-product-status",
+ "6.1.7": "multiple-scores-with-same-version-per-product",
+ "6.1.8": "invalid-cvss",
+ "6.1.9": "invalid-cvss-computation",
+ "6.1.10": "inconsistent-cvss",
+ "6.1.11": "cwe",
+ "6.1.12": "language",
+ "6.1.13": "purl",
+ "6.1.14": "sorted-revision-history",
+ "6.1.15": "translator",
+ "6.1.16": "latest-document-version",
+ "6.1.17": "document-status-draft",
+ "6.1.18": "released-revision-history",
+ "6.1.19": "revision-history-entries-for-pre-release-versions",
+ "6.1.20": "non-draft-document-version",
+ "6.1.21": "missing-item-in-revision-history",
+ "6.1.22": "multiple-definition-in-revision-history",
+ "6.1.23": "multiple-use-of-same-cve",
+ "6.1.24": "multiple-definition-in-involvements",
+ "6.1.25": "multiple-use-of-same-hash-algorithm",
+ "6.1.26": "prohibited-document-category-name",
+ "6.1.27": "profile-tests",
+ "6.1.27.1": "document-notes",
+ "6.1.27.2": "document-references",
+ "6.1.27.3": "vulnerabilities-for-informational-advisory",
+ "6.1.27.4": "product-tree",
+ "6.1.27.5": "vulnerability-notes",
+ "6.1.27.6": "product-status",
+ "6.1.27.7": "vex-product-status",
+ "6.1.27.8": "vulnerability-id",
+ "6.1.27.9": "impact-statement",
+ "6.1.27.10": "action-statement",
+ "6.1.27.11": "vulnerabilities-for-security-advisory-or-vex",
+ "6.1.28": "translation",
+ "6.1.29": "remediation-without-product-reference",
+ "6.1.30": "mixed-integer-and-semantic-versioning",
+ "6.1.31": "version-range-in-product-version",
+ "6.1.32": "flag-without-product-reference",
+ "6.1.33": "multiple-flags-with-vex-justification-codes-per-product",
+ "6.2": "optional-tests",
+ "6.2.1": "unused-definition-of-product-id",
+ "6.2.2": "missing-remediation",
+ "6.2.3": "missing-score",
+ "6.2.4": "build-metadata-in-revision-history",
+ "6.2.5": "older-initial-release-date-than-revision-history",
+ "6.2.6": "older-current-release-date-than-revision-history",
+ "6.2.7": "missing-date-in-involvements",
+ "6.2.8": "use-of-md5-as-the-only-hash-algorithm",
+ "6.2.9": "use-of-sha-1-as-the-only-hash-algorithm",
+ "6.2.10": "missing-tlp-label",
+ "6.2.11": "missing-canonical-url",
+ "6.2.12": "missing-document-language",
+ "6.2.13": "optional-tests--sorting",
+ "6.2.14": "use-of-private-language",
+ "6.2.15": "use-of-default-language",
+ "6.2.16": "missing-product-identification-helper",
+ "6.2.17": "cve-in-field-ids",
+ "6.2.18": "product-version-range-without-vers",
+ "6.2.19": "cvss-for-fixed-products",
+ "6.2.20": "additional-properties",
+ "6.3": "informative-test",
+ "6.3.1": "use-of-cvss-v2-as-the-only-scoring-system",
+ "6.3.2": "use-of-cvss-v3-0",
+ "6.3.3": "missing-cve",
+ "6.3.4": "missing-cwe",
+ "6.3.5": "use-of-short-hash",
+ "6.3.6": "use-of-non-self-referencing-urls-failing-to-resolve",
+ "6.3.7": "use-of-self-referencing-urls-failing-to-resolve",
+ "6.3.8": "spell-check",
+ "6.3.9": "branch-categories",
+ "6.3.10": "usage-of-product-version-range",
+ "6.3.11": "usage-of-v-as-version-indicator",
+ "7": "distributing-csaf-documents",
+ "7.1": "requirements",
+ "7.1.1": "requirement-1-valid-csaf-document",
+ "7.1.2": "requirement-2-filename",
+ "7.1.3": "requirement-3-tls",
+ "7.1.4": "requirement-4-tlp-white",
+ "7.1.5": "requirement-5-tlp-amber-and-tlp-red",
+ "7.1.6": "requirement-6-no-redirects",
+ "7.1.7": "requirement-7-provider-metadata-json",
+ "7.1.8": "requirement-8-security-txt",
+ "7.1.9": "requirement-9-well-known-url-for-provider-metadata-json",
+ "7.1.10": "requirement-10-dns-path",
+ "7.1.11": "requirement-11-one-folder-per-year",
+ "7.1.12": "requirement-12-index-txt",
+ "7.1.13": "requirement-13-changes-csv",
+ "7.1.14": "requirement-14-directory-listings",
+ "7.1.15": "requirement-15-rolie-feed",
+ "7.1.16": "requirement-16-rolie-service-document",
+ "7.1.17": "requirement-17-rolie-category-document",
+ "7.1.18": "requirement-18-integrity",
+ "7.1.19": "requirement-19-signatures",
+ "7.1.20": "requirement-20-public-openpgp-key",
+ "7.1.21": "requirement-21-list-of-csaf-providers",
+ "7.1.22": "requirement-22-two-disjoint-issuing-parties",
+ "7.1.23": "requirement-23-mirror",
+ "7.2": "roles",
+ "7.2.1": "role-csaf-publisher",
+ "7.2.2": "role-csaf-provider",
+ "7.2.3": "role-csaf-trusted-provider",
+ "7.2.4": "role-csaf-lister",
+ "7.2.5": "role-csaf-aggregator",
+ "7.3": "retrieving-rules",
+ "7.3.1": "finding-provider-metadata.json",
+ "7.3.2": "retrieving-csaf-documents",
+ "8": "safety-security-and-data-protection-considerations",
+ "9": "conformance",
+ "9.1": "conformance-targets",
+ "9.1.1": "conformance-clause-1-csaf-document",
+ "9.1.2": "conformance-clause-2-csaf-producer",
+ "9.1.3": "conformance-clause-3-csaf-direct-producer",
+ "9.1.4": "conformance-clause-4-csaf-converter",
+ "9.1.5": "conformance-clause-5-cvrf-csaf-converter",
+ "9.1.6": "conformance-clause-6-csaf-content-management-system",
+ "9.1.7": "conformance-clause-7-csaf-post-processor",
+ "9.1.8": "conformance-clause-8-csaf-modifier",
+ "9.1.9": "conformance-clause-9-csaf-translator",
+ "9.1.10": "conformance-clause-10-csaf-consumer",
+ "9.1.11": "conformance-clause-11-csaf-viewer",
+ "9.1.12": "conformance-clause-12-csaf-management-system",
+ "9.1.13": "conformance-clause-13-csaf-asset-matching-system",
+ "9.1.14": "conformance-clause-14-csaf-basic-validator",
+ "9.1.15": "conformance-clause-15-csaf-extended-validator",
+ "9.1.16": "conformance-clause-16-csaf-full-validator",
+ "9.1.17": "conformance-clause-17-csaf-sbom-matching-system",
+ "Appendix A.": "acknowledgments",
+ "Appendix B.": "revision-history",
+ "Appendix C.": "guidance-on-the-size-of-csaf-documents",
+ "C.1": "file-size",
+ "C.2": "array-length",
+ "C.3": "string-length",
+ "C.4": "uri-length",
+ "C.5": "enum",
+ "C.6": "date"
+}
diff --git a/csaf_2.1/prose/edit/etc/section-label-to-display.json b/csaf_2.1/prose/edit/etc/section-label-to-display.json
new file mode 100644
index 00000000..6b34e181
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/section-label-to-display.json
@@ -0,0 +1,257 @@
+{
+ "acknowledgments": "Appendix A.",
+ "acknowledgments-type": "3.1.1",
+ "acknowledgments-type-example": "3.1.1.5",
+ "acknowledgments-type-names": "3.1.1.1",
+ "acknowledgments-type-organization": "3.1.1.2",
+ "acknowledgments-type-summary": "3.1.1.3",
+ "acknowledgments-type-urls": "3.1.1.4",
+ "action-statement": "6.1.27.10",
+ "additional-conventions": "5",
+ "additional-conventions--sorting": "5.3",
+ "additional-properties": "6.2.20",
+ "array-length": "C.2",
+ "branch-categories": "6.3.9",
+ "branches-type": "3.1.2",
+ "branches-type-branches": "3.1.2.1",
+ "branches-type-category": "3.1.2.2",
+ "branches-type-name": "3.1.2.3",
+ "branches-type-name-under-product-version": "3.1.2.3.1",
+ "branches-type-name-under-product-version-range": "3.1.2.3.2",
+ "branches-type-product": "3.1.2.4",
+ "build-metadata-in-revision-history": "6.2.4",
+ "circular-definition-of-product-id": "6.1.3",
+ "conformance": "9",
+ "conformance-clause-1-csaf-document": "9.1.1",
+ "conformance-clause-10-csaf-consumer": "9.1.10",
+ "conformance-clause-11-csaf-viewer": "9.1.11",
+ "conformance-clause-12-csaf-management-system": "9.1.12",
+ "conformance-clause-13-csaf-asset-matching-system": "9.1.13",
+ "conformance-clause-14-csaf-basic-validator": "9.1.14",
+ "conformance-clause-15-csaf-extended-validator": "9.1.15",
+ "conformance-clause-16-csaf-full-validator": "9.1.16",
+ "conformance-clause-17-csaf-sbom-matching-system": "9.1.17",
+ "conformance-clause-2-csaf-producer": "9.1.2",
+ "conformance-clause-3-csaf-direct-producer": "9.1.3",
+ "conformance-clause-4-csaf-converter": "9.1.4",
+ "conformance-clause-5-cvrf-csaf-converter": "9.1.5",
+ "conformance-clause-6-csaf-content-management-system": "9.1.6",
+ "conformance-clause-7-csaf-post-processor": "9.1.7",
+ "conformance-clause-8-csaf-modifier": "9.1.8",
+ "conformance-clause-9-csaf-translator": "9.1.9",
+ "conformance-targets": "9.1",
+ "construction-principles": "2.1",
+ "contradicting-product-status": "6.1.6",
+ "cve-in-field-ids": "6.2.17",
+ "cvss-for-fixed-products": "6.2.19",
+ "cwe": "6.1.11",
+ "date": "C.6",
+ "definitions": "3.1",
+ "design-considerations": "2",
+ "distributing-csaf-documents": "7",
+ "document-notes": "6.1.27.1",
+ "document-property": "3.2.1",
+ "document-property-acknowledgments": "3.2.1.1",
+ "document-property-aggregate-severity": "3.2.1.2",
+ "document-property-category": "3.2.1.3",
+ "document-property-csaf-version": "3.2.1.4",
+ "document-property-distribution": "3.2.1.5",
+ "document-property-distribution-text": "3.2.1.5.1",
+ "document-property-distribution-tlp": "3.2.1.5.2",
+ "document-property-language": "3.2.1.6",
+ "document-property-notes": "3.2.1.7",
+ "document-property-publisher": "3.2.1.8",
+ "document-property-publisher-category": "3.2.1.8.1",
+ "document-property-publisher-contact-details": "3.2.1.8.2",
+ "document-property-publisher-issuing-authority": "3.2.1.8.3",
+ "document-property-publisher-name": "3.2.1.8.4",
+ "document-property-publisher-namespace": "3.2.1.8.5",
+ "document-property-references": "3.2.1.9",
+ "document-property-source-language": "3.2.1.10",
+ "document-property-title": "3.2.1.11",
+ "document-property-tracking": "3.2.1.12",
+ "document-property-tracking-aliases": "3.2.1.12.1",
+ "document-property-tracking-current-release-date": "3.2.1.12.2",
+ "document-property-tracking-generator": "3.2.1.12.3",
+ "document-property-tracking-id": "3.2.1.12.4",
+ "document-property-tracking-initial-release-date": "3.2.1.12.5",
+ "document-property-tracking-revision-history": "3.2.1.12.6",
+ "document-property-tracking-status": "3.2.1.12.7",
+ "document-property-tracking-version": "3.2.1.12.8",
+ "document-references": "6.1.27.2",
+ "document-status-draft": "6.1.17",
+ "enum": "C.5",
+ "file-size": "C.1",
+ "filename": "5.1",
+ "finding-provider-metadata.json": "7.3.1",
+ "flag-without-product-reference": "6.1.32",
+ "full-product-name-type": "3.1.3",
+ "full-product-name-type-name": "3.1.3.1",
+ "full-product-name-type-product-id": "3.1.3.2",
+ "full-product-name-type-product-identification-helper": "3.1.3.3",
+ "full-product-name-type-product-identification-helper-cpe": "3.1.3.3.1",
+ "full-product-name-type-product-identification-helper-generic-uris": "3.1.3.3.8",
+ "full-product-name-type-product-identification-helper-hashes": "3.1.3.3.2",
+ "full-product-name-type-product-identification-helper-model-numbers": "3.1.3.3.3",
+ "full-product-name-type-product-identification-helper-purl": "3.1.3.3.4",
+ "full-product-name-type-product-identification-helper-sbom-urls": "3.1.3.3.5",
+ "full-product-name-type-product-identification-helper-serial-numbers": "3.1.3.3.6",
+ "full-product-name-type-product-identification-helper-skus": "3.1.3.3.7",
+ "guidance-on-the-size-of-csaf-documents": "Appendix C.",
+ "impact-statement": "6.1.27.9",
+ "inconsistent-cvss": "6.1.10",
+ "informative-references": "1.4",
+ "informative-test": "6.3",
+ "introduction": "1",
+ "invalid-cvss": "6.1.8",
+ "invalid-cvss-computation": "6.1.9",
+ "ipr-policy": "1.1",
+ "language": "6.1.12",
+ "language-type": "3.1.4",
+ "latest-document-version": "6.1.16",
+ "mandatory-tests": "6.1",
+ "missing-canonical-url": "6.2.11",
+ "missing-cve": "6.3.3",
+ "missing-cwe": "6.3.4",
+ "missing-date-in-involvements": "6.2.7",
+ "missing-definition-of-product-group-id": "6.1.4",
+ "missing-definition-of-product-id": "6.1.1",
+ "missing-document-language": "6.2.12",
+ "missing-item-in-revision-history": "6.1.21",
+ "missing-product-identification-helper": "6.2.16",
+ "missing-remediation": "6.2.2",
+ "missing-score": "6.2.3",
+ "missing-tlp-label": "6.2.10",
+ "mixed-integer-and-semantic-versioning": "6.1.30",
+ "multiple-definition-in-involvements": "6.1.24",
+ "multiple-definition-in-revision-history": "6.1.22",
+ "multiple-definition-of-product-group-id": "6.1.5",
+ "multiple-definition-of-product-id": "6.1.2",
+ "multiple-flags-with-vex-justification-codes-per-product": "6.1.33",
+ "multiple-scores-with-same-version-per-product": "6.1.7",
+ "multiple-use-of-same-cve": "6.1.23",
+ "multiple-use-of-same-hash-algorithm": "6.1.25",
+ "non-draft-document-version": "6.1.20",
+ "normative-references": "1.3",
+ "notes-type": "3.1.5",
+ "older-current-release-date-than-revision-history": "6.2.6",
+ "older-initial-release-date-than-revision-history": "6.2.5",
+ "optional-tests": "6.2",
+ "optional-tests--sorting": "6.2.13",
+ "product-group-id-type": "3.1.6",
+ "product-groups-type": "3.1.7",
+ "product-id-type": "3.1.8",
+ "product-status": "6.1.27.6",
+ "product-tree": "6.1.27.4",
+ "product-tree-property": "3.2.2",
+ "product-tree-property-branches": "3.2.2.1",
+ "product-tree-property-full-product-names": "3.2.2.2",
+ "product-tree-property-product-groups": "3.2.2.3",
+ "product-tree-property-relationships": "3.2.2.4",
+ "product-version-range-without-vers": "6.2.18",
+ "products-type": "3.1.9",
+ "profile-1-csaf-base": "4.1",
+ "profile-2-security-incident-response": "4.2",
+ "profile-3-informational-advisory": "4.3",
+ "profile-4-security-advisory": "4.4",
+ "profile-5-vex": "4.5",
+ "profile-tests": "6.1.27",
+ "profiles": "4",
+ "prohibited-document-category-name": "6.1.26",
+ "properties": "3.2",
+ "purl": "6.1.13",
+ "references-type": "3.1.10",
+ "released-revision-history": "6.1.18",
+ "remediation-without-product-reference": "6.1.29",
+ "requirement-1-valid-csaf-document": "7.1.1",
+ "requirement-10-dns-path": "7.1.10",
+ "requirement-11-one-folder-per-year": "7.1.11",
+ "requirement-12-index-txt": "7.1.12",
+ "requirement-13-changes-csv": "7.1.13",
+ "requirement-14-directory-listings": "7.1.14",
+ "requirement-15-rolie-feed": "7.1.15",
+ "requirement-16-rolie-service-document": "7.1.16",
+ "requirement-17-rolie-category-document": "7.1.17",
+ "requirement-18-integrity": "7.1.18",
+ "requirement-19-signatures": "7.1.19",
+ "requirement-2-filename": "7.1.2",
+ "requirement-20-public-openpgp-key": "7.1.20",
+ "requirement-21-list-of-csaf-providers": "7.1.21",
+ "requirement-22-two-disjoint-issuing-parties": "7.1.22",
+ "requirement-23-mirror": "7.1.23",
+ "requirement-3-tls": "7.1.3",
+ "requirement-4-tlp-white": "7.1.4",
+ "requirement-5-tlp-amber-and-tlp-red": "7.1.5",
+ "requirement-6-no-redirects": "7.1.6",
+ "requirement-7-provider-metadata-json": "7.1.7",
+ "requirement-8-security-txt": "7.1.8",
+ "requirement-9-well-known-url-for-provider-metadata-json": "7.1.9",
+ "requirements": "7.1",
+ "retrieving-csaf-documents": "7.3.2",
+ "retrieving-rules": "7.3",
+ "revision-history": "Appendix B.",
+ "revision-history-entries-for-pre-release-versions": "6.1.19",
+ "role-csaf-aggregator": "7.2.5",
+ "role-csaf-lister": "7.2.4",
+ "role-csaf-provider": "7.2.2",
+ "role-csaf-publisher": "7.2.1",
+ "role-csaf-trusted-provider": "7.2.3",
+ "roles": "7.2",
+ "safety-security-and-data-protection-considerations": "8",
+ "schema-elements": "3",
+ "separation-in-data-stream": "5.2",
+ "sorted-revision-history": "6.1.14",
+ "spell-check": "6.3.8",
+ "string-length": "C.3",
+ "terminology": "1.2",
+ "tests": "6",
+ "translation": "6.1.28",
+ "translator": "6.1.15",
+ "typographical-conventions": "1.5",
+ "unused-definition-of-product-id": "6.2.1",
+ "uri-length": "C.4",
+ "usage-of-product-version-range": "6.3.10",
+ "usage-of-v-as-version-indicator": "6.3.11",
+ "use-of-cvss-v2-as-the-only-scoring-system": "6.3.1",
+ "use-of-cvss-v3-0": "6.3.2",
+ "use-of-default-language": "6.2.15",
+ "use-of-md5-as-the-only-hash-algorithm": "6.2.8",
+ "use-of-non-self-referencing-urls-failing-to-resolve": "6.3.6",
+ "use-of-private-language": "6.2.14",
+ "use-of-self-referencing-urls-failing-to-resolve": "6.3.7",
+ "use-of-sha-1-as-the-only-hash-algorithm": "6.2.9",
+ "use-of-short-hash": "6.3.5",
+ "version-range-in-product-version": "6.1.31",
+ "version-type": "3.1.11",
+ "version-type-integer-versioning": "3.1.11.1",
+ "version-type-semantic-versioning": "3.1.11.2",
+ "vex-product-status": "6.1.27.7",
+ "vulnerabilities-for-informational-advisory": "6.1.27.3",
+ "vulnerabilities-for-security-advisory-or-vex": "6.1.27.11",
+ "vulnerabilities-property": "3.2.3",
+ "vulnerabilities-property-acknowledgments": "3.2.3.1",
+ "vulnerabilities-property-cve": "3.2.3.2",
+ "vulnerabilities-property-cwe": "3.2.3.3",
+ "vulnerabilities-property-discovery-date": "3.2.3.4",
+ "vulnerabilities-property-flags": "3.2.3.5",
+ "vulnerabilities-property-ids": "3.2.3.6",
+ "vulnerabilities-property-involvements": "3.2.3.7",
+ "vulnerabilities-property-notes": "3.2.3.8",
+ "vulnerabilities-property-product-status": "3.2.3.9",
+ "vulnerabilities-property-references": "3.2.3.10",
+ "vulnerabilities-property-release-date": "3.2.3.11",
+ "vulnerabilities-property-remediations": "3.2.3.12",
+ "vulnerabilities-property-remediations-category": "3.2.3.12.1",
+ "vulnerabilities-property-remediations-date": "3.2.3.12.2",
+ "vulnerabilities-property-remediations-details": "3.2.3.12.3",
+ "vulnerabilities-property-remediations-entitlements": "3.2.3.12.4",
+ "vulnerabilities-property-remediations-group-ids": "3.2.3.12.5",
+ "vulnerabilities-property-remediations-product-ids": "3.2.3.12.6",
+ "vulnerabilities-property-remediations-restart-required": "3.2.3.12.7",
+ "vulnerabilities-property-remediations-url": "3.2.3.12.8",
+ "vulnerabilities-property-scores": "3.2.3.13",
+ "vulnerabilities-property-threats": "3.2.3.14",
+ "vulnerabilities-property-title": "3.2.3.15",
+ "vulnerability-id": "6.1.27.8",
+ "vulnerability-notes": "6.1.27.5"
+}
diff --git a/csaf_2.1/prose/edit/etc/tidy-config.txt b/csaf_2.1/prose/edit/etc/tidy-config.txt
new file mode 100644
index 00000000..e8196ed5
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/tidy-config.txt
@@ -0,0 +1,100 @@
+accessibility-check: 0 (Tidy Classic)
+add-meta-charset: no
+add-xml-decl: no
+add-xml-space: no
+alt-text:
+anchor-as-name: yes
+ascii-chars: no
+assume-xml-procins: no
+bare: no
+break-before-br: no
+char-encoding: utf8
+clean: no
+coerce-endtags: yes
+css-prefix: c
+custom-tags: no
+decorate-inferred-ul: no
+doctype: auto
+drop-empty-elements: yes
+drop-empty-paras: yes
+drop-proprietary-attributes: no
+enclose-block-text: no
+enclose-text: no
+error-file:
+escape-cdata: no
+escape-scripts: yes
+fix-backslash: yes
+fix-bad-comments: auto
+fix-style-tags: yes
+fix-uri: yes
+force-output: no
+gdoc: no
+gnu-emacs: no
+hide-comments: no
+indent: yes
+indent-attributes: no
+indent-cdata: no
+indent-spaces: 2
+indent-with-tabs: no
+input-encoding: utf8
+input-xml: no
+join-classes: no
+join-styles: yes
+keep-tabs: no
+keep-time: no
+literal-attributes: no
+logical-emphasis: no
+lower-literals: yes
+markup: yes
+merge-divs: auto
+merge-emphasis: yes
+merge-spans: auto
+mute:
+mute-id: no
+ncr: yes
+new-blocklevel-tags:
+new-empty-tags:
+new-inline-tags:
+new-pre-tags:
+newline: LF
+numeric-entities: no
+omit-optional-tags: no
+output-bom: auto
+output-encoding: utf8
+output-file:
+output-html: no
+output-xhtml: no
+output-xml: no
+preserve-entities: no
+priority-attributes:
+punctuation-wrap: no
+quiet: no
+quote-ampersand: yes
+quote-marks: no
+quote-nbsp: yes
+repeated-attributes: keep-last
+replace-color: no
+show-body-only: no
+show-errors: 6
+show-filename: no
+show-info: yes
+show-meta-change: no
+show-warnings: yes
+skip-nested: yes
+sort-attributes: none
+strict-tags-attributes: no
+tab-size: 8
+tidy-mark: yes
+uppercase-attributes: no
+uppercase-tags: no
+vertical-space: no
+warn-proprietary-attributes: yes
+word-2000: no
+wrap: 345
+wrap-asp: yes
+wrap-attributes: no
+wrap-jste: yes
+wrap-php: no
+wrap-script-literals: no
+wrap-sections: yes
+write-back: no
diff --git a/csaf_2.1/prose/edit/etc/vale.ini b/csaf_2.1/prose/edit/etc/vale.ini
new file mode 100644
index 00000000..4011b8fb
--- /dev/null
+++ b/csaf_2.1/prose/edit/etc/vale.ini
@@ -0,0 +1,4 @@
+MinAlertLevel = suggestion
+
+[*]
+BasedOnStyles = Vale
diff --git a/csaf_2.1/prose/edit/src/acknowledgements.md b/csaf_2.1/prose/edit/src/acknowledgements.md
new file mode 100644
index 00000000..5efbc52f
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/acknowledgements.md
@@ -0,0 +1,133 @@
+
+# Acknowledgments
+
+The following individuals were members of the OASIS CSAF Technical Committee during the creation of this specification and their contributions are gratefully acknowledged:
+
+**CSAF TC Members:**
+
+| First Name | Last Name | Company |
+|:-----------|:-----------------|:------------------------------------------------------|
+| Alexandre | Dulaunoy | CIRCL |
+| Anthony | Berglas | Cryptsoft Pty Ltd. |
+| Art | Manion | Carnegie Mellon University |
+| Aukjan | van Belkum | EclecticIQ |
+| Ben | Sooter | Electric Power Research Institute (EPRI) |
+| Bernd | Grobauer | Siemens AG |
+| Bruce | Rich | Cryptsoft Pty Ltd. |
+| Chok | Poh | Oracle |
+| Dan | West | Microsoft |
+| David | Waltermire | NIST |
+| Denny | Page | TIBCO Software Inc. |
+| Duncan | Sparrell | sFractal Consulting LLC |
+| Eric | Johnson | TIBCO Software Inc. |
+| Ethan | Rahn | Arista Networks |
+| Feng | Cao | Oracle |
+| Greg | Scott | Cryptsoft Pty Ltd. |
+| Harold | Booth | NIST |
+| Jason | Masters | TELUS |
+| Jennifer | Victor | Dell |
+| Jessica | Fitzgerald-McKay | National Security Agency |
+| Jonathan | Bitle | Kaiser Permanente |
+| Justin | Corlett | Cryptsoft Pty Ltd. |
+| Kazuo | Noguchi | Hitachi, Ltd. |
+| Kent | Landfield | McAfee |
+| Langley | Rock | Red Hat |
+| Martin | Prpic | Red Hat |
+| Masato | Terada | Hitachi, Ltd. |
+| Mike | Gorski | Cisco Systems |
+| Nicole | Parrish | Mitre Corporation |
+| Omar | Santos | Cisco Systems |
+| Patrick | Maroney | AT&T |
+| Rhonda | Levy | Cisco Systems |
+| Richard | Struse | Mitre Corporation |
+| Ritwik | Ghoshal | Oracle |
+| Robert | Coderre | Accenture |
+| Robert | Keith | Accenture |
+| Stefan | Hagen | Individual |
+| Tania | Ward | Dell |
+| Ted | Bedwell | Cisco Systems |
+| Thomas | Proell | Siemens AG |
+| Thomas | Schmidt | Federal Office for Information Security (BSI) Germany |
+| Tim | Hudson | Cryptsoft Pty Ltd. |
+| Tobias | Limmer | Siemens AG |
+| Tony | Cox | Cryptsoft Pty Ltd. |
+| Vincent | Danen | Red Hat |
+| Will | Rideout | Arista Networks |
+| Xiaoyu | Ge | Huawei Technologies Co., Ltd. |
+
+The following individuals were members of the OASIS CSAF Technical Committee during the creation of the previous version (CVRF v1.2) of this specification and their contributions are gratefully acknowledged:
+
+**CSAF TC Members:**
+
+| First Name | Last Name | Company |
+|:-----------|:-----------------|:------------------------------------------------------|
+| Adam | Montville | CIS |
+| Allan | Thomson | LookingGlass |
+| Anthony | Berglas | Cryptsoft Pty Ltd. |
+| Art | Manion | Carnegie Mellon University |
+| Aukjan | van Belkum | EclecticIQ |
+| Ben | Sooter | Electric Power Research Institute |
+| Bernd | Grobauer | Siemens AG |
+| Beth | Pumo | Kaiser Permanente |
+| Bret | Jordan | Symantec Corp. |
+| Bruce | Rich | Cryptsoft Pty Ltd. |
+| Chet | Ensign | OASIS |
+| Chok | Poh | Oracle |
+| Chris | Rouland | Individual |
+| David | Waltermire | NIST |
+| Denny | Page | TIBCO Software Inc. |
+| Doron | Shiloach | IBM |
+| Duncan | Sparrell | sFractal Consulting LLC |
+| Eric | Johnson | TIBCO Software Inc. |
+| Feng | Cao | Oracle |
+| Greg | Reaume | TELUS |
+| Greg | Scott | Cryptsoft Pty Ltd. |
+| Harold | Booth | NIST |
+| Jamison | Day | LookingGlass |
+| Jared | Semrau | "FireEye, Inc." |
+| Jason | Masters | TELUS |
+| Jerome | Athias | Individual |
+| Jessica | Fitzgerald-McKay | National Security Agency |
+| Jonathan | Bitle | Kaiser Permanente |
+| Justin | Corlett | Cryptsoft Pty Ltd. |
+| Karen | Scarfone | Individual |
+| Kazuo | Noguchi | "Hitachi, Ltd." |
+| Kent | Landfield | McAfee |
+| Lothar | Braun | Siemens AG |
+| Louis | Ronnau | Cisco Systems |
+| Mark | Davidson | NC4 |
+| Mark-David | McLaughlin | Cisco Systems |
+| Masato | Terada | "Hitachi, Ltd." |
+| Masood | Nasir | TELUS |
+| Nicole | Gong | Mitre Corporation |
+| Omar | Santos | Cisco Systems |
+| Patrick | Maroney | Wapack Labs LLC |
+| Paul | Patrick | "FireEye, Inc." |
+| Peter | Allor | IBM |
+| Phillip | Boles | "FireEye, Inc." |
+| Ravi | Balupari | Netskope |
+| Rich | Reybok | ServiceNow |
+| Richard | Struse | DHS Office of Cybersecurity and Communications (CS&C) |
+| Ritwik | Ghoshal | Oracle |
+| Robert | Coderre | VeriSign |
+| Robin | Cover | OASIS |
+| Rupert | Wimmer | Siemens AG |
+| Sanjiv | Kalkar | Individual |
+| Sean | Barnum | Mitre Corporation |
+| Stefan | Hagen | Individual |
+| Ted | Bedwell | Cisco Systems |
+| Thomas | Schreck | Siemens AG |
+| Tim | Hudson | Cryptsoft Pty Ltd. |
+| Tony | Cox | Cryptsoft Pty Ltd. |
+| Trey | Darley | "Kingfisher Operations, sprl" |
+| Vincent | Danen | Red Hat |
+| Zach | Turk | Microsoft |
+
+-------
diff --git a/csaf_2.1/prose/edit/src/additional-conventions.md b/csaf_2.1/prose/edit/src/additional-conventions.md
new file mode 100644
index 00000000..ce960de5
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/additional-conventions.md
@@ -0,0 +1,50 @@
+# Additional Conventions
+
+This section provides additional rules for handling CSAF documents.
+
+## Filename
+
+The following rules MUST be applied to determine the filename for the CSAF document:
+
+1. The value `/document/tracking/id` is converted into lower case.
+2. Any character sequence which is not part of one of the following groups MUST be replaced by a single underscore (`_`):
+ * Lower case ASCII letters (0x61 - 0x7A)
+ * digits (0x30 - 0x39)
+ * special characters: `+` (0x2B), `-` (0x2D)
+ > The regex `[^+\-a-z0-9]+` can be used to find a character sequence which has to be replaced by an underscore.
+ > However, it SHALL NOT be applied before completing the first step.
+ >
+ > Even though the underscore `_` (0x5F) is a valid character in the filename it is replaced to avoid situations
+ > where the conversion rule might lead to multiple consecutive underscores.
+ > As a result, a `/document/tracking/id` with the value `2022_#01-A` is converted into `2022_01-a` instead of `2022__01-a`.
+3. The file extension `.json` MUST be appended.
+
+*Examples 1:*
+
+```
+ cisco-sa-20190513-secureboot.json
+ example_company_-_2019-yh3234.json
+ rhba-2019_0024.json
+```
+
+> It is currently considered best practice to indicate that a CSAF document is invalid by
+> inserting `_invalid` into the filename in front of the file extension.
+
+*Examples 2:*
+
+```
+ cisco-sa-20190513-secureboot_invalid.json
+ example_company_-_2019-yh3234_invalid.json
+ rhba-2019_0024_invalid.json
+```
+
+## Separation in Data Stream
+
+If multiple CSAF documents are transported via a data stream in a sequence without requests inbetween,
+they MUST be separated by the Record Separator in accordance with [cite](#RFC7464).
+
+## Sorting{#additional-conventions--sorting}
+
+The keys within a CSAF document SHOULD be sorted alphabetically.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/conformance.md b/csaf_2.1/prose/edit/src/conformance.md
new file mode 100644
index 00000000..98f77c34
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/conformance.md
@@ -0,0 +1,489 @@
+# Conformance
+
+In the only subsection of this section, the conformance targets and clauses are listed.
+The clauses, matching the targets one to one, are listed in separate sub-subsections of the targets listing subsection.
+
+Informative Comments:
+
+> The order in which targets, and their corresponding clauses appear is somewhat arbitrary as there is
+> no natural order on such diverse roles participating in the document exchanging ecosystem.
+>
+> Except for the target **CSAF document**, all other 16 targets span a taxonomy of the complex CSAF ecosystems existing
+> in and between diverse security advisory generating, sharing, and consuming communities.
+>
+> In any case, there are no capabilities organized in increasing quality levels for targets because
+> the security advisory sharing communities follow the chain link model.
+> Instead, a single minimum capability level for every target is given to maintain important goals of providing
+> a common framework for security advisories:
+>
+> * Fast production, sharing, and actionable consumption of security advisories
+> * Consistent end to end automation through collaborating actors
+> * Clear baseline across the communities per this specification
+> * Additional per-community cooperative extensions which may flow back into future updates of this specification
+
+## Conformance Targets
+
+This document defines requirements for the CSAF file format and for certain software components that interact with it.
+The entities ("conformance targets") for which this document defines requirements are:
+
+* **CSAF document**: A security advisory text document in the format defined by this document.
+* **CSAF producer**: A program which emits output in the CSAF format.
+* **CSAF direct producer**: An analysis tool which acts as a CSAF producer.
+* **CSAF converter**: A CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format.
+* **CVRF CSAF converter**: A CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+* **CSAF content management system**: A program that is able to create,
+ review and manage CSAF documents and is able to preview their details as required by CSAF viewer.
+* **CSAF post-processor**: A CSAF producer that transforms an existing CSAF document into a new CSAF document,
+ for example, by removing or redacting elements according to sharing policies.
+* **CSAF modifier**: A CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties.
+ The output is a valid CSAF document.
+* **CSAF translator**: A CSAF post-processor which takes a CSAF document as input and translates values of properties into another language.
+ The output is a valid CSAF document.
+* **CSAF consumer**: A program that reads and interprets a CSAF document.
+* **CSAF viewer**: A CSAF consumer that reads a CSAF document, displays a list of the results it contains,
+ and allows an end user to view each result in the context of the artifact in which it occurs.
+* **CSAF management system**: A program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+* **CSAF asset matching system**: A program that connects to or is an asset database and is able to manage CSAF documents as required
+ by CSAF management system as well as matching them to assets of the asset database.
+* **CSAF basic validator**: A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+* **CSAF extended validator**: A CSAF basic validator that additionally performs optional tests.
+* **CSAF full validator**: A CSAF extended validator that additionally performs informative tests.
+* **CSAF SBOM matching system**: A program that connects to or is an SBOM database and is able to manage CSAF documents as required
+ by CSAF management system as well as matching them to SBOM components of the SBOM database.
+
+### Conformance Clause 1: CSAF document
+
+A text file or data stream satisfies the "CSAF document" conformance profile if it:
+
+* conforms to the syntax and semantics defined in section [sec](#schema-elements).
+* satisfies at least one profile defined in section [sec](#profiles).
+* does not fail any mandatory test defined in section [sec](#mandatory-tests).
+
+### Conformance Clause 2: CSAF producer
+
+A program satisfies the "CSAF producer" conformance profile if the program:
+
+* produces output in the CSAF format, according to the conformance profile "CSAF document" .
+* satisfies those normative requirements in section [sec](#schema-elements) and [sec](#safety-security-and-data-protection-considerations) that
+ are designated as applying to CSAF producers.
+
+### Conformance Clause 3: CSAF direct producer
+
+An analysis tool satisfies the "CSAF direct producer" conformance profile if the analysis tool:
+
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [sec](#schema-elements) that are designated as applying to "direct producers" or
+ to "analysis tools".
+* does not emit any objects, properties, or values which, according to section [sec](#schema-elements),
+ are intended to be produced only by converters.
+
+### Conformance Clause 4: CSAF converter
+
+A converter satisfies the “CSAF converter” conformance profile if the converter:
+
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [sec](#schema-elements) that are designated as applying to converters.
+* does not emit any objects, properties, or values which, according to section [sec](#schema-elements),
+ are intended to be produced only by direct producers.
+
+### Conformance Clause 5: CVRF CSAF converter
+
+A program satisfies the "CVRF CSAF converter" conformance profile if the program fulfills the following two groups of requirements:
+
+Firstly, the program:
+
+* satisfies the "CSAF producer" conformance profile.
+* takes only CVRF documents as input.
+* additionally satisfies the normative requirements given below.
+
+Secondly, the program fulfills the following for all items of:
+
+* type `/$defs/branches_t`: If any `prod:Branch` instance has the type `Realm` or `Resource`,
+ the CVRF CSAF converter replaces those with the category `product_name`.
+ In addition, the converter outputs a warning that those types do not exist in CSAF and have been replaced with the category `product_name`.
+* type `/$defs/version_t`: If any element doesn't match the semantic versioning,
+ replace the all elements of type `/$defs/version_t` with the corresponding integer version.
+ For that, CVRF CSAF converter sorts the items of `/document/tracking/revision_history` by `number` ascending according to the rules of CVRF.
+ Then, it replaces the value of `number` with the index number in the array (starting with 1).
+ The value of `/document/tracking/version` is replaced by value of `number` of the corresponding revision item.
+ The match MUST be calculated by the original values used in the CVRF document.
+ If this conversion was applied, for each Revision the original value of `cvrf:Number` MUST be set as `legacy_version` in the converted document.
+* `/document/acknowledgments[]/organization` and `/vulnerabilities[]/acknowledgments[]/organization`:
+ If more than one `cvrf:Organization` instance is given, the CVRF CSAF converter converts the first one into the `organization`.
+ In addition, the converter outputs a warning that information might be lost during conversion of document or vulnerability acknowledgment.
+* `/document/lang`: If one or more CVRF element containing an `xml:lang` attribute exist and contain the exact same value,
+ the CVRF CSAF converter converts this value into `lang`.
+ If the values of `xml:lang` attributes are not equal, the CVRF CSAF converter outputs a warning that the language could not be
+ determined and possibly a document with multiple languages was produced.
+ In addition, it SHOULD also present all values of `xml:lang` attributes as a set in the warning.
+* `/document/publisher/name` and `/document/publisher/namespace`:
+ Sets the value as given in the configuration of the program or the corresponding argument the program was invoked with.
+ If values from both sources are present, the program SHOULD prefer the latter one.
+ The program SHALL NOT use hard-coded values.
+* `/document/tracking/id`: If the element `cvrf:ID` contains any line breaks or leading or trailing white space,
+ the CVRF CSAF converter removes those characters.
+ In addition, the converter outputs a warning that the ID was changed.
+* `/product_tree/relationships[]`: If more than one `prod:FullProductName` instance is given,
+ the CVRF CSAF converter converts the first one into the `full_product_name`.
+ In addition, the converter outputs a warning that information might be lost during conversion of product relationships.
+* `/vulnerabilities[]/cwe`: If more than one `vuln:CWE` instance is given,
+ the CVRF CSAF converter converts the first one into `cwe`.
+ In addition, the converter outputs a warning that information might be lost during conversion of the CWE.
+* `/vulnerabilities[]/ids`: If a `vuln:ID` element is given, the CVRF CSAF converter converts it into the first item of the `ids` array.
+* `/vulnerabilities[]/remediation[]`: If no `product_ids` or `group_ids` is given,
+ the CVRF CSAF converter appends all Product IDs which are listed under `../product_status` in the arrays `known_affected`,
+ `first_affected` and `last_affected` into `product_ids`.
+ If none of these arrays exist, the CVRF CSAF converter outputs an error that no matching Product ID was found for this remediation element.
+* `/vulnerabilities[]/scores[]`:
+ * For any CVSS v3 element, the CVRF CSAF converter MUST compute the `baseSeverity` from the `baseScore` according to
+ the rules of the applicable CVSS standard.
+ * If no `product_id` is given, the CVRF CSAF converter appends all Product IDs which are listed under `../product_status` in
+ the arrays `known_affected`, `first_affected` and `last_affected`.
+ If none of these arrays exist, the CVRF CSAF converter outputs an error that no matching Product ID was found for this score element.
+ * If a `vectorString` is missing, the CVRF CSAF converter outputs an error that the CVSS element could not be converted as
+ the CVSS vector was missing.
+ A CVRF CSAF converter MAY offer a configuration option to delete such elements.
+ * If there are CVSS v3.0 and CVSS v3.1 Vectors available for the same product, the CVRF CSAF converter discards
+ the CVSS v3.0 information and provide in CSAF only the CVSS v3.1 information.
+ * To determine, which minor version of CVSS v3 is used, the CVRF CSAF converter uses the following steps:
+ 1. Retrieve the CVSS version from the CVSS vector, if present.
+
+ *Example 1:*
+
+ ```
+ CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H => 3.1
+ ```
+
+ 2. Retrieve the CVSS version from the CVSS element's namespace, if present.
+ The CVRF CSAF converter outputs a warning that this value was guessed from the element's namespace.
+
+ *Example 2:*
+
+ ```
+ xmlns:cvssv31="https://www.first.org/cvss/cvss-v3.1.xsd"
+
+
+ ```
+
+ is handled the same as
+
+ *Example 3:*
+
+ ```
+
+ ```
+
+ 3. Retrieve the CVSS version from the CVSS namespace given in the root element, if present.
+ The CVRF CSAF converter outputs a warning that this value was guessed from the global namespace.
+ If more than one CVSS namespace is present and the element is not clearly defined via the namespace,
+ this step MUST be skipped without a decision.
+
+ *Example 4:*
+
+ ```
+ xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" => 3.0
+ ```
+
+ 4. Retrieve the CVSS version from a config value, which defaults to `3.0`.
+ (As CSAF CVRF v1.2 predates CVSS v3.1.) The CVRF CSAF converter outputs a warning that this value was taken from the config.
+
+### Conformance Clause 6: CSAF content management system
+
+A CSAF content management system satisfies the "CSAF content management system" conformance profile if the content management system:
+
+* satisfies the "CSAF producer" conformance profile.
+* satisfies the "CSAF viewer" conformance profile.
+* provides at least the following management functions:
+
+ * create new CSAF documents
+ * prefill CSAF documents based on values given in the configuration (see below)
+ * create a new version of an existing CSAF document
+ * checkout old versions of a CSAF document
+ * show all differences between versions of a CSAF document
+ * list all CSAF documents within the system
+ * delete CSAF documents from the system
+ * review CSAF documents in the system
+ * approve CSAF documents
+ * search for CSAF documents by values of required fields at `document`-level or their children within the system
+ * search for CSAF documents by values of `cve` within the system
+ * search for CSAF documents based on properties of `product_tree`
+ * filter on all properties which it is required to search for
+ * export of CSAF documents
+ * show an audit log for each CSAF document
+ * identify the latest version of CSAF documents with the same `/document/tracking/id`
+ * suggest a `/document/tracking/id` based on the given configuration.
+ * track of the version of CSAF documents automatically and increment according to the versioning scheme
+ (see also subsections of [sec](#version-type)) selected in the configuration.
+ * check that the document version is set correctly based on the changes in comparison to the previous version
+ (see also subsections of [sec](#version-type)).
+ * suggest to use the document status `interim` if a CSAF document is updated more frequent than the given threshold in
+ the configuration (default: 3 weeks)
+ * suggest to publish a new version of the CSAF document with the document status `final` if the document status was
+ `interim` and no new release has be done during the given threshold in the configuration (default: 6 weeks)
+ * support the following workflows:
+
+ * "New Advisory": create a new advisory, request a review, provide review comments or approve it, resolve review comments;
+ if the review approved it, the approval for publication can be requested;
+ if granted the document status changes to `final` (or `ìnterim` based on the selection in approval or configuration)
+ and the advisory is provided for publication (manual or time-based)
+ * "Update Advisory": open an existing advisory, create new revision & change content, request a review,
+ provide review comments or approve it, resolve review comments;
+ if the review approved it, the approval for publication can be requested;
+ if granted the document status changes to `final` (or `ìnterim` based on the selection in approval or configuration)
+ and the advisory is provided for publication (manual or time-based)
+
+* offers both: publication immediately or at a given date/time.
+* automates handling of date/time and version.
+* provides an API to retrieve all CSAF documents which are currently in the status published.
+* optionally provides an API to import or create new advisories from outside systems (e.g. bug tracker, CVD platform,...).
+* provides a user management and support at least the following roles:
+
+ * _Registered_: Able to see all published CSAF documents (but only in the published version).
+ * _Author_: inherits _Registered_ permissions and also can Create and Edit Own (mostly used for automated creation, see above)
+ * _Editor_: inherits _Author_ permissions and can Edit (mostly used in PSIRT)
+ * _Publisher_: inherits _Editor_ permissions and can Change state and Review any (mostly used as HEAD of PSIRT or team lead)
+ * _Reviewer_: inherits _Registered_ permissions and can Review advisories assigned to him (might be a subject matter expert or management)
+ * _Manager_: inherits _Publisher_ permissions and can Delete; User management up to _Publisher_
+ * _Administrator_: inherits _Manager_ permissions and can Change the configuration
+
+* may use groups to support client separation (multitenancy) and therefore restrict the roles to actions within their group.
+ In this case, there MUST be a _Group configurator_ which is able to change the values which are used to prefill fields in
+ new advisories for that group. He might also do the user management for the group up to a configured level.
+* prefills the following fields in new CSAF documents with the values given below or based on the templates from configuration:
+
+ * `/document/csaf_version` with the value `2.0`
+ * `/document/language`
+ * `/document/notes`
+ * `legal_disclaimer` (Terms of use from the configuration)
+ * `general` (General Security recommendations from the configuration)
+ * `/document/tracking/current_release_date` with the current date
+ * `/document/tracking/generator` and children
+ * `/document/tracking/initial_release_date` with the current date
+ * `/document/tracking/revision_history`
+ * `date` with the current date
+ * `number` (based on the templates according to the versioning scheme configured)
+ * `summary` (based on the templates from configuration; default: "Initial version.")
+ * `/document/tracking/status` with `draft`
+ * `/document/tracking/version` with the value of `number` the latest `/document/tracking/revision_history[]` element
+ * `/document/publisher` and children
+ * `/document/category` (based on the templates from configuration)
+
+* When updating an existing CSAF document:
+
+ * prefills all fields which have be present in the existing CSAF document
+ * adds a new item in `/document/tracking/revision_history[]`
+ * updates the following fields with the values given below or based on the templates from configuration:
+ * `/document/csaf_version` with the value `2.0`
+ * `/document/language`
+ * `/document/notes`
+ * `legal_disclaimer` (Terms of use from the configuration)
+ * `general` (General Security recommendations from the configuration)
+ * `/document/tracking/current_release_date` with the current date
+ * `/document/tracking/generator` and children
+ * the new item in `/document/tracking/revision_history[]`
+ * `date` with the current date
+ * `number` (based on the templates according to the versioning scheme configured)
+ * `/document/tracking/status` with `draft`
+ * `/document/tracking/version` with the value of `number` the latest `/document/tracking/revision_history[]` element
+ * `/document/publisher` and children
+
+### Conformance Clause 7: CSAF post-processor
+
+A CSAF post-processor satisfies the "CSAF post-processor" conformance profile if the post-processor:
+
+* satisfies the "CSAF consumer" conformance profile.
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [sec](#schema-elements) that are designated as applying to post-processors.
+
+### Conformance Clause 8: CSAF modifier
+
+A program satisfies the "CSAF modifier" conformance profile if the program fulfills the two following groups of requirements:
+
+The program:
+
+* satisfies the "CSAF post-processor" conformance profile.
+* adds, deletes or modifies at least one property, array, object or value of a property or item of an array.
+* does not emit any objects, properties, or values which, according to section [sec](#conformance),
+ are intended to be produced only by CSAF translators.
+* satisfies the normative requirements given below.
+
+The resulting modified document:
+
+* does not have the same `/document/tracking/id` as the original document.
+ The modified document can use a completely new `/document/tracking/id` or compute one by appending the original `/document/tracking/id` as
+ a suffix after an ID from the naming scheme of the issuer of the modified version.
+ It SHOULD NOT use the original `/document/tracking/id` as a prefix.
+* includes a reference to the original advisory as first element of the array `/document/references[]`.
+
+### Conformance Clause 9: CSAF translator
+
+A program satisfies the "CSAF translator" conformance profile if the program fulfills the two following groups of requirements:
+
+The program:
+
+* satisfies the "CSAF post-processor" conformance profile.
+* translates at least one value.
+* preserves the same semantics and form across translations.
+* satisfies the normative requirements given below and does not add or remove other elements than required below.
+
+The resulting translated document:
+
+* does not use the same `/document/tracking/id` as the original document.
+ The translated document can use a completely new `/document/tracking/id` or compute one by using the original `/document/tracking/id` as
+ a prefix and adding an ID from the naming scheme of the issuer of the translated version.
+ It SHOULD NOT use the original `/document/tracking/id` as a suffix.
+ If an issuer uses a CSAF translator to publish his advisories in multiple languages they MAY use the combination of
+ the original `/document/tracking/id` and translated `/document/lang` as a `/document/tracking/id` for the translated document.
+* provides the `/document/lang` property with a value matching the language of the translation.
+* provides the `/document/source_lang` to contain the language of the original document (and SHOULD only be set by CSAF translators).
+* has the value `translator` set in `/document/publisher/category`
+* includes a reference to the original advisory as first element of the array `/document/references[]`.
+* MAY contain translations for elements in arrays of `references_t` after the first element.
+ However, it MUST keep the original URLs as references at the end.
+
+### Conformance Clause 10: CSAF consumer
+
+A processor satisfies the "CSAF consumer" conformance profile if the processor:
+
+* reads CSAF documents and interprets them according to the semantics defined in section [sec](#schema-elements).
+* satisfies those normative requirements in section [sec](#schema-elements) and [sec](#safety-security-and-data-protection-considerations) that
+ are designated as applying to CSAF consumers.
+
+### Conformance Clause 11: CSAF viewer
+
+A viewer satisfies the "CSAF viewer" conformance profile if the viewer fulfills the two following groups of requirements:
+
+The viewer:
+
+* satisfies the "CSAF consumer" conformance profile.
+* satisfies the normative requirements given below.
+
+For each CVSS-Score in `/vulnerabilities[]/scores[]` the viewer:
+
+* preferably shows the `vector` if there is an inconsistency between the `vector` and any other sibling attribute.
+* SHOULD prefer the item of `scores[]` for each `product_id` which has the highest CVSS Base Score and newest CVSS version
+ (in that order) if a `product_id` is listed in more than one item of `scores[]`.
+
+### Conformance Clause 12: CSAF management system
+
+A CSAF management system satisfies the "CSAF management system" conformance profile if the management system:
+
+* satisfies the "CSAF viewer" conformance profile.
+* provides at least the following management functions:
+ * add new CSAF documents (e.g. from file system or URL) to the system
+ * list all CSAF documents within the system
+ * delete CSAF documents from the system
+ * comment on CSAF documents in the system
+ * mark CSAF documents as read in the system
+ * search for CSAF documents by values of required fields at `document`-level or their children within the system
+ * search for CSAF documents by values of `cve` within the system
+ * search for CSAF documents based on properties of `/product_tree`
+ * filter on all properties which it is required to search for
+ * sort on all properties which it is required to search for
+ * sort on CVSS scores and `/document/aggregate_severity/text`
+* identifies the latest version of CSAF documents with the same `/document/tracking/id`.
+* is able to show the difference between 2 versions of a CSAF document with the same `/document/tracking/id`.
+
+### Conformance Clause 13: CSAF asset matching system
+
+A CSAF asset matching system satisfies the "CSAF asset matching system" conformance profile if the asset matching system:
+
+* satisfies the "CSAF management system" conformance profile.
+* is an asset database or connects to one.
+* matches the CSAF documents within the system to the respective assets.
+ This might be done with a probability which gives the end user the chance to broaden or narrow the results.
+ The process of matching is also referred to as "run of the asset matching module".
+* provides for each product of the asset database a list of matched advisories.
+* provides for each asset of the asset database a list of matched advisories.
+* provides for each CSAF document a list of matched product of the asset database.
+* provides for each CSAF document a list of matched asset of the asset database.
+* provides for each vulnerability within a CSAF document the option to mark a matched asset in the asset database as "not remediated",
+ "remediation in progress", or "remediation done". A switch to mark all assets at once MAY be implemented.
+* does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched product or asset has not changed.
+* detects the usage semantic version (as described in section [sec](#version-type-semantic-versioning)).
+* is able to trigger a run of the asset matching module:
+ * manually:
+ * per CSAF document
+ * per list of CSAF documents
+ * per asset
+ * per list of assets
+ * automatically:
+ * when a new CSAF document is inserted (for this CSAF document)
+ * when a new asset is inserted (for this asset)
+ * when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+ > These also apply if more than one CSAF document or asset was added.
+ > To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+ * Manually and automatically triggered runs SHOULD NOT be pooled.
+* provides at least the following statistics for the count of assets:
+ * matching that CSAF document at all
+ * marked with a given status
+
+### Conformance Clause 14: CSAF basic validator
+
+A program satisfies the "CSAF basic validator" conformance profile if the program:
+
+* reads documents and performs a check against the JSON schema.
+* performs all mandatory tests as given in section [sec](#mandatory-tests).
+* does not change the CSAF documents.
+
+A CSAF basic validator MAY provide one or more additional functions:
+
+* Only run one or more selected mandatory tests.
+* Apply quick fixes as specified in the standard.
+* Apply additional quick fixes as implemented by the vendor.
+
+### Conformance Clause 15: CSAF extended validator
+
+A CSAF basic validator satisfies the "CSAF extended validator" conformance profile if the CSAF basic validator:
+
+* satisfies the "CSAF basic validator" conformance profile.
+* additionally performs all optional tests as given in section [sec](#optional-tests).
+
+A CSAF extended validator MAY provide an additional function to only run one or more selected optional tests.
+
+### Conformance Clause 16: CSAF full validator
+
+A CSAF extended validator satisfies the "CSAF full validator" conformance profile if the CSAF extended validator:
+
+* satisfies the "CSAF extended validator" conformance profile.
+* additionally performs all informative tests as given in section [sec](#informative-test).
+
+A CSAF full validator MAY provide an additional function to only run one or more selected informative tests.
+
+### Conformance Clause 17: CSAF SBOM matching system
+
+A CSAF SBOM matching system satisfies the "CSAF SBOM matching system" conformance profile if the SBOM matching system:
+
+* satisfies the "CSAF management system" conformance profile.
+* is an SBOM database or connects to one.
+ > A repository or any other location that can be queried for SBOMs and their content is also considered an SBOM database.
+* matches the CSAF documents within the system to the respective SBOM components.
+ This might be done with a probability which gives the user the chance to broaden or narrow the results.
+ The process of matching is also referred to as "run of the SBOM matching module".
+* provides for each SBOM of the SBOM database a list of matched advisories.
+* provides for each SBOM component of the SBOM database a list of matched advisories.
+* provides for each CSAF document a list of matched SBOMs of the SBOM database.
+* provides for each CSAF document a list of matched SBOM components of the SBOM database.
+* provides for each vulnerability within a CSAF document the option to mark a matched SBOM component in the SBOM database as "not remediated",
+ "remediation in progress", or "remediation done".
+ A switch to mark all SBOM component at once MAY be implemented.
+* does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched SBOM or SBOM component has not changed.
+* detects the usage semantic version (as described in section [sec](#version-type-semantic-versioning)).
+* is able to trigger a run of the asset matching module:
+ * manually:
+ * per CSAF document
+ * per list of CSAF documents
+ * per SBOM component
+ * per list of SBOM components
+ * automatically:
+ * when a new CSAF document is inserted (for this CSAF document)
+ * when a new SBOM component is inserted (for this SBOM component)
+ * when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+ > These also apply if more than one CSAF document or SBOM component was added.
+ > To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+ > Manually and automatically triggered runs should not be pooled.
+* provides at least the following statistics for the count of SBOM component:
+ * matching that CSAF document at all
+ * marked with a given status
+
+-------
diff --git a/csaf_2.1/prose/edit/src/design-considerations-00.md b/csaf_2.1/prose/edit/src/design-considerations-00.md
new file mode 100644
index 00000000..194263c9
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/design-considerations-00.md
@@ -0,0 +1,25 @@
+# Design Considerations
+
+The Common Security Advisory Framework (CSAF) is a language to exchange Security Advisories formulated in JSON.
+
+The term Security Advisory as used in this document describes any notification of security issues in products of and by providers.
+Anyone providing a product is considered in this document as a vendor, i.e. developers or maintainers of information system products or services.
+This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and product resellers and distributors,
+including authoritative vendor partners.
+A security issue is not necessarily constrained to a problem statement, the focus of the term is on the security aspect impacting
+(or not impacting) specific product-platform-version combinations.
+Information on presence or absence of workarounds is also considered part of the security issue.
+This document is the definitive reference for the language elements of CSAF version 2.1.
+The encompassing JSON schema file noted in the Additional Artifacts section of the title page SHALL be taken as normative in the case
+a gap or an inconsistency in this explanatory document becomes evident.
+The following presentation in this section is grouped by topical area, and is not simply derivative documentation from the schema document itself.
+The information contained aims to be more descriptive and complete.
+Where applicable, common conventions are stated and known common issues in usage are pointed out informatively to support
+implementers of document producers and consumers alike.
+
+This minimal required information set does not provide any useful information on products, vulnerabilities, or security advisories.
+Thus, any real-world Security Advisory will carry additional information as specified in section 3 Schema elements.
+
+Care has been taken, to design the containers for product and vulnerability information to support fine-grained mapping of
+security advisories onto product and vulnerability and minimize data duplication through referencing.
+The display of the elements representing Product Tree and Vulnerability information has been placed in the sections named accordingly.
diff --git a/csaf_2.1/prose/edit/src/design-considerations-01-construction-principles.md b/csaf_2.1/prose/edit/src/design-considerations-01-construction-principles.md
new file mode 100644
index 00000000..bdf6c051
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/design-considerations-01-construction-principles.md
@@ -0,0 +1,67 @@
+## Construction Principles
+
+A Security Advisory defined as a CSAF document is the result of complex orchestration of many players and distinct and
+partially difficult to play schemas.
+
+The format chosen is [JSONSchema] which allows validation and delegation to sub schema providers.
+The latter aligns well with separation of concerns and shares the format family of information interchange utilized by
+the providers of product and vulnerability information which migrated from XML to JSON since the creation of CSAF CVRF version 1.2,
+the pre-predecessor of this specification.
+
+The acronym CSAF, “Common Security Advisory Framework”, stands for the target of concerted mitigation and remediation accomplishment.
+
+Technically, the use of JSON schema allows validation and proof of model conformance (through established schema based validation)
+of the declared information inside CSAF documents.
+
+The CSAF schema structures its derived documents into three main classes of the information conveyed:
+
+1. The frame, aggregation, and reference information of the document
+2. Product information considered relevant by the creator
+3. Vulnerability information and its relation to the products declared in 2.
+
+Wherever possible repetition of data has been replaced by linkage through ID elements.
+Consistency on the content level thus is in the responsibility of the producer of such documents,
+to link e.g. vulnerability information to the matching product.
+
+A dictionary like presentation of all defined schema elements is given in the section [sec](#schema-elements).
+Any expected relations to other elements (linkage) is described there. This linking relies on setting attribute values accordingly
+(mostly guided by industry best practice and conventions) and thus implies,
+that any deep validation on a semantic level (e.g. does the CWE match the described vulnerability)
+is to be ensured by the producer and consumer of CSAF documents.
+It is out of scope for this specification.
+
+Proven and intended usage patterns from practice are given where possible.
+
+Delegation to industry best practices technologies is used in referencing schemas for:
+
+* Platform Data:
+ * Common Platform Enumeration (CPE) Version 2.3 [cite](#CPE23-N)
+* Vulnerability Scoring:
+ * Common Vulnerability Scoring System (CVSS) Version 3.1 [cite](#CVSS31)
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v3.1.json
+ * Common Vulnerability Scoring System (CVSS) Version 3.0 [cite](#CVSS30)
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v3.0.json
+ * Common Vulnerability Scoring System (CVSS) Version 2.0 [cite](#CVSS2)
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v2.0.json
+* Vulnerability Classification
+ * Common Weakness Enumeration (CWE) [cite](#CWE)
+ * CWE List: http://cwe.mitre.org/data/index.html
+* Classification for Document Distribution
+ * Traffic Light Protocol (TLP)
+ * Default Definition: https://www.first.org/tlp/
+
+Even though the JSON schema does not prohibit specifically additional properties and custom keywords,
+it is strongly recommended not to use them. Suggestions for new fields SHOULD be made through issues in the TC's GitHub.
+
+> The standardized fields allow for scalability across different issuing parties and dramatically reduce the human effort and
+> need for dedicated parsers as well as other tools on the side of the consuming parties.
+
+Section [sec](#profiles) defined profiles that are used to ensure a common understanding of which fields are required in a given use case.
+Additional conventions are stated in section [sec](#additional-conventions).
+The tests given in section [sec](#tests) support CSAF producers and
+consumers to verify rules from the specification which can not be tested by the schema.
+Section [sec](#distributing-csaf-documents) states how to distribute and where to find CSAF documents.
+Safety, Security and Data Protection are considered in section [sec](#safety-security-and-data-protection-considerations).
+Finally, a set of conformance targets describes tools in the ecosystem.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/distributing.md b/csaf_2.1/prose/edit/src/distributing.md
new file mode 100644
index 00000000..38d946a7
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/distributing.md
@@ -0,0 +1,696 @@
+# Distributing CSAF documents
+
+This section lists requirements and roles defined for distributing CSAF documents.
+The first subsection provides all requirements - the second one the roles.
+It is mandatory to fulfill the basic role "CSAF publisher". The last section provides specific rules for the process of retrieving CSAF documents.
+
+## Requirements
+
+The requirements in this subsection are consecutively numbered to be able to refer to them directly.
+The order does not give any hint about the importance.
+Not all requirements have to be fulfilled to conform to this specification - the sets of
+requirements per conformance clause are defined in section [sec](#roles).
+
+### Requirement 1: Valid CSAF document
+
+The document is a valid CSAF document (cf. Conformance clause 1).
+
+### Requirement 2: Filename
+
+The CSAF document has a filename according to the rules in section [sec](#filename).
+
+### Requirement 3: TLS
+
+The CSAF document is per default retrievable from a website which uses TLS for encryption and server authenticity.
+The CSAF document MUST NOT be downloadable from a location which does not encrypt the transport when crossing organizational
+boundaries to maintain the chain of custody.
+
+### Requirement 4: TLP:WHITE
+
+If the CSAF document is labeled TLP:WHITE, it MUST be freely accessible.
+
+This does not exclude that such a document is also available in an access protected customer portal.
+However, there MUST be one copy of the document available for people without access to the portal.
+
+> Reasoning: If an advisory is already in the media, an end user should not be forced to collect the pieces of information from a
+> press release but be able to retrieve the CSAF document.
+
+### Requirement 5: TLP:AMBER and TLP:RED
+
+CSAF documents labeled TLP:AMBER or TLP:RED MUST be access protected.
+If they are provided via a web server this SHALL be done under a different path than for TLP:WHITE,
+TLP:GREEN and unlabeled CSAF documents. TLS client authentication, access tokens or any other automatable authentication method SHALL be used.
+
+An issuing party MAY agree with the recipients to use any kind of secured drop at the recipients' side to avoid putting them on their own website.
+However, it MUST be ensured that the documents are still access protected.
+
+### Requirement 6: No Redirects
+
+Redirects SHOULD NOT be used. If they are inevitable only HTTP Header redirects are allowed.
+
+> Reasoning: Clients should not parse the payload for navigation and some, as e.g. `curl`, do not follow any other kind of redirects.
+
+### Requirement 7: provider-metadata.json
+
+The party MUST provide a valid `provider-metadata.json` according to the schema
+[CSAF provider metadata](https://docs.oasis-open.org/csaf/csaf/v2.0/provider_json_schema.json) for its own metadata.
+The `publisher` object SHOULD match the one used in the CSAF documents of the issuing party but can be set to whatever value a
+CSAF aggregator SHOULD display over any individual `publisher` values in the CSAF documents themselves.
+
+> This information is used to collect the data for CSAF aggregators, listers and end users.
+> The CSAF provider metadata schema ensures the consistency of the metadata for a CSAF provider across the ecosystem.
+> Other approaches, like extracting the `publisher` object from CSAF documents, are likely to fail if the object differs between CSAF documents.
+>
+> It is suggested to put the file `provider-metadata.json` adjacent to the ROLIE feed documents (requirement 15)
+> or in the main directory adjacent to the year folders (requirement 14), `changes.csv` (requirement 13) and the `index.txt` (requirement 12).
+> Suggested locations to store the `provider-metadata.json` are:
+>
+> * https://www.example.com/.well-known/csaf/provider-metadata.json
+> * https://domain.tld/security/data/csaf/provider-metadata.json
+> * https://psirt.domain.tld/advisories/csaf/provider-metadata.json
+> * https://domain.tld/security/csaf/provider-metadata.json
+
+*Example 1 (minimal with ROLIE document):*
+
+```
+ {
+ "canonical_url": "https://www.example.com/.well-known/csaf/provider-metadata.json",
+ "distributions": [
+ {
+ "rolie": {
+ "feeds": [
+ {
+ "summary": "All TLP:WHITE advisories of Example Company.",
+ "tlp_label": "WHITE",
+ "url": "https://www.example.com/.well-known/csaf/feed-tlp-white.json"
+ }
+ ]
+ }
+ }
+ ],
+ "last_updated": "2024-01-24T20:20:56.169Z",
+ "list_on_CSAF_aggregators": true,
+ "metadata_version": "2.1",
+ "mirror_on_CSAF_aggregators": true,
+ "public_openpgp_keys": [
+ {
+ "fingerprint": "8F5F267907B2C4559DB360DB2294BA7D2B2298B1",
+ "url": "https://keys.example.net/vks/v1/by-fingerprint/8F5F267907B2C4559DB360DB2294BA7D2B2298B1"
+ }
+ ],
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "role": "csaf_trusted_provider"
+ }
+```
+
+If a CSAF publisher (cf. section [sec](#role-csaf-publisher)) does not provide the `provider-metadata.json`,
+an aggregator SHOULD contact the CSAF publisher in question to determine the values for `list_on_CSAF_aggregators` and `mirror_on_CSAF_aggregators`.
+If that is impossible or if the CSAF publisher is unresponsive the following values MUST be used:
+
+```
+ "list_on_CSAF_aggregators": true,
+ "mirror_on_CSAF_aggregators": false
+```
+
+> This prevents that CSAF documents of a CSAF publisher which have been collected by one CSAF aggregator A are mirrored again on a
+> second CSAF aggregator B. Such cascades are prone to outdated information.
+> If the first aggregator A collects the CSAF documents on best effort and B copies the files from A and announces that this is done weekly,
+> one might assume that B's CSAF documents are more recent.
+> However, that is not the case as B's information depends on A.
+
+### Requirement 8: security.txt
+
+In the security.txt there MUST be at least one field `CSAF` which points to the `provider-metadata.json` (requirement 7).
+If this field indicates a web URI, then it MUST begin with "https://" (as per section 2.7.2 of [cite](#RFC7230)).
+See [cite](#SECURITY-TXT) for more details.
+
+> The security.txt was published as [cite](#RFC9116) in April 2022. At the time of this writing,
+> the `CSAF` field is in the process of being officially added.
+
+*Examples 1:*
+
+```
+CSAF: https://domain.tld/security/data/csaf/provider-metadata.json
+CSAF: https://psirt.domain.tld/advisories/csaf/provider-metadata.json
+CSAF: https://domain.tld/security/csaf/provider-metadata.json
+CSAF: https://www.example.com/.well-known/csaf/provider-metadata.json
+```
+
+It is possible to advertise more than one `provider-metadata.json` by adding multiple `CSAF` fields,
+e.g. in case of changes to the organizational structure through merges or acquisitions.
+However, this SHOULD NOT be done and removed as soon as possible.
+If one of the URLs fulfills requirement 9, this MUST be used as the first CSAF entry in the security.txt.
+
+### Requirement 9: Well-known URL for provider-metadata.json
+
+The URL path `/.well-known/csaf/provider-metadata.json` under the main domain of the issuing authority serves directly
+the `provider-metadata.json` according to requirement 7.
+The use of the scheme "HTTPS" is required. See [cite](#RFC8615) for more details.
+
+*Example 1:*
+
+```
+ https://www.example.com/.well-known/csaf/provider-metadata.json
+```
+
+### Requirement 10: DNS path
+
+The DNS record `csaf.data.security.domain.tld` SHALL resolve as a web server which serves directly
+the `provider-metadata.json` according to requirement 7.
+The use of the scheme "HTTPS" is required.
+
+### Requirement 11: One folder per year
+
+The CSAF documents MUST be located within folders named `` where `` is the year given in the
+value of `/document/tracking/initial_release_date`.
+
+*Examples 1:*
+
+```
+2021
+2020
+```
+
+### Requirement 12: index.txt
+
+The index.txt file within MUST provide a list of all filenames of CSAF documents which are located in the sub-directories with their filenames.
+
+*Example 1:*
+
+```
+2020/example_company_-_2020-yh4711.json
+2019/example_company_-_2019-yh3234.json
+2018/example_company_-_2018-yh2312.json
+```
+
+> This can be used to download all CSAF documents.
+
+### Requirement 13: changes.csv
+
+The file changes.csv MUST contain the filename as well as the value of `/document/tracking/current_release_date` for each
+CSAF document in the sub-directories without a heading; lines MUST be sorted by the `current_release_date` timestamp with the latest one first.
+
+*Example 1:*
+
+```
+"2020/example_company_-_2020-yh4711.json","2020-07-01T10:09:07Z"
+"2018/example_company_-_2018-yh2312.json","2020-07-01T10:09:01Z"
+"2019/example_company_-_2019-yh3234.json","2019-04-17T15:08:41Z"
+"2018/example_company_-_2018-yh2312.json","2019-03-01T06:01:00Z"
+```
+
+### Requirement 14: Directory listings
+
+Directory listing SHALL be enabled to support manual navigation.
+
+### Requirement 15: ROLIE feed
+
+Resource-Oriented Lightweight Information Exchange (ROLIE) is a standard to ease discovery of security content.
+ROLIE is built on top of the Atom Publishing Format and Protocol, with specific requirements that support publishing security content.
+All CSAF documents with the same TLP level MUST be listed in a single ROLIE feed.
+At least one of the feeds
+
+* TLP:WHITE
+* TLP:GREEN
+* unlabeled
+
+MUST exist.
+Each ROLIE feed document MUST be a JSON file that conforms with [cite](#RFC8322).
+
+*Example 1:*
+
+```
+ {
+ "feed": {
+ "id": "example-csaf-feed-tlp-white",
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json"
+ }
+ ],
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ],
+ "updated": "2024-01-01T12:00:00.000Z",
+ "entry": [
+ {
+ "id": "ESA-2024-001",
+ "title": "Multiple vulnerabilities in ABC 0.0.2",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json"
+ },
+ {
+ "rel": "hash",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json.sha512"
+ },
+ {
+ "rel": "signature",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json.asc"
+ }
+ ],
+ "published": "2024-01-01T11:00:00.000Z",
+ "updated": "2024-01-01T12:00:00.000Z",
+ "summary": {
+ "content": "Multiple vulnerabilities were fixed in ABC 0.0.3"
+ },
+ "content": {
+ "type": "application/json",
+ "src": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json"
+ },
+ "format": {
+ "schema": "https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json",
+ "version": "2.1"
+ }
+ }
+ ]
+ }
+ }
+```
+
+Any existing hash file (requirement 18) MUST be listed in the corresponding entry of the ROLIE feed as an item of
+the array `link` having the `rel` value of `hash`.
+Any existing signature file (requirement 19) MUST be listed in the corresponding entry of the ROLIE feed as an item of the array `link`
+having the `rel` value of `signature`.
+
+### Requirement 16: ROLIE service document
+
+The use and therefore the existence of ROLIE service document is optional.
+If it is used, each ROLIE service document MUST be a JSON file that conforms with [cite](#RFC8322) and lists the ROLIE feed documents.
+
+*Example 1:*
+
+```
+ {
+ "service": {
+ "workspace": [
+ {
+ "title": "Public CSAF feed",
+ "collection": [
+ {
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json",
+ "categories": {
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+```
+
+### Requirement 17: ROLIE category document
+
+The use and therefore the existence of ROLIE category document is optional.
+If it is used, each ROLIE category document MUST be a JSON file that conforms with [cite](#RFC8322).
+ROLIE categories SHOULD be used for to further dissect CSAF documents by one or more of the following criteria:
+
+* document category
+* document language
+* values of the branch category within the Product Tree including but not limited to
+ * `vendor`
+ * `product_family`
+ * `product_name`
+ * `product_version`
+* type of product
+
+ *Examples 1:*
+
+ ```
+ CPU
+ Firewall
+ Monitor
+ PLC
+ Printer
+ Router
+ Sensor
+ Server
+ ```
+
+* areas or sectors, the products are used in
+
+ *Examples 2:*
+
+ ```
+ Chemical
+ Commercial
+ Communication
+ Critical Manufacturing
+ Dams
+ Energy
+ Healthcare
+ Water
+ ```
+
+* any other categorization useful to the consumers
+
+*Example 3:*
+
+```
+ {
+ "categories": {
+ "category": [
+ {
+ "term": "Example Company Product A"
+ },
+ {
+ "term": "Example Company Product B"
+ }
+ ]
+ }
+ }
+```
+
+### Requirement 18: Integrity
+
+All CSAF documents SHALL have at least one hash file computed with a secure cryptographic hash algorithm (e.g. SHA-512 or SHA-3)
+to ensure their integrity. The filename is constructed by appending the file extension which is given by the algorithm.
+
+MD5 and SHA1 SHOULD NOT be used.
+
+*Example 1:*
+
+```
+File name of CSAF document: example_company_-_2019-yh3234.json
+File name of SHA-256 hash file: example_company_-_2019-yh3234.json.sha256
+File name of SHA-512 hash file: example_company_-_2019-yh3234.json.sha512
+```
+
+The file content SHALL start with the first byte of the hexadecimal hash value.
+Any subsequent data (like a filename) which is optional SHALL be separated by at least one space.
+
+*Example 2:*
+
+```
+ea6a209dba30a958a78d82309d6cdcc6929fcb81673b3dc4d6b16fac18b6ff38 example_company_-_2019-yh3234.json
+```
+
+If a ROLIE feed exists, each hash file MUST be listed in it as described in requirement 15.
+
+### Requirement 19: Signatures
+
+All CSAF documents SHALL have at least one OpenPGP signature file which is provided under the same filename which is
+extended by the appropriate extension. See [cite](#RFC4880) for more details.
+
+*Example 1:*
+
+```
+File name of CSAF document: example_company_-_2019-yh3234.json
+File name of signature file: example_company_-_2019-yh3234.json.asc
+```
+
+If a ROLIE feed exists, each signature file MUST be listed in it as described in requirement 15.
+
+### Requirement 20: Public OpenPGP Key
+
+The public part of the OpenPGP key used to sign the CSAF documents MUST be available.
+It SHOULD also be available at a public key server.
+
+> For example, the public part of the OpenPGP key could be placed in a directory `openpgp` adjacent to the `provider-metadata.json`.
+
+The OpenPGP key SHOULD have a strength that is considered secure.
+
+> Guidance on OpenPGP key strength can be retrieved from technical guidelines of competent authorities.
+
+### Requirement 21: List of CSAF providers
+
+The file `aggregator.json` MUST be present and valid according to the
+JSON schema [CSAF aggregator](https://docs.oasis-open.org/csaf/csaf/v2.0/aggregator_json_schema.json).
+It MUST NOT be stored adjacent to a `provider-metadata.json`.
+
+> Suggested locations to store the `aggregator.json` are:
+>
+> * https://www.example.com/.well-known/csaf-aggregator/aggregator.json
+> * https://domain.tld/security/data/aggregator/csaf/aggregator.json
+> * https://psirt.domain.tld/advisories/aggregator/csaf/aggregator.json
+> * https://domain.tld/security/aggregator/csaf/aggregator.json
+
+The file `aggregator.json` SHOULD only list the latest version of the metadata of a CSAF provider.
+
+*Example 1:*
+
+```
+ {
+ "aggregator": {
+ "category": "lister",
+ "contact_details": "Example CSAF Lister can be reached at contact_us@lister.example, or via our website at https://lister.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example CSAF Lister",
+ "namespace": "https://lister.example"
+ },
+ "aggregator_version": "2.1",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ }
+ },
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ }
+ }
+ ],
+ "last_updated": "2024-01-24T22:35:38.978Z"
+ }
+```
+
+### Requirement 22: Two disjoint issuing parties
+
+The file `aggregator.json` (requirement 21) lists at least two disjoint CSAF providers (including CSAF trusted providers)
+or one CSAF publisher and one CSAF provider (including CSAF trusted provider).
+
+### Requirement 23: Mirror
+
+The CSAF documents for each issuing party that is mirrored MUST be in a different folder.
+The folder name SHOULD be retrieved from the name of the issuing authority.
+This folders MUST be adjacent to the `aggregator.json` (requirement 21).
+Each such folder MUST at least:
+
+* provide a `provider-metadata.json` for the current issuing party.
+* provide the ROLIE feed document according to requirement 15 which links to the local copy of the CSAF document.
+
+*Example 1:*
+
+```
+ {
+ "aggregator": {
+ "category": "aggregator",
+ "contact_details": "Example Aggregator can be reached at contact_us@aggregator.example, or via our website at https://aggregator.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example Aggregator",
+ "namespace": "https://aggregator.example"
+ },
+ "aggregator_version": "2.1",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Company_ProductCERT/provider-metadata.json"
+ ]
+ },
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Coordinator_CERT/provider-metadata.json"
+ ]
+ }
+ ],
+ "last_updated": "2024-01-24T22:35:38.978Z"
+ }
+```
+
+## Roles
+
+This subsection groups the requirements from the previous subsection into named sets which target the roles with the same name.
+This allows end users to request their suppliers to fulfill a certain set of requirements.
+A supplier can use roles for advertising and marketing.
+
+The roles "CSAF publisher", "CSAF provider", and "CSAF trusted provider" are intended directly for issuing parties and form the first group.
+The second group consists of the roles "CSAF lister" and "CSAF aggregator".
+They collect data from the aforementioned issuing parties of the first group and provide them in a single place to aid in automation.
+Parties of the second group can also issue their own advisories.
+However, they MUST follow the rules for the first group for that.
+
+Both, a CSAF lister and a CSAF aggregator, decide based on their own rules which issuing parties to list respectively to mirror.
+However, an issuing party MAY apply to be listed or mirrored.
+
+Issuing parties MUST indicate through the value `false` in `list_on_CSAF_aggregators` if they do not want to be listed.
+Issuing parties MUST indicate through the value `false` in `mirror_on_CSAF_aggregators` if they do not want to be mirrored.
+
+The values are independent.
+The combination of the value `false` in `list_on_CSAF_aggregators` and `true` in `mirror_on_CSAF_aggregators` implies that
+the issuing party does not want to be listed without having the CSAF documents mirrored.
+Therefore, a CSAF aggregator can list that issuing party if it mirrors the files.
+
+### Role: CSAF publisher
+
+A distributing party satisfies the "CSAF publisher" role if the party:
+
+* satisfies the requirements 1 to 4 in section [sec](#requirements).
+* distributes only CSAF documents on behalf of its own.
+
+### Role: CSAF provider
+
+A CSAF publisher satisfies the "CSAF provider" role if the party fulfills the following three groups of requirements:
+
+Firstly, the party:
+
+* satisfies the "CSAF publisher" role profile.
+* additionally satisfies the requirements 5 to 7 in section [sec](#requirements).
+
+Secondly, the party:
+
+* satisfies at least one of the requirements 8 to 10 in section [sec](#requirements).
+
+Thirdly, the party:
+
+* satisfies the requirements 11 to 14 in section [sec](#requirements) or requirements 15 to 17 in section [sec](#requirements).
+
+> If the party uses the ROLIE-based distribution, it MUST also satisfy requirements 15 to 17.
+> If it uses the directory-based distribution, it MUST also satisfy requirements 11 to 14.
+
+### Role: CSAF trusted provider
+
+A CSAF provider satisfies the "CSAF trusted provider" role if the party:
+
+* satisfies the "CSAF provider" role profile.
+* additionally satisfies the requirements 18 to 20 in section [sec](#requirements).
+
+### Role: CSAF lister
+
+A distributing party satisfies the "CSAF lister" role if the party:
+
+* satisfies the requirements 6, 21 and 22 in section [sec](#requirements).
+* uses the value `lister` for `/aggregator/category`.
+* does not list any mirror pointing to a domain under its own control.
+
+> The purpose of this role is to provide a list of URLs where to find CSAF documents.
+> It is not assumed that the list will be complete.
+
+### Role: CSAF aggregator
+
+A distributing party satisfies the "CSAF aggregator" role if the party:
+
+* satisfies the requirements 1 to 6 and 21 to 23 in section [sec](#requirements).
+* uses the value `aggregator` for `/aggregator/category`.
+* lists a mirror for at least two disjoint issuing parties pointing to a domain under its own control.
+* links the public part of the OpenPGP key used to sign CSAF documents for each mirrored issuing party in
+ the corresponding `provider-metadata.json`.
+* provides for each CSAF document that is mirrored a signature (requirement 19) and a hash (requirement 18).
+ Both SHALL be listed in the ROLIE feed. If the issuing party provides those files for a CSAF document, they SHOULD be copied as well.
+ If the issuing party does not provide those files, they SHALL be created by the CSAF aggregator.
+ Such a signature does not imply any liability of CSAF aggregator for the content of the corresponding CSAF document.
+ It just confirms that the CSAF document provided has not been modified after being downloaded from the issuing party.
+ A CSAF aggregator MAY add additional signatures and hashes for a CSAF document.
+
+Additionally, a CSAF aggregator MAY list one or more issuing parties that it does not mirror.
+
+> The purpose of this role is to provide a single point where CSAF documents can be retrieved.
+> Multiple CSAF aggregators are expected to exist around the world. None of them is required to mirror all CSAF documents of all issuing parties.
+> CSAF aggregators can be provided for free or as a paid service.
+>
+> To aid in automation, CSAF aggregators MAY mirror CSAF documents from CSAF publishers.
+> Regarding the terms of use they SHOULD consult with the issuing party.
+> The purpose of this option is that a consumer can retrieve CSAF documents from a CSAF publisher as if this issuing party would be a
+> CSAF trusted provider. To reach that goal, a CSAF aggregator collects the CSAF documents from the CSAF publisher and mirrors it.
+> The collection process MAY be automated or manual. CSAF aggregators announce the collection interval through the field `update_interval` in
+> the corresponding item of the CSAF publishers list (`csaf_publishers`) in their `aggregator.json`.
+> To minimize the implementation efforts and process overhead, a CSAF aggregator MAY upload the CSAF documents of a CSAF publisher into
+> an internal instance of a CSAF provider software.
+> Such construct is called "CSAF proxy provider" as it can be mirrored by the CSAF aggregator software.
+> However, such a CSAF proxy provider MUST NOT be accessible from anyone else than the CSAF aggregator itself.
+> Otherwise, that would violate the second rule of section [sec](#role-csaf-publisher).
+> Therefore, it is recommended to expose the CSAF proxy provider only on localhost and allow the access only from the CSAF aggregator software.
+
+## Retrieving rules
+
+The retrieving process executes in two phases: Finding the `provider-metadata.json` (requirement 7 in section [sec](#requirements)) and
+retrieving CSAF documents.
+
+> A retrieving party SHOULD do the first phase every time.
+> Based on the setup and use case of the retrieving party it MAY choose to do it less often,
+> e.g. only when adding new or updating distributing parties.
+> In that case, it SHOULD to check regularly whether new information is available.
+
+### Finding provider-metadata.json
+
+**Direct locating**: The following process SHOULD be used to determine the location of a `provider-metadata.json`
+(requirement 7 in section [sec](#requirements)) based on the main domain of the issuing party:
+
+1. Checking the Well-known URL (requirement 9 in section [sec](#requirements))
+2. Checking the security.txt (requirement 8 in section [sec](#requirements))
+3. Checking the DNS path (requirement 10 in section [sec](#requirements))
+4. Select one or more `provider-metadata.json` to use.
+
+> The term "checking" used in the listing above SHOULD be understood as follows:
+> Try to access the resource and test whether the response provides an expected result as defined in the requirement in section 7.1.
+> If that is the case, the step was successful - otherwise not.
+
+The first two steps SHOULD be performed in all cases as the security.txt MAY advertise additional `provider-metadata.json`.
+The third step SHOULD only be performed if the first two did not result in the location of at least one `provider-metadata.json`.
+
+**Indirect locating**: A retrieving party MAY choose to determine the location of a `provider-metadata.json` by retrieving
+its location from an `aggregator.json` (requirement 21 in section [sec](#requirements)) of a CSAF lister or CSAF aggregator.
+
+### Retrieving CSAF documents
+
+Given a `provider-metadata.json`, the following process SHOULD be used to retrieve CSAF documents:
+
+1. Parse the `provider-metadata.json` to determine whether the directory-based (requirements 11 to 14 in section [sec](#requirements))
+ or ROLIE-based distribution (requirements 15 to 17 in section [sec](#requirements)) is used.
+ If both are present, the ROLIE information SHOULD be preferred.
+2. For any CSAF trusted provider, the hash and signature files (requirements 18 to 19 in section [sec](#requirements)) SHOULD be retrieved together
+ with the CSAF document.
+ They MUST be checked before further processing the CSAF document.
+3. Test the CSAF document against the schema.
+4. Execute mandatory tests on the CSAF document.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/frontmatter.md b/csaf_2.1/prose/edit/src/frontmatter.md
new file mode 100644
index 00000000..c4d0d395
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/frontmatter.md
@@ -0,0 +1,99 @@
+
+![OASIS Logo](https://docs.oasis-open.org/templates/OASISLogo-v3.0.png)
+
+-------
+
+# Common Security Advisory Framework Version 2.1
+
+## Committee Specification Draft 01
+
+## ?? Month 2024
+
+#### This stage:
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.md (Authoritative) \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.html \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.pdf
+
+#### Previous stage:
+N/A
+
+#### Latest stage:
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.md (Authoritative) \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.html \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.pdf
+
+#### Technical Committee:
+[OASIS Common Security Advisory Framework (CSAF) TC](https://www.oasis-open.org/committees/csaf/)
+
+#### Chair:
+Omar Santos (osantos@cisco.com), [Cisco Systems](https://cisco.com/)
+
+#### Editors:
+Stefan Hagen (stefan@hagen.link), [Individual](https://stefan-hagen.website/) \
+Thomas Schmidt (thomas.schmidt@bsi.bund.de), [Federal Office for Information Security (BSI) Germany](https://www.bsi.bund.de/)
+
+#### Additional artifacts:
+This prose specification is one component of a Work Product that also includes:
+
+* Aggregator JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/aggregator_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json.
+* CSAF JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/csaf_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json.
+* Provider JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/provider_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json.
+
+#### Related work:
+This specification replaces or supersedes:
+
+* _Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html.
+
+#### Declared JSON namespaces:
+
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json)
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json)
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json)
+
+
+#### Abstract:
+The Common Security Advisory Framework (CSAF) Version 2.0 is the definitive reference for the language which supports creation, update, and interoperable exchange of security advisories as structured information on products, vulnerabilities and the status of impact and remediation among interested parties.
+
+#### Status:
+This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the "Latest stage" location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=csaf#technical.
+
+TC members should send comments on this specification to the TC's email list. Others should send comments to the TC's public comment list, after subscribing to it by following the instructions at the "Send A Comment" button on the TC's web page at https://www.oasis-open.org/committees/csaf/.
+
+This specification is provided under the [Non-Assertion](https://www.oasis-open.org/policies-guidelines/ipr/#Non-Assertion-Mode) Mode of the [OASIS IPR Policy](https://www.oasis-open.org/policies-guidelines/ipr/), the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's web page (https://www.oasis-open.org/committees/csaf/ipr.php).
+
+Note that any machine-readable content ([Computer Language Definitions](https://www.oasis-open.org/policies-guidelines/tc-process-2017-05-26/#wpComponentsCompLang)) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.
+
+#### Citation format:
+When referencing this specification the following citation format should be used:
+
+**[csaf-v2.1]**
+
+_Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.html.
+
+
+-------
+
+## Notices
+
+Copyright © OASIS Open 2022. All Rights Reserved.
+
+All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full [Policy](https://www.oasis-open.org/policies-guidelines/ipr/) may be found at the OASIS website.
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+As stated in the OASIS IPR Policy, the following three paragraphs in brackets apply to OASIS Standards Final Deliverable documents (Committee Specification, Candidate OASIS Standard, OASIS Standard, or Approved Errata).
+
+\[OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this deliverable.\]
+
+\[OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this OASIS Standards Final Deliverable. OASIS may include such claims on its website, but disclaims any obligation to do so.\]
+
+\[OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this OASIS Standards Final Deliverable or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Standards Final Deliverable, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.\]
+
+The name "OASIS" is a trademark of [OASIS](https://www.oasis-open.org/), the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark/ for above guidance.
diff --git a/csaf_2.1/prose/edit/src/guidance-on-size.md b/csaf_2.1/prose/edit/src/guidance-on-size.md
new file mode 100644
index 00000000..f654fb3a
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/guidance-on-size.md
@@ -0,0 +1,355 @@
+
+# Guidance on the Size of CSAF Documents
+
+This appendix provides informative guidance on the size of CSAF documents.
+
+The TC carefully considered all known aspects to provide size limits for CSAF documents for this version of the specification with
+the result that hard limits SHOULD NOT be enforced.
+However, since there is the need for guidance to ensure interoperability in the ecosystem, the TC provides a set of soft limits.
+A CSAF document which exceeds those, can still be valid but it might not be processable for some parties.
+
+All _CSAF consumers_ SHOULD be able to process CSAF documents which comply with the limits below.
+All _CSAF producers_ SHOULD NOT produce CSAF documents which exceed those limits.
+
+> If you come across a case where these limits are exceeded, please provide feedback to the TC.
+
+## File size
+
+A CSAF document in the specified JSON format encoded in UTF-8 SHOULD conform to known size limits of current technologies parsing JSON content,
+e.g.: 15 MB.
+
+> At least one database technology in wide use for storing CSAF documents rejects insert attempts when
+> the transformed BSON size exceeds 16 megabytes.
+> The BSON format optimizes for accessibility and not size.
+> So, small integers and small strings may incur more overhead in the BSON format than in JSON.
+> In addition, the BSON format adds length information for the entries inside the document,
+> which adds to the size when storing CSAF document content in a BSON format.
+
+## Array length
+
+An array SHOULD NOT have more than:
+
+* 10 000 items for
+ * `/document/acknowledgments`
+ * `/document/acknowledgments[]/names`
+ * `/document/acknowledgments[]/urls`
+ * `/document/tracking/aliases`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/branches[]/product/product_identification_helper/sbom_urls`
+ * `/product_tree/branches[]/product/product_identification_helper/x_generic_uris`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/full_product_names[]/product_identification_helper/sbom_urls`
+ * `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris`
+ * `/vulnerabilities[]/acknowledgments`
+ * `/vulnerabilities[]/acknowledgments[]/names`
+ * `/vulnerabilities[]/acknowledgments[]/urls`
+ * `/vulnerabilities[]/ids`
+ * `/vulnerabilities[]/remediations[]/entitlements`
+
+* 40 000 items for
+ * `/document/notes`
+ * `/document/references`
+ * `/vulnerabilities[]/involvements`
+ * `/vulnerabilities[]/notes`
+ * `/vulnerabilities[]/references`
+
+* 100 000 for
+ * `/document/tracking/revision_history`
+ * `/product_tree/branches`
+ * `/product_tree(/branches[])*/branches`
+ * `/product_tree/branches[]/product/product_identification_helper/model_numbers`
+ * `/product_tree/branches[]/product/product_identification_helper/serial_numbers`
+ * `/product_tree/branches[]/product/product_identification_helper/skus`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/skus`
+ * `/product_tree/full_product_names`
+ * `/product_tree/full_product_names[]/product_identification_helper/model_numbers`
+ * `/product_tree/full_product_names[]/product_identification_helper/serial_numbers`
+ * `/product_tree/full_product_names[]/product_identification_helper/skus`
+ * `/product_tree/product_groups[]/product_ids`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/skus`
+ * `/vulnerabilities`
+
+* 10 000 000 for
+ * `/product_tree/relationships`
+ * `/product_tree/product_groups`
+ * `/vulnerabilities[]/remediations[]/group_ids`
+
+* 100 000 000 for
+ * `/vulnerabilities[]/flags`
+ * `/vulnerabilities[]/flags[]/group_ids`
+ * `/vulnerabilities[]/flags[]/product_ids`
+ * `/vulnerabilities[]/product_status/first_affected`
+ * `/vulnerabilities[]/product_status/first_fixed`
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+ * `/vulnerabilities[]/product_status/last_affected`
+ * `/vulnerabilities[]/product_status/recommended`
+ * `/vulnerabilities[]/product_status/under_investigation`
+ * `/vulnerabilities[]/remediations`
+ * `/vulnerabilities[]/remediations[]/product_ids`
+ * `/vulnerabilities[]/scores`
+ * `/vulnerabilities[]/scores[]/products`
+ * `/vulnerabilities[]/threats`
+ * `/vulnerabilities[]/threats[]/group_ids`
+ * `/vulnerabilities[]/threats[]/product_ids`
+
+## String length
+
+A string SHOULD NOT have a length greater than:
+
+* 1000 for
+ * `/document/acknowledgments[]/names[]`
+ * `/document/acknowledgments[]/organization`
+ * `/document/aggregate_severity/text`
+ * `/document/category`
+ * `/document/lang`
+ * `/document/notes[]/audience`
+ * `/document/notes[]/title`
+ * `/document/publisher/name`
+ * `/document/source_lang`
+ * `/document/title`
+ * `/document/tracking/aliases[]`
+ * `/document/tracking/generator/engine/name`
+ * `/document/tracking/generator/engine/version`
+ * `/document/tracking/id`
+ * `/document/tracking/revision_history[]/legacy_version`
+ * `/document/tracking/revision_history[]/number`
+ * `/document/tracking/version`
+ * `/product_tree/branches[]/name`
+ * `/product_tree/branches[]/product/name`
+ * `/product_tree/branches[]/product/product_id`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/filename`
+ * `/product_tree/branches[]/product/product_identification_helper/model_numbers[]`
+ * `/product_tree/branches[]/product/product_identification_helper/serial_numbers[]`
+ * `/product_tree/branches[]/product/product_identification_helper/skus[]`
+ * `/product_tree/branches[](/branches[])*/name`
+ * `/product_tree/branches[](/branches[])*/product/name`
+ * `/product_tree/branches[](/branches[])*/product/product_id`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/filename`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers[]`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers[]`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/skus[]`
+ * `/product_tree/full_product_names[]/name`
+ * `/product_tree/full_product_names[]/product_id`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/filename`
+ * `/product_tree/full_product_names[]/product_identification_helper/model_numbers[]`
+ * `/product_tree/full_product_names[]/product_identification_helper/serial_numbers[]`
+ * `/product_tree/full_product_names[]/product_identification_helper/skus[]`
+ * `/product_tree/product_groups[]/group_id`
+ * `/product_tree/product_groups[]/product_ids[]`
+ * `/product_tree/relationships[]/full_product_name/name`
+ * `/product_tree/relationships[]/full_product_name/product_id`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/filename`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers[]`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers[]`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/skus[]`
+ * `/product_tree/relationships[]/product_reference`
+ * `/product_tree/relationships[]/relates_to_product_reference`
+ * `/vulnerabilities[]/acknowledgments[]/names[]`
+ * `/vulnerabilities[]/acknowledgments[]/organization`
+ * `/vulnerabilities[]/cve`
+ * `/vulnerabilities[]/cwe/id`
+ * `/vulnerabilities[]/cwe/name`
+ * `/vulnerabilities[]/flags[]/group_ids[]`
+ * `/vulnerabilities[]/flags[]/product_ids[]`
+ * `/vulnerabilities[]/ids[]/system_name`
+ * `/vulnerabilities[]/ids[]/text`
+ * `/vulnerabilities[]/notes[]/audience`
+ * `/vulnerabilities[]/notes[]/title`
+ * `/vulnerabilities[]/product_status/first_affected[]`
+ * `/vulnerabilities[]/product_status/first_fixed[]`
+ * `/vulnerabilities[]/product_status/fixed[]`
+ * `/vulnerabilities[]/product_status/known_affected[]`
+ * `/vulnerabilities[]/product_status/known_not_affected[]`
+ * `/vulnerabilities[]/product_status/last_affected[]`
+ * `/vulnerabilities[]/product_status/recommended[]`
+ * `/vulnerabilities[]/product_status/under_investigation[]`
+ * `/vulnerabilities[]/remediations[]/group_ids[]`
+ * `/vulnerabilities[]/remediations[]/product_ids[]`
+ * `/vulnerabilities[]/scores[]/cvss_v2/vectorString`
+ * `/vulnerabilities[]/scores[]/cvss_v3/vectorString`
+ * `/vulnerabilities[]/scores[]/products[]`
+ * `/vulnerabilities[]/threats[]/group_ids[]`
+ * `/vulnerabilities[]/threats[]/product_ids[]`
+ * `/vulnerabilities[]/title`
+
+* 10 000 for
+ * `/document/acknowledgments[]/summary`
+ * `/document/distribution/text`
+ * `/document/publisher/contact_details`
+ * `/document/publisher/issuing_authority`
+ * `/document/references[]/summary`
+ * `/document/tracking/revision_history[]/summary`
+ * `/product_tree/branches[]/product/product_identification_helper/cpe`
+ * `/product_tree/branches[]/product/product_identification_helper/purl`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/cpe`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/purl`
+ * `/product_tree/full_product_names[]/product_identification_helper/cpe`
+ * `/product_tree/full_product_names[]/product_identification_helper/purl`
+ * `/product_tree/product_groups[]/summary`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/cpe`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/purl`
+ * `/vulnerabilities[]/acknowledgments[]/summary`
+ * `/vulnerabilities[]/involvements[]/summary`
+ * `/vulnerabilities[]/references[]/summary`
+ * `/vulnerabilities[]/remediations[]/entitlements[]`
+
+* 30 000 for
+ * `/document/notes[]/text`
+ * `/vulnerabilities[]/notes[]/text`
+
+* 250 000 for
+ * `/vulnerabilities[]/remediations[]/details`
+ * `/vulnerabilities[]/remediations[]/restart_required/details`
+ * `/vulnerabilities[]/threats[]/details`
+
+## URI length
+
+A string with format `uri` SHOULD NOT have a length greater than 20000. This applies to:
+
+* `/document/acknowledgments[]/urls[]`
+* `/document/aggregate_severity/namespace`
+* `/document/distribution/tlp/url`
+* `/document/references[]/url`
+* `/document/publisher/namespace`
+* `/product_tree/branches[]/product/product_identification_helper/sbom_urls[]`
+* `/product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/full_product_names[]/product_identification_helper/sbom_urls[]`
+* `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri`
+* `/vulnerabilities[]/acknowledgments[]/urls[]`
+* `/vulnerabilities[]/references[]/url`
+* `/vulnerabilities[]/remediations[]/url`
+
+## Enum
+
+A string which is an enum has a fixed maximum length given by its longest value.
+
+> Later versions of CSAF might add, modify or delete possible value which could change the longest value.
+> Therefore, this sizes should not be implemented as fixed limits if forward compatibility is desired.
+
+It seems to be safe to assume that the length of each value is not greater than 50. This applies to:
+
+* `/document/csaf_version` (3)
+* `/document/distribution/tlp/label` (5)
+* `/document/notes[]/category` (16)
+* `/document/publisher/category` (11)
+* `/document/references[]/category` (8)
+* `/document/tracking/status` (7)
+* `/product_tree/branches[]/category` (15)
+* `/product_tree/branches[](/branches[])*/category` (15)
+* `/product_tree/relationships[]/category` (21)
+* `/vulnerabilities[]/flags[]/label` (49)
+* `/vulnerabilities[]/involvements[]/party` (11)
+* `/vulnerabilities[]/involvements[]/status` (17)
+* `/vulnerabilities[]/notes[]/category` (16)
+* `/vulnerabilities[]/references[]/category` (8)
+* `/vulnerabilities[]/remediations[]/category` (14)
+* `/vulnerabilities[]/remediations[]/restart_required/category` (20)
+* `/vulnerabilities[]/scores[]/cvss_v2/version` (3)
+* `/vulnerabilities[]/scores[]/cvss_v2/accessVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v2/accessComplexity` (6)
+* `/vulnerabilities[]/scores[]/cvss_v2/authentication` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/confidentialityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/integrityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/availabilityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/exploitability` (16)
+* `/vulnerabilities[]/scores[]/cvss_v2/remediationLevel` (13)
+* `/vulnerabilities[]/scores[]/cvss_v2/reportConfidence` (14)
+* `/vulnerabilities[]/scores[]/cvss_v2/collateralDamagePotential` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/targetDistribution` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/confidentialityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/integrityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/availabilityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/version` (3)
+* `/vulnerabilities[]/scores[]/cvss_v3/attackVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/attackComplexity` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/privilegesRequired` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/userInteraction` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/scope` (9)
+* `/vulnerabilities[]/scores[]/cvss_v3/confidentialityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/integrityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/availabilityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/baseSeverity` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/exploitCodeMaturity` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/remediationLevel` (13)
+* `/vulnerabilities[]/scores[]/cvss_v3/reportConfidence` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/temporalSeverity` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/confidentialityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/integrityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/availabilityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAttackVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAttackComplexity` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedPrivilegesRequired` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedUserInteraction` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedScope` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedConfidentialityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedIntegrityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAvailabilityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/environmentalSeverity` (8)
+* `/vulnerabilities[]/threats[]/category` (14)
+
+## Date
+
+The maximum length of strings representing a temporal value is given by the format specifier. This applies to:
+
+* `/document/tracking/current_release_date`
+* `/document/tracking/generator/date`
+* `/document/tracking/initial_release_date`
+* `/document/tracking/revision_history[]/date`
+* `/vulnerabilities[]/discovery_date`
+* `/vulnerabilities[]/flags[]/date`
+* `/vulnerabilities[]/release_date`
+* `/vulnerabilities[]/involvements[]/date`
+* `/vulnerabilities[]/remediations[]/date`
+* `/vulnerabilities[]/threats[]/date`
diff --git a/csaf_2.1/prose/edit/src/introduction-00.md b/csaf_2.1/prose/edit/src/introduction-00.md
new file mode 100644
index 00000000..e10b99d0
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-00.md
@@ -0,0 +1 @@
+# Introduction
diff --git a/csaf_2.1/prose/edit/src/introduction-01-ipr-policy.md b/csaf_2.1/prose/edit/src/introduction-01-ipr-policy.md
new file mode 100644
index 00000000..7d8640cc
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-01-ipr-policy.md
@@ -0,0 +1,7 @@
+## IPR Policy
+
+This specification is provided under the [Non-Assertion](https://www.oasis-open.org/policies-guidelines/ipr/#Non-Assertion-Mode) Mode of
+the [OASIS IPR Policy](https://www.oasis-open.org/policies-guidelines/ipr/), the mode chosen when the Technical Committee was established.
+For information on whether any patents have been disclosed that may be essential to implementing this specification,
+and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's
+web page ([https://www.oasis-open.org/committees/csaf/ipr.php](https://www.oasis-open.org/committees/csaf/ipr.php)).
diff --git a/csaf_2.1/prose/edit/src/introduction-02-terminology-glossary.md b/csaf_2.1/prose/edit/src/introduction-02-terminology-glossary.md
new file mode 100644
index 00000000..1e9a7e00
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-02-terminology-glossary.md
@@ -0,0 +1,252 @@
+advisory
+: reporting item that describes a condition present in an artifact and that requires action by the consumers
+
+advisory document
+: artifact in which an analysis tool reports a result
+
+advisory management system
+: software system that consumes the documents produced by analysis tools,
+produces advisories that enable engineering and operating organizations to assess the quality of these
+software artifacts at a point in time, and performs functions such as filing security advisories and
+displaying information about individual advisories.
+**Note**: An advisory management system can interact with a document viewer to display information about individual advisories.
+
+advisory matching
+: process of determining whether two advisories are targeting the same products and conditions
+
+artifact
+: sequence of bytes addressable via a URI.
+_Examples_: A physical file in a file system such as a source file, an object file, a configuration file or a data file;
+a specific version of a file in a version control system; a database table accessed via an HTTP request;
+an arbitrary stream of bytes returned from an HTTP request, a product URL, a common product enumeration value.
+
+CSAF asset matching system
+: program that connects to or is an asset database and is able to manage CSAF documents as
+required by CSAF management system
+as well as matching them to assets of the asset database.
+
+CSAF basic validator
+: A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+
+CSAF consumer
+: program that reads and interprets a CSAF document
+
+CSAF content management system
+: program that is able to create, review and manage CSAF documents and is able to preview their details as
+required by CSAF viewer.
+
+CSAF converter
+: CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format
+
+CSAF direct producer
+: analysis tool which acts as a CSAF producer
+
+CSAF document
+: security advisory text document in the format defined by this document.
+
+CSAF extended validator
+: A CSAF basic validator that additionally performs optional tests.
+
+CSAF full validator
+: A CSAF extended validator that additionally performs informative tests.
+
+CSAF management system
+: program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+
+CSAF modifier
+: CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties.
+The output is a valid CSAF document.
+
+CSAF post-processor
+: CSAF producer that transforms an existing CSAF document into a new CSAF document,
+for example, by removing or redacting elements according to sharing policies.
+
+CSAF SBOM matching system
+: A program that connects to or is an SBOM database and is able to manage CSAF documents as
+required by CSAF management system as well as matching them to SBOM components of the SBOM database.
+
+CSAF producer
+: program that emits output in the CSAF format
+
+CSAF translator
+: CSAF post-processor which takes a CSAF document as input and translates values of properties into another language.
+The output is a valid CSAF document.
+
+CSAF viewer
+: CSAF consumer that reads a CSAF document, displays a list of the results it contains,
+and allows an end user to view each result in the context of the artifact in which it occurs.
+
+CVRF CSAF converter
+: CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+
+document
+: output file produced by an analysis tool, which enumerates the results produced by the tool
+
+driver
+: tool component containing an analysis tool’s or converter’s primary executable,
+which controls the tool’s or converter’s execution,
+and which in the case of an analysis tool typically defines a set of analysis rules
+
+embedded link
+: syntactic construct which enables a message string to refer to a location mentioned in the document
+
+empty array
+: array that contains no elements, and so has a length of 0
+
+empty object
+: object that contains no properties
+
+empty string
+: string that contains no characters, and so has a length of 0
+
+(end) user
+: person who uses the information in a document to investigate, triage, or resolve results
+
+engineering system
+: software analysis environment within which analysis tools execute.
+**Note**: An engineering system might include a build system, a source control system, a result management system,
+a bug tracking system, a test execution system, and so on.
+
+extension
+: tool component other than the driver (for example, a plugin, a configuration file, or a taxonomy)
+
+external property file
+: file containing the values of one or more externalized properties
+
+externalizable property
+: property that can be contained in an external property file
+
+externalized property
+: property stored outside of the CSAF document to which it logically belongs
+
+false positive
+: result which an end user decides does not actually represent a problem
+
+fingerprint
+: stable value that can be used by a result management system to uniquely identify a result over time,
+even if a relevant artifact is modified
+
+formatted message
+: message string which contains formatting information such as Markdown formatting characters
+
+fully qualified logical name
+: string that fully identifies the programmatic construct specified by a logical location,
+typically by means of a hierarchical identifier.
+
+hierarchical string
+: string in the format <component>{/<component>}*
+
+line
+: contiguous sequence of characters, starting either at the beginning of an artifact or immediately after
+a newline sequence, and ending at and including the nearest subsequent newline sequence, if one is present,
+or else extending to the end of the artifact
+
+line (number)
+: 1-based index of a line within a file.
+**Note**: Abbreviated to "line" when there is no danger of ambiguity with "line" in the sense of a sequence of characters.
+
+localizable
+: subject to being translated from one natural language to another
+
+message string
+: human-readable string that conveys information relevant to an element in a CSAF document
+
+nested artifact
+: artifact that is contained within another artifact
+
+newline sequence
+: sequence of one or more characters representing the end of a line of text.
+**Note**: Some systems represent a newline sequence with a single newline character; others represent it as
+a carriage return character followed by a newline character.
+
+notification
+: reporting item that describes a condition encountered by a tool during its execution
+
+opaque
+: neither human-readable nor machine-parsable into constituent parts
+
+parent (artifact)
+: artifact which contains one or more nested artifacts
+
+plain text message
+: message string which does not contain any formatting information
+
+plugin
+: tool component that defines additional rules
+
+policy
+: set of rule configurations that specify how results that
+violate the rules defined by a particular tool component are to be treated
+
+problem
+: result which indicates a condition that has the potential to detract from the quality of the program.
+_Examples_: A security vulnerability, a deviation from contractual or legal requirements.
+
+product
+: is any deliverable (e.g. software, hardware, specification,...) which can be referred to with a name.
+This applies regardless of the origin, the license model, or the mode of distribution of the deliverable.
+
+property
+: attribute of an object consisting of a name and a value associated with the name
+
+redactable property
+: property that potentially contains sensitive information that a CSAF direct producer or
+a CSAF post-processor might wish to redact
+
+reporting item
+: unit of output produced by a tool, either a result or a notification
+
+reporting configuration
+: the subset of reporting metadata that a tool can configure at runtime, before performing its scan.
+_Examples_: severity level, rank
+
+repository
+: container for a related set of files in a version control system
+
+taxonomy
+: classification of analysis results into a set of categories
+
+tag
+: string that conveys additional information about the CSAF document element to which it applies
+
+text artifact
+: artifact considered as a sequence of characters organized into lines and columns
+
+text region
+: region representing a contiguous range of zero or more characters in a text artifact
+
+tool component
+: component of an analysis tool or converter, either its driver or an extension, consisting of one or more files
+
+top-level artifact
+: artifact which is not contained within any other artifact
+
+translation
+: rendering of a tool component's localizable strings into another language
+
+triage
+: decide whether a result indicates a problem that needs to be corrected
+
+user
+: see end user.
+
+VCS
+: version control system
+
+vendor
+: the community, individual, or organization that created or maintains a product
+(including open source software and hardware providers)
+
+VEX
+: Vulnerability Exploitability eXchange - enables a supplier or other party to assert whether or not
+a particular product is affected by a specific vulnerability, especially helpful in efficiently consuming SBOM data.
+
+viewer
+: see CSAF viewer.
+
+vulnerability
+: functional behavior of a product or service that violates an implicit or explicit security policy
+(conforming to ISO/IEC 29147 [cite](#ISO29147))
+
+XML
+: eXtensible Markup Language - the format used by the predecessors of this standard, namely CVRF 1.1 and CVRF 1.2.
diff --git a/csaf_2.1/prose/edit/src/introduction-02-terminology.md b/csaf_2.1/prose/edit/src/introduction-02-terminology.md
new file mode 100644
index 00000000..72f71895
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-02-terminology.md
@@ -0,0 +1,7 @@
+## Terminology
+
+The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
+"MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [cite](#RFC2119) and [cite](#RFC8174) when,
+and only when, they appear in all capitals, as shown here.
+
+For purposes of this document, the following terms and definitions apply:
diff --git a/csaf_2.1/prose/edit/src/introduction-03-normative-references.md b/csaf_2.1/prose/edit/src/introduction-03-normative-references.md
new file mode 100644
index 00000000..865c2dc7
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-03-normative-references.md
@@ -0,0 +1,33 @@
+## Normative References
+
+JSON-Schema-Core
+: _JSON Schema: A Media Type for Describing JSON Documents_, draft-bhutton-json-schema-00, December 2020,
+https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00.
+
+JSON-Schema-Validation
+: _JSON Schema Validation: A Vocabulary for Structural Validation of JSON_, draft-bhutton-json-schema-validation-00, December 2020,
+https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00.
+
+JSON-Hyper-Schema
+: _JSON Hyper-Schema: A Vocabulary for Hypermedia Annotation of JSON_, draft-handrews-json-schema-hyperschema-02, September 2019,
+https://json-schema.org/draft/2019-09/json-schema-hypermedia.html.
+
+Relative-JSON-Pointers
+: _Relative JSON Pointers_, draft-bhutton-relative-json-pointer-00, December 2020,
+https://datatracker.ietf.org/doc/html/draft-bhutton-relative-json-pointer-00.
+
+RFC2119
+: Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997,
+https://www.rfc-editor.org/info/rfc2119.
+
+RFC7464
+: Williams, N., "JavaScript Object Notation (JSON) Text Sequences", RFC 7464, DOI 10.17487/RFC7464, February 2015,
+https://www.rfc-editor.org/info/rfc7464.
+
+RFC8174
+: Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017,
+https://www.rfc-editor.org/info/rfc8174.
+
+RFC8259
+: T. Bray, Ed., "The JavaScript Object Notation (JSON) Data Interchange Format", RFC 8259, DOI 10.17487/RFC8259, December 2017,
+https://www.rfc-editor.org/info/rfc8259.
diff --git a/csaf_2.1/prose/edit/src/introduction-04-informative-references.md b/csaf_2.1/prose/edit/src/introduction-04-informative-references.md
new file mode 100644
index 00000000..5fb3bb5a
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-04-informative-references.md
@@ -0,0 +1,137 @@
+## Informative References
+
+CPE23-A
+: _Common Platform Enumeration: Applicability Language Specification Version 2.3 (NISTIR 7698)_, D. Waltermire, P. Cichonski, K. Scarfone, Editors, NIST Interagency Report 7698, August 2011, https://dx.doi.org/10.6028/NIST.IR.7698.
+
+CPE23-D
+: _Common Platform Enumeration: Dictionary Specification Version 2.3_, P. Cichonski, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7697, August 2011, https://dx.doi.org/10.6028/NIST.IR.7697.
+
+CPE23-M
+: _Common Platform Enumeration: Naming Matching Specification Version 2.3_, M. Parmelee, H. Booth, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7696, August 2011, https://dx.doi.org/10.6028/NIST.IR.7696.
+
+CPE23-N
+: _Common Platform Enumeration: Naming Specification Version 2.3_, B. Cheikes, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7695, August 2011, https://dx.doi.org/10.6028/NIST.IR.7695.
+
+CSAF-v2.0
+: _Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html.
+
+CVE
+: _Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names_, MITRE, 1999, https://cve.mitre.org/about/.
+
+CVE-NF
+: _Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names - CVE ID Syntax Change_, MITRE, January 01, 2014, https://cve.mitre.org/cve/identifiers/syntaxchange.html.
+
+CVRF-1-1
+: _The Common Vulnerability Reporting Framework (CVRF) Version 1.1_, M. Schiffman, Editor, May 2012, Internet Consortium for Advancement of Security on the Internet (ICASI), https://www.icasi.org/the-common-vulnerability-reporting-framework-cvrf-v1-1/.
+
+CVRF-v1.2
+: _CSAF Common Vulnerability Reporting Framework (CVRF) Version 1.2_. Edited by Stefan Hagen. 13 September 2017. OASIS Committee Specification 01. https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/cs01/csaf-cvrf-v1.2-cs01.html. Latest version: https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/csaf-cvrf-v1.2.html.
+
+CVSS2
+: _A Complete Guide to the Common Vulnerability Scoring System Version 2.0_, P. Mell, K. Scarfone, S. Romanosky, Editors, First.org, Inc., June 2007, https://www.first.org/cvss/cvss-v2-guide.pdf.
+
+CVSS30
+: _Common Vulnerability Scoring System v3.0: Specification Document_, FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3.0/cvss-v30-specification_v1.9.pdf.
+
+CVSS31
+: _Common Vulnerability Scoring System v3.1: Specification Document_, FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3-1/cvss-v31-specification_r1.pdf.
+
+CWE
+: _Common Weakness Enumeration (CWE) – A Community-Developed List of Software Weakness Types_, MITRE, 2005, http://cwe.mitre.org/about/.
+
+CYCLONEDX13
+: _CycloneDX Software Bill-of-Material Specification JSON schema version 1.3_, cyclonedx.org, May 2021, https://github.com/CycloneDX/specification/blob/1.3/schema/bom-1.3.schema.json.
+
+GFMCMARK
+: _GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C_, https://github.com/github/cmark.
+
+GFMENG
+: _GitHub Engineering: A formal spec for GitHub Flavored Markdown_, https://githubengineering.com/a-formal-spec-for-github-markdown/.
+
+ISO8601
+: _Data elements and interchange formats — Information interchange — Representation of dates and times_, International Standard, ISO 8601:2004(E), December 1, 2004, https://www.iso.org/standard/40874.html.
+
+ISO19770-2
+: _Information technology — IT asset management — Part 2: Software identification tag_, International Standard, ISO 19770-2:2015, September 30, 2015, .
+
+ISO29147
+: _Information technology — Security techniques — Vulnerability disclosure_, International Standard, ISO/IEC 29147:2018, October, 2018,
+.
+
+OPENSSL
+: _GTLS/SSL and crypto library_, OpenSSL Software Foundation, https://www.openssl.org/.
+
+PURL
+: _Package URL (PURL)_, GitHub Project, https://github.com/package-url/purl-spec.
+
+RFC3339
+: Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, July 2002,
+https://www.rfc-editor.org/info/rfc3339.
+
+RFC3552
+: Rescorla, E. and B. Korver, "Guidelines for Writing RFC Text on Security Considerations", BCP 72, RFC 3552, DOI 10.17487/RFC3552, July 2003,
+https://www.rfc-editor.org/info/rfc3552.
+
+RFC3986
+: Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986,
+January 2005, https://www.rfc-editor.org/info/rfc3986.
+
+RFC4880
+: Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, DOI 10.17487/RFC4880, November 2007,
+https://www.rfc-editor.org/info/rfc4880.
+
+RFC7231
+: Fielding, R., Ed., and J. Reschke, Ed., "Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content", RFC 7231, DOI 10.17487/RFC7231,
+June 2014, https://www.rfc-editor.org/info/rfc7231.
+
+RFC7464
+: N. Williams., "JavaScript Object Notation (JSON) Text Sequences", RFC 7464, DOI 10.17487/RFC7464, February 2015,
+https://www.rfc-editor.org/info/rfc7464.
+
+RFC8615
+: Nottingham, M., "Well-Known Uniform Resource Identifiers (URIs)", RFC 8615, DOI 10.17487/RFC8615, May 2019,
+https://www.rfc-editor.org/info/rfc8615.
+
+RFC9116
+: Foudil, E. and Y. Shafranovich, "A File Format to Aid in Security Vulnerability Disclosure", RFC 9116, DOI 10.17487/RFC9116, April 2022,
+https://www.rfc-editor.org/info/rfc9116.
+
+SCAP12
+: _The Technical Specification for the Security Content Automation Protocol (SCAP): SCAP Version 1.2_, D. Waltermire,
+S. Quinn, K. Scarfone, A. Halbardier, Editors, NIST Spec. Publ. 800‑126 rev. 2, September 2011, https://dx.doi.org/10.6028/NIST.SP.800-126r2.
+
+SECURITY-TXT
+: Foudil, E. and Shafranovich, Y., _Security.txt Project_, https://securitytxt.org/.
+
+SemVer
+: _Semantic Versioning 2.0.0_, T. Preston-Werner, June 2013, https://semver.org/.
+
+SPDX22
+: _The Software Package Data Exchange (SPDX®) Specification Version 2.2_, Linux Foundation and its Contributors, 2020,
+https://spdx.github.io/spdx-spec/.
+
+VERS
+: _vers: a mostly universal version range specifier_, Part of the PURL GitHub Project,
+https://github.com/package-url/purl-spec/blob/version-range-spec/VERSION-RANGE-SPEC.rst.
+
+VEX
+: _Vulnerability-Exploitability eXchange (VEX) - An Overview_, VEX sub-group of the Framing Working Group in the NTIA SBOM initiative,
+27 September 2021, .
+
+VEX-Justification
+: _Vulnerability Exploitability eXchange (VEX) - Status Justifications_, VEX sub-group of the Framing Working Group in the CISA SBOM initiative,
+XX May 2022, https://www.cisa.gov/sites/default/files/publications/VEX_Status_Justification_Jun22.pdf.
+
+XML
+: _Extensible Markup Language (XML) 1.0 (Fifth Edition)_, T. Bray, J. Paoli, M. Sperberg-McQueen, E. Maler, F. Yergeau, Editors,
+W3C Recommendation, November 26, 2008, https://www.w3.org/TR/2008/REC-xml-20081126/. Latest version available at .
+
+XML-Schema-1
+: _W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures_, S. Gao, M. Sperberg-McQueen, H. Thompson, N. Mendelsohn,
+D. Beech, M. Maloney, Editors, W3C Recommendation, April 5, 2012, https://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/.
+Latest version available at .
+
+XML-Schema-2
+: _W3C XML Schema Definition Language (XSD) 1.1 Part 2_: Datatypes W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes,
+D. Peterson, S. Gao, A. Malhotra, M. Sperberg-McQueen, H. Thompson, Paul V. Biron, Editors, W3C Recommendation, April 5, 2012,
+https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/. Latest version available at .
diff --git a/csaf_2.1/prose/edit/src/introduction-05-typographical-conventions.md b/csaf_2.1/prose/edit/src/introduction-05-typographical-conventions.md
new file mode 100644
index 00000000..19cb00ef
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/introduction-05-typographical-conventions.md
@@ -0,0 +1,24 @@
+## Typographical Conventions
+
+Keywords defined by this specification use this `monospaced` font.
+
+```
+ Normative source code uses this paragraph style.
+```
+
+Some sections of this specification are illustrated with non-normative examples introduced with "Example" or "Examples" like so:
+
+*Example 1:*
+
+```
+ Informative examples also use this paragraph style but preceded by the text "Example(s)".
+```
+
+All examples in this document are informative only.
+
+All other text is normative unless otherwise labeled e.g. like the following informative comment:
+
+> This is a pure informative comment that may be present, because the information conveyed is deemed useful advice or
+> common pitfalls learned from implementer or operator experience and often given including the rationale.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/profiles.md b/csaf_2.1/prose/edit/src/profiles.md
new file mode 100644
index 00000000..751301c4
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/profiles.md
@@ -0,0 +1,154 @@
+# Profiles
+
+CSAF documents do not have many required fields as they can be used for different purposes.
+To ensure a common understanding of which fields are required in a given use case the standard defines profiles.
+Each subsection describes such a profile by describing necessary content for that specific use case and providing insights into its purpose.
+The value of `/document/category` is used to identify a CSAF document's profile. The following rules apply:
+
+1. Each CSAF document MUST conform the **CSAF Base** profile.
+2. Each profile extends the base profile "CSAF Base" - directly or indirect through another profile from the standard - by making additional
+ fields from the standard mandatory.
+ A profile can always add, but never subtract nor overwrite requirements defined in the profile it extends.
+3. Any optional field from the standard can also be added to a CSAF document which conforms with a profile without breaking conformance with
+ the profile.
+ One and only exempt is when the profile requires not to have a certain set of fields.
+4. Values of `/document/category` starting with `csaf_` are reserved for existing, upcoming and future profiles defined in the CSAF standard.
+5. Values of `/document/category` that do not match any of the values defined in section [sec](#profiles) of this standard SHALL be validated against
+ the "CSAF Base" profile.
+6. Local or private profiles MAY exist and tools MAY choose to support them.
+7. If an official profile and a private profile exists, tools MUST validate against the official one from the standard.
+
+## Profile 1: CSAF Base
+
+This profile defines the default required fields for any CSAF document.
+Therefore, it is a "catch all" for CSAF documents that do not satisfy any other profile.
+Furthermore, it is the foundation all other profiles are build on.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "CSAF Base":
+
+* The following elements MUST exist and be valid:
+ * `/document/category`
+ * `/document/csaf_version`
+ * `/document/publisher/category`
+ * `/document/publisher/name`
+ * `/document/publisher/namespace`
+ * `/document/title`
+ * `/document/tracking/current_release_date`
+ * `/document/tracking/id`
+ * `/document/tracking/initial_release_date`
+ * `/document/tracking/revision_history[]/date`
+ * `/document/tracking/revision_history[]/number`
+ * `/document/tracking/revision_history[]/summary`
+ * `/document/tracking/status`
+ * `/document/tracking/version`
+* The value of `/document/category` SHALL NOT be equal to any value that is intended to only be used by another profile nor to the
+ (case insensitive) name of any other profile from the standard.
+ This does not differentiate between underscore, dash or whitespace.
+ To explicitly select the use of this profile the value `csaf_base` SHOULD be used.
+
+> Neither `CSAF Security Advisory` nor `csaf security advisory` are valid values for `/document/category`.
+
+An issuing party might choose to set `/document/publisher/name` in front of a value that is intended to only be used by another
+profile to state that the CSAF document does not use the profile associated with this value.
+In this case, the (case insensitive) string "CSAF" MUST be removed from the value.
+This SHOULD be done if the issuing party is unable or unwilling to use the value `csaf_base`, e.g. due to legal or cooperate identity reasons.
+
+> Both values `Example Company Security Advisory` and `Example Company security_advisory` in `/document/category` use the profile "CSAF Base".
+> This is important to prepare forward compatibility as later versions of CSAF might add new profiles.
+> Therefore, the values which can be used for the profile "CSAF Base" might change.
+
+## Profile 2: Security incident response
+
+This profile SHOULD be used to provide a response to a security breach or incident.
+This MAY also be used to convey information about an incident that is unrelated to the issuing party's own products or infrastructure.
+
+> Example Company might use a CSAF document satisfying this profile to respond to a security incident at ACME Inc. and
+the implications on its own products and infrastructure.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security incident response":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/document/notes` with at least one item which has a `category` of `description`, `details`, `general` or `summary`
+ > Reasoning: Without at least one note item which contains information about response to the event referred to this doesn't provide
+ > any useful information.
+ * `/document/references` with at least one item which has a `category` of `external`
+ > The intended use for this field is to refer to one or more documents or websites which provides more details about the incident.
+* The value of `/document/category` SHALL be `csaf_security_incident_response`.
+
+## Profile 3: Informational Advisory
+
+This profile SHOULD be used to provide information which are **not related to a vulnerability** but e.g. a misconfiguration.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Informational Advisory":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/document/notes` with at least one item which has a `category` of `description`, `details`, `general` or `summary`
+ > Reasoning: Without at least one note item which contains information about the "issue" which is the topic of the advisory it is useless.
+ * `/document/references` with at least one item which has a `category` of `external`
+ > The intended use for this field is to refer to one or more documents or websites which provide more details about
+ > the issue or its remediation (if possible).
+ > This could be a hardening guide, a manual, best practices or any other helpful information.
+* The value of `/document/category` SHALL be `csaf_informational_advisory`.
+* The element `/vulnerabilities` SHALL NOT exist.
+ If there is any information that would reside in the element `/vulnerabilities` the CSAF document SHOULD use another profile,
+ e.g. "Security Advisory".
+
+If the element `/product_tree` exists, a user MUST assume that all products mentioned are affected.
+
+## Profile 4: Security Advisory
+
+This profile SHOULD be used to provide information which is related to vulnerabilities and corresponding remediations.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security Advisory":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/product_tree` which lists all products referenced later on in the CSAF document regardless of their state.
+ * `/vulnerabilities` which lists all vulnerabilities.
+ * `/vulnerabilities[]/notes`
+ > Provides details about the vulnerability.
+ * `/vulnerabilities[]/product_status`
+ > Lists each product's status in regard to the vulnerability.
+* The value of `/document/category` SHALL be `csaf_security_advisory`.
+
+## Profile 5: VEX
+
+This profile SHOULD be used to provide information of the "Vulnerability Exploitability eXchange".
+The main purpose of the VEX format is to state that and why a certain product is, or is not, affected by a vulnerability.
+See [cite](#VEX) for details.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "VEX":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/product_tree` which lists all products referenced later on in the CSAF document regardless of their state.
+ * `/vulnerabilities` which lists all vulnerabilities.
+ * at least one of
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+ * `/vulnerabilities[]/product_status/under_investigation`
+ * at least one of
+ * `/vulnerabilities[]/cve`
+ * `/vulnerabilities[]/ids`
+ * `/vulnerabilities[]/notes`
+ > Provides details about the vulnerability.
+* For each item in
+ * `/vulnerabilities[]/product_status/known_not_affected` an impact statement SHALL exist as machine readable flag
+ in `/vulnerabilities[]/flags` or as human readable justification in `/vulnerabilities[]/threats`.
+ For the latter one, the `category` value for such a statement MUST be `impact` and the `details` field SHALL contain
+ a description why the vulnerability cannot be exploited.
+ * `/vulnerabilities[]/product_status/known_affected` additional product specific information SHALL be provided
+ in `/vulnerabilities[]/remediations` as an action statement.
+ Optional, additional information MAY also be provide through `/vulnerabilities[]/notes` and `/vulnerabilities[]/threats`.
+ > The use of the categories `no_fix_planned` and `none_available` for an action statement is permitted.
+ > Even though Product status lists Product IDs, Product Group IDs can be used in the `remediations` and `threats` object.
+ > However, it MUST be ensured that for each Product ID the required information according to its product status as stated
+ > in the two points above is available. This implies that all products with the status `known_not_affected` MUST have an
+ > impact statement and all products with the status `known_affected` MUST have additional product specific information
+ > regardless of whether that is referenced through the Product ID or a Product Group ID.
+* The value of `/document/category` SHALL be `csaf_vex`.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/revision-history.md b/csaf_2.1/prose/edit/src/revision-history.md
new file mode 100644
index 00000000..c692ae69
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/revision-history.md
@@ -0,0 +1,15 @@
+
+# Revision History
+
+| Revision | Date | Editor | Changes Made |
+|:-------------------------|:-----------|:--------------------------------|:--------------------------------------------------------------------------------------|
+| csaf-v2.0-wd20240124-dev | 2024-01-24 | Stefan Hagen and Thomas Schmidt | Preparing initial Editor Revision |
+
+-------
diff --git a/csaf_2.1/prose/edit/src/safety-security-and-data-protection.md b/csaf_2.1/prose/edit/src/safety-security-and-data-protection.md
new file mode 100644
index 00000000..31f1b15c
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/safety-security-and-data-protection.md
@@ -0,0 +1,31 @@
+# Safety, Security, and Data Protection Considerations
+
+CSAF documents are based on JSON, thus the security considerations of [cite](#RFC8259) apply and are repeated here as service for the reader:
+> Generally, there are security issues with scripting languages. JSON is a subset of JavaScript but excludes assignment and invocation.
+>
+> Since JSON's syntax is borrowed from JavaScript, it is possible to use that language's `eval()` function to parse most JSON texts
+> (but not all; certain characters such as `U+2028 LINE SEPARATOR` and `U+2029 PARAGRAPH SEPARATOR` are legal in JSON but not JavaScript).
+> This generally constitutes an unacceptable security risk, since the text could contain executable code along with data declarations.
+> The same consideration applies to the use of eval()-like functions in any other programming language in which JSON texts conform to
+> that language's syntax.
+
+In addition, CSAF documents may be rendered by consumers in various human-readable formats like HTML or PDF.
+Thus, for security reasons, CSAF producers and consumers SHALL adhere to the following:
+
+* CSAF producers SHOULD NOT emit messages that contain HTML, even though all variants of Markdown permit it.
+ To include HTML, source code, or any other content that may be interpreted or executed by a CSAF consumer,
+ e.g. to provide a proof-of-concept, the issuing party SHALL use Markdown's fenced code blocks or inline code option.
+* Deeply nested markup can cause a stack overflow in the Markdown processor [cite](#GFMENG).
+ To reduce this risk, CSAF consumers SHALL use a Markdown processor that is hardened against such attacks.
+ **Note**: One example is the GitHub fork of the `cmark` Markdown processor [cite](#GFMCMARK).
+* To reduce the risk posed by possibly malicious CSAF files that do contain arbitrary HTML (including, for example, javascript: links),
+ CSAF consumers SHALL either disable HTML processing (for example, by using an option such as the --safe option in the cmark Markdown processor)
+ or run the resulting HTML through an HTML sanitizer.
+CSAF consumers that are not prepared to deal with the security implications of formatted messages SHALL NOT attempt to
+render them and SHALL instead fall back to the corresponding plain text messages. As also any other programming code can
+be contained within a CSAF document, CSAF consumers SHALL ensure that none of the values of a CSAF document is run as code.
+Moreover, it SHALL be treated as unsafe (user) input.
+ > Additional, supporting mitigation measures like retrieving only CSAF documents from trusted sources and check their integrity and
+ > signature before parsing the document SHOULD be in place to reduce the risk further.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/schema-elements-00.md b/csaf_2.1/prose/edit/src/schema-elements-00.md
new file mode 100644
index 00000000..41fddef7
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-00.md
@@ -0,0 +1,25 @@
+# Schema Elements
+
+The CSAF schema describes how to represent security advisory information as a JSON document.
+
+The CSAF schema Version 2.1 builds on the JSON Schema draft 2020-12 rules.
+
+```
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
+```
+
+The schema identifier is:
+
+```
+ "$id": "https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json"
+```
+
+The further documentation of the schema is organized via Definitions and Properties.
+
+* Definitions provide types that extend the JSON schema model
+* Properties use these types to support assembling security advisories
+
+Types and properties together provide the vocabulary for the domain specific language supporting security advisories.
+
+The single mandatory property is `document`.
+The optional two additional properties are `product_tree` and `vulnerabilities`.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-definitions.md b/csaf_2.1/prose/edit/src/schema-elements-01-definitions.md
new file mode 100644
index 00000000..0d95ff21
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-definitions.md
@@ -0,0 +1,44 @@
+## Definitions
+
+The definitions (`$defs`) introduce the following domain specific types into the CSAF language:
+Acknowledgments (`acknowledgments_t`), Branches (`branches_t`), Full Product Name (`full_product_name_t`), Language (`lang_t`), Notes (`notes_t`),
+Product Group ID (`product_group_id_t`), Product Groups (`product_groups_t`), Product ID (`product_id_t`), Products (`products_t`),
+References (`references_t`), and Version (`version_t`).
+
+```
+ "$defs": {
+ "acknowledgments_t": {
+ // ...
+ },
+ "branches_t": {
+ // ...
+ },
+ "full_product_name_t": {
+ // ...
+ },
+ "lang_t": {
+ // ...
+ },
+ "notes_t": {
+ // ...
+ },
+ "product_group_id_t": {
+ // ...
+ },
+ "product_groups_t": {
+ // ...
+ },
+ "product_id_t": {
+ // ...
+ },
+ "products_t": {
+ // ...
+ },
+ "references_t": {
+ // ...
+ },
+ "version_t": {
+ // ...
+ }
+ },
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-01-acknowledgements.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-01-acknowledgements.md
new file mode 100644
index 00000000..86529662
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-01-acknowledgements.md
@@ -0,0 +1,122 @@
+### Acknowledgments Type
+
+List of Acknowledgments (`acknowledgments_t`) type instances of value type `array` with 1 or more elements contain
+a list of `Acknowledgment` elements.
+
+```
+ "acknowledgments_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+The value type of Acknowledgment is `object` with at least 1 and at most 4 properties. Every such element acknowledges contributions by
+describing those that contributed.
+The properties are: `names`, `organization`, `summary`, and `urls`.
+
+```
+ "properties": {
+ "names": {
+ // ...
+ },
+ "organization": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "urls": {
+ // ...
+ }
+ }
+```
+
+#### Acknowledgments Type - Names
+
+List of acknowledged names (`names`) has value type `array` with 1 or more items holds the names of contributors being recognized.
+Every such item of value type `string` with 1 or more characters represents the name of the contributor and contains the name of
+a single contributor being recognized.
+
+*Examples 1:*
+
+```
+ Albert Einstein
+ Johann Sebastian Bach
+```
+
+#### Acknowledgments Type - Organization
+
+The contributing organization (`organization`) has value type `string` with 1 or more characters and holds the name of
+the contributing organization being recognized.
+
+*Examples 1:*
+
+```
+ CISA
+ Google Project Zero
+ Talos
+```
+
+#### Acknowledgments Type - Summary
+
+Summary of the acknowledgment (`summary`) of value type `string` with 1 or more characters SHOULD represent any contextual details
+the document producers wish to make known about the acknowledgment or acknowledged parties.
+
+*Example 1:*
+
+```
+ First analysis of Coordinated Multi-Stream Attack (CMSA)
+```
+
+#### Acknowledgments Type - URLs
+
+List of URLs (`urls`) of acknowledgment is a container (value type `array`) for 1 or more `string` of type URL that specifies
+a list of URLs or location of the reference to be acknowledged.
+Any URL of acknowledgment contains the URL or location of the reference to be acknowledged.
+Value type is string with format URI (`uri`).
+
+#### Acknowledgments Type - Example
+
+*Example 1:*
+
+```
+ "acknowledgments": [
+ {
+ "names": [
+ "Johann Sebastian Bach",
+ "Georg Philipp Telemann",
+ "Georg Friedrich Händel"
+ ],
+ "organization": "Baroque composers",
+ "summary": "wonderful music"
+ },
+ {
+ "organization": "CISA",
+ "summary": "coordination efforts",
+ "urls": [
+ "https://cisa.gov"
+ ]
+ },
+ {
+ "organization": "BSI",
+ "summary": "assistance in coordination"
+ },
+ {
+ "names": [
+ "Antonio Vivaldi"
+ ],
+ "summary": "influencing other composers"
+ }
+ ],
+```
+
+The example [eg](#acknowledgments-type-example-eg-1) above SHOULD lead to the following outcome in a human-readable advisory:
+
+> We thank the following parties for their efforts:
+>
+> * Johann Sebastian Bach, Georg Philipp Telemann, Georg Friedrich Händel from Baroque composers for wonderful music
+> * CISA for coordination efforts (see: https://cisa.gov)
+> * BSI for assistance in coordination
+> * Antonio Vivaldi for influencing other composers
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-02-branches.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-02-branches.md
new file mode 100644
index 00000000..b5cdb6b4
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-02-branches.md
@@ -0,0 +1,186 @@
+### Branches Type
+
+List of branches (`branches_t`) with value type `array` contains 1 or more branch elements as children of the current element.
+
+```
+ "branches_t": {
+ //...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Branch holds exactly 3 properties and is a part of the hierarchical structure of the product tree.
+The properties `name` and `category` are mandatory. In addition, the object contains either a `branches` or a `product` property.
+
+```
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "name": {
+ // ...
+ },
+ "product": {
+ // ...
+ }
+ }
+```
+
+> `branches_t` supports building a hierarchical structure of products that allows to indicate the relationship of products to each other and
+> enables grouping for simpler referencing.
+> As an example, the structure MAY use the following levels: `vendor` -> `product_family` -> `product_name` -> `product_version`.
+> It is recommended to use the hierarchical structure of `vendor` -> `product_name` -> `product_version` whenever possible to support
+> the identification and matching of products on the consumer side.
+
+#### Branches Type - Branches
+
+List of branches (`branches`) has the value type `branches_t`.
+
+#### Branches Type - Category
+
+Category of the branch (`category`) of value type `string` and `enum` describes the characteristics of the labeled branch.
+Valid `enum` values are:
+
+```
+ architecture
+ host_name
+ language
+ legacy
+ patch_level
+ product_family
+ product_name
+ product_version
+ product_version_range
+ service_pack
+ specification
+ vendor
+```
+
+The value `architecture` indicates the architecture for which the product is intended.
+
+The value `host_name` indicates the host name of a system/service.
+
+The value `language` indicates the language of the product.
+
+The value `legacy` indicates an entry that has reached its end of life.
+
+The value `patch_level` indicates the patch level of the product.
+
+The value `product_family` indicates the product family that the product falls into.
+
+The value `product_name` indicates the name of the product.
+
+The value `product_version` indicates exactly a single version of the product.
+The value of the adjacent `name` property can be numeric or some other descriptor.
+However, it MUST NOT contain version ranges of any kind.
+
+> It is recommended to enumerate versions wherever possible. Nevertheless, the TC understands that this is sometimes impossible.
+> To reflect that in the specification and aid in automatic processing of CSAF documents the value `product_version_range` was introduced.
+> See next section for details.
+
+The value `product_version_range` indicates a range of versions for the product.
+The value of the adjacent `name` property SHOULD NOT be used to convey a single version.
+
+The value `service_pack` indicates the service pack of the product.
+
+The value `specification` indicates the specification such as a standard, best common practice, etc.
+
+The value `vendor` indicates the name of the vendor or manufacturer that makes the product.
+
+#### Branches Type - Name
+
+Name of the branch (`name`) of value type `string` with 1 or more characters contains the canonical descriptor or 'friendly name' of the branch.
+
+*Examples 1:*
+
+```
+ 10
+ 365
+ Microsoft
+ Office
+ PCS 7
+ SIMATIC
+ Siemens
+ Windows
+```
+
+A leading `v` or `V` in the value of `name` SHOULD only exist for the categories `product_version` or `product_version_range` if it is
+part of the product version as given by the vendor.
+
+##### Branches Type - Name under Product Version
+
+If adjacent property `category` has the value `product_version`, the value of `name` MUST NOT contain version ranges of any kind.
+
+*Examples 1 (for `name` when using `product_version`):*
+
+```
+ 10
+ 17.4
+ v3
+```
+
+> The `product_version` is the easiest way for users to determine whether their version is meant
+> (provided that the given ancestors in the product tree matched):
+> If both version strings are the same, it is a match - otherwise not.
+> Therefore, it is always recommended to enumerate product versions instead of providing version ranges.
+
+*Examples 2 (for `name` when using `product_version` which are invalid):*
+
+```
+ 8.0.0 - 8.0.1
+ 8.1.5 and later
+ <= 2
+ prior to 4.2
+ All versions < V3.0.29
+ V3.0, V4.0, V4.1, V4.2
+```
+
+> All the examples above contain some kind of a version range and are therefore invalid under the category `product_version`.
+
+##### Branches Type - Name under Product Version Range
+
+If adjacent property `category` has the value `product_version_range`, the value of `name` MUST contain version ranges.
+The value of MUST obey to exactly one of the following options:
+
+1. Version Range Specifier (vers)
+
+ > vers is an ongoing community effort to address the problem of version ranges. Its draft specification is available at [cite](#VERS).
+
+ vers MUST be used in its canonical form. To convey the term "all versions" the special string `vers:all/*` MUST be used.
+
+ *Examples 1 (for `name` when using `product_version_range` with vers):*
+
+ ```
+ vers:gem/>=2.2.0|!= 2.2.1|<2.3.0
+ vers:npm/1.2.3|>=2.0.0|<5.0.0
+ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1
+ vers:tomee/>=8.0.0-M1|<=8.0.1
+ ```
+
+ > Through the definitions of the vers specification a user can compute whether a given version is in a given range.
+
+2. Vers-like Specifier (vls)
+
+ This option uses only the `` part from the vers specification. It MUST NOT have an URI nor the `` part.
+ It is a fallback option and SHOULD NOT be used unless really necessary.
+ > The reason for that is, that it is nearly impossible for tools to reliable determine whether a given version is in the range or not.
+
+ Tools MAY support this on best effort basis.
+
+ *Examples 2 (for `name` when using `product_version_range` with vls):*
+
+ ```
+ <=2
+ <4.2
+ =8.1.5
+ ```
+
+#### Branches Type - Product
+
+Product (`product`) has the value type Full Product Name (`full_product_name_t`).
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md
new file mode 100644
index 00000000..3e105e97
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md
@@ -0,0 +1,392 @@
+### Full Product Name Type
+
+Full Product Name (`full_product_name_t`) with value type `object` specifies information about the product and assigns the product ID.
+The properties `name` and `product_id` are required. The property `product_identification_helper` is optional.
+
+```
+ "full_product_name_t": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "product_id": {
+ // ...
+ },
+ "product_identification_helper": {
+ // ...
+ }
+ }
+ },
+```
+
+#### Full Product Name Type - Name
+
+Textual description of the product (`name`) has value type `string` with 1 or more characters.
+The value SHOULD be the product's full canonical name, including version number and other attributes,
+as it would be used in a human-friendly document.
+
+*Examples 1:*
+
+```
+ Cisco AnyConnect Secure Mobility Client 2.3.185
+ Microsoft Host Integration Server 2006 Service Pack 1
+```
+
+#### Full Product Name Type - Product ID
+
+Product ID (`product_id`) holds a value of type Product ID (`product_id_t`).
+
+#### Full Product Name Type - Product Identification Helper
+
+Helper to identify the product (`product_identification_helper`) of value type `object` provides in its properties at least
+one method which aids in identifying the product in an asset database.
+Of the given eight properties `cpe`, `hashes`, `model_numbers`, `purl`, `sbom_urls`, `serial_numbers`, `skus`,
+and `x_generic_uris`, one is mandatory.
+
+```
+ "product_identification_helper": {
+ // ...
+ "properties": {
+ "cpe": {
+ // ...
+ },
+ "hashes": {
+ // ...
+ },
+ "model_numbers": {
+ // ...
+ },
+ "purl": {
+ // ...
+ },
+ "sbom_urls": {
+ // ...
+ },
+ "serial_numbers": {
+ // ...
+ },
+ "skus": {
+ // ...
+ },
+ "x_generic_uris": {
+ // ...
+ }
+ }
+```
+
+##### Full Product Name Type - Product Identification Helper - CPE
+
+Common Platform Enumeration representation (`cpe`) of value type `string` of 5 or more characters with `pattern` (regular expression):
+
+```
+ ^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){4})|([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$
+```
+
+The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms external to this specification.
+See [CPE23-N] for details.
+
+##### Full Product Name Type - Product Identification Helper - Hashes
+
+List of hashes (`hashes`) of value type `array` holding at least one item contains a list of cryptographic hashes usable to identify files.
+
+```
+ "hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Cryptographic hashes of value type `object` contains all information to identify a file based on its cryptographic hash values.
+Any cryptographic hashes object has the 2 mandatory properties `file_hashes` and `filename`.
+
+```
+ "properties": {
+ "file_hashes": {
+ // ...
+ },
+ "filename": {
+ // ...
+ }
+ }
+```
+
+List of file hashes (`file_hashes`) of value type `array` holding at least one item contains a list of cryptographic hashes for this file.
+
+```
+ "file_hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Each File hash of value type `object` contains one hash value and algorithm of the file to be identified.
+Any File hash object has the 2 mandatory properties `algorithm` and `value`.
+
+```
+ "properties": {
+ "algorithm": {
+ // ...
+ },
+ "value": {
+ // ...
+ }
+ }
+```
+
+The algorithm of the cryptographic hash representation (`algorithm`) of value type `string` with one or more characters contains
+the name of the cryptographic hash algorithm used to calculate the value.
+The default value for `algorithm` is `sha256`.
+
+*Examples 1:*
+
+```
+ blake2b512
+ sha256
+ sha3-512
+ sha384
+ sha512
+```
+
+These values are derived from the currently supported digests OpenSSL [cite](#OPENSSL). Leading dashes were removed.
+
+> The command `openssl dgst -list` (Version 1.1.1f from 2020-03-31) outputs the following:
+>
+>```
+> Supported digests:
+> -blake2b512 -blake2s256 -md4
+> -md5 -md5-sha1 -ripemd
+> -ripemd160 -rmd160 -sha1
+> -sha224 -sha256 -sha3-224
+> -sha3-256 -sha3-384 -sha3-512
+> -sha384 -sha512 -sha512-224
+> -sha512-256 -shake128 -shake256
+> -sm3 -ssl3-md5 -ssl3-sha1
+> -whirlpool
+>```
+
+The Value of the cryptographic hash representation (`value`) of value type `string` of 32 or more characters with `pattern` (regular expression):
+
+```
+ ^[0-9a-fA-F]{32,}$
+```
+
+The Value of the cryptographic hash attribute contains the cryptographic hash value in hexadecimal representation.
+
+*Examples 2:*
+
+```
+ 37df33cb7464da5c7f077f4d56a32bc84987ec1d85b234537c1c1a4d4fc8d09dc29e2e762cb5203677bf849a2855a0283710f1f5fe1d6ce8d5ac85c645d0fcb3
+ 4775203615d9534a8bfca96a93dc8b461a489f69124a130d786b42204f3341cc
+ 9ea4c8200113d49d26505da0e02e2f49055dc078d1ad7a419b32e291c7afebbb84badfbd46dec42883bea0b2a1fa697c
+```
+
+The filename representation (`filename`) of value type `string` with one or more characters contains the name of
+the file which is identified by the hash values.
+
+*Examples 3:*
+
+```
+ WINWORD.EXE
+ msotadddin.dll
+ sudoers.so
+```
+
+If the value of the hash matches and the filename does not, a user SHOULD prefer the hash value.
+In such cases, the filename SHOULD be used as informational property.
+
+##### Full Product Name Type - Product Identification Helper - Model Numbers
+
+The list of models (`model_numbers`) of value type `array` with 1 or more unique items contains a list of full or
+abbreviated (partial) model numbers.
+
+A list of models SHOULD only be used if a certain range of model numbers with its corresponding software version is affected,
+or the model numbers change during update.
+
+This can also be used to identify hardware.
+If necessary, the software, or any other related part, SHALL be bind to that via a product relationship.
+
+```
+ "model_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given model number of value type `string` with at least 1 character represents a full or abbreviated (partial) model number of
+the component to identify.
+
+> The terms "model", "model number" and "model variant" are mostly used synonymously.
+> Often it is abbreviated as "MN", M/N" or "model no.".
+
+If a part of a model number of the component to identify is given,
+it SHOULD begin with the first character of the model number and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+*Examples 1:*
+
+```
+ 6RA8096-4MV62-0AA0
+ 6RA801?-??V62-0AA0
+ IC25T060ATCS05-0
+```
+
+##### Full Product Name Type - Product Identification Helper - PURL
+
+The package URL (PURL) representation (`purl`) is a `string` of 7 or more characters with `pattern` (regular expression):
+
+```
+ ^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+
+```
+
+> The given pattern does not completely evaluate whether a PURL is valid according to the [cite](#PURL) specification.
+> It provides a more generic approach and general guidance to enable forward compatibility.
+> CSAF uses only the canonical form of PURL to conform with section 3.3 of [cite](#RFC3986).
+> Therefore, URLs starting with `pkg://` are considered invalid.
+
+This package URL (PURL) attribute refers to a method for reliably identifying and locating software packages external to this specification.
+See [cite](#PURL) for details.
+
+##### Full Product Name Type - Product Identification Helper - SBOM URLs
+
+The list of SBOM URLs (`sbom_urls`) of value type `array` with 1 or more items contains
+a list of URLs where SBOMs for this product can be retrieved.
+
+> The SBOMs might differ in format or depth of detail. Currently supported formats are SPDX, CycloneDX, and SWID.
+
+```
+ "sbom_urls": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given SBOM URL of value type `string` with format `uri` contains a URL of one SBOM for this product.
+
+*Examples 1:*
+
+```
+ https://raw.githubusercontent.com/CycloneDX/bom-examples/master/SBOM/keycloak-10.0.2/bom.json
+ https://swinslow.net/spdx-examples/example4/main-bin-v2
+```
+
+##### Full Product Name Type - Product Identification Helper - Serial Numbers
+
+The list of serial numbers (`serial_numbers`) of value type `array` with 1 or more unique items contains
+a list of full or abbreviated (partial) serial numbers.
+
+A list of serial numbers SHOULD only be used if a certain range of serial numbers with its corresponding software version is affected,
+or the serial numbers change during update.
+
+```
+ "serial_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given serial number of value type `string` with at least 1 character represents a full or
+abbreviated (partial) serial number of the component to identify.
+
+If a part of a serial number of the component to identify is given,
+it SHOULD begin with the first character of the serial number and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+##### Full Product Name Type - Product Identification Helper - SKUs
+
+The list of stock keeping units (`skus`) of value type `array` with 1 or more items contains a list of full or
+abbreviated (partial) stock keeping units.
+
+A list of stock keeping units SHOULD only be used if the list of relationships is used to decouple e.g. hardware from the software,
+or the stock keeping units change during update.
+In the latter case the remediations SHALL include the new stock keeping units is or a description how it can be obtained.
+
+> The use of the list of relationships in the first case is important.
+> Otherwise, the end user is unable to identify which version (the affected or the not affected / fixed one) is used.
+
+```
+ "skus": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given stock keeping unit of value type `string` with at least 1 character represents a full or
+abbreviated (partial) stock keeping unit (SKU) of the component to identify.
+
+> Sometimes this is also called "item number", "article number" or "product number".
+
+If a part of a stock keeping unit of the component to identify is given, it SHOULD begin with the first character of
+the stock keeping unit and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+##### Full Product Name Type - Product Identification Helper - Generic URIs
+
+List of generic URIs (`x_generic_uris`) of value type `array` with at least 1 item contains a list of identifiers which are
+either vendor-specific or derived from a standard not yet supported.
+
+```
+ "x_generic_uris": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+Any such Generic URI item of value type `object` provides the two mandatory properties Namespace (`namespace`) and URI (`uri`).
+
+```
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "uri": {
+ // ...
+ }
+ }
+```
+
+The namespace of the generic URI (`namespace`) of value type `string` with format `uri` refers to a URL which provides
+the name and knowledge about the specification used or is the namespace in which these values are valid.
+
+The URI (`uri`) of value type `string` with format `uri` contains the identifier itself.
+
+> These elements can be used to reference a specific component from an SBOM:
+
+*Example 1 (linking a component from a CycloneDX SBOM using the bomlink mechanism):*
+
+```
+ "x_generic_uris": [
+ {
+ "namespace": "https://cyclonedx.org/capabilities/bomlink/",
+ "uri": "urn:cdx:411dafd2-c29f-491a-97d7-e97de5bc2289/1#pkg:maven/org.jboss.logging/jboss-logging@3.4.1.Final?type=jar"
+ }
+ ]
+```
+
+*Example 2 (linking a component from an SPDX SBOM):*
+
+```
+ "x_generic_uris": [
+ {
+ "namespace": "https://spdx.github.io/spdx-spec/document-creation-information/#65-spdx-document-namespace-field",
+ "uri": "https://swinslow.net/spdx-examples/example4/main-bin-v2#SPDXRef-libc"
+ }
+ ]
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-04-language.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-04-language.md
new file mode 100644
index 00000000..7d33605d
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-04-language.md
@@ -0,0 +1,24 @@
+### Language Type
+
+Language type (`lang_t`) has value type `string` with `pattern` (regular expression):
+
+```
+ ^(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3}){0,2})?|[A-Za-z]{4,8})(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-[A-WY-Za-wy-z0-9](-[A-Za-z0-9]{2,8})+)*(-[Xx](-[A-Za-z0-9]{1,8})+)?|[Xx](-[A-Za-z0-9]{1,8})+|[Ii]-[Dd][Ee][Ff][Aa][Uu][Ll][Tt]|[Ii]-[Mm][Ii][Nn][Gg][Oo])$
+```
+
+The value identifies a language, corresponding to IETF BCP 47 / RFC 5646.
+See IETF language registry:
+
+> CSAF skips those grandfathered language tags that are deprecated at the time of writing the specification.
+> Even though the private use language tags are supported they should not be used to ensure readability across the ecosystem.
+> It is recommended to follow the conventions for the capitalization of the subtags even though it is not mandatory as most users are used to that.
+
+*Examples 1:*
+
+```
+ de
+ en
+ fr
+ frc
+ jp
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-05-notes.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-05-notes.md
new file mode 100644
index 00000000..4ddd742c
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-05-notes.md
@@ -0,0 +1,91 @@
+### Notes Type
+
+List of notes (`notes_t`) of value type `array` with 1 or more items of type `Note` contains notes which are specific to the current context.
+
+```
+ "notes_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Note item is `object` with the mandatory properties `category` and `text` providing a place to put
+all manner of text blobs related to the current context.
+A Note `object` MAY provide the optional properties `audience` and `title`.
+
+```
+ "properties": {
+ "audience": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "text": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+```
+
+Audience of note (`audience`) of value type `string` with 1 or more characters indicates who is intended to read it.
+
+*Examples 1:*
+
+```
+ all
+ executives
+ operational management and system administrators
+ safety engineers
+```
+
+Note category (`category`) of value type `string` and `enum` contains the information of what kind of note this is.
+Valid `enum` values are:
+
+```
+ description
+ details
+ faq
+ general
+ legal_disclaimer
+ other
+ summary
+```
+
+The value `description` indicates the note is a description of something.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `details` indicates the note is a low-level detailed discussion.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `faq` indicates the note is a list of frequently asked questions.
+
+The value `general` indicates the note is a general, high-level note.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `legal_disclaimer` indicates the note represents any possible legal discussion, including constraints, surrounding the document.
+
+The value `other` indicates the note is something that doesn’t fit the other categories.
+The optional sibling attribute `title` SHOULD have more information to indicate clearly what kind of note to expect in this case.
+
+The value `summary` indicates the note is a summary of something.
+The optional sibling property `title` MAY have more information in this case.
+
+Note content (`text`) of value type `string` with 1 or more characters holds the content of the note.
+Content varies depending on type.
+
+Title of note (`title`) of value type `string` with 1 or more characters provides a concise description of what
+is contained in the text of the note.
+
+*Examples 2:*
+
+```
+ Details
+ Executive summary
+ Technical summary
+ Impact on safety systems
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-06-product-group-id.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-06-product-group-id.md
new file mode 100644
index 00000000..fb7693bb
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-06-product-group-id.md
@@ -0,0 +1,23 @@
+### Product Group ID Type
+
+The Product Group ID Type (`product_group_id_t`) of value type `string` with 1 or more characters is a reference token for product group instances.
+The value is a token required to identify a group of products so that it can be referred to from other parts in the document.
+There is no predefined or required format for the Product Group ID (`product_group_id`) as long as it uniquely identifies
+a product group in the context of the current document.
+
+```
+ "product_group_id_t": {
+ // ...
+ },
+```
+
+*Examples 1:*
+
+```
+ CSAFGID-0001
+ CSAFGID-0002
+ CSAFGID-0020
+```
+
+> Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and
+> the Product Group ID to support reading and parsing the document.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-07-product-groups.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-07-product-groups.md
new file mode 100644
index 00000000..f6662e25
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-07-product-groups.md
@@ -0,0 +1,13 @@
+### Product Groups Type
+
+List of Product Group ID (`product_groups_t`) of value type `array` with 1 or more unique items (a `set`) of type
+Product Group ID (`product_group_id_t`) specifies a list of `product_group_ids` to give context to the parent item.
+
+```
+ "product_groups_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-08-product-id.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-08-product-id.md
new file mode 100644
index 00000000..4cf0e925
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-08-product-id.md
@@ -0,0 +1,22 @@
+### Product ID Type
+
+The Product ID Type (`product_id_t`) of value type `string` with 1 or more characters is a reference token for product instances.
+The value is a token required to identify a `full_product_name` so that it can be referred to from other parts in the document.
+There is no predefined or required format for the Product ID (`product_id`) as long as it uniquely identifies a product in the context of
+the current document.
+
+```
+ "product_id_t": {
+ // ...
+ },
+```
+
+*Examples 1:*
+
+```
+ CSAFPID-0004
+ CSAFPID-0008
+```
+
+> Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and
+> the Product Group ID to support reading and parsing the document.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-09-products.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-09-products.md
new file mode 100644
index 00000000..c7b2926c
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-09-products.md
@@ -0,0 +1,13 @@
+### Products Type
+
+List of Product IDs (`products_t`) of value type `array` with 1 or more unique items (a `set`) of type
+Product ID (`product_id_t`) specifies a list of `product_ids` to give context to the parent item.
+
+```
+ "products_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-10-references.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-10-references.md
new file mode 100644
index 00000000..c69e2298
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-10-references.md
@@ -0,0 +1,52 @@
+### References Type
+
+List of references (`references_t`) of value type `array` with 1 or more items of type Reference holds a list of Reference objects.
+
+```
+ "references_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Reference item is `object` with the mandatory properties `url` and `summary` holding any reference to conferences,
+papers, advisories, and other resources that are related and considered related to either a surrounding part of or
+the entire document and to be of value to the document consumer.
+A reference `object` MAY provide the optional property `category`.
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+```
+
+Category of reference (`category`) of value type `string` and `enum` indicates whether the reference points to the same document or
+vulnerability in focus (depending on scope) or to an external resource.
+Valid `enum` values are:
+
+```
+ external
+ self
+```
+
+The default value for `category` is `external`.
+
+The value `external` indicates, that this document is an external reference to a document or vulnerability in focus (depending on scope).
+
+The value `self` indicates, that this document is a reference to this same document or vulnerability (also depending on scope).
+
+> This includes links to documents with the same content but different file format (e.g. advisories as PDF or HTML).
+
+Summary of the reference (`summary`) of value type `string` with 1 or more characters indicates what this reference refers to.
+
+URL of reference (`url`) of value type `string` with format `uri` provides the URL for the reference.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-01-defs-11-version.md b/csaf_2.1/prose/edit/src/schema-elements-01-defs-11-version.md
new file mode 100644
index 00000000..523d8cbf
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-01-defs-11-version.md
@@ -0,0 +1,165 @@
+### Version Type
+
+The Version (`version_t`) type has value type `string` with `pattern` (regular expression):
+
+```
+ ^(0|[1-9][0-9]*)$|^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+```
+
+The version specifies a version string to denote clearly the evolution of the content of the document.
+There are two options how it can be used:
+
+* semantic versioning (preferred; according to the rules below)
+* integer versioning
+
+A CSAF document MUST use only one versioning system.
+
+*Examples 1:*
+
+```
+ 1
+ 4
+ 0.9.0
+ 1.4.3
+ 2.40.0+21AF26D3
+```
+
+#### Version Type - Integer versioning
+
+Integer versioning increments for each version where the `/document/tracking/status` is `final` the version number by one.
+The regular expression for this type is:
+
+```
+^(0|[1-9][0-9]*)$
+```
+
+The following rules apply:
+
+1. Once a versioned document has been released, the contents of that version MUST NOT be modified.
+ Any modifications MUST be released as a new version.
+2. Version zero (0) is for initial development before the `initial_release_date`.
+ The document status MUST be `draft`. Anything MAY change at any time. The document SHOULD NOT be considered stable.
+3. Version 1 defines the initial public release.
+ Each new version where `/document/tracking/status` is `final` has a version number incremented by one.
+4. Pre-release versions (document status `draft`) MUST carry the new version number.
+ Sole exception is before the initial release (see rule 2).
+ The combination of document status `draft` and version 1 MAY be used to indicate that the content is unlikely to change.
+5. Build metadata is never included in the version.
+6. Precedence MUST be calculate by integer comparison.
+
+#### Version Type - Semantic versioning
+
+Semantic versioning derived the rules from [SemVer]. The regular expression for this type is:
+
+```
+^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+```
+
+The goal of this structure is to provide additional information to the end user whether a new comparison with the asset database is needed.
+The "public API" in regards to CSAF is the CSAF document with its structure and content.
+This results in the following rules:
+
+1. A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes.
+ X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically.
+ For instance: 1.9.0 -> 1.10.0 -> 1.11.0.
+2. Once a versioned document has been released, the contents of that version MUST NOT be modified.
+ Any modifications MUST be released as a new version.
+3. Major version zero (0.y.z) is for initial development before the `initial_release_date`.
+ The document status MUST be `draft`. Anything MAY change at any time.
+ The document SHOULD NOT be considered stable. Changes which would increment the major version according to rule 7 are
+ tracked in this stage with (0.y.z) by incrementing the minor version y instead.
+ Changes that would increment the minor or patch version according to rule 6 or 5 are both tracked in this stage with
+ (0.y.z) by incrementing the patch version z instead.
+4. Version 1.0.0 defines the initial public release.
+ The way in which the version number is incremented after this release is dependent on the content and structure of
+ the document and how it changes.
+5. Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced.
+ A bug fix is defined as an internal change that fixes incorrect behavior.
+
+ > In the context of the document this is the case e.g. for spelling mistakes.
+
+6. Minor version Y (x.Y.z | x > 0) MUST be incremented if the content of an existing element changes except for
+ those which are covert through rule 7. It MUST be incremented if substantial new information are introduced or new elements are provided.
+ It MAY include patch level changes. Patch version MUST be reset to 0 when minor version is incremented.
+7. Major version X (X.y.z | X > 0) MUST be incremented if a new comparison with the end user's asset database is required.
+ This includes:
+
+ * changes (adding, removing elements or modifying content) in `/product_tree` or elements which contain `/product_tree` in their path
+ * adding or removing items of `/vulnerabilities`
+ * adding or removing elements in:
+ * `/vulnerabilities[]/product_status/first_affected`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/last_affected`
+ * removing elements from:
+ * `/vulnerabilities[]/product_status/first_fixed`
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+
+ It MAY also include minor and patch level changes.
+ Patch and minor version MUST be reset to 0 when major version is incremented.
+8. A pre-release version (document status `draft`) MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately
+ following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
+ Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading zeroes.
+ Pre-release versions have a lower precedence than the associated normal version.
+ A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as
+ denoted by its associated normal version.
+
+ *Examples 1:*
+
+ ```
+ 1.0.0-0.3.7
+ 1.0.0-alpha
+ 1.0.0-alpha.1
+ 1.0.0-x-y-z.–
+ 1.0.0-x.7.z.92
+ ```
+
+9. Pre-release MUST NOT be included if `/document/tracking/status` is `final`.
+10. Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following
+ the patch or pre-release version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
+ Identifiers MUST NOT be empty. Build metadata MUST be ignored when determining version precedence.
+ Thus two versions that differ only in the build metadata, have the same precedence.
+
+ *Examples 2:*
+
+ ```
+ 1.0.0+20130313144700
+ 1.0.0+21AF26D3—-117B344092BD
+ 1.0.0-alpha+001
+ 1.0.0-beta+exp.sha.5114f85
+ ```
+
+11. Precedence refers to how versions are compared to each other when ordered.
+
+ 1. Precedence MUST be calculated by separating the version into major, minor,
+ patch and pre-release identifiers in that order (Build metadata does not figure into precedence).
+ 2. Precedence is determined by the first difference when comparing each of these identifiers from left to right as follows:
+ Major, minor, and patch versions are always compared numerically.
+
+ *Example 3:*
+
+ ```
+ 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1
+ ```
+
+ 3. When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version:
+
+ *Example 4:*
+
+ ```
+ 1.0.0-alpha < 1.0.0
+ ```
+
+ 4. Precedence for two pre-release versions with the same major, minor,
+ and patch version MUST be determined by comparing each dot separated identifier from left to right until a difference is found as follows:
+
+ 1. Identifiers consisting of only digits are compared numerically.
+ 2. Identifiers with letters or hyphens are compared lexically in ASCII sort order.
+ 3. Numeric identifiers always have lower precedence than non-numeric identifiers.
+ 4. A larger set of pre-release fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal.
+
+ *Example 5:*
+
+ ```
+ 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
+ ```
diff --git a/csaf_2.1/prose/edit/src/schema-elements-02-properties.md b/csaf_2.1/prose/edit/src/schema-elements-02-properties.md
new file mode 100644
index 00000000..ad965785
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-02-properties.md
@@ -0,0 +1,4 @@
+## Properties
+
+These final three subsections document the three properties of a CSAF document.
+The single mandatory property `document`, as well as the optional properties `product_tree` and `vulnerabilities` in that order.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-02-props-01-document.md b/csaf_2.1/prose/edit/src/schema-elements-02-props-01-document.md
new file mode 100644
index 00000000..ba00e4b0
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-02-props-01-document.md
@@ -0,0 +1,624 @@
+### Document Property
+
+Document level meta-data (`document`) of value type `object` with the 5 mandatory properties Category (`category`),
+CSAF Version (`csaf_version`), Publisher (`publisher`), Title (`title`),
+and Tracking (`tracking`) captures the meta-data about this document describing a particular set of security advisories.
+In addition, the `document` object MAY provide the 7 optional properties Acknowledgments (`acknowledgments`),
+Aggregate Severity (`aggregate_severity`), Distribution (`distribution`), Language (`lang`), Notes (`notes`),
+References (`references`), and Source Language (`source_lang`).
+
+```
+ "document": {
+ // ...
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "aggregate_severity" : {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "csaf_version": {
+ // ...
+ },
+ "distribution": {
+ // ...
+ },
+ "lang": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "publisher": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "source_lang": {
+ // ...
+ },
+ "title": {
+ // ...
+ },
+ "tracking": {
+ // ...
+ }
+ }
+ },
+```
+
+#### Document Property - Acknowledgments
+
+Document acknowledgments (`acknowledgments`) of value type Acknowledgments Type (`acknowledgments_t`) contains
+a list of acknowledgment elements associated with the whole document.
+
+```
+ "acknowledgments": {
+ // ...
+ },
+```
+
+#### Document Property - Aggregate Severity
+
+Aggregate severity (`aggregate_severity`) of value type `object` with the mandatory property `text` and
+the optional property `namespace` is a vehicle that is provided by the document producer to convey the urgency and
+criticality with which the one or more vulnerabilities reported should be addressed.
+It is a document-level metric and applied to the document as a whole — not any specific vulnerability.
+The range of values in this field is defined according to the document producer's policies and procedures.
+
+```
+ "aggregate_severity": {
+ // ...
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+ },
+```
+
+The Namespace of aggregate severity (`namespace`) of value type `string` with format `uri` points to the namespace so referenced.
+
+The Text of aggregate severity (`text`) of value type `string` with 1 or more characters provides a severity which is
+independent of - and in addition to - any other standard metric for determining the impact or severity of a given vulnerability (such as CVSS).
+
+*Examples 1:*
+
+```
+ Critical
+ Important
+ Moderate
+```
+
+#### Document Property - Category
+
+Document category (`category`) with value type `string` of 1 or more characters with `pattern` (regular expression):
+
+```
+ ^[^\\s\\-_\\.](.*[^\\s\\-_\\.])?$
+```
+
+Document category defines a short canonical name, chosen by the document producer, which will inform the end user as to the category of document.
+
+> It is directly related to the profiles defined in section [sec](#profiles).
+
+```
+ "category": {
+ // ...
+ }
+```
+
+*Examples 1:*
+
+```
+ csaf_base
+ csaf_security_advisory
+ csaf_vex
+ Example Company Security Notice
+```
+
+#### Document Property - CSAF Version
+
+CSAF version (`csaf_version`) of value type `string` and `enum` gives the version of the CSAF specification which the document was generated for.
+The single valid value for this `enum` is:
+
+```
+ 2.1
+```
+
+#### Document Property - Distribution
+
+Rules for sharing document (`distribution`) of value type `object` with at least 1 of the 2 properties Text (`text`) and
+Traffic Light Protocol (TLP) (`tlp`) describes any constraints on how this document might be shared.
+
+```
+ "distribution": {
+ // ...
+ "properties": {
+ "text": {
+ // ...
+ },
+ "tlp": {
+ // ...
+ }
+ }
+ },
+```
+
+If both values are present, the TLP information SHOULD be preferred as this aids in automation.
+
+##### Document Property - Distribution - Text
+
+The Textual description (`text`) of value type `string` with 1 or more characters provides a textual description of additional constraints.
+
+*Examples 1:*
+
+```
+ Copyright 2021, Example Company, All Rights Reserved.
+ Distribute freely.
+ Share only on a need-to-know-basis only.
+```
+
+##### Document Property - Distribution - TLP
+
+Traffic Light Protocol (TLP) (`tlp`) of value type `object` with the mandatory property Label (`label`) and
+the optional property URL (`url`) provides details about the TLP classification of the document.
+
+```
+ "tlp": {
+ // ...
+ "properties": {
+ "label": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+ }
+```
+
+The Label of TLP (`label`) with value type `string` and `enum` provides the TLP label of the document.
+Valid values of the `enum` are:
+
+```
+ AMBER
+ GREEN
+ RED
+ WHITE
+```
+
+The URL of TLP version (`url`) with value type `string` with format `uri` provides a URL where to find
+the textual description of the TLP version which is used in this document.
+The default value is the URL to the definition by FIRST:
+
+```
+ https://www.first.org/tlp/
+```
+
+*Examples 1:*
+
+```
+ https://www.us-cert.gov/tlp
+ https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Kritis/Merkblatt_TLP.pdf
+```
+
+#### Document Property - Language
+
+Document language (`lang`) of value type Language Type (`lang_t`) identifies the language used by this document,
+corresponding to IETF BCP 47 / RFC 5646.
+
+#### Document Property - Notes
+
+Document notes (`notes`) of value type Notes Type (`notes_t`) holds notes associated with the whole document.
+
+```
+ "notes": {
+ // ...
+ },
+```
+
+#### Document Property - Publisher
+
+Publisher (`publisher`) has value type `object` with the mandatory properties Category (`category`), Name (`name`) and
+Namespace (`namespace`) and provides information on the publishing entity.
+The 2 other optional properties are: `contact_details` and `issuing_authority`.
+
+```
+ "publisher": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ },
+ "contact_details": {
+ // ...
+ },
+ "issuing_authority": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ "namespace": {
+ // ...
+ }
+ }
+ },
+```
+
+##### Document Property - Publisher - Category
+
+The Category of publisher (`category`) of value type `string` and `enum` provides information about the category of
+publisher releasing the document.
+The valid values are:
+
+```
+ coordinator
+ discoverer
+ other
+ translator
+ user
+ vendor
+```
+
+The value `coordinator` indicates individuals or organizations that
+manage a single vendor’s response or multiple vendors’ responses to a vulnerability, a security flaw, or an incident.
+This includes all Computer Emergency/Incident Response Teams (CERTs/CIRTs) or agents acting on the behalf of a researcher.
+
+The value `discoverer` indicates individuals or organizations that find vulnerabilities or security weaknesses.
+This includes all manner of researchers.
+
+The value `translator` indicates individuals or organizations that translate CSAF documents.
+This includes all manner of language translators, also those who work for the party issuing the original advisory.
+
+The value `other` indicates a catchall for everyone else. Currently this includes editors, reviewers, forwarders, republishers,
+and miscellaneous contributors.
+
+The value `user` indicates anyone using a vendor’s product.
+
+The value `vendor` indicates developers or maintainers of information system products or services.
+This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and
+product resellers and distributors, including authoritative vendor partners.
+
+##### Document Property - Publisher - Contact Details
+
+Contact details (`contact_details`) of value type `string` with 1 or more characters provides information on how to contact the publisher,
+possibly including details such as web sites, email addresses, phone numbers, and postal mail addresses.
+
+*Example 1:*
+
+```
+ Example Company can be reached at contact_us@example.com, or via our website at https://www.example.com/contact.
+```
+
+##### Document Property - Publisher - Issuing Authority
+
+Issuing authority (`issuing_authority`) of value type `string` with 1 or more characters Provides information about
+the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.
+
+##### Document Property - Publisher - Name
+
+The Name of publisher (`name`) of value type `string` with 1 or more characters contains the name of the issuing party.
+
+*Example 1:*
+
+```
+ BSI
+ Cisco PSIRT
+ Siemens ProductCERT
+```
+
+##### Document Property - Publisher - Namespace
+
+The Namespace of publisher (`namespace`) of value type `string` with format `uri` contains a URL which
+is under control of the issuing party and can be used as a globally unique identifier for that issuing party.
+The URL SHALL be normalized.
+
+An issuing party can choose any URL which fulfills the requirements state above.
+The URL MAY be dereferenceable. If an issuing party has chosen a URL, it SHOULD NOT change.
+Tools can make use of the combination of `/document/publisher/namespace` and `/document/tracking/id` as it
+identifies a CSAF document globally unique.
+
+If an issuing party decides to change its Namespace it SHOULD reissue all CSAF documents with
+an incremented (patch) version which has no other changes than:
+
+* the new publisher information
+* the updated revision history
+* the updated item in `/document/references[]` which points to the new version of the CSAF document
+* an added item in `/document/references[]` which points to the previous version of the CSAF document (if the URL changed)
+
+*Examples 1:*
+
+```
+ https://csaf.io
+ https://www.example.com
+```
+
+#### Document Property - References
+
+Document references (`references`) of value type References Type (`references_t`) holds a list of references associated with the whole document.
+
+```
+ "references": {
+ // ...
+ },
+```
+
+#### Document Property - Source Language
+
+Source language (`source_lang`) of value type Language Type (`lang_t`) identifies if this copy of the document is
+a translation then the value of this property describes from which language this document was translated.
+
+The property MUST be present and set for any CSAF document with the value `translator` in `/document/publisher/category`.
+The property SHALL NOT be present if the document was not translated.
+
+> If an issuing party publishes a CSAF document with the same content in more than one language,
+> one of these documents SHOULD be deemed the "original", the other ones SHOULD be considered translations from the "original".
+> The issuing party can retain its original publisher information including the `category`.
+> However, other rules defined in the conformance clause "CSAF translator" SHOULD be applied.
+
+#### Document Property - Title
+
+Title of this document (`title`) of value type `string` with 1 or more characters SHOULD be a canonical name for the document,
+and sufficiently unique to distinguish it from similar documents.
+
+*Examples 1:*
+
+```
+ Cisco IPv6 Crafted Packet Denial of Service Vulnerability
+ Example Company Cross-Site-Scripting Vulnerability in Example Generator
+```
+
+#### Document Property - Tracking
+
+Tracking (`tracking`) of value type `object` with the six mandatory properties: Current Release Date (`current_release_date`),
+Identifier (`id`), Initial Release Date (`initial_release_date`), Revision History (`revision_history`), Status (`status`),
+and Version (`version`) is a container designated to hold all management attributes necessary to track a CSAF document as a whole.
+The two optional additional properties are Aliases (`aliases`) and Generator (`generator`).
+
+```
+ "tracking": {
+ // ...
+ "properties": {
+ "aliases": {
+ // ...
+ },
+ "current_release_date": {
+ // ...
+ },
+ "generator": {
+ // ...
+ },
+ "id": {
+ // ...
+ },
+ "initial_release_date": {
+ // ...
+ },
+ "revision_history": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+```
+
+##### Document Property - Tracking - Aliases
+
+Aliases (`aliases`) of value type `array` with 1 or more unique items (a `set`) representing Alternate Names contains a
+list of alternate names for the same document.
+
+```
+ "aliases": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every such Alternate Name of value type `string` with 1 or more characters specifies a non-empty string that represents a
+distinct optional alternative ID used to refer to the document.
+
+*Example 1:*
+
+```
+ CVE-2019-12345
+```
+
+##### Document Property - Tracking - Current Release Date
+
+Current release date (`current_release_date`) with value type `string` with format `date-time` holds the date when
+the current revision of this document was released.
+
+##### Document Property - Tracking - Generator
+
+Document Generator (`generator`) of value type `object` with mandatory property Engine (`engine`) and
+optional property Date (`date`) is a container to hold all elements related to the generation of the document.
+These items will reference when the document was actually created, including the date it was generated and the entity that generated it.
+
+```
+ "generator": {
+ // ...
+ "properties": {
+ "date": {
+ // ...
+ },
+ "engine": {
+ // ...
+ }
+ }
+ },
+```
+
+Date of document generation (`date`) of value type `string` with format `date-time` SHOULD be the current date that the document was generated.
+Because documents are often generated internally by a document producer and exist for a nonzero amount of time before being released,
+this field MAY be different from the Initial Release Date and Current Release Date.
+
+Engine of document generation (`engine`) of value type `object` with mandatory property Engine name (`name`) and
+optional property Engine version (`version`) contains information about the engine that generated the CSAF document.
+
+```
+ "engine": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+```
+
+Engine name (`name`) of value type `string` with 1 or more characters represents the name of the engine that generated the CSAF document.
+
+*Examples 1:*
+
+```
+ Red Hat rhsa-to-cvrf
+ Secvisogram
+ TVCE
+```
+
+Engine version (`version`) of value type `string` with 1 or more characters contains the version of the engine that generated the CSAF document.
+
+> Although it is not formally required, the TC suggests to use a versioning which is compatible with Semantic Versioning as described in
+> the external specification [SemVer]. This could help the end user to identify when CSAF consumers have to be updated.
+
+*Examples 2:*
+
+```
+ 0.6.0
+ 1.0.0-beta+exp.sha.a1c44f85
+ 2
+```
+
+##### Document Property - Tracking - ID
+
+Unique identifier for the document (`id`) of value type `string` with 1 or more characters with `pattern` (regular expression):
+
+```
+ ^[\\S](.*[\\S])?$
+```
+
+Unique identifier for the document holds the Identifier.
+
+> It SHALL NOT start or end with a white space and SHALL NOT contain a line break.
+
+The ID is a simple label that provides for a wide range of numbering values, types, and schemes.
+Its value SHOULD be assigned and maintained by the original document issuing authority. It MUST be unique for that organization.
+
+*Examples 1:*
+
+```
+ Example Company - 2019-YH3234
+ RHBA-2019:0024
+ cisco-sa-20190513-secureboot
+```
+
+> The combination of `/document/publisher/namespace` and `/document/tracking/id` identifies a CSAF document globally unique.
+
+This value is also used to determine the filename for the CSAF document (cf. section [sec](#filename)).
+
+##### Document Property - Tracking - Initial Release Date
+
+Initial release date (`initial_release_date`) with value type `string` with format `date-time` holds the date when this document was first published.
+
+##### Document Property - Tracking - Revision History
+
+The Revision History (`revision_history`) with value type `array` of 1 or more Revision History Entries holds one revision item for each version of
+the CSAF document, including the initial one.
+
+```
+ "revision_history": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Each Revision contains all the information elements required to track the evolution of a CSAF document.
+Revision History Entry items are of value type `object` with the three mandatory properties: Date (`date`), Number (`number`),
+and Summary (`summary`).
+In addition, a Revision MAY expose the optional property `legacy_version`.
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "legacy_version": {
+ // ...
+ },
+ "number": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+```
+
+The Date of the revision (`date`) of value type `string` with format `date-time` states the date of the revision entry.
+
+Legacy version of the revision (`legacy_version`) of value type `string` with 1 or more characters contains the version string used
+in an existing document with the same content.
+
+> This SHOULD be used to aid in the mapping between existing (human-readable) documents which might use a different version scheme and
+> CSAF documents with the same content.
+> It is recommended, to use the CSAF revision number to describe the revision history for any new human-readable equivalent.
+
+The Number (`number`) has value type Version (`version_t`).
+
+The Summary of the revision (`summary`) of value type `string` with 1 or more characters holds a single non-empty string representing
+a short description of the changes.
+
+Each Revision item which has a `number` of `0` or `0.y.z` MUST be removed from the document if the document status is `final`.
+Versions of the document which are pre-release SHALL NOT have its own revision item.
+All changes MUST be tracked in the item for the next release version.
+Build metadata SHOULD NOT be included in the `number` of any revision item.
+
+##### Document Property - Tracking - Status
+
+Document status (`status`) of value type `string` and `enum` defines the draft status of the document.
+The value MUST be one of the following:
+
+```
+ draft
+ final
+ interim
+```
+
+The value `draft` indicates, that this is a pre-release, intended for issuing party's internal use only,
+or possibly used externally when the party is seeking feedback or indicating its intentions regarding a specific issue.
+
+The value `final` indicates, that the issuing party asserts the content is unlikely to change.
+“Final” status is an indication only, and does not preclude updates.
+This SHOULD be used if the issuing party expects no, slow or few changes.
+
+The value `interim` indicates, that the issuing party expects rapid updates.
+This SHOULD be used if the expected rate of release for this document is significant higher than for other documents.
+Once the rate slows down it MUST be changed to `final`. This MAY be done in a patch version.
+
+> This is extremely useful for downstream vendors to constantly inform the end users about ongoing investigation.
+> It can be used as an indication to pull the CSAF document more frequently.
+
+##### Document Property - Tracking - Version
+
+Version has the value type Version (`version_t`).
diff --git a/csaf_2.1/prose/edit/src/schema-elements-02-props-02-product-tree.md b/csaf_2.1/prose/edit/src/schema-elements-02-props-02-product-tree.md
new file mode 100644
index 00000000..ddf95d1f
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-02-props-02-product-tree.md
@@ -0,0 +1,190 @@
+### Product Tree Property
+
+Product Tree (`product_tree`) has value type `object` with 1 or more properties is a container for all fully qualified product names that
+can be referenced elsewhere in the document.
+The properties are Branches (`branches`), Full Product Names (`full_product_names`), Product Groups (`product_groups`),
+and Relationships (`relationships`).
+
+```
+ "product_tree": {
+ // ...
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "full_product_names": {
+ // ...
+ },
+ "product_groups": {
+ // ...
+ },
+ "relationships": {
+ // ...
+ }
+ }
+ },
+```
+
+#### Product Tree Property - Branches
+
+List of branches (`branches`) has the value type `branches_t`.
+
+#### Product Tree Property - Full Product Names
+
+List of full product names (`full_product_names`) of value type `array` with 1 or more items of type `full_product_name_t` contains a
+list of full product names.
+
+#### Product Tree Property - Product Groups
+
+List of product groups (`product_groups`) of value type `array` with 1 or more items of value type `object` contains a list of product groups.
+
+```
+ "product_groups": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+The product group items are of value type `object` with the 2 mandatory properties Group ID (`group_id`) and Product IDs (`product_ids`) and
+the optional Summary (`summary`) property.
+
+```
+ "properties": {
+ "group_id": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+```
+
+The summary of the product group (`summary`) of value type `string` with 1 or more characters gives a short, optional description of the group.
+
+*Examples 1:*
+
+```
+ Products supporting Modbus.
+ The x64 versions of the operating system.
+```
+
+Group ID (`group_id`) has value type Product Group ID (`product_group_id_t`).
+
+List of Product IDs (`product_ids`) of value type `array` with 2 or more unique items of value type Product ID (`product_id_t`) lists
+the product_ids of those products which known as one group in the document.
+
+#### Product Tree Property - Relationships
+
+List of relationships (`relationships`) of value type `array` with 1 or more items contains a list of relationships.
+
+```
+ "relationships": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+The Relationship item is of value type `object` and has four mandatory properties: Relationship category (`category`),
+Full Product Name (`full_product_name`), Product Reference (`product_reference`), and Relates to Product Reference (`relates_to_product_reference`).
+The Relationship item establishes a link between two existing `full_product_name_t` elements,
+allowing the document producer to define a combination of two products that form a new `full_product_name` entry.
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "full_product_name": {
+ // ...
+ },
+ "product_reference": {
+ // ...
+ },
+ "relates_to_product_reference": {
+ // ...
+ }
+ }
+```
+
+> The situation where a need for declaring a Relationship arises,
+> is given when a product is e.g. vulnerable only when installed together with another, or to describe operating system components.
+
+Relationship category (`category`) of value type `string` and `enum` defines the category of relationship for the referenced component.
+The valid values are:
+
+```
+ default_component_of
+ external_component_of
+ installed_on
+ installed_with
+ optional_component_of
+```
+
+The value `default_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is a default component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `external_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an external component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `installed_on` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed on a platform entity with
+another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `installed_with` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed alongside
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `optional_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an optional component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+Full Product Name (`full_product_name`) of value type Full Product Name Type (`full_product_name_t`).
+
+Product Reference (`product_reference`) of value type Product ID (`product_id_t`) holds a Product ID that refers to the Full Product Name element,
+which is referenced as the first element of the relationship.
+
+Relates to Product Reference (`relates_to_product_reference`) of value type Product ID (`product_id_t`) holds a Product ID that refers to
+the Full Product Name element, which is referenced as the second element of the relationship.
+
+*Examples 1:*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-908070601",
+ "name": "Cisco AnyConnect Secure Mobility Client 4.9.04053"
+ },
+ {
+ "product_id": "CSAFPID-908070602",
+ "name": "Microsoft Windows"
+ }
+ ],
+ "relationships": [
+ {
+ "product_reference": "CSAFPID-908070601",
+ "category": "installed_on",
+ "relates_to_product_reference": "CSAFPID-908070602",
+ "full_product_name": {
+ "product_id": "CSAFPID-908070603",
+ "name": "Cisco AnyConnect Secure Mobility Client 2.3.185 installed on Microsoft Windows"
+ }
+ }
+ ]
+ }
+```
+
+> The product `Cisco AnyConnect Secure Mobility Client 4.9.04053"` (Product ID: `CSAFPID-908070601`) and the product `Microsoft Windows`
+> (Product ID: `CSAFPID-908070602`) form together a new product with the separate Product ID `CSAFPID-908070603`.
+> The latter one can be used to refer to that combination in other parts of the CSAF document.
+> In example 34, it might be the case that `Cisco AnyConnect Secure Mobility Client 4.9.04053"` is only
+> vulnerable when installed on `Microsoft Windows`.
diff --git a/csaf_2.1/prose/edit/src/schema-elements-02-props-03-vulnerabilities.md b/csaf_2.1/prose/edit/src/schema-elements-02-props-03-vulnerabilities.md
new file mode 100644
index 00000000..ee0889a7
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/schema-elements-02-props-03-vulnerabilities.md
@@ -0,0 +1,774 @@
+### Vulnerabilities Property
+
+Vulnerabilities (`vulnerabilities`) of value type `array` with 1 or more objects representing vulnerabilities and providing 1 or more
+properties represents a list of all relevant vulnerability information items.
+
+```
+ "vulnerabilities": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+The Vulnerability item of value type `object` with 1 or more properties is a container for the aggregation of all fields that are related to
+a single vulnerability in the document.
+Any vulnerability MAY provide the optional properties Acknowledgments (`acknowledgments`), Common Vulnerabilities and Exposures (CVE) (`cve`),
+Common Weakness Enumeration (CWE) (`cwe`), Discovery Date (`discovery_date`), Flags (`flags`), IDs (`ids`), Involvements (`involvements`),
+Notes (`notes`), Product Status (`product_status`), References (`references`), Release Date (`release_date`), Remediations (`remediations`),
+Scores (`scores`), Threats (`threats`), and Title (`title`).
+
+```
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "cve": {
+ // ...
+ },
+ "cwe": {
+ // ...
+ },
+ "discovery_date": {
+ // ...
+ },
+ "flags": {
+ // ...
+ },
+ "ids": {
+ // ...
+ },
+ "involvements": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "product_status": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "release_date": {
+ // ...
+ },
+ "remediations": {
+ // ...
+ },
+ "scores": {
+ // ...
+ },
+ "threats": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+```
+
+#### Vulnerabilities Property - Acknowledgments
+
+Vulnerability acknowledgments (`acknowledgments`) of value type Acknowledgments Type (`acknowledgments_t`) contains a list of
+acknowledgment elements associated with this vulnerability item.
+
+```
+ "acknowledgments": {
+ // ...
+ },
+```
+
+#### Vulnerabilities Property - CVE
+
+CVE (`cve`) of value type `string` with `pattern` (regular expression):
+
+```
+ ^CVE-[0-9]{4}-[0-9]{4,}$
+```
+
+holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
+
+#### Vulnerabilities Property - CWE
+
+CWE (`cwe`) of value type `object` with the 2 mandatory properties Weakness ID (`id`) and Weakness Name (`name`) holds the
+MITRE standard Common Weakness Enumeration (CWE) for the weakness associated. For more information cf. [cite](#CWE).
+
+```
+ "cwe": {
+ // ...
+ "properties": {
+ "id": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ }
+ },
+```
+
+The Weakness ID (`id`) has value type `string` with `pattern` (regular expression):
+
+```
+ ^CWE-[1-9]\\d{0,5}$
+```
+
+and holds the ID for the weakness associated.
+
+*Examples 1:*
+
+```
+ CWE-22
+ CWE-352
+ CWE-79
+```
+
+The Weakness name (`name`) has value type `string` with 1 or more characters and holds the full name of the weakness as given
+in the CWE specification.
+
+*Examples 2:*
+
+```
+ Cross-Site Request Forgery (CSRF)
+ Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
+ Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
+```
+
+#### Vulnerabilities Property - Discovery Date
+
+Discovery date (`discovery_date`) of value type `string` with format `date-time` holds the date and time the vulnerability was originally discovered.
+
+#### Vulnerabilities Property - Flags
+
+List of flags (`flags`) of value type `array` with 1 or more unique items (a set) of value type `object` contains a list of machine readable flags.
+
+```
+ "flags": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Flag item of value type `object` with the mandatory property Label (`label`) contains product specific information in regard to
+this vulnerability as a single machine readable flag.
+For example, this could be a machine readable justification code why a product is not affected.
+At least one of the optional elements Group IDs (`group_ids`) and Product IDs (`product_ids`) MUST be present to state for which products or
+product groups this flag is applicable.
+
+> These flags enable the receiving party to automate the selection of actions to take.
+
+In addition, any Flag item MAY provide the three optional properties Date (`date`), Group IDs (`group_ids`) and Product IDs (`product_ids`).
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "label": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+```
+
+Date of the flag (`date`) of value type `string` with format `date-time` contains the date when assessment was done or the flag was assigned.
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of Product Groups the current flag item applies to.
+
+Label of the flag (`label`) of value type `string` and `enum` specifies the machine readable label. Valid `enum` values are:
+
+```
+ component_not_present
+ inline_mitigations_already_exist
+ vulnerable_code_cannot_be_controlled_by_adversary
+ vulnerable_code_not_in_execute_path
+ vulnerable_code_not_present
+```
+
+The given values reflect the VEX not affected justifications. See [VEX-Justification] for more details. The values MUST be used as follows:
+
+* `component_not_present`: The software is not affected because the vulnerable component is not in the product.
+* `vulnerable_code_not_present`: The product is not affected because the code underlying the vulnerability is not present in the product.
+ > Unlike `component_not_present`, the component in question is present, but for whatever reason (e.g. compiler options)
+ > the specific code causing the vulnerability is not present in the component.
+* `vulnerable_code_cannot_be_controlled_by_adversary`: The vulnerable component is present, and the component contains the vulnerable code.
+ However, vulnerable code is used in such a way that an attacker cannot mount any anticipated attack.
+* `vulnerable_code_not_in_execute_path`: The affected code is not reachable through the execution of the code,
+ including non-anticipated states of the product.
+ > Components that are neither used nor executed by the product.
+* `inline_mitigations_already_exist`: Built-in inline controls or mitigations prevent an adversary from leveraging the vulnerability.
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current flag item applies to.
+
+#### Vulnerabilities Property - IDs
+
+List of IDs (`ids`) of value type `array` with one or more unique ID items of value type `object` represents a list of unique labels or
+tracking IDs for the vulnerability (if such information exists).
+
+```
+ "ids": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every ID item of value type `object` with the two mandatory properties System Name (`system_name`) and Text (`text`) contains a single unique label or
+tracking ID for the vulnerability.
+
+```
+ "properties": {
+ "system_name": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+```
+
+System name (`system_name`) of value type `string` with 1 or more characters indicates the name of the vulnerability tracking or numbering system.
+
+*Examples 1:*
+
+```
+ Cisco Bug ID
+ GitHub Issue
+```
+
+Text (`text`) of value type `string` with 1 or more characters is unique label or tracking ID for the vulnerability (if such information exists).
+
+*Examples 2:*
+
+```
+ CSCso66472
+ oasis-tcs/csaf#210
+```
+
+> General examples may include an identifier from a vulnerability tracking system that is available to customers, such as:
+>
+> * a Cisco bug ID,
+> * a GitHub Issue number,
+> * an ID from a Bugzilla system, or
+> * an ID from a public vulnerability database such as the X-Force Database.
+>
+> The ID MAY be a vendor-specific value but is not to be used to publish the CVE tracking numbers
+> (MITRE standard Common Vulnerabilities and Exposures), as these are specified inside the dedicated CVE element.
+
+#### Vulnerabilities Property - Involvements
+
+List of involvements (`involvements`) of value type `array` with 1 or more items of value type `object` contains a list of involvements.
+
+```
+ "involvements": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Involvement item of value type `object` with the 2 mandatory properties Party (`party`), Status (`status`) and
+the 2 optional properties Date of involvement (`date`) and Summary (`summary`) is a container that allows the document producers to
+comment on the level of involvement (or engagement) of themselves (or third parties) in the vulnerability identification, scoping,
+and remediation process.
+It can also be used to convey the disclosure timeline.
+The ordered tuple of the values of `party` and `date` (if present) SHALL be unique within `involvements`.
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "party": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ }
+```
+
+Date of involvement (`date`) of value type `string` with format `date-time` holds the date and time of the involvement entry.
+
+Party category (`party`) of value type `string` and `enum` defines the category of the involved party.
+Valid values are:
+
+```
+ coordinator
+ discoverer
+ other
+ user
+ vendor
+```
+
+These values follow the same definitions as given for the publisher category (cf. section [sec](#document-property-publisher-category)).
+
+Party status (`status`) of value type `string` and `enum` defines contact status of the involved party.
+Valid values are:
+
+```
+ completed
+ contact_attempted
+ disputed
+ in_progress
+ not_contacted
+ open
+```
+
+Each status is mutually exclusive - only one status is valid for a particular vulnerability at a particular time. As the vulnerability ages,
+a party's involvement could move from state to state.
+However, in many cases, a document producer may choose not to issue CSAF documents at each state, or simply omit this element altogether.
+It is recommended, however, that vendors that issue CSAF documents indicating an open or in-progress involvement SHOULD eventually expect to issue
+a document containing one of the statuses `disputed` or `completed` as the latest one.
+
+> The two vulnerability involvement status states, `contact_attempted` and `not_contacted` are intended for use by document producers other than
+> vendors (such as research or coordinating entities).
+
+The value `completed` indicates that the party asserts that investigation of the vulnerability is complete.
+No additional information, fixes, or documentation from the party about the vulnerability should be expected to be released.
+
+The value `contact_attempted` indicates that the document producer attempted to contact the party.
+
+The value `disputed` indicates that the party disputes the vulnerability report in its entirety.
+This status SHOULD be used when the party believes that a vulnerability report regarding a product is completely inaccurate
+(that there is no real underlying security vulnerability) or that the technical issue being reported has no security implications.
+
+The value `in_progress` indicates that some hotfixes, permanent fixes, mitigations, workarounds,
+or patches may have been made available by the party, but more information or fixes may be released in the future.
+The use of this status by a vendor indicates that future information from the vendor about the vulnerability is to be expected.
+
+The value `not_contacted` indicates that the document producer has not attempted to make contact with the party.
+
+The value `open` is the default status.
+It doesn’t indicate anything about the vulnerability remediation effort other than the fact that the party has acknowledged awareness of
+the vulnerability report.
+The use of this status by a vendor indicates that future updates from the vendor about the vulnerability are to be expected.
+
+Summary of involvement (`summary`) of value type `string` with 1 or more characters contains additional context regarding what is going on.
+
+#### Vulnerabilities Property - Notes
+
+Vulnerability notes (`notes`) of value type Notes Type (`notes_t`) holds notes associated with this vulnerability item.
+
+```
+ "notes": {
+ // ...
+ },
+```
+
+#### Vulnerabilities Property - Product Status
+
+Product status (`product_status`) of value type `object` with 1 or more properties contains different lists of `product_ids` which
+provide details on the status of the referenced product related to the current vulnerability.
+The eight defined properties are First affected (`first_affected`), First fixed (`first_fixed`), Fixed (`fixed`), Known affected (`known_affected`),
+Known not affected (`known_not_affected`), Last affected (`last_affected`), Recommended (`recommended`),
+and Under investigation (`under_investigation`) are all of value type Products (`products_t`).
+
+```
+ "product_status": {
+ // ...
+ "properties": {
+ "first_affected": {
+ // ...
+ },
+ "first_fixed": {
+ // ...
+ },
+ "fixed": {
+ // ...
+ },
+ "known_affected": {
+ // ...
+ },
+ "known_not_affected": {
+ // ...
+ },
+ "last_affected": {
+ // ...
+ },
+ "recommended": {
+ // ...
+ },
+ "under_investigation": {
+ // ..
+ }
+ }
+ },
+```
+
+First affected (`first_affected`) of value type Products (`products_t`) represents that these are the first versions of the releases known to be
+affected by the vulnerability.
+
+First fixed (`first_fixed`) of value type Products (`products_t`) represents that these versions contain the first fix for the vulnerability but
+may not be the recommended fixed versions.
+
+Fixed (`fixed`) of value type Products (`products_t`) represents that these versions contain a fix for the vulnerability but
+may not be the recommended fixed versions.
+
+Known affected (`known_affected`) of value type Products (`products_t`) represents that these versions are known to be affected by the vulnerability.
+Actions are recommended to remediate or address this vulnerability.
+
+> This could include for instance learning more about the vulnerability and context,
+> and/or making a risk-based decision to patch or apply defense-in-depth measures.
+> See `/vulnerabilities[]/remediations`, `/vulnerabilities[]/notes` and `/vulnerabilities[]/threats` for more details.
+
+Known not affected (`known_not_affected`) of value type Products (`products_t`) represents that these versions are known not to be affected by
+the vulnerability.
+No remediation is required regarding this vulnerability.
+
+> This could for instance be because the code referenced in the vulnerability is not present, not exposed, compensating controls exist,
+> or other factors.
+See `/vulnerabilities[]/threats` in category `impact` for more details.
+
+Last affected (`last_affected`) of value type Products (`products_t`) represents that these are the last versions in a release train known to be
+affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.
+
+Recommended (`recommended`) of value type Products (`products_t`) represents that these versions have a fix for the vulnerability and are
+the vendor-recommended versions for fixing the vulnerability.
+
+Under investigation (`under_investigation`) of value type Products (`products_t`) represents that it is not known yet whether these versions are or
+are not affected by the vulnerability.
+However, it is still under investigation - the result will be provided in a later release of the document.
+
+#### Vulnerabilities Property - References
+
+Vulnerability references (`references`) of value type References Type (`references_t`) holds a
+list of references associated with this vulnerability item.
+
+```
+ "references": {
+ // ...
+ },
+```
+
+#### Vulnerabilities Property - Release Date
+
+Release date (`release_date`) with value type `string` of format `date-time` holds the date and time
+the vulnerability was originally released into the wild.
+
+#### Vulnerabilities Property - Remediations
+
+List of remediations (`remediations`) of value type `array` with 1 or more Remediation items of value type `object` contains a list of remediations.
+
+```
+ "remediations": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Remediation item of value type `object` with the 2 mandatory properties Category (`category`) and
+Details (`details`) specifies details on how to handle (and presumably, fix) a vulnerability.
+At least one of the optional elements Group IDs (`group_ids`) and Product IDs (`product_ids`) MUST be present to state for which
+products or product groups this remediation is applicable.
+
+In addition, any Remediation MAY expose the six optional properties Date (`date`), Entitlements (`entitlements`), Group IDs (`group_ids`),
+Product IDs (`product_ids`), Restart required (`restart_required`), and URL (`url`).
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "entitlements": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "restart_required": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+```
+
+##### Vulnerabilities Property - Remediations - Category
+
+Category of the remediation (`category`) of value type `string` and `enum` specifies the category which this remediation belongs to.
+Valid values are:
+
+```
+ mitigation
+ no_fix_planned
+ none_available
+ vendor_fix
+ workaround
+```
+
+The value `workaround` indicates that the remediation contains information about a configuration or specific deployment scenario that
+can be used to avoid exposure to the vulnerability. There MAY be none, one, or more workarounds available.
+This is typically the “first line of defense” against a new vulnerability before a mitigation or vendor fix has been issued or even discovered.
+
+The value `mitigation` indicates that the remediation contains information about a configuration or deployment scenario that
+helps to reduce the risk of the vulnerability but that does not resolve the vulnerability on the affected product.
+Mitigations MAY include using devices or access controls external to the affected product.
+Mitigations MAY or MAY NOT be issued by the original author of the affected product,
+and they MAY or MAY NOT be officially sanctioned by the document producer.
+
+The value `vendor_fix` indicates that the remediation contains information about an official fix that
+is issued by the original author of the affected product.
+Unless otherwise noted, it is assumed that this fix fully resolves the vulnerability.
+This value contradicts with the categories `none_available` and `no_fix_planned` for the same product.
+Therefore, such a combination can't be used in the list of remediations.
+
+The value `none_available` indicates that there is currently no fix or other remediation available.
+The text in field `details` SHOULD contain details about why there is no fix or other remediation.
+The values `none_available` and `vendor_fix` are mutually exclusive per product.
+
+> An issuing party might choose to use this category to announce that a fix is currently developed.
+It is recommended that this also includes a date when a customer can expect the fix to be ready and distributed.
+
+The value `no_fix_planned` indicates that there is no fix for the vulnerability and it is not planned to provide one at any time.
+This is often the case when a product has been orphaned, declared end-of-life, or otherwise deprecated.
+The text in field `details` SHOULD contain details about why there will be no fix issued.
+The values `no_fix_planned` and `vendor_fix` are mutually exclusive per product.
+
+##### Vulnerabilities Property - Remediations - Date
+
+Date of the remediation (`date`) of value type `string` with format `date-time` contains the date from which the remediation is available.
+
+##### Vulnerabilities Property - Remediations - Details
+
+Details of the remediation (`details`) of value type `string` with 1 or more characters contains a thorough human-readable discussion of the remediation.
+
+##### Vulnerabilities Property - Remediations - Entitlements
+
+List of entitlements (`entitlements`) of value type `array` with 1 or more items of type Entitlement of the remediation as `string` with
+1 or more characters contains a list of entitlements.
+
+```
+ "entitlements": {
+ // ....
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Entitlement of the remediation contains any possible vendor-defined constraints for obtaining fixed software or hardware that
+fully resolves the vulnerability.
+
+##### Vulnerabilities Property - Remediations - Group IDs
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of
+Product Groups the current remediation item applies to.
+
+##### Vulnerabilities Property - Remediations - Product IDs
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current remediation item applies to.
+
+##### Vulnerabilities Property - Remediations - Restart Required
+
+Restart required by remediation (`restart_required`) of value type `object` with the 1 mandatory property Category (`category`) and
+the optional property Details (`details`) provides information on category of restart is required by this remediation to become effective.
+
+```
+ "restart_required": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ }
+ "details": {
+ // ...
+ }
+ }
+ },
+```
+
+Category of restart (`category`) of value type `string` and `enum` specifies what category of restart is required by
+this remediation to become effective.
+Valid values are:
+
+```
+ connected
+ dependencies
+ machine
+ none
+ parent
+ service
+ system
+ vulnerable_component
+ zone
+```
+
+The values MUST be used as follows:
+
+* `none`: No restart required.
+* `vulnerable_component`: Only the vulnerable component (as given by the elements of `product_ids` or `group_ids` in the current remediation item)
+ needs to be restarted.
+* `service`: The vulnerable component and the background service used by the vulnerable component need to be restarted.
+* `parent`: The vulnerable component and its parent process need to be restarted. This could be the case if the parent process has no build-in way
+ to restart the vulnerable component or process values / context is only given at the start of the parent process.
+* `dependencies`: The vulnerable component and all components which require the vulnerable component to work need to be restarted.
+ This could be the case e.g. for a core service of a software.
+* `connected`: The vulnerable component and all components connected (via network or any type of inter-process communication)
+ to the vulnerable component need to be restarted.
+* `machine`: The machine on which the vulnerable component is installed on needs to be restarted.
+ This is the value which SHOULD be used if an OS needs to be restarted.
+ It is typically the case for OS upgrades.
+* `zone`: The security zone in which the machine resides on which the vulnerable component is installed needs to be restarted.
+ This value might be useful for a remediation if no patch is available.
+ If the malware can be wiped out by restarting the infected machines but the infection spreads fast the controlled shutdown of all machines at
+ the same time and restart afterwards can leave one with a clean system.
+* `system`: The whole system which the machine resides on which the vulnerable component is installed needs to be restarted.
+ This MAY include multiple security zones. This could be the case for a major system upgrade in an ICS system or a protocol change.
+
+Additional restart information (`details`) of value type `string` with 1 or more characters provides additional information for the restart.
+This can include details on procedures, scope or impact.
+
+##### Vulnerabilities Property - Remediations - URL
+
+URL (`url`) of value type `string` with format `uri` contains the URL where to obtain the remediation.
+
+#### Vulnerabilities Property - Scores
+
+List of scores (`scores`) of value type `array` with 1 or more items of type score holds a list of score objects for the current vulnerability.
+
+```
+ "scores": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Score item is `object` with the mandatory property `products` and the optional properties `cvss_v2` and
+`cvss_v3` specifies information about (at least one) score of the vulnerability and for which products the given value applies.
+Each Score item has at least 2 properties.
+
+```
+ "properties": {
+ "cvss_v2": {
+ // ...
+ },
+ "cvss_v3": {
+ "oneOf": [
+ // ...
+ ]
+ }
+ "products": {
+ // ...
+ }
+ }
+```
+
+The property CVSS v2 (`cvss_v2`) holding a CVSS v2.0 value abiding by the schema at
+[https://www.first.org/cvss/cvss-v2.0.json](https://www.first.org/cvss/cvss-v2.0.json).
+
+The property CVSS v3 (`cvss_v3`) holding a CVSS v3.x value abiding by one of the schemas at
+[https://www.first.org/cvss/cvss-v3.0.json](https://www.first.org/cvss/cvss-v3.0.json) or
+[https://www.first.org/cvss/cvss-v3.1.json](https://www.first.org/cvss/cvss-v3.1.json).
+
+Product IDs (`products`) of value type `products_t` with 1 or more items indicates for which products the given scores apply.
+A score object SHOULD reflect the associated product's status (for example,
+a fixed product no longer contains a vulnerability and should have a CVSS score of 0, or simply no score listed;
+the known affected versions of that product can list the vulnerability score as it applies to them).
+
+#### Vulnerabilities Property - Threats
+
+List of threats (`threats`) of value type `array` with 1 or more items of value type `object` contains
+information about a vulnerability that can change with time.
+
+```
+ "threats": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Threat item of value type `object` with the two mandatory properties Category (`category`) and Details (`details`) contains
+the vulnerability kinetic information.
+This information can change as the vulnerability ages and new information becomes available.
+In addition, any Threat item MAY expose the three optional properties Date (`date`), Group IDs (`group_ids`), and Product IDs (`product_ids`).
+
+```
+ "properties": {
+ "category": {
+ // ...
+ }
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+```
+
+Category of the threat (`category`) of value type `string` and `enum` categorizes the threat according to the rules of the specification.
+Valid values are:
+
+```
+ exploit_status
+ impact
+ target_set
+```
+
+The value `exploit_status` indicates that the `details` field contains a description of the degree to which an exploit for the vulnerability is known.
+This knowledge can range from information privately held among a very small group to an issue that has been described to the public at
+a major conference or is being widely exploited globally.
+For consistency and simplicity, this section can be a mirror image of the CVSS "Exploitability" metric.
+However, it can also contain a more contextual status, such as "Weaponized" or "Functioning Code".
+
+The value `impact` indicates that the `details` field contains an assessment of the impact on the user or the target set if
+the vulnerability is successfully exploited or a description why it cannot be exploited.
+If applicable, for consistency and simplicity, this section can be a textual summary of the three CVSS impact metrics.
+These metrics measure how a vulnerability detracts from the three core security properties of an information system:
+Confidentiality, Integrity, and Availability.
+
+The value `target_set` indicates that the `details` field contains a description of
+the currently known victim population in whatever terms are appropriate.
+Such terms MAY include: operating system platform, types of products, user segments, and geographic distribution.
+
+Date of the threat (`date`) of value type `string` with format `date-time` contains the date when the assessment was done or the threat appeared.
+
+Details of the threat (`details`) of value type `string` with 1 or more characters represents a thorough human-readable discussion of the threat.
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of Product Groups the current threat item applies to.
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current threat item applies to.
+
+#### Vulnerabilities Property - Title
+
+Title (`title`) has value type `string` with 1 or more characters and gives the document producer the ability to apply a canonical name or
+title to the vulnerability.
+
+-------
diff --git a/csaf_2.1/prose/edit/src/table-of-contents.md b/csaf_2.1/prose/edit/src/table-of-contents.md
new file mode 100644
index 00000000..e69de29b
diff --git a/csaf_2.1/prose/edit/src/tests-00.md b/csaf_2.1/prose/edit/src/tests-00.md
new file mode 100644
index 00000000..704a907b
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-00.md
@@ -0,0 +1,3 @@
+# Tests
+
+The following three subsections list a number of tests which all will have a short description and an excerpt of an example which fails the test.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mandatory.md b/csaf_2.1/prose/edit/src/tests-01-mandatory.md
new file mode 100644
index 00000000..2770f24d
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mandatory.md
@@ -0,0 +1,4 @@
+## Mandatory Tests
+
+Mandatory tests MUST NOT fail at a valid CSAF document.
+A program MUST handle a test failure as an error.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-01-missing-definition-of-product-id.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-01-missing-definition-of-product-id.md
new file mode 100644
index 00000000..a654582b
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-01-missing-definition-of-product-id.md
@@ -0,0 +1,42 @@
+### Missing Definition of Product ID
+
+For each element of type `/$defs/product_id_t` which is not inside a Full Product Name (type: `full_product_name_t`) and
+therefore reference an element within the `product_tree` it MUST be tested that the Full Product Name element with the matching `product_id` exists.
+The same applies for all items of elements of type `/$defs/products_t`.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/product_groups[]/product_ids[]
+ /product_tree/relationships[]/product_reference
+ /product_tree/relationships[]/relates_to_product_reference
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/known_not_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/recommended[]
+ /vulnerabilities[]/product_status/under_investigation[]
+ /vulnerabilities[]/remediations[]/product_ids[]
+ /vulnerabilities[]/scores[]/products[]
+ /vulnerabilities[]/threats[]/product_ids[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ }
+```
+
+> Neither `CSAFPID-9080700` nor `CSAFPID-9080701` were defined in the `product_tree`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-02-multiple-definition-of-product-id.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-02-multiple-definition-of-product-id.md
new file mode 100644
index 00000000..c483b793
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-02-multiple-definition-of-product-id.md
@@ -0,0 +1,31 @@
+### Multiple Definition of Product ID
+
+For each Product ID (type `/$defs/product_id_t`) in Full Product Name elements (type: `/$defs/full_product_name_t`) it
+MUST be tested that the `product_id` was not already defined within the same document.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product B"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080700` was defined twice.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-03-circular-definition-of-product-id.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-03-circular-definition-of-product-id.md
new file mode 100644
index 00000000..339ff6ab
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-03-circular-definition-of-product-id.md
@@ -0,0 +1,40 @@
+### Circular Definition of Product ID
+
+For each new defined Product ID (type `/$defs/product_id_t`) in items of relationships (`/product_tree/relationships`) it
+MUST be tested that the `product_id` does not end up in a circle.
+
+The relevant path for this test is:
+
+```
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+> As this can be quite complex a program for large CSAF documents, a program could check first whether
+> a Product ID defined in a relationship item is used as `product_reference` or `relates_to_product_reference`.
+> Only for those which fulfill this condition it is necessary to run the full check following the references.
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ],
+ "relationships": [
+ {
+ "category": "installed_on",
+ "full_product_name": {
+ "name": "Product B",
+ "product_id": "CSAFPID-9080701"
+ },
+ "product_reference": "CSAFPID-9080700",
+ "relates_to_product_reference": "CSAFPID-9080701"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080701` refers to itself - this is a circular definition.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-04-missing-definition-of-product-group-id.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-04-missing-definition-of-product-group-id.md
new file mode 100644
index 00000000..cb19182b
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-04-missing-definition-of-product-group-id.md
@@ -0,0 +1,40 @@
+### Missing Definition of Product Group ID
+
+For each element of type `/$defs/product_group_id_t` which is not inside a Product Group (`/product_tree/product_groups[]`) and
+therefore reference an element within the `product_tree` it MUST be tested that the Product Group element with the matching `group_id` exists.
+The same applies for all items of elements of type `/$defs/product_groups_t`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/remediations[]/group_ids
+ /vulnerabilities[]/threats[]/group_ids
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "threats": [
+ {
+ "category": "exploit_status",
+ "details": "Reliable exploits integrated in Metasploit.",
+ "group_ids": [
+ "CSAFGID-1020301"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> `CSAFGID-1020301` was not defined in the Product Tree.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-05-multiple-definition-of-product-group-id.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-05-multiple-definition-of-product-group-id.md
new file mode 100644
index 00000000..e629180e
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-05-multiple-definition-of-product-group-id.md
@@ -0,0 +1,49 @@
+### Multiple Definition of Product Group ID
+
+For each Product Group ID (type `/$defs/product_group_id_t`) Product Group elements (`/product_tree/product_groups[]`) it
+MUST be tested that the `group_id` was not already defined within the same document.
+
+The relevant path for this test is:
+
+```
+ /product_tree/product_groups[]/group_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ },
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+```
+
+> `CSAFGID-1020300` was defined twice.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-06-contradicting-product-status.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-06-contradicting-product-status.md
new file mode 100644
index 00000000..f5fc3ce0
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-06-contradicting-product-status.md
@@ -0,0 +1,63 @@
+### Contradicting Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that the same Product ID is not member of contradicting product status groups.
+The sets formed by the contradicting groups within one vulnerability item MUST be pairwise disjoint.
+
+Contradiction groups are:
+
+* Affected:
+
+ ```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ ```
+
+* Not affected:
+
+ ```
+ /vulnerabilities[]/product_status/known_not_affected[]
+ ```
+
+* Fixed:
+
+ ```
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+ ```
+
+* Under investigation:
+
+ ```
+ /vulnerabilities[]/product_status/under_investigation[]
+ ```
+
+> Note: An issuer might recommend (`/vulnerabilities[]/product_status/recommended`) a product version from any group - also from the affected group,
+> i.e. if it was discovered that fixed versions introduce a more severe vulnerability.
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` is a member of the two contradicting groups "Affected" and "Not affected".
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-07-multiple-scores-with-same-version-per-product.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-07-multiple-scores-with-same-version-per-product.md
new file mode 100644
index 00000000..d624b240
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-07-multiple-scores-with-same-version-per-product.md
@@ -0,0 +1,52 @@
+### Multiple Scores with same Version per Product
+
+For each item in `/vulnerabilities` it MUST be tested that the same Product ID is not member of more than one CVSS-Vectors with the same version.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/scores[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ },
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+```
+
+> Two CVSS v3.1 scores are given for `CSAFPID-9080700`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-08-invalid-cvss.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-08-invalid-cvss.md
new file mode 100644
index 00000000..9551190b
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-08-invalid-cvss.md
@@ -0,0 +1,25 @@
+### Invalid CVSS
+
+It MUST be tested that the given CVSS object is valid according to the referenced schema.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5
+ }
+```
+
+> The required element `baseSeverity` is missing.
+
+> A tool MAY add one or more of the missing properties `version`, `baseScore` and `baseSeverity` based on
+> the values given in `vectorString` as quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-09-invalid-cvss-computation.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-09-invalid-cvss-computation.md
new file mode 100644
index 00000000..3b4a5d05
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-09-invalid-cvss-computation.md
@@ -0,0 +1,34 @@
+### Invalid CVSS computation
+
+It MUST be tested that the given CVSS object has the values computed correctly according to the definition.
+
+> The `vectorString` SHOULD take precedence.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2/baseScore
+ /vulnerabilities[]/scores[]/cvss_v2/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v2/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v3/temporalSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalSeverity
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 10.0,
+ "baseSeverity": "LOW"
+ }
+```
+
+> Neither `baseScore` nor `baseSeverity` has the correct value according to the specification.
+
+> A tool MAY set the correct values as computed according to the specification as quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-10-inconsistent-cvss.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-10-inconsistent-cvss.md
new file mode 100644
index 00000000..cb9b16d6
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-10-inconsistent-cvss.md
@@ -0,0 +1,33 @@
+### Inconsistent CVSS
+
+It MUST be tested that the given CVSS properties do not contradict the CVSS vector.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
+ "baseScore": 9.8,
+ "baseSeverity": "CRITICAL",
+ "attackVector": "LOCAL",
+ "attackComplexity": "LOW",
+ "privilegesRequired": "NONE",
+ "userInteraction": "NONE",
+ "scope": "CHANGED",
+ "confidentialityImpact": "HIGH",
+ "integrityImpact": "HIGH",
+ "availabilityImpact": "LOW"
+ }
+```
+
+> The values in CVSS vector differs from values of the properties `attackVector`, `scope` and `availabilityImpact`.
+
+> A tool MAY overwrite contradicting values according to the `vectorString` as quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-11-cwe.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-11-cwe.md
new file mode 100644
index 00000000..3344dabd
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-11-cwe.md
@@ -0,0 +1,20 @@
+### CWE
+
+It MUST be tested that given CWE exists and is valid.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cwe
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cwe": {
+ "id": "CWE-79",
+ "name": "Improper Input Validation"
+ }
+```
+
+> The `CWE-79` exists. However, its name is `Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-12-language.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-12-language.md
new file mode 100644
index 00000000..44229073
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-12-language.md
@@ -0,0 +1,20 @@
+### Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code is valid and exists.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "EZ"
+```
+
+> `EZ` is not a valid language. It is the subtag for the region "Eurozone".
+
+> For any deprecated subtag, a tool MAY replace it with its preferred value as a quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-13-purl.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-13-purl.md
new file mode 100644
index 00000000..949d5cc4
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-13-purl.md
@@ -0,0 +1,29 @@
+### PURL
+
+It MUST be tested that given PURL is valid.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/purl
+ /product_tree/full_product_names[]/product_identification_helper/purl
+ /product_tree/relationships[]/full_product_name/product_identification_helper/purl
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "purl": "pkg:maven/@1.3.4"
+ }
+ }
+ ]
+ }
+```
+
+> Any valid purl has a name component.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md
new file mode 100644
index 00000000..5753010c
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-14-sorted-revision-history.md
@@ -0,0 +1,28 @@
+### Sorted Revision History
+
+It MUST be tested that the value of `number` of items of the revision history are sorted ascending when the items are sorted ascending by `date`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The first item has a higher version number than the second.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-15-translator.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-15-translator.md
new file mode 100644
index 00000000..c108b45d
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-15-translator.md
@@ -0,0 +1,26 @@
+### Translator
+
+It MUST be tested that `/document/source_lang` is present and set if the value `translator` is used for `/document/publisher/category`.
+
+The relevant path for this test is:
+
+```
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "publisher": {
+ "category": "translator",
+ "name": "CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "title": "Mandatory test: Translator (failing example 1)",
+ // ...
+ }
+```
+
+> The required element `source_lang` is missing.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md
new file mode 100644
index 00000000..dbf69ab6
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-16-latest-document-version.md
@@ -0,0 +1,35 @@
+### Latest Document Version
+
+It MUST be tested that document version has the same value as the `number` in the last item of Revision History when
+it is sorted ascending by `date`. Build metadata is ignored in the comparison.
+Any pre-release part is also ignored if the document status is `draft`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "1"
+ }
+```
+
+> The value of `number` of the last item after sorting is `2`. However, the document version is `1`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-17-document-status-draft.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-17-document-status-draft.md
new file mode 100644
index 00000000..06f07793
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-17-document-status-draft.md
@@ -0,0 +1,21 @@
+### Document Status Draft
+
+It MUST be tested that document status is `draft` if the document version is `0` or `0.y.z` or contains the pre-release part.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/status
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "status": "final",
+ "version": "0.9.5"
+ }
+```
+
+> The `/document/tracking/version` is `0.9.5` but the document status is `final`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-18-released-revision-history.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-18-released-revision-history.md
new file mode 100644
index 00000000..354eb4bc
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-18-released-revision-history.md
@@ -0,0 +1,33 @@
+### Released Revision History
+
+It MUST be tested that no item of the revision history has a `number` of `0` or `0.y.z` when the document status is `final` or `interim`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2023-09-17T10:00:00.000Z",
+ "number": "0",
+ "summary": "First draft"
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+```
+
+> The document status is `final` but the revision history includes an item which has `0` as value for `number`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-19-revision-history-entries-for-pre-release-versions.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-19-revision-history-entries-for-pre-release-versions.md
new file mode 100644
index 00000000..e5012e5d
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-19-revision-history-entries-for-pre-release-versions.md
@@ -0,0 +1,28 @@
+### Revision History Entries for Pre-release Versions
+
+It MUST be tested that no item of the revision history has a `number` which includes pre-release information.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1.0.0-rc",
+ "summary": "Release Candidate for initial version."
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The revision history contains an item which has a `number` that indicates that this is pre-release.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-20-non-draft-document-version.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-20-non-draft-document-version.md
new file mode 100644
index 00000000..b68ee75f
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-20-non-draft-document-version.md
@@ -0,0 +1,21 @@
+### Non-draft Document Version
+
+It MUST be tested that document version does not contain a pre-release part if the document status is `final` or `interim`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "status": "interim",
+ "version": "1.0.0-alpha"
+ }
+```
+
+> The document status is `interim` but the document version contains the pre-release part `-alpha`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-21-missing-item-in-revision-history.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-21-missing-item-in-revision-history.md
new file mode 100644
index 00000000..cb0c9ac6
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-21-missing-item-in-revision-history.md
@@ -0,0 +1,31 @@
+### Missing Item in Revision History
+
+It MUST be tested that items of the revision history do not omit a version number when the items are sorted ascending by `date`.
+In the case of semantic versioning, this applies only to the Major version.
+It MUST also be tested that the first item in such a sorted list has either the version number 0 or 1 in the case of integer versioning or
+a Major version of 0 or 1 in the case of semantic versioning.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Some other changes."
+ }
+ ]
+```
+
+> The item for version `2` is missing.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-22-multiple-definition-in-revision-history.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-22-multiple-definition-in-revision-history.md
new file mode 100644
index 00000000..bf6824e1
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-22-multiple-definition-in-revision-history.md
@@ -0,0 +1,28 @@
+### Multiple Definition in Revision History
+
+It MUST be tested that items of the revision history do not contain the same version number.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2021-07-20T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Some other changes."
+ }
+ ]
+```
+
+> The revision history contains two items with the version number `1`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-23-multiple-use-of-same-cve.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-23-multiple-use-of-same-cve.md
new file mode 100644
index 00000000..2b83d04a
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-23-multiple-use-of-same-cve.md
@@ -0,0 +1,24 @@
+### Multiple Use of Same CVE
+
+It MUST be tested that a CVE is not used in multiple vulnerability items.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cve
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145"
+ },
+ {
+ "cve": "CVE-2017-0145"
+ }
+ ]
+```
+
+> The vulnerabilities array contains two items with the same CVE identifier `CVE-2017-0145`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-24-multiple-definition-in-involvements.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-24-multiple-definition-in-involvements.md
new file mode 100644
index 00000000..b58f5301
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-24-multiple-definition-in-involvements.md
@@ -0,0 +1,33 @@
+### Multiple Definition in Involvements
+
+It MUST be tested that items of the list of involvements do not contain the same `party` regardless of its `status` more than once at any `date`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/involvements
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "completed"
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+```
+
+> The list of involvements contains two items with the same tuple `party` and `date`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-25-multiple-use-of-same-hash-algorithm.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-25-multiple-use-of-same-hash-algorithm.md
new file mode 100644
index 00000000..600e04c8
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-25-multiple-use-of-same-hash-algorithm.md
@@ -0,0 +1,43 @@
+### Multiple Use of Same Hash Algorithm
+
+It MUST be tested that the same hash algorithm is not used multiple times in one item of hashes.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha256",
+ "value": "026a37919b182ef7c63791e82c9645e2f897a3f0b73c7a6028c7febf62e93838"
+ },
+ {
+ "algorithm": "sha256",
+ "value": "0a853ce2337f0608489ac596a308dc5b7b19d35a52b10bf31261586ac368b175"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `sha256` is used two times in one item of hashes.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-26-prohibited-document-category-name.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-26-prohibited-document-category-name.md
new file mode 100644
index 00000000..d8780ab0
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-26-prohibited-document-category-name.md
@@ -0,0 +1,46 @@
+### Prohibited Document Category Name
+
+It MUST be tested that the document category is not equal to the (case insensitive) name (without the prefix `csaf_`) or
+value of any other profile than "CSAF Base". Any occurrences of dash, whitespace,
+and underscore characters are removed from the values on both sides before the match.
+Also the value MUST NOT start with the reserved prefix `csaf_` except if the value is `csaf_base`.
+
+This test does only apply for CSAF documents with the profile "CSAF Base".
+Therefore, it MUST be skipped if the document category matches one of the values defined for the profile other than "CSAF Base".
+
+> For CSAF 2.0, the test must be skipped for the following values in `/document/category`:
+>
+> ```
+> csaf_base
+> csaf_security_incident_response
+> csaf_informational_advisory
+> csaf_security_advisory
+> csaf_vex
+> ```
+
+This is the only mandatory test related to the profile "CSAF Base" as the required fields SHALL be checked by validating the JSON schema.
+
+The relevant path for this test is:
+
+```
+ /document/category
+```
+
+*Examples 1 (for currently prohibited values):*
+
+```
+ Csaf_a
+ Informational Advisory
+ security-incident-response
+ Security Advisory
+ veX
+ V_eX
+```
+
+*Example 2 (which fails the test):*
+
+```
+ "category": "Security_Incident_Response"
+```
+
+> The value `Security_Incident_Response` is the name of a profile where the space was replaced with underscores.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-27-profile-tests.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-27-profile-tests.md
new file mode 100644
index 00000000..0ae0ee69
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-27-profile-tests.md
@@ -0,0 +1,432 @@
+### Profile Tests
+
+This subsubsection structures the tests for the profiles. Not all tests apply for all profiles.
+Tests SHOULD be skipped if the document category does not match the one given in the test.
+Each of the following tests SHOULD be treated as they where listed similar to the other tests.
+
+> An application MAY group these tests by profiles when providing the additional function to only run one or more selected tests.
+> This results in one virtual test per profile.
+
+#### Document Notes
+
+It MUST be tested that at least one item in `/document/notes` exists which has a `category` of `description`, `details`, `general` or `summary`.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_informational_advisory
+ csaf_security_incident_response
+```
+
+The relevant path for this test is:
+
+```
+ /document/notes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "notes": [
+ {
+ "category": "legal_disclaimer",
+ "text": "The CSAF document is provided to You \"AS IS\" and \"AS AVAILABLE\" and with all faults and defects without warranty of any kind.",
+ "title": "Terms of Use"
+ }
+ ]
+```
+
+> The document notes do not contain an item which has a `category` of `description`, `details`, `general` or `summary`.
+
+#### Document References
+
+It MUST be tested that at least one item in `/document/references` exists that has links to an `external` source.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_informational_advisory
+ csaf_security_incident_response
+```
+
+The relevant path for this test is:
+
+```
+ /document/references
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "category": "self",
+ "summary": "The canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json"
+ }
+ ]
+```
+
+> The document references do not contain any item which has the category `external`.
+
+#### Vulnerabilities{#vulnerabilities-for-informational-advisory}
+
+It MUST be tested that the element `/vulnerabilities` does not exist.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_informational_advisory
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item that SHALL NOT exist"
+ }
+ ]
+```
+
+> The element `/vulnerabilities` exists.
+
+> A tool MAY change the `/document/category` to `csaf_base` as a quick fix.
+
+#### Product Tree
+
+It MUST be tested that the element `/product_tree` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /product_tree
+```
+
+*Example 1 (which fails the test):*
+
+```
+ {
+ "document": {
+ // ...
+ },
+ "vulnerabilities": [
+ // ...
+ ]
+ }
+```
+
+> The element `/product_tree` does not exist.
+
+#### Vulnerability Notes
+
+For each item in `/vulnerabilities` it MUST be tested that the element `notes` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/notes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a note"
+ }
+ ]
+```
+
+> The vulnerability item has no `notes` element.
+
+#### Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that the element `product_status` exists.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_security_advisory
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/product_status
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a product status"
+ }
+ ]
+```
+
+> The vulnerability item has no `product_status` element.
+
+#### VEX Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that at least one of the elements `fixed`, `known_affected`, `known_not_affected`,
+or `under_investigation` is present in `product_status`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/fixed
+ /vulnerabilities[]/product_status/known_affected
+ /vulnerabilities[]/product_status/known_not_affected
+ /vulnerabilities[]/product_status/under_investigation
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_status": {
+ "first_fixed": [
+ // ...
+ ],
+ "recommended": [
+ // ...
+ ]
+ }
+```
+
+> None of the elements `fixed`, `known_affected`, `known_not_affected`, or `under_investigation` is present in `product_status`.
+
+#### Vulnerability ID
+
+For each item in `/vulnerabilities` it MUST be tested that at least one of the elements `cve` or `ids` is present.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/cve
+ /vulnerabilities[]/ids
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a CVE or ID"
+ }
+ ]
+```
+
+> None of the elements `cve` or `ids` is present.
+
+#### Impact Statement
+
+For each item in `/vulnerabilities[]/product_status/known_not_affected` it MUST be tested that
+a corresponding impact statement exist in `/vulnerabilities[]/flags` or `/vulnerabilities[]/threats`.
+For the latter one, the `category` value for such a statement MUST be `impact`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags
+ /vulnerabilities[]/threats
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> There is no impact statement for `CSAFPID-9080702`.
+>
+> Note: The impact statement for `CSAFPID-9080700` and `CSAFPID-9080701` is given through `CSAFGID-0001`.
+
+#### Action Statement
+
+For each item in `/vulnerabilities[]/product_status/known_affected` it MUST be tested that
+a corresponding action statement exist in `/vulnerabilities[]/remediations`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/remediations
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ],
+ "summary": "EOL products"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> There is no action statement for `CSAFPID-9080702`.
+>
+> Note: The action statement for `CSAFPID-9080700` and `CSAFPID-9080701` is given through `CSAFGID-0001`.
+
+#### Vulnerabilities{#vulnerabilities-for-security-advisory-or-vex}
+
+It MUST be tested that the element `/vulnerabilities` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities
+```
+
+*Example 1 (which fails the test):*
+
+```
+ {
+ "document": {
+ // ...
+ },
+ "product_tree": [
+ // ...
+ ]
+ }
+```
+
+> The element `/vulnerabilities` does not exist.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-28-translation.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-28-translation.md
new file mode 100644
index 00000000..91ed3397
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-28-translation.md
@@ -0,0 +1,28 @@
+### Translation
+
+It MUST be tested that the given source language and document language are not the same.
+
+The relevant path for this test is:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "lang": "en-US",
+ // ...
+ "source_lang": "en-US",
+ // ...
+ }
+```
+
+> The document language and the source language have the same value `en-US`.
+>
+> Note: A translation from `en-US` to `en-GB` would pass the test.
+
+> A tool MAY remove the source language as quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-29-remediation-without-product-reference.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-29-remediation-without-product-reference.md
new file mode 100644
index 00000000..e6779646
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-29-remediation-without-product-reference.md
@@ -0,0 +1,24 @@
+### Remediation without Product Reference
+
+For each item in `/vulnerabilities[]/remediations` it MUST be tested that it includes at least one of the elements `group_ids` or `product_ids`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/remediations[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided."
+ }
+ ]
+```
+
+> The given remediation does not specify to which products it should be applied.
+
+> A tool MAY add all products of the affected group of this vulnerability to the remediation as quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-30-mixed-integer-and-semantic-versioning.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-30-mixed-integer-and-semantic-versioning.md
new file mode 100644
index 00000000..f5b2f478
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-30-mixed-integer-and-semantic-versioning.md
@@ -0,0 +1,38 @@
+### Mixed Integer and Semantic Versioning
+
+It MUST be tested that all elements of type `/$defs/version_t` follow either integer versioning or
+semantic versioning homogeneously within the same document.
+
+The relevant paths for this test are:
+
+```
+ /document/tracking/revision_history[]/number
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "2"
+ }
+```
+
+> The document started with semantic versioning (`1.0.0`) and switched to integer versioning (`2`).
+
+> A tool MAY assign all items their corresponding value according to integer versioning as a quick fix.
+> In such case, the old `number` SHOULD be stored in `legacy_version`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-31-version-range-in-product-version.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-31-version-range-in-product-version.md
new file mode 100644
index 00000000..663f1b64
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-31-version-range-in-product-version.md
@@ -0,0 +1,41 @@
+### Version Range in Product Version
+
+For each element of type `/$defs/branches_t` with `category` of `product_version` it MUST be tested that
+the value of `name` does not contain a version range.
+
+> To implement this test it is deemed sufficient that, when converted to lower case,
+> the value of `name` does not contain any of the following strings:
+>
+> ```
+> <
+> <=
+> >
+> >=
+> after
+> all
+> before
+> earlier
+> later
+> prior
+> versions
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "prior to 4.2",
+ // ...
+ }
+ ]
+```
+
+> The version range `prior to 4.2` is given for the branch category `product_version`.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-32-flag-without-product-reference.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-32-flag-without-product-reference.md
new file mode 100644
index 00000000..994eed17
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-32-flag-without-product-reference.md
@@ -0,0 +1,21 @@
+### Flag without Product Reference
+
+For each item in `/vulnerabilities[]/flags` it MUST be tested that it includes at least one of the elements `group_ids` or `product_ids`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "flags": [
+ {
+ "label": "component_not_present"
+ }
+ ]
+```
+
+> The given flag does not specify to which products it should be applied.
diff --git a/csaf_2.1/prose/edit/src/tests-01-mndtr-33-multiple-flags-with-vex-justification-codes-per-product.md b/csaf_2.1/prose/edit/src/tests-01-mndtr-33-multiple-flags-with-vex-justification-codes-per-product.md
new file mode 100644
index 00000000..42e5436c
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-01-mndtr-33-multiple-flags-with-vex-justification-codes-per-product.md
@@ -0,0 +1,68 @@
+### Multiple Flags with VEX Justification Codes per Product
+
+For each item in `/vulnerabilities[]` it MUST be tested that a Product is not member of more than one Flag item with
+a VEX justification code (see section [sec](#vulnerabilities-property-flags)).
+This takes indirect relations through Product Groups into account.
+
+> Additional flags with a different purpose might be provided in later versions of CSAF.
+> Through the explicit reference of VEX justification codes the test is specified to be forward-compatible.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "flags": [
+ {
+ "label": "component_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ },
+ {
+ "label": "vulnerable_code_cannot_be_controlled_by_adversary",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+```
+
+> There are two flags given for `CSAFPID-9080700` - one indirect through `CSAFGID-0001` and one direct.
diff --git a/csaf_2.1/prose/edit/src/tests-02-optional.md b/csaf_2.1/prose/edit/src/tests-02-optional.md
new file mode 100644
index 00000000..24d9ac66
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-02-optional.md
@@ -0,0 +1,642 @@
+## Optional Tests
+
+Optional tests SHOULD NOT fail at a valid CSAF document without a good reason. Failing such a test does not make the CSAF document invalid.
+These tests may include information about features which are still supported but expected to be deprecated in a future version of CSAF.
+A program MUST handle a test failure as a warning.
+
+### Unused Definition of Product ID
+
+For each Product ID (type `/$defs/product_id_t`) in Full Product Name elements (type: `/$defs/full_product_name_t`) it MUST be tested that
+the `product_id` is referenced somewhere within the same document.
+
+This test SHALL be skipped for CSAF documents conforming the profile "Informational Advisory".
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080700` was defined but never used.
+
+> A tool MAY remove the unused definition as quick fix. However, such quick fix shall not be applied if the test was skipped.
+
+### Missing Remediation
+
+For each Product ID (type `/$defs/product_id_t`) in the Product Status groups Affected and Under investigation it MUST be tested that
+a remediation exists.
+
+> The remediation might be of the category `none_available` or `no_fix_planned`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/under_investigation[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` has in Product Status `last_affected` but there is no remediation object for this Product ID.
+
+### Missing Score
+
+For each Product ID (type `/$defs/product_id_t`) in the Product Status groups Affected it MUST be tested that
+a score object exists which covers this product.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` has in Product Status `first_affected` but there is no score object which covers this Product ID.
+
+### Build Metadata in Revision History
+
+For each item in revision history it MUST be tested that `number` does not include build metadata.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0+exp.sha.ac00785",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The revision history contains an item which has a `number` that includes the build metadata `+exp.sha.ac00785`.
+
+### Older Initial Release Date than Revision History
+
+It MUST be tested that the Initial Release Date is not older than the `date` of the oldest item in Revision History.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/initial_release_date
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+```
+
+> The initial release date `2023-08-22T10:00:00.000Z` is older than `2023-09-06T10:00:00.000Z` which is the `date` of
+> the oldest item in Revision History.
+
+### Older Current Release Date than Revision History
+
+It MUST be tested that the Current Release Date is not older than the `date` of the newest item in Revision History.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/current_release_date
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ "current_release_date": "2023-09-06T10:00:00.000Z",
+ // ...
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+```
+
+> The current release date `2023-09-06T10:00:00.000Z` is older than `2023-09-23T1100:00.000Z` which is the `date` of
+> the newest item in Revision History.
+
+### Missing Date in Involvements
+
+For each item in the list of involvements it MUST be tested that it includes the property `date`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/involvements
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "party": "vendor",
+ "status": "in_progress"
+ }
+ ]
+ }
+ ]
+```
+
+> The list of involvements contains an item which does not contain the property `date`.
+
+### Use of MD5 as the only Hash Algorithm
+
+It MUST be tested that the hash algorithm `md5` is not the only one present.
+
+> Since collision attacks exist for MD5 such value should be accompanied by a second cryptographically stronger hash.
+> This will allow users to double check the results.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md5",
+ "value": "6ae24620ea9656230f49234efd078935"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `md5` is used in one item of hashes without being accompanied by a second hash algorithm.
+
+### Use of SHA-1 as the only Hash Algorithm
+
+It MUST be tested that the hash algorithm `sha1` is not the only one present.
+
+> Since collision attacks exist for SHA-1 such value should be accompanied by a second cryptographically stronger hash.
+> This will allow users to double check the results.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha1",
+ "value": "e067035314dd8673fe1c9fc6b01414fe0950fdc4"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `sha1` is used in one item of hashes without being accompanied by a second hash algorithm.
+
+### Missing TLP label
+
+It MUST be tested that `/document/distribution/tlp/label` is present and valid.
+
+> TLP labels support the machine-readability and automated distribution.
+
+The relevant path for this test is:
+
+```
+ /document/distribution/tlp/label
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "distribution": {
+ "text": "Distribute freely."
+ }
+```
+
+> The CSAF document has no TLP label.
+
+### Missing Canonical URL
+
+It MUST be tested that the CSAF document has a canonical URL.
+
+> To implement this test it is deemed sufficient that one item in `/document/references` fulfills all of the following:
+>
+> * It has the category `self`.
+> * The `url` starts with `https://`.
+> * The `url` ends with the valid filename for the CSAF document according to the rules in section [sec](#filename).
+
+The relevant path for this test is:
+
+```
+ /document/references
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "references": [
+ {
+ "category": "self",
+ "summary": "A non-canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2.1-2024-6-2-11-01_1.json"
+ }
+ ],
+ // ...
+ "tracking": {
+ // ...
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-11-01",
+ // ...
+ "version": "1"
+ },
+ // ...
+ }
+```
+
+> The only element where the `category` is `self` has a URL that does not fulfill the requirement of a valid filename for a CSAF document.
+
+### Missing Document Language
+
+It MUST be tested that the document language is present and set.
+
+The relevant path for this test is:
+
+```
+ /document/lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ // ...
+ },
+ // ...
+ }
+```
+
+> The document language is not defined.
+
+### Sorting{#optional-tests--sorting}
+
+It MUST be tested that all keys in a CSAF document are sorted alphabetically.
+
+The relevant path for this test is:
+
+```
+ /
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "csaf_version": "2.1",
+ "category": "csaf_base",
+ // ...
+ }
+```
+
+> The key `csaf_version` is not at the right place.
+
+> A tool MAY sort the keys as a quick fix.
+
+### Use of Private Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code does not contain subtags reserved for private use.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "qtx"
+```
+
+> The language code `qtx` is reserved for private use.
+
+> A tool MAY remove such subtag as a quick fix.
+
+### Use of Default Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code is not `i-default`.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "i-default"
+```
+
+> The language code `i-default` is used.
+
+> A tool MAY remove such element as a quick fix.
+
+### Missing Product Identification Helper
+
+For each element of type `/$defs/full_product_name_t` it MUST be tested that it includes the property `product_identification_helper`.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product
+ /product_tree/full_product_names[]
+ /product_tree/relationships[]/full_product_name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+```
+
+> The product `CSAFPID-9080700` does not provide any Product Identification Helper at all.
+
+### CVE in field IDs
+
+For each item in `/vulnerabilities[]/ids` it MUST be tested that it is not a CVE ID.
+
+> It is sufficient to check, whether the property `text` matches the regex `^CVE-[0-9]{4}-[0-9]{4,}$`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/ids[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "ids": [
+ {
+ "system_name": "CVE Project",
+ "text": "CVE-2021-44228"
+ }
+ ]
+```
+
+> The `CVE-2021-44228` is listed in an item of the `ids` array instead under `cve`.
+
+> A tool MAY set such element as value for the `cve` property as a quick fix, if that didn't exist before.
+> Alternatively, it MAY remove such element as a quick fix.
+
+### Product Version Range without vers
+
+For each element of type `/$defs/branches_t` with `category` of `product_version_range` it MUST be tested that
+the value of `name` conforms the vers specification.
+
+> To implement this test it is deemed sufficient that the value of `name` matches the following regex:
+>
+> ```
+> ^vers:[a-z\\.\\-\\+][a-z0-9\\.\\-\\+]*/.+
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": ">4.2",
+ // ...
+ }
+ ]
+```
+
+> The version range `>4.2` is a valid vsl but not valid according to the vers specification.
+
+### CVSS for Fixed Products
+
+For each item the fixed products group (`first_fixed` and `fixed`) it MUST be tested that
+a CVSS applying to this product has an environmental score of `0`.
+The test SHALL pass if none of the Product IDs listed within product status `fixed` or
+`first_fixed` is found in `products` of any item of the `scores` element.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> Neither the `environmentalScore` nor the properties `modifiedIntegrityImpact`, `modifiedAvailabilityImpact`, `modifiedConfidentialityImpact` nor
+> the corresponding attributes in the `vectorString` have been set.
+
+> A tool MAY set the properties `modifiedIntegrityImpact`, `modifiedAvailabilityImpact`, `modifiedConfidentialityImpact` accordingly and
+> compute the `environmentalScore` as quick fix.
+
+### Additional Properties
+
+It MUST be tested that there is no additional property in the CSAF document that was not defined in the CSAF JSON schema.
+
+The relevant path for this test is:
+
+```
+ /
+```
+
+> To implement this test it is deemed sufficient to validate the CSAF document against a "strict" version schema that
+> sets `additionalProperties` to `false` for every key of type `object`.
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "custom_property": "any",
+ // ...
+ }
+```
+
+> The key `custom_property` is not defined in the JSON schema.
+
+> A tool MAY remove such keys as a quick fix.
diff --git a/csaf_2.1/prose/edit/src/tests-03-informative.md b/csaf_2.1/prose/edit/src/tests-03-informative.md
new file mode 100644
index 00000000..d5f9c1a5
--- /dev/null
+++ b/csaf_2.1/prose/edit/src/tests-03-informative.md
@@ -0,0 +1,415 @@
+## Informative Test
+
+Informative tests provide insights in common mistakes and bad practices.
+They MAY fail at a valid CSAF document.
+It is up to the issuing party to decide whether this was an intended behavior and can be ignore or should be treated.
+These tests MAY include information about recommended usage.
+A program MUST handle a test failure as a information.
+
+### Use of CVSS v2 as the only Scoring System
+
+For each item in the list of scores which contains the `cvss_v2` object it MUST be tested that is not the only scoring item present.
+The test SHALL pass if a second scoring object is available.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/scores
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ }
+ }
+ ]
+ }
+ ]
+```
+
+> There is only a CVSS v2 score given for `CSAFPID-9080700`.
+
+Recommendation:
+
+It is recommended to (also) use the CVSS v3.1.
+
+### Use of CVSS v3.0
+
+For each item in the list of scores which contains the `cvss_v3` object it MUST be tested that CVSS v3.0 is not used.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v3/version
+ /vulnerabilities[]/scores[]/cvss_v3/vectorString
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+```
+
+> The CVSS v3.0 is used.
+
+Recommendation:
+
+It is recommended to upgrade to CVSS v3.1.
+
+> A tool MAY upgrade to CVSS v3.1 as quick fix.
+> However, if such quick fix is supported the tool SHALL also recompute the `baseScore` and `baseSeverity`.
+> The same applies for `temporalScore` and `temporalSeverity` respectively `environmentalScore` and `environmentalSeverity` if
+> the necessary fields for computing their value are present and set.
+
+### Missing CVE
+
+It MUST be tested that the CVE number is given.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cve
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "BlueKeep"
+ }
+ ]
+```
+
+> The CVE number is not given.
+
+Recommendation:
+
+It is recommended to provide a CVE number to support the users efforts to find more details about a vulnerability and
+potentially track it through multiple advisories.
+If no CVE exists for that vulnerability, it is recommended to get one assigned.
+
+### Missing CWE
+
+It MUST be tested that the CWE is given.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cwe
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ }
+ ]
+```
+
+> The CWE number is not given.
+
+### Use of Short Hash
+
+It MUST be tested that the length of the hash value is not shorter than 64 characters.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md4",
+ "value": "3202b50e2e5b2fcd75e284c3d9d5f8d6"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The length of the hash value is only 32 characters long.
+
+### Use of non-self referencing URLs Failing to Resolve
+
+For each URL which is not in the category `self` it MUST be tested that it resolves with a HTTP status code from
+the 2xx (Successful) or 3xx (Redirection) class.
+
+> This test does not apply for any item in an array of type `references_t` with the category `self`.
+> For details about the HTTP status code classes see [cite](#RFC7231).
+
+The relevant paths for this test are:
+
+```
+ /document/acknowledgments[]/urls[]
+ /document/aggregate_severity/namespace
+ /document/distribution/tlp/url
+ /document/references[]/url
+ /document/publisher/namespace
+ /product_tree/branches[]/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/full_product_names[]/product_identification_helper/sbom_urls[]
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri
+ /vulnerabilities[]/acknowledgments[]/urls[]
+ /vulnerabilities[]/references[]/url
+ /vulnerabilities[]/remediations[]/url
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+```
+
+> The `category` is not set and therefore treated as its default value `external`.
+> A request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+### Use of self referencing URLs Failing to Resolve
+
+For each item in an array of type `references_t` with the category `self` it MUST be tested that
+the URL referenced resolves with a HTTP status code less than 400.
+
+> This test will most likely fail if the CSAF document is in a status before the initial release.
+> For details about the HTTP status code classes see [cite](#RFC7231).
+
+The relevant paths for this test are:
+
+```
+ /document/references[]/url
+ /vulnerabilities[]/references[]/url
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "category": "self",
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+```
+
+> The `category` is `self` and a request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+### Spell check
+
+If the document language is given it MUST be tested that a spell check for the given language does not find any mistakes.
+The test SHALL be skipped if not document language is set. It SHALL fail it the given language is not supported.
+The value of `/document/category` SHOULD NOT be tested if the CSAF document does not use the profile "CSAF Base".
+
+The relevant paths for this test are:
+
+```
+ /document/acknowledgments[]/names[]
+ /document/acknowledgments[]/organization
+ /document/acknowledgments[]/summary
+ /document/aggregate_severity/text
+ /document/category
+ /document/distribution/text
+ /document/notes[]/audience
+ /document/notes[]/text
+ /document/notes[]/title
+ /document/publisher/issuing_authority
+ /document/publisher/name
+ /document/references[]/summary
+ /document/title
+ /document/tracking/aliases[]
+ /document/tracking/generator/engine/name
+ /document/tracking/revision_history[]/summary
+ /product_tree/branches[](/branches[])*/name
+ /product_tree/branches[](/branches[])*/product/name
+ /product_tree/branches[]/name
+ /product_tree/branches[]/product/name
+ /product_tree/full_product_names[]/name
+ /product_tree/product_groups[]/summary
+ /product_tree/relationships[]/full_product_name/name
+ /vulnerabilities[]/acknowledgments[]/names[]
+ /vulnerabilities[]/acknowledgments[]/organization
+ /vulnerabilities[]/acknowledgments[]/summary
+ /vulnerabilities[]/involvements[]/summary
+ /vulnerabilities[]/notes[]/audience
+ /vulnerabilities[]/notes[]/text
+ /vulnerabilities[]/notes[]/title
+ /vulnerabilities[]/references[]/summary
+ /vulnerabilities[]/remediations[]/details
+ /vulnerabilities[]/remediations[]/entitlements[]
+ /vulnerabilities[]/remediations[]/restart_required/details
+ /vulnerabilities[]/threats[]/details
+ /vulnerabilities[]/title
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "lang": "en",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "Secruity researchers found multiple vulnerabilities in XYZ."
+ }
+ ],
+ // ...
+ }
+```
+
+> There is a spelling mistake in `Secruity`.
+
+### Branch Categories
+
+For each element of type `/$defs/full_product_name_t` in `/product_tree/branches` it MUST be tested that
+ancestor nodes along the path exist which use the following branch categories `vendor` -> `product_name` -> `product_version` in that
+order starting with the Product tree node.
+
+> Other branch categories can be used before, after or between the aforementioned branch categories without making the test invalid.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-0002",
+ "name": "Example Company Product A Update 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> The product `CSAFPID-9080700` does not have any ancestor with the branch category `product_version`.
+
+### Usage of Product Version Range
+
+For each element of type `/$defs/branches_t` it MUST be tested that the `category` is not `product_version_range`.
+
+> It is usually hard decide for machines whether a product version matches a product version ranges.
+> Therefore, it is recommended to avoid version ranges and enumerate versions wherever possible.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/category
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "category": "product_version_range",
+```
+
+> The category `product_version_range` was used.
+
+### Usage of V as Version Indicator
+
+For each element of type `/$defs/branches_t` with `category` of `product_version` it MUST be tested that
+the value of `name` does not start with `v` or `V` before the version.
+
+> To implement this test it is deemed sufficient that the value of `name` does not match the following regex:
+>
+> ```
+> ^[vV][0-9].*$
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "v4.2",
+ // ...
+ }
+ ]
+```
+
+> The product version starts with a `v`.
+
+-------
diff --git a/csaf_2.1/prose/media/OASISLogo-v3.0.png b/csaf_2.1/prose/media/OASISLogo-v3.0.png
new file mode 100644
index 00000000..c8fa8a67
Binary files /dev/null and b/csaf_2.1/prose/media/OASISLogo-v3.0.png differ
diff --git a/csaf_2.1/prose/media/README.md b/csaf_2.1/prose/media/README.md
new file mode 100644
index 00000000..9f1764ed
--- /dev/null
+++ b/csaf_2.1/prose/media/README.md
@@ -0,0 +1,5 @@
+# The media Folder
+
+This foilder and its artifacts shall support the online rendering of the initial prose document.
+
+The file resource image1.png is from
diff --git a/csaf_2.1/prose/media/logo-data-url.txt b/csaf_2.1/prose/media/logo-data-url.txt
new file mode 100644
index 00000000..08e87a68
--- /dev/null
+++ b/csaf_2.1/prose/media/logo-data-url.txt
@@ -0,0 +1 @@
+data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATIAAAA/CAYAAABjL0SvAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAC/ySURBVHhe7X0JYBTV/f+ba7O7EAIJiICKUsQLD6wXWoQEijflryKtHPEsKKJIFQhIYoIQULTYYOutgdCK9rCoWEATKCqWWmwrv6KIWqxYLTck2c3uzJv/5/tmd7Ob7DGzCeIxr6Zssm/e8Z33Pu97P7W8vJy5xaWASwGXAt9kCqjxgzcnlF7pz2fD9n3BmBnmjBuMGTpjPGxan/G3nA4aq98TWt2jbv6L3+SJu2N3KeBS4NtDgQQgw7QG+zR2SzifwEsGcEWATIAZfVaYpwNjgT3Mi7oukH171oE7E5cC32gKJHJkjO2oDxBQmQAxcGE6/iUQw78c/xr4Vw9qjDOzxzd61u7gXQq4FPhWUSAByCSZbTchQjJJwv+Z+Jc+R+Yb+WyE8I0pD9h8/uRO/d+qOvCtooY7GZcCLgW+kRRI5Mh0tjXcyEzgWBS+Wk3KCIdZTkete8EB36X48rlv5KzdQbsUcCnwraJAApAFvWxrToB9pnjY0XpT8nmaJjg1+o9L08pKS5eXV1TgN7e4FHAp4FLg8FEgAcj8VRUN/ObS9ZqPXdt00BpUMtYs1Bhmnk45A25aHZyJKnMP3/Ddnl0KuBRwKcBYS6sl0eS30JNdK0X1ZHFUioEauLJwQGeq11PxyZl3fXLcpoW/donpUsClgEuBw0WBVkDm87JVB/eb/9Z80rFGhCtLNjgzDKuALMseb87S7efM6NF74/wHD9ck3H5dCrgU+G5ToBWQNVVVNMrj71kMIFsYPBixXiajEb4ymqBIkzyymuNZ+PHp0y/huvRAkHte67+lgmyfbnEp4FLApcBXQoFkoiXrwOXHDuwxJ3k6yMcF96fBJIifXA8zPRSGmOkdGg6aQ7Vg0z//79ipG0ydb9F1eR/TeSjMjXom5+4I7tS3D5Lu3/2VzMztxKWAS4HvDAWSAllTTUW9Ofaen8my9HtJlkGMDAwWdGahBvhtGDJTNO9pspZzGkUCKCKsCY83cXxfzzQ/2/Wmccc/uaHUsnB45SC56t3vDKXdiboUcClwyCiQFMioN2/NfX9oGD3rKV8X5caDX0COJLeLDMU0OcTNhkhUACICjEiEAIdjGrxtJUXtqqqeIgBeUTB0YE5deOrr8EtbPMxf9cdMbbvfuxRwKeBSIBUFUgIZPbBPU25je4yT/PnK+fX/Q4wSlXh/jJRusy26AwiaHEHougFwC4ogdElSJNnjHwaebdiag1NfC4fCMy8tqPqr+6pcCrgUcCnglAJpgaxXTUWQX116ZWM9X+3rop7WsIvkxBTFIcCZSKdhhPeJGE5ZyxsmG+zClV9OLr+0e9U8p5Nw67sUcCnw3aZAWiAj0si/rfhSvmzaxaGw9jt/vjawfhdxZtw+1VrEarZ6ENyaHtwL0dXjUbyd5674fPLpe/fsvaG4f02D/U7ap2ZZ9YpOXubNYcxnYkiN5VMGNbZPy1/PVso2bFC9n+qdWDCgBJkvVF48aP/XaaRlyzZ4vKqei/HJQRYMlhePSOMQdGhHXlZWJrE+w/K8LKAxr48Hg6wB9Aoe2l7d1u1SICOQUUP+V+7/746TJg/39+n0SE5HdXwY4NTUkCKGyU7PUXCLqd0kGApC0K/tZmpO12s65/Ku1TvGjizuVXNIF25l9fqesqr/kHOpSJLMk3xyLmX1QKIinfsKzP3za9Z+Bt3gJhg8Vjfu3L+2fMoI5AY5NKVyWe2ZMJVcxDmPUAVGFi4/W1I8CNnh2q+ULVrfwVvAR0qyeYWXs1NA+e5giVUf0xsx3x14Ne8yQ3qx8ePaVUi6mVkxGhkaxn82xj8sNn5YikDGHSXFhUucjB7vpKss86ugjLjUJ7F+LGR2xfgUH9Pq5y+t+4xJ8kboYl8sGVe41km72dSds7yunxpkwyVZutB3/JC+WKTdGUPcS0jXfbK0d35N3X9MJr/NJL4muHXtetDLwQnfekRlj67u4s3VbgCfoKUer4lXJJFotIfJ7F9B9vmm8jFjkMrBfiEaM1m/AU+QJc9xgfuoFGL8j7PHFP4r1cNl1au7eWXMRZYVmfPd08cVPua4oxYPVC6tvVZWtJOxJ+EuYfwZba6KVrEFZFS515aqeraFFe+8aObr0G/N8XXOOSaA3Bc83J6HErizwE6meLsWdaznyzdsKB0xcGBFRDnXVjI0P//AsrqTdVO5Q1bMq5mk5csK2TJoDSbs2wIYKPowLGJ8OcVXkPdh5dJ1T/r4/kenFI9o96wfEpceYlrOYFmKTFfGqwk3dsKgKAysXUrl0rprfAXyfZKiHC8alDHnZiNOFyguewEozjElc4Lv+MK3K6trZ5YUF9XZ6pyzYZKWM695/Ar0osH38axtIFuwtG6ipMj3MFnpJZFeVbyP2Duh8R2NdzIQaQ3uqKxZt1qX+DRspn/YGp+DSpj3+aDRnRqTLpMI42kkgk70EzmFJakbTFj9EAEzFEtnlu/4oncx/kcat619JltAU33aETgMFjJVLMiMIyb1jI/1eh/v9dHgtrVVDvrtIcvqAoCMrX5aDkTC2lTDTXTApgQylWk9ZUWdj/WEdSaxyuq6XBxqCzNOKl0FSbpBkrWhlJ2HhwJ5qOocyKLtd1s1b8nuodNebQp5bmec35TTyXskpfZpatCFT1kLMIi8+MwvJX78emAX9nTBJZ91+eIh/P32Nk0+7mGIB7K375BZ4LCm41TpQAvB8g9JXixwixRZOV6W5AVBlnfjgqW1d08fV7SivcZV+WTtAClHvtAUh0KEVjCOYNOMK6tePw8iTH1b+8ImuxeLt0zAQ6o5i3wAlqsNFut5TJHX4Lk7cPI9YqP/ILVrktKTikU726JqZU3dozhtJ2BN2RifBKxTh2tcuqDymbrrSq4v/K2N8WWssqh6ReeAklcJEJso4XSjudAPDm5hdReAhv/FksNgQ4k1RKAjywNMWXvS16/oBnCnd5aMKdqYscPWFQwYxeDHxP3UJgGGlVIrSYkCnSSfiPW8CAfPyMrlq68tGT38v5n6VVXdMDjDy5K0jP1kaiz19wbWA8ckQDhQTJEXgC4bQZc/Z9ukZLKDYu0STSSWoPZJyZHxsaUnQA/Qxf/birdbdlzw+v078bfZ286fVqWF+ZXMkEfiBZyj5vi6MGiYaA8akDzpHesAOb3JoNMZj0QXOe2UyI/YNS17AGfWBM5Zy5v8m39NqP3JyY+9mO3ko88RO+0/vnAZGh1uLdA0hotknWEyYpPLSj+TqX8EmFUAzMraOi7xvEf6KVxTpASAQcAr/naUl+kjUaOmLf3gxL4RIFEmQCb+pCeXGLFBrSKAOwLeoi52symri/F8AKLc020ZQ7pnITKUy0rOBGv+cYde3PgEdyYyr1ics7WglQ6SKi9fsKzuiuljCle2ZXxznqw9yePLe06W1NMsQAb9JRVd6g2cG2/IJt/IJWmrzMz92J0e9NUby3YAwGAQU5TeYtx4DuBzPj6uA80mtZVmeAfL0E8y1QJQ1uyNAV6IMRaYyH4qKdoQyHtrKqtXF5UUD/+fA1oga2p4KWCT9rStInFdwz74u63KYmHhnUHChNRRg/Gd5XB8trpJCWRN3Hg8p4t8XuM199zkf/6+pcla6/vW/USwR+lnx/mlPRp2N57KuHqKHg72MQylM/L+5+g6AgUMdgxebj/Nn+fRA02gWxodekx/BtCQDCab0sPVmyfXFfevsn26txwriNdNUjyrAWJnkC6uVcHpSxs6ngMTp27sxI3jzAid6URQPKXzl9R2njG+6A5blE5RiQAWXY8WJ3vLQrktTTYRf84ayNB+d3i63G9Sxsx4EKPT3tD3mpIBp2RpD/roip9TsBG7xQANC5A4E5RH0M7K9tbXUcNzltWejF0xyzpYoiAG6lsc0RfcNP6J30iU7wGqn8JktXNsLgT2ao5s6k2/BOfaP1vOFaLkaZpXeRW7rSetD4gvGIq+GyfxYlPm1SVjiz5J9Y7BxeUGeO4VGOOdoN1ZYmxM8uLzU2gX4lTRw87Xh7UJwpyXzy4u+jDV86TjNSV9NjjtiWLciod0nk+h/hX2+hQhiJx79Nng5D6190yWtehgkLWjsZ6fRQuUy7BdS1Ig04tLL/f62YUk6ah+acnBq2cVKgFllv+VipRsa6+3xHf0s7rlCMvKSqWLF9afqBpB4twmaP4uvXk94VL6iAGuNwAvCo7xBHZOQeXybGYOy1eOT9J+ByK2BjHazBYXshFy8WvYRn+HPP8/pstwctN7Q+1+HhS9UPaqx8ZzKwQIQuRQPbdD9t8J2f++bMYmnpHD12IBdkkm7glwk+ULKpfVnVsypvAv2fQhy/pVAPD8hPYJJEz9UWaq95WMH7Qj2i4BPsgxGodnOTixfAHkhrFV4uxngX7qrmz6z/SMZrBiSVWV5vFZBwiA5D6Tqw8DPGP9YuP2Ald/HfRSpEfzisNHD/3NlNlUtq1LVoaYykdX95A6eFZgl/UU7xQgBjB6yZT4HekALDov6EvJIPXrsrJlL/j79pyGsc/B70Q4YK62CGD2BcBseSY6JPseq7NzuudAm8/x/S0wggSxRqdYIKxeDnXAZVAHvGK7T12lfg4tkNG7wmElqdoloEkpaFJhe3w2KiYFMghRM1QyOjXCgRWrJCdXuT6g84v2XXbPvIa98lMALUca/vJyJF9sgKmAsS3rzZsflxQ+V8npOIEb5GFBHFJqz1qu1xPW3LZ8/c1Vowc9QZyDowJD+XwAzqBEToxkdogNXP+LYZj3ziou/FOKRp8hlwyPnDtWFZtH7dGsAyLxRsd+UuYsqK7bML248HVHA0Plss2bFdzicnOCLk5sYmrJUi6TnsQ0zAn4JSsgwygvSHDxQ3uc63+C2HNLy/GC5SfxYjGA8w1Q6BVm8Ne9XL59SvHgfU7nZru+LEF53yxOCg6Q609hI85uPT4BunOxUd8BYCwB/WsCXJlVPi57Nwi5g/oUU9TeBKQQz0hkfWTGuMLbbI8/UrG8fAyxlHOxSf8FHRvSWkleMhBAN/TEnOraTek4K6d9tawf6Ou9278teBEW40ni8GHsJtSxD2RtHUDa5wXXtxdqmQ1Yy5fS/sGeKZ+79LW/zBo3LKasb+sQWgEZv770XM3DLgiRepn2FLSCgX0wMqtqT2gGFkNWvO3LH858VG/Ql/d6637HrgGDpCfAsrOJ6/TJH8pqx4Xk5S9uOElRTEQCKJ78riH/nlGo4siEiw15HhT0UxL1YTGx5RcBacdd5cViAaYs8F0iseaX4LxWAoCXYLEDFKOPACaEmMkWQ7QZ4NSvyPPu7qEQC/o3i5UCxJqwsVXQXsh0ke+uAucwq2RiZkVuy4lIpnREol4MfXDz9+nmDO7v7+B+vl9SfKHj9+tkQZaVwY+tLwPnl2gMwlJPy8GQ2R30GAB6EEeSdYEea6yseC6JA7GabEAsfgDgNP4And946Nqeh/KJDqJcjYd/jjqXZz3QDA+WDxyoV26texqc9APWepHOwXrsmK2ofQjG6VUNaaohGSa478tMiDoKU5/FGjsbXOVn7dFfKyCDTmC0t6PMQo2JLjF6MAy8we7yqCcqElsES0759vOn3dX7rfufzGYgg+WqB18PTuqqePNn6OEMjBax6Uwa7RTIsI7uhSI2wTIpOBwzvHDG2MK7nYwb4uO/sTgu9Zn6KlLoxjgzEkcU7US/aVyP9n7lpE3F5OCKml8BcSPglioBNWejD7xwUs5znGBaJ96Bj0XbDzhpX9SVIBi2LDLrlqmdQ6EPa91nLhAs2Gp8MuOZx9dGEMO79HplVkbccEQf90Fgt0r6yDaXknFFL8xfWvtzqAzuJK4da/AycGqFtl1ZshmBzN6hMECrmN28KjsCH9ps7c5mKK2eMZlH94YDLMiulwx5M9Q3R8BIcSS0gEvKyk4aVl6+pU3+d9RfApCdVFqqbN5h/jC1axhlhiWlogarJHFR6rq2TPS2AQWzfvHOnmFqTu5ZoXBq1yxuBMiP59zqv958VPHZT9hC8DnL6s7QJElYKKNFiJOGXotT1xGIRZ+nEw6nCLLnGpuw+vNjFj7aDIzfCg7jifLygbb83uZU1/XVFOkSSzksAIe4ryYf9EIBWR8OvvGyaL9is5nSjWXLli2C86MjcytWyA45zoRvWePkmzGPpwBWX7bl/bX12fLy/sb8JXX/I8NKM08m3BvuLFu04g+H0gHZK4evkGWtL9HDhIcA/NamIZKj3aJJvFwrDbLwKKyTo4RlWJImg172fPKyIaxsktsGLSQCMgWLEP4DX5NCrzeo5gHIP51bXVcMBfSr8EsgHCn09f0lUuUXlrR1pAlA9n872XFAy36pLh6JdqbmSEjLY8wHN5bSomJnYFu2VHDTnAy3APMV4TiXSvkPJaGs5frN4P7vo5ItIFO5NCrRpYGAAoKsbE61M7ZUdbD5t+N0nSdrnoUkdotCm0GS+3v7BM/Bb2/ZaV+T2Y3gunKiYqrgFPXwq1OKB+0Dt/AnHwt/CZp0F4uTwEdRT/DzHhej7ZfstN9ch7+Bz8QtWsUyhR8LZ9g10O3NgG6vTW4LzsbSujYw9g3Mc2jz8Mi6pZ7l65q3CqqBeyDmZu13lG5skin/mA6PCDf2LsTVdvMLpH7xHushuv4Kju1zhbgnseEwpvSEHrJN4nCqOcm6km+qpJoQR0KTqrNDGhXj9L1DVyIGRvpo0AXuNnAHIrcRWZmBdfgXrMMXnbYZXz8ByECGE3CTuCeQxtEBlhjWdCDcALEta5eA+AH0/HeXVTuO2vWBonY4gYdTc8Lk0wMh61Q8+0c7EwZsFSZRIq+CSPkPO8+nqxP06k/7QtJ0vIVuUa5MbAjTGIbnMgIZDAi5CIca1ywKWD5chmk+Tv2C8zswf+naX6NNiCbxXLdECnpnQNagvWh2CM8FeB0pHPuoCFO4cqopK68gLGktuN0nwAmuJBBtK22cPh+S2VLokGZgQDkJPmyyOghLf938mnUvIyDl6aAurwZd2oVjIgOOT8odKLhTem+MZWVVzDRXlbPnDaaXAsRyAM4d0M8P8MzzmZ7L5ntT4UMl4d+K9SJJnwbVT21z2wCBrxT0YGi6F2B2HsDsIvEOFPlJOMv+E86yH2czd3omAchAg++RR0KCU2KsZcGyIhYS1swm/i4U/bY4o0wD69+/wvhs761rweGckL4uiRzm9zK1R9+XPbo+399R6pdgDaT9y9Irue20LYBm9PC9EIlq4bQ8OtYHWaiYdKadNrxq7pVYdL1iRgPyY+PGlpD639eiz5se/gwLGYhqgFs5OYBa/ms/nLNs9Smzxwz/Pzv9UJ2SiYP2QPl8O4Sn58E1xhxeY6Amq0PAmAwJSsYOgOeL4FirwQV9ZemUEGL0ERb1TCzqB4VRJmrBFCoBwTFBSW5e7pONj+Yvq3sBxKi5e0yh7fkno5NX7fg9sNCIq7XcaKCAXWuXnk7q3V1cuA2uEVvwCs8Q3B9jtD7aHcjA6R0No8X1MWA2jNfKx9pVQcATjUsj4OANEInzjk4xUcCkonO2dXZx4WYntGhVl6vF6BnWZ/ko9FsgcV4D1ckQp3Gj0XZbKvu7ibWeZoS0rYAIFEPXbgWuDe8Jz+34G86TtI4TOt9Opx19ek9wN4jNi3qtAwLhw4AF22ZuLAY0JnsH/kxkgBDFGj871s74JG5OhKdvrCrpUMCPPRuv/yoZXfTegiV1dXANGGbp+cgVQ1M1wyTT+p12+onWIeUz2PeJTJUXg7NV4/WGIo8SFUnuBbeBScww4JcELkjmDx4qsa7l2HFCPwSw7QgLbjmFRMdANgo0YnzK90CnGQY3pgBwfwfAfQjj2+SEDtG6si71NlUrzlAy+T6zXj10PlSSuQXjPsMCaLOPw/FmVIJXVq+Aw3PuctCngHzX8G71sGz+0l4/NCZ4SkryImF9t1Fw4DAt3ETtT7JRPWUV0s9CRTMe3Bj8Nw0Z+rKBPr0HGbOycjBPBDLBAos9k4hmcchG00Udx/5c6SYNc/seJVWQbJS+5IQKm7Yd4iEAqROi8eCBF6ktmEkoQzXhwd4+RUboSPyYrYuLO+FU0dIp5MFCD4TF97yYy4VQ8kOm5iqFoyQULsmP43WQuCpKxLR+LVwPKuB6sNfJRKCDeAwuJJth934Qi+bcqFNvrA2w45YYi4UtqyMwlxELatZW8/rQzLa6OdgZJ8C2Av5hf8OmWoB86acITjc+2oE2qSG4Ui/0hWPw3aj5y9Y+EtAPlDlN74OW88ChisMHb60+6Nt7KK17sdAfGGy62KFFc53k6AJLn+zt83gPpupDJTnvHtDseOHMi5u1mRG6b/bYopTB3En7p1AwmwMThy48lW1WT1uNrLjgxmcBHCutMCuVHMw3wEPgOaftt9SRpWPGmts229ciAtLALzRDIdY8ZuLLVPlwft8n7ZpAwomJ5BKSoOQ3wi/ihIp52EdHH9y9/2VfQe526Ld6i01N1ktFO0LKNcmnTujTnBQskDdhWf2Bt19wDJTdt6Kxcyim1wp8jpnuhQe2sH4pWrGUKw3GyTkWi+5NJ31lU5e80WGtrPMW5N0If+wJ0OGdIrz342NE6UCzAoc9EM/v9Ct5Q2EBHg1Rp12lhGzGn+kZ+JbbxIuoM7S5fMGS2noRtR63+/x96xTUgGgMj3yIKbQt4PRNIFYNGpZnGkeL7ynWsg4c2X5i+jM+q5OPo5SVc3aytsGNz4f4fS7WNaJ+4GalyI8hbO0fs8cUkQO97ZKIrCbbb+kKUz9PjAdEquNs92Cnoon2xCUncSV+DJHPoLOtk1NVpf0GEmOBubC4MsFBS34WNAvw6d92hpSxDmdHMjjUxYrQgUgHy8cMTJkbikJsEPd4ZUycI66Asj3I5hPJ+iP3A4iXSzGPe6JZKQQnBU9/ZPKAq4f9fGHR9iPuIdV4fom3T1EhNJ7kn3YZTsMjRKqaGBdE/YiQl2OxjVbCgjiYHGUz0qWNFTBnCsStQmjZ434eGG5Kyk/w/i7BQu8sjCNRdxVBB+EKdBpU3KuhJ7oAFsH/2OkeK22/lSJIxBIhmWaXTvh4qBTezT5xJttnZ3yxOrIKUTTVZoyCHQG9GUB2hvkAMYdhP0JU4WDkJt49urBNHgiO5tWistmg3sg6hk/HywSuSJ00zpfhQLvAiftNSxbxP9Y6thT7rTJU4M8Uc401dCaCxP0IVWqXDKqIazsfyr4I4qQjiWnLwFB/sOPn/o71CIuQAFzRF47sEmb4NLT+t7YQPfosGIWzEqyitCVMc3vatuXweFxU0LGZG6PA6PCm4Ifr1jNWlPTRkMKe1bh+FzTS4FoBekI5rZ6JdESD8cDabOcSAcFaPF8rguqlnJE43G9BjCUyOhBgWByaJbJonSTDeAwZZS8gL/Js+3TyHA4EytxJFtqXcAAcZcrh0VAXTMBYhBgVpb3lle85Gp7ED6PulXb64Kq5Hboxa36SAhDT6WBuxRHbaStTHYiTJwk/QOFLxj7JVD/he5FxJWWpx8G5HQfcGkVmT949NnsDCKiZWSJyNHBnlYVBalntGOygddhDGt7nAG9BbhVaIX2wrZIIZJx9QIkp0tkujJCOQHLPUSEeIt1Nm31vakO39EHs1QVGuowYkangFLUl+5dPPHsv2NWtYMgGNlsVsf9N6So09YwtyqSpVLn8r12A6UNbxkhi0f491WMieJ2xG1paUhGssTAdZ0VWPViUnoeYNz7qiiFSPOkGeaGvbetc6PlIjOUT0O896+U9J2ODzMUi8MbATKSn0c5BPN9QNrA5mV179G2njUgYy4Pwr3vMz8LT8SZnAhQoXYkFRpaoORIi8KkQgd/L1GZQr98G94v/QgroEXGbKcQz5G/XruWB6trj4WyLjKaWoyo26bv2OsDqwn/gvIt1lb3T+hnEsOl6feDjO3a0h1c8+abaG9ehqwXXiw3Ql90Nfdkiep/IN3cjft8A0ZOyeWQsCUAW8LL3PQHzS0WTuqdyirVCOkBnzqe1B5DxJukuxdPZq4fS3durINXTAcjy3LaVCqBXBxF4YJQCkUwSwyEinQ4RqW3Wy2D9jZKmdY3PKCE8xBUzZeC4Vw9cish/eJI3MzT4jGSs0hWVS9cOAkHj9SCxF4fvaZdCR9ZswLJyhbEfgVPpTQ66Gd+yzQoRI8VDAM7NANg/ohOc1BGewApGJofcdgv0tTmsWLVI7OBsLPCPwOE8LdAhynFj0SLuhNjajEBGxoH5S9YiiFm5UmSpYOzHCOCfV96/f/p0LA4HDHy4BhvSI9YG13F9mO4MLFW2JV06aeRgcDiir3d1gNbDYEAGgusWaa2gGvwFko5uKrmpKOMBkABk/qqKA/pNszcgue/Ipog2KhlUhxrCzJvrvWD7OdMm9954P7GAWZXa0NTzVZ/vFstFivZxcqkFSfcAZPUf9GNH2+LIaDC6LD0PkayEFHoR0zf5JCG2iv8cXyeX42zMAlaVY5HkpyQhfxhlbDCMD4KKd0OqJsBEJYvjw7SVn9AQ05UE3RBVFFkVNK/EwtfhN1vKXcqOazcVMhJGrsaCQkyp9qNYwL3F/fS1QaKsqtDlHnZ1fljwz2J8k0T+r/gQNGb2s9s5TpDfQNdwJQUwY54ne/+2cxTrzxxby1L1R3nKJDl3YiQkDNX46zOKHef8AhP/3SoBfvCnPqnTGXgpJ0Ay8CNzcg0cmM+LWKZTbpRWZlTZNH+PBkbG9GRxdIy1gkWtBw1cw6At/OTMuz46btPCrMJcdE3dpoXDY41QaBzY/IvUnM7AA4q5TDwYJVw9IUv1LznJ30+53HFyrwJ2XRzlnKyQCK0Qm2Ah4i2hd3JWhEe+0uk3QJH8ZoU9gTDsrpLxaCpFP9K4nKrJCMNJkjwxwafLwXCs/GjseihFH4goyJM+LRIrqrzK+70h5HpiPyhaYh+2EjgkpIhv5wLaHO9R1Uf8fQYTt+JAWW2SF/hZ8cMB9+q3O7wgV19G9t1tONz6ivTVCpu3CKFh7RXdEJQ7VOCwOcoSe4VzZtYHvt05fRvqUbYZ6Muuxbt8EyIYudqc7GW55Lc2Dj8p9bOtgMznl1c07GNfaD7pyChXloxAPExK4ByPx5fz20/Omnbrce/c/6xTQg6XkGHWw5bRz8rdk3/AeOPPFMU7kux/XLeMSBSaZIT3G0rIWOK0fcgM9wI8LrYS9UX0KSJ5nvozhOZ4RBofmzfQgLjHAcSWUC77xCSFFIge/ii4W03pDqEp8s14Li55IE0sMc20nbklJHe04i97e7vljsCzrTgJ8meDvgvxpkolaHiMhItDAexrwM38zk5fcBbCxSstVM2m2S4hQtQ/ANjv7ZJ3o0dR7oXvQD7E8kHQcb1u380DTq0tVOHwM7RteaSUS6DHvTiEaiJpfI5rQh40DI30qG0qdMmLLGlTIoYSuqHntfgbf9rU+HfgYejLNi2orr2DadpjIuefrI6FJLRGls39qabfCsiaqir2s+tKH0fMZWkT7CIp/fzxlR4MYDN5farH+8xHA2ZcbOrywr7vzUuinMxMfdwyTifyGy/vuOUKZP2Yp+YU9DeMvRQsjnWwZ8Xogc84DomgrKpWOpUcxCxGvSKscB+AwGQf73ne3GXrymaNGYw0x8kLTum8Jlkfi8tK7sFDRyZmco3kbeDm7anuwMSFEPkS036SIIpaoUIfwbHwY1u+OwLRYWBj7GTywG/2+SJdpeCyWgGZX+95PfPkiIUg5m4B5xLcBCWXjBv8Qro3gkVzFgAQnGwcZywufJC2Zn6T9mr483NnMs0zS4yNLnigjK+K/IcHqtf9+O7iwWRNTVmgwxsB8Ds70WEWwzPND+z1btUCqC+Dn9a18MG6VICZql25YOnapxq3df0pZeZw0la0Lmh3FeZRbYGsyLDbqMgmQs3c4oQC04uLHofr0UC8k+uszL1sMSi6i3SaxNy0LEk9dJHt9xeNe8wJmk/u3nQwzfvE4jZCyAPIsVVzckY3NTWNer/ftPVGWF9vGPK/0P8+AxETPGTUa2HfFwHt088H7nsu7R18l/f61UsrNo9dZ3Tglaqn8616sAHB1E5EjsQpBmRfiU8PnpWYJTbiVCmrZyMn2EqImgS+lOr6XXAiO5kKuyCncCPpXPh4Uarr3hY3FM/ZUpZZDZxjaC64iJSitRxSfwyLY5xhQBwOJtwcRpWMGZRRiRk/G3i+/whv9MWo5TMSf3khHEK/D4fQBLeSkNdcq4ZDBzHKXNGGcBCU/XhlzwuPfcl8FHci/i0+CgFWwQ4Qty7HRnwIe1Dc5BMrVlB7qzTmThZnfF2kPVkpG0101Z2lsRBpvZVuhmyuAbe8GDqsp3BX5HvxejMcCl3kkDYahF+ACTU7HoroCJ2HZedpcrip3YjLNDbApeXYCGd2g/f43UeBppNBU9vATRywn/ecAdpFxGNyXxKOz7fcPc6Zc2e2NP22Pddoqrf5uH4m6HgaCJkLBMtNWJNxE04OZE9U7DbH3jMDAeLPhNJxZZGGaGOF6smlTJE1r3cwHOwG0yFrwP9YJlsSblAKUxhO8Mgv3vJMfRcgV4vLW1cNkh5K6lczon8NKcomvfD+hI+4wbuOOeOJv2f7ksgfCXoiOKGGVpN/SkLK66iiWFbOArdi+YVFxSm4lguR1LI4JXYv0r/gggo99FjJ+MJ7Uo2NFOy+vkNubpmFA+39uWSsMxCjPhrlz1f6eI9t2HR9LW5EKKol1QxRKuyfxo9j9uiirYhfvBNzfpIU2mIM0XxVilqMzVvsM3virs66jzHLg4D2Trh09gQRRSAcY5utpFYet/CmUF9fXbbvoeVzAP+3Kqtfr8CCQTqXyNlmWX0oROp2ZPGc5O875P3Kmlr4fElYXGY+PPlPEunG4/zcqF0rHXjoZXiD2zYGRcdDCSQh0o6Ao/KroKUI5IcoM9yjmBvBnT0S4uYzALRtqeYNjr0T8seNwP2SU0C771sOu1gfADFcjzgd83SuEmkvItttR9VTimx2mzgU9SjbyQPVdWMMhW8AQTvGSyIt+0sZM+Wtue/ZxmtmXe7LV646+IVQLGcsxCGEA+CgkL6aI5ssXZpNn6EJpxfbUdG0vrgQt6+ss1FNoQMNteadK1lIWlzkf+jPyRofdeJjD2Xs1EYFusACYIZkheEabGykDrEyr8aKcDxM5DxTTte6VYjEocrp44vSXp7r7zOkEGE2Z8QbBoTDABc3TzkuxD0BeJ7BTp8bHa8I62DSKMxvdstEiYhffArc5vHgHKc3hyFF77UkoKa7OiVxWa/FJ7aIb6QvxG1GHPctstvb2xm2pHgo0rmsPQ6ZG8bHMl80hyApcFY9BXM7JWp0oPG1OlQoXQvX94W55th40wxmRe+BAxvmUdhzWB+nR0K08iBez9RY+E5wsG+i443A9g9wyTaugzMRDyThOjhzAFDvBwDSY2iDWCIQQJWZuIhbvx0g5ig1u+MF0eYHhPgrQWqYjkMPFwfZixzH+tN0k789y8kFJ1mOFRlENuOgmQR3p2p4HKRsJX3wZ8OBmwJS3gm+zmr/hp3RLAlxbaX1GohyARQLBmCDvsXABb7YEtB5EeejdVCVDqN0vXHUmvo7Xwg07SwdUVBzyOLlCMzAIV3i7Vs0E/L2DLyLjokxhhkoTZe0WnGJHyG2bdqMcUW/z/RuIPxMFLGCUZC0RI1Pg3u17B2JuboE6U/gECp3iHngI3wHl7hci/GQa0lCgXV2BvQ2u+B0fB9E3Jxmr3h6PwDwlIiNlwtODC8sAEfc6+0r4TNRJfH7knFDiuHT9QVY92lWkkOL07Q4yDSe7YIrFuPbBa4dsZZD2hRiQ7GacJkYHJQ6zcOGvgVjgfM/+etJPgD+MHCCw6BsFmHmsZBJK6tvRCzGX+nyEm78BXqxqTPAcTqjxOGqjVUqa7fEZxHONBKap6w31qDeV3LBCXG1lUteH4g8pLj2LnmC5LRA5n+lal/jyJkjwfiv8XZRj2vclSbLcjyo2fATpgEZob1Yq7gkXssb5dHZ8Je/nFRyefdHHOW9z0T0+O8j+pa5CEr9vcrNO7D0rkbnFH9pcSMtdnUkRXHkO74NYPw0EhD+ys6tQnRXIhSVVwsxAy9ecD0iC6yxNJVhwM5cyMt9fk3tCln1w4AQPVwAskyaBveQJ5NlgqCr6mF1rZUNZTb6uALjoSyQVu6HhDkT52yJ1MIgwvkquJXMxEKy44gMZT3mGT3UxW1IBsUwZiwzxg+ZDi/4VYbCyGMfGR3oXskk47PiWa3x4a5sHCi/Cxt8Jm4oSin6Zew8rgKudiMRaxKcppeCNHfCvAJ9oSJ0hfHrI5pyinKexsDX5HCyNh8JfFjwdLaGAvSNLNBwIaH5WxxeekbDyeTi6uq6qmApAo2sVEaHqChYD4TutA5UnetJHb7t9h1U/FN8PPR9SfXiPgswB4ae4GqTkVD+F+d9tPuymRdpOexFX752cr0AMweTj4Ia/ZsE4ChyXw/sxlfePC2n8y9f2nHb6e/sfX1Sef8tWVmN7BAmElk/EcrjcqbnDMOKKcIGOQkvtSfm1kHYAimw2OSf4fMmLK41jbsOrHUSxAqDgQ/brZLDSc4aE9IaIuaEG2HHWStazikssTkeHgKw6rSV8AM5HvfCIPiZFPtJXRDIpI3v/h+4s9OhtbwYr+ICPHgsnu6KJpDfHREECGrG+fwZMmNsQPzryhljClM6+LaiM5IT4qLc+2CJtd4b55TvxVYQN1W/u7jIivvEHZ4AqYvw8PnAq2Owz/JBO7A6UgggC18481O8nDfAFr1yqILY0e7bGMto4ePG+A+hibwQv0MEN7uDTuRLhxOE78W//4HN4W3Q6rXg1m5vtAHABMlwQcdONaRB5xqC6Ep/UD6ys56d1wl8wblWJqwROA6cPg8YUWRubkz3nM7Cn6uGiegfXSTbQ6aONsWyCl338rprzFDoGgAwITC9o1jJCGRUs+CVeR/uPn9aoZ6vPuXrrF3ehHMr1EgxvVmWKKDFSEh+Y4jggNJX9eZPGJBb1HXZ7tN/MqbgOUcXbTgdDW5XpguFl0Z+GDm8AgxyEEJrBv+7t9ERcLXoPHKhbrulO4lvPgLEpU7nS/XBnYFzsBJMIghc7bJV7xhA4l8WCBjB3NzGSLC246YpVg4P2Qe+FD3E0w2WQI+3vlsH5vPBJZrpe5VPG5xevuJ4InEPRO6iJJFVJCqEVTcPMVsa8wZ4UM/FWERge7sVZB4mp2VcxnFoSyS21oHzsfPxlFt3pDq/9StNVyWjC/+Nr+9PVsUWkNGDBW/BeRViyc5LZt6BeN1Sb+ec/MA+Dn1XWm8KZxQAdxYO7gKYdb3Ku894lhWwMc4aaFvtiFhm26mybb0d/qeF8n6gw9QyX+GwI87K7bjA2jZ4WNG+lta9ts3q2/G0bSCLTrfbq/Me/vLCmS/pIfMuiCRjvXneXNxYB6d8rDd4+7cuaZxqk9FQhD/thF9a12uff/+mbdec+CRYYLe4FHAp4FIgNQUcAxk11f3P8yjO7dYd50x9MBT0/Jjj8gLol87wdPAj0h8yAPCM/MiE0QfCod4UgnKOuPCI+VRYfSM/1GBL3RnAzAjtQyLVjqXLN09YN7r/Y2k9vd0X7FLApcB3mwJZAVmUZL02PkTKSJLp524/p/SE8MHGswxDOtUIG8caYSkPrhYeQ8cd2YZ0FCx2vTQ/bmtsaIQ4GkyCXpFWI6BmcspOSvnezEcWbZ585pT+VeD73OJSwKWAS4HWFGgTkMU313tjBcW5JY11W58zOderaqfBJekqcG7Xaf78Lkb9PgKpNO8E4U8IHFdyCk7sHthDnuuL3BfoUsClgEuBZBRoNyBLR95BTVUHWROjyyveXK9MXSwZ9Qs0b97VIZ0ikdJnTgb4kWf51OrNk58s7l8VyZLmvkyXAi4FXAo0U+ArAbJ4gg8yHiL92qi1/I65Sk7HmQaBWZrQA1NvZIqny9FmYP+P8FyrK9Pcl+lSwKWAS4GvHMiiJB8iPzyrtnFyZ9Xb+VYjTO4zaYoV8EwhOC6QuWvWpYBLgVYUOGxARiPxNe6c2sDZYNXT8ZRQOLX7lknipcQuqF4/+YjiQVXkz+YWlwIuBVwKxChwWIFsYMFzTa8dmHQvQg5esGL0kiv/cY0bkjD48wxP45mo9Cf3/bkUcCngUiCeAocVyGggXx5TsKLr9l0fIwi6Dw+nyKRMl23ICAfk9ae5QOYuYJcCLgVaUuCwA9mYfRWhVWzSWqTowK3K6VLCI32KIvd1X6FLAZcCLgW+dkBGA0IGhg80HwLxDSRioKSMKn5C4MIQM4/skEyiaDvZgywZe10gc9ewSwGXAq0ocNg5MjEiWV4bagz/Sm88gOvgKAkjcnACvHSRsw6fRQ6MTpRx1nEqY/eduxRwKfDtp8DXAsiGd6qi3EYbWcdvP8HdGboUcCnQ/hT4//Tszll7kor4AAAAAElFTkSuQmCC
\ No newline at end of file
diff --git a/csaf_2.1/prose/share/README.md b/csaf_2.1/prose/share/README.md
new file mode 100644
index 00000000..cebe62ac
--- /dev/null
+++ b/csaf_2.1/prose/share/README.md
@@ -0,0 +1,7 @@
+# CSAF v2.1 Prose - User Facing Delivery Items
+
+This `share` folder provides the user facing delivery items we build from the sources in the `edit` folder.
+
+First we generate an experimental "GFM + cosmetics" format file - a.k.a. the "Elephant".
+
+During the editorial phase of the v2.1 life cycle the HTML and PDF delivery items will be added too.
diff --git a/csaf_2.1/prose/share/csaf-v2.1-draft.html b/csaf_2.1/prose/share/csaf-v2.1-draft.html
new file mode 100644
index 00000000..e4a8b5fe
--- /dev/null
+++ b/csaf_2.1/prose/share/csaf-v2.1-draft.html
@@ -0,0 +1,11638 @@
+
+
+
+
+
+
+
+
+ Common Security Advisory Framework Version 2.0
+
+
+
+
+
+
+
+ Common Security Advisory Framework Version 2.0
+
+
+ OASIS Standard
+
+
+ 18 November 2022
+
+
+ This stage:
+
+
+ https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.md (Authoritative)
+ https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html
+ https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.pdf
+
+
+ Previous stage:
+
+
+ https://docs.oasis-open.org/csaf/csaf/v2.0/cs03/csaf-v2.0-cs03.md (Authoritative)
+ https://docs.oasis-open.org/csaf/csaf/v2.0/cs03/csaf-v2.0-cs03.html
+ https://docs.oasis-open.org/csaf/csaf/v2.0/cs03/csaf-v2.0-cs03.pdf
+
+
+ Latest stage:
+
+
+ https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.md (Authoritative)
+ https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html
+ https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.pdf
+
+
+ Technical Committee:
+
+
+ OASIS Common Security Advisory Framework (CSAF) TC
+
+
+ Chair:
+
+
+ Omar Santos (osantos@cisco.com ), Cisco Systems
+
+
+ Editors:
+
+
+ Langley Rock (lrock@redhat.com ), Red Hat
+ Stefan Hagen (stefan@hagen.link ), Individual
+ Thomas Schmidt (thomas.schmidt@bsi.bund.de ), Federal Office for Information Security (BSI) Germany
+
+
+ In Memory of Eric Johnson, TIBCO Software Inc. and Mike Gorski, Cisco Systems both active members of the OASIS CSAF Technical Committee.
+
+
+ Additional artifacts:
+
+
+ This prose specification is one component of a Work Product that also includes:
+
+
+
+
+ This specification replaces or supersedes:
+
+
+
+ Declared JSON namespaces:
+
+
+
+ Abstract:
+
+
+ The Common Security Advisory Framework (CSAF) Version 2.0 is the definitive reference for the language which supports creation, update, and interoperable exchange of security advisories as structured information on products, vulnerabilities and the status of impact and remediation among interested parties.
+
+
+ Status:
+
+
+ This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the "Latest stage" location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at
+ https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=csaf#technical .
+
+
+ TC members should send comments on this specification to the TC's email list. Others should send comments to the TC's public comment list, after subscribing to it by following the instructions at the "Send A Comment" button on the TC's web page at https://www.oasis-open.org/committees/csaf/ .
+
+
+ This specification is provided under the Non-Assertion Mode of the OASIS IPR Policy , the mode chosen when the Technical Committee was established. For information on whether any patents
+ have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's web page (https://www.oasis-open.org/committees/csaf/ipr.php ).
+
+
+ Note that any machine-readable content (Computer Language Definitions ) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display
+ content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.
+
+
+
+ When referencing this specification the following citation format should be used:
+
+
+ [csaf-v2.0]
+
+
+ Common Security Advisory Framework Version 2.0 . Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html . Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html .
+
+
+
+ Notices
+
+
+ Copyright © OASIS Open 2022. All Rights Reserved.
+
+
+ All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
+
+
+ This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are
+ included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to
+ copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
+
+
+ The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
+
+
+ This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
+ PURPOSE.
+
+
+ As stated in the OASIS IPR Policy, the following three paragraphs in brackets apply to OASIS Standards Final Deliverable documents (Committee Specification, Candidate OASIS Standard, OASIS Standard, or Approved Errata).
+
+
+ [OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent
+ with the IPR Mode of the OASIS Technical Committee that produced this deliverable.]
+
+
+ [OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR
+ Mode of the OASIS Technical Committee that produced this OASIS Standards Final Deliverable. OASIS may include such claims on its website, but disclaims any obligation to do so.]
+
+
+ [OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this OASIS Standards Final Deliverable or the extent to which any license under such rights might or might not be available; neither does it
+ represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made
+ available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Standards Final Deliverable, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will
+ at any time be complete, or that any claims in such list are, in fact, Essential Claims.]
+
+
+ The name "OASIS" is a trademark of OASIS , the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks
+ against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark/ for above guidance.
+
+
+
+ Table of Contents
+
+
+ 1. Introduction
+
+ 1.1 IPR Policy
+
+ 1.2 Terminology
+
+ 1.3 Normative References
+
+ 1.4 Informative References
+
+ 1.5 Typographical Conventions
+
+
+
+ 2. Design Considerations
+
+ 2.1 Construction Principles
+
+
+
+ 3. Schema Elements
+
+ 3.1 Definitions
+
+ 3.1.1 Acknowledgments Type
+
+ 3.1.1.1 Acknowledgments Type - Names
+
+ 3.1.1.2 Acknowledgments Type - Organization
+
+ 3.1.1.3 Acknowledgments Type - Summary
+
+ 3.1.1.4 Acknowledgments Type - URLs
+
+ 3.1.1.5 Acknowledgments Type - Example
+
+
+
+ 3.1.2 Branches Type
+
+ 3.1.2.1 Branches Type - Branches
+
+ 3.1.2.2 Branches Type - Category
+
+ 3.1.2.3 Branches Type - Name
+
+ 3.1.2.3.1 Branches Type - Name under Product Version
+
+ 3.1.2.3.2 Branches Type - Name under Product Version Range
+
+
+
+ 3.1.2.4 Branches Type - Product
+
+
+
+ 3.1.3 Full Product Name Type
+
+ 3.1.3.1 Full Product Name Type - Name
+
+ 3.1.3.2 Full Product Name Type - Product ID
+
+ 3.1.3.3 Full Product Name Type - Product Identification Helper
+
+ 3.1.3.3.1 Full Product Name Type - Product Identification Helper - CPE
+
+ 3.1.3.3.2 Full Product Name Type - Product Identification Helper - Hashes
+
+ 3.1.3.3.3 Full Product Name Type - Product Identification Helper - Model Numbers
+
+ 3.1.3.3.4 Full Product Name Type - Product Identification Helper - PURL
+
+ 3.1.3.3.5 Full Product Name Type - Product Identification Helper - SBOM URLs
+
+ 3.1.3.3.6 Full Product Name Type - Product Identification Helper - Serial Numbers
+
+ 3.1.3.3.7 Full Product Name Type - Product Identification Helper - SKUs
+
+ 3.1.3.3.8 Full Product Name Type - Product Identification Helper - Generic URIs
+
+
+
+
+
+ 3.1.4 Language Type
+
+ 3.1.5 Notes Type
+
+ 3.1.6 Product Group ID Type
+
+ 3.1.7 Product Groups Type
+
+ 3.1.8 Product ID Type
+
+ 3.1.9 Products Type
+
+ 3.1.10 References Type
+
+ 3.1.11 Version Type
+
+ 3.1.11.1 Version Type - Integer versioning
+
+ 3.1.11.2 Version Type - Semantic versioning
+
+
+
+
+
+ 3.2 Properties
+
+ 3.2.1 Document Property
+
+ 3.2.1.1 Document Property - Acknowledgments
+
+ 3.2.1.2 Document Property - Aggregate Severity
+
+ 3.2.1.3 Document Property - Category
+
+ 3.2.1.4 Document Property - CSAF Version
+
+ 3.2.1.5 Document Property - Distribution
+
+ 3.2.1.5.1 Document Property - Distribution - Text
+
+ 3.2.1.5.2 Document Property - Distribution - TLP
+
+
+
+ 3.2.1.6 Document Property - Language
+
+ 3.2.1.7 Document Property - Notes
+
+ 3.2.1.8 Document Property - Publisher
+
+ 3.2.1.8.1 Document Property - Publisher - Category
+
+ 3.2.1.8.2 Document Property - Publisher - Contact Details
+
+ 3.2.1.8.3 Document Property - Publisher - Issuing Authority
+
+ 3.2.1.8.4 Document Property - Publisher - Name
+
+ 3.2.1.8.5 Document Property - Publisher - Namespace
+
+
+
+ 3.2.1.9 Document Property - References
+
+ 3.2.1.10 Document Property - Source Language
+
+ 3.2.1.11 Document Property - Title
+
+ 3.2.1.12 Document Property - Tracking
+
+ 3.2.1.12.1 Document Property - Tracking - Aliases
+
+ 3.2.1.12.2 Document Property - Tracking - Current Release Date
+
+ 3.2.1.12.3 Document Property - Tracking - Generator
+
+ 3.2.1.12.4 Document Property - Tracking - ID
+
+ 3.2.1.12.5 Document Property - Tracking - Initial Release Date
+
+ 3.2.1.12.6 Document Property - Tracking - Revision History
+
+ 3.2.1.12.7 Document Property - Tracking - Status
+
+ 3.2.1.12.8 Document Property - Tracking - Version
+
+
+
+
+
+ 3.2.2 Product Tree Property
+
+ 3.2.2.1 Product Tree Property - Branches
+
+ 3.2.2.2 Product Tree Property - Full Product Names
+
+ 3.2.2.3 Product Tree Property - Product Groups
+
+ 3.2.2.4 Product Tree Property - Relationships
+
+
+
+ 3.2.3 Vulnerabilities Property
+
+ 3.2.3.1 Vulnerabilities Property - Acknowledgments
+
+ 3.2.3.2 Vulnerabilities Property - CVE
+
+ 3.2.3.3 Vulnerabilities Property - CWE
+
+ 3.2.3.4 Vulnerabilities Property - Discovery Date
+
+ 3.2.3.5 Vulnerabilities Property - Flags
+
+ 3.2.3.6 Vulnerabilities Property - IDs
+
+ 3.2.3.7 Vulnerabilities Property - Involvements
+
+ 3.2.3.8 Vulnerabilities Property - Notes
+
+ 3.2.3.9 Vulnerabilities Property - Product Status
+
+ 3.2.3.10 Vulnerabilities Property - References
+
+ 3.2.3.11 Vulnerabilities Property - Release Date
+
+ 3.2.3.12 Vulnerabilities Property - Remediations
+
+ 3.2.3.12.1 Vulnerabilities Property - Remediations - Category
+
+ 3.2.3.12.2 Vulnerabilities Property - Remediations - Date
+
+ 3.2.3.12.3 Vulnerabilities Property - Remediations - Details
+
+ 3.2.3.12.4 Vulnerabilities Property - Remediations - Entitlements
+
+ 3.2.3.12.5 Vulnerabilities Property - Remediations - Group IDs
+
+ 3.2.3.12.6 Vulnerabilities Property - Remediations - Product IDs
+
+ 3.2.3.12.7 Vulnerabilities Property - Remediations - Restart Required
+
+ 3.2.3.12.8 Vulnerabilities Property - Remediations - URL
+
+
+
+ 3.2.3.13 Vulnerabilities Property - Scores
+
+ 3.2.3.14 Vulnerabilities Property - Threats
+
+ 3.2.3.15 Vulnerabilities Property - Title
+
+
+
+
+
+
+
+ 4. Profiles
+
+ 4.1 Profile 1: CSAF Base
+
+ 4.2 Profile 2: Security incident response
+
+ 4.3 Profile 3: Informational Advisory
+
+ 4.4 Profile 4: Security Advisory
+
+ 4.5 Profile 5: VEX
+
+
+
+ 5. Additional Conventions
+
+ 5.1 Filename
+
+ 5.2 Separation in Data Stream
+
+ 5.3 Sorting
+
+
+
+ 6. Tests
+
+ 6.1 Mandatory Tests
+
+ 6.1.1 Missing Definition of Product ID
+
+ 6.1.2 Multiple Definition of Product ID
+
+ 6.1.3 Circular Definition of Product ID
+
+ 6.1.4 Missing Definition of Product Group ID
+
+ 6.1.5 Multiple Definition of Product Group ID
+
+ 6.1.6 Contradicting Product Status
+
+ 6.1.7 Multiple Scores with same Version per Product
+
+ 6.1.8 Invalid CVSS
+
+ 6.1.9 Invalid CVSS computation
+
+ 6.1.10 Inconsistent CVSS
+
+ 6.1.11 CWE
+
+ 6.1.12 Language
+
+ 6.1.13 PURL
+
+ 6.1.14 Sorted Revision History
+
+ 6.1.15 Translator
+
+ 6.1.16 Latest Document Version
+
+ 6.1.17 Document Status Draft
+
+ 6.1.18 Released Revision History
+
+ 6.1.19 Revision History Entries for Pre-release Versions
+
+ 6.1.20 Non-draft Document Version
+
+ 6.1.21 Missing Item in Revision History
+
+ 6.1.22 Multiple Definition in Revision History
+
+ 6.1.23 Multiple Use of Same CVE
+
+ 6.1.24 Multiple Definition in Involvements
+
+ 6.1.25 Multiple Use of Same Hash Algorithm
+
+ 6.1.26 Prohibited Document Category Name
+
+ 6.1.27 Profile Tests
+
+ 6.1.27.1 Document Notes
+
+ 6.1.27.2 Document References
+
+ 6.1.27.3 Vulnerabilities
+
+ 6.1.27.4 Product Tree
+
+ 6.1.27.5 Vulnerability Notes
+
+ 6.1.27.6 Product Status
+
+ 6.1.27.7 VEX Product Status
+
+ 6.1.27.8 Vulnerability ID
+
+ 6.1.27.9 Impact Statement
+
+ 6.1.27.10 Action Statement
+
+ 6.1.27.11 Vulnerabilities
+
+
+
+ 6.1.28 Translation
+
+ 6.1.29 Remediation without Product Reference
+
+ 6.1.30 Mixed Integer and Semantic Versioning
+
+ 6.1.31 Version Range in Product Version
+
+ 6.1.32 Flag without Product Reference
+
+ 6.1.33 Multiple Flags with VEX Justification Codes per Product
+
+
+
+ 6.2 Optional Tests
+
+ 6.2.1 Unused Definition of Product ID
+
+ 6.2.2 Missing Remediation
+
+ 6.2.3 Missing Score
+
+ 6.2.4 Build Metadata in Revision History
+
+ 6.2.5 Older Initial Release Date than Revision History
+
+ 6.2.6 Older Current Release Date than Revision History
+
+ 6.2.7 Missing Date in Involvements
+
+ 6.2.8 Use of MD5 as the only Hash Algorithm
+
+ 6.2.9 Use of SHA-1 as the only Hash Algorithm
+
+ 6.2.10 Missing TLP label
+
+ 6.2.11 Missing Canonical URL
+
+ 6.2.12 Missing Document Language
+
+ 6.2.13 Sorting
+
+ 6.2.14 Use of Private Language
+
+ 6.2.15 Use of Default Language
+
+ 6.2.16 Missing Product Identification Helper
+
+ 6.2.17 CVE in field IDs
+
+ 6.2.18 Product Version Range without vers
+
+ 6.2.19 CVSS for Fixed Products
+
+ 6.2.20 Additional Properties
+
+
+
+ 6.3 Informative Test
+
+ 6.3.1 Use of CVSS v2 as the only Scoring System
+
+ 6.3.2 Use of CVSS v3.0
+
+ 6.3.3 Missing CVE
+
+ 6.3.4 Missing CWE
+
+ 6.3.5 Use of Short Hash
+
+ 6.3.6 Use of non-self referencing URLs Failing to Resolve
+
+ 6.3.7 Use of self referencing URLs Failing to Resolve
+
+ 6.3.8 Spell check
+
+ 6.3.9 Branch Categories
+
+ 6.3.10 Usage of Product Version Range
+
+ 6.3.11 Usage of V as Version Indicator
+
+
+
+
+
+ 7. Distributing CSAF documents
+
+ 7.1 Requirements
+
+ 7.1.1 Requirement 1: Valid CSAF document
+
+ 7.1.2 Requirement 2: Filename
+
+ 7.1.3 Requirement 3: TLS
+
+ 7.1.4 Requirement 4: TLP:WHITE
+
+ 7.1.5 Requirement 5: TLP:AMBER and TLP:RED
+
+ 7.1.6 Requirement 6: No Redirects
+
+ 7.1.7 Requirement 7: provider-metadata.json
+
+ 7.1.8 Requirement 8: security.txt
+
+ 7.1.9 Requirement 9: Well-known URL for provider-metadata.json
+
+ 7.1.10 Requirement 10: DNS path
+
+ 7.1.11 Requirement 11: One folder per year
+
+ 7.1.12 Requirement 12: index.txt
+
+ 7.1.13 Requirement 13: changes.csv
+
+ 7.1.14 Requirement 14: Directory listings
+
+ 7.1.15 Requirement 15: ROLIE feed
+
+ 7.1.16 Requirement 16: ROLIE service document
+
+ 7.1.17 Requirement 17: ROLIE category document
+
+ 7.1.18 Requirement 18: Integrity
+
+ 7.1.19 Requirement 19: Signatures
+
+ 7.1.20 Requirement 20: Public OpenPGP Key
+
+ 7.1.21 Requirement 21: List of CSAF providers
+
+ 7.1.22 Requirement 22: Two disjoint issuing parties
+
+ 7.1.23 Requirement 23: Mirror
+
+
+
+ 7.2 Roles
+
+ 7.2.1 Role: CSAF publisher
+
+ 7.2.2 Role: CSAF provider
+
+ 7.2.3 Role: CSAF trusted provider
+
+ 7.2.4 Role: CSAF lister
+
+ 7.2.5 Role: CSAF aggregator
+
+
+
+ 7.3 Retrieving rules
+
+ 7.3.1 Finding provider-metadata.json
+
+ 7.3.2 Retrieving CSAF documents
+
+
+
+
+
+ 8. Safety, Security, and Data Protection Considerations
+
+ 9. Conformance
+
+ 9.1 Conformance Targets
+
+ 9.1.1 Conformance Clause 1: CSAF document
+
+ 9.1.2 Conformance Clause 2: CSAF producer
+
+ 9.1.3 Conformance Clause 3: CSAF direct producer
+
+ 9.1.4 Conformance Clause 4: CSAF converter
+
+ 9.1.5 Conformance Clause 5: CVRF CSAF converter
+
+ 9.1.6 Conformance Clause 6: CSAF content management system
+
+ 9.1.7 Conformance Clause 7: CSAF post-processor
+
+ 9.1.8 Conformance Clause 8: CSAF modifier
+
+ 9.1.9 Conformance Clause 9: CSAF translator
+
+ 9.1.10 Conformance Clause 10: CSAF consumer
+
+ 9.1.11 Conformance Clause 11: CSAF viewer
+
+ 9.1.12 Conformance Clause 12: CSAF management system
+
+ 9.1.13 Conformance Clause 13: CSAF asset matching system
+
+ 9.1.14 Conformance Clause 14: CSAF basic validator
+
+ 9.1.15 Conformance Clause 15: CSAF extended validator
+
+ 9.1.16 Conformance Clause 16: CSAF full validator
+
+ 9.1.17 Conformance Clause 17: CSAF SBOM matching system
+
+
+
+
+
+ Appendix A. Acknowledgments
+
+ Appendix B. Revision History
+
+ Appendix C. Guidance on the Size of CSAF Documents
+
+ C.1 File size
+
+ C.2 Array length
+
+ C.3 String length
+
+ C.4 URI length
+
+ C.5 Enum
+
+ C.6 Date
+
+ 1. Introduction
+
+
+ 1.1 IPR Policy
+
+
+ This specification is provided under the Non-Assertion Mode of the OASIS IPR Policy , the mode chosen when the Technical Committee was established. For information on whether any
+ patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's web page (https://www.oasis-open.org/committees/csaf/ipr.php ).
+
+
+ 1.2 Terminology
+
+
+ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119 ] and [RFC8174 ] when, and only when, they appear in all capitals,
+ as shown here.
+
+
+ For purposes of this document, the following terms and definitions apply:
+
+
+
+ advisory
+
+
+ reporting item that describes a condition present in an artifact and that requires action by the consumers
+
+
+ advisory document
+
+
+ artifact in which an analysis tool reports a result
+
+
+ advisory management system*
+
+
+ software system that consumes the documents produced by analysis tools, produces advisories that enable engineering and operating organizations to assess the quality of these software artifacts at a point in time, and performs functions such as filing security advisories and displaying information about individual advisories.
+ Note : An advisory management system can interact with a document viewer to display information about individual advisories.
+
+
+ advisory matching
+
+
+ process of determining whether two advisories are targeting the same products and conditions
+
+
+ artifact
+
+
+ sequence of bytes addressable via a URI. Examples : A physical file in a file system such as a source file, an object file, a configuration file or a data file; a specific version of a file in a version control system; a database table accessed via an HTTP request; an arbitrary stream of bytes returned from an HTTP
+ request, a product URL, a common product enumeration value.
+
+
+ CSAF asset matching system*
+
+
+ program that connects to or is an asset database and is able to manage CSAF documents as required by CSAF management system as well as matching them to assets of the asset database.
+
+
+ CSAF basic validator
+
+
+ A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+
+
+ CSAF consumer
+
+
+ program that reads and interprets a CSAF document
+
+
+ CSAF content management system
+
+
+ program that is able to create, review and manage CSAF documents and is able to preview their details as required by CSAF viewer.
+
+
+ CSAF converter
+
+
+ CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format
+
+
+ CSAF direct producer
+
+
+ analysis tool which acts as a CSAF producer
+
+
+ CSAF document
+
+
+ security advisory text document in the format defined by this document.
+
+
+ CSAF extended validator
+
+
+ A CSAF basic validator that additionally performs optional tests.
+
+
+ CSAF full validator
+
+
+ A CSAF extended validator that additionally performs informative tests.
+
+
+ CSAF management system
+
+
+ program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+
+
+ CSAF modifier
+
+
+ CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties. The output is a valid CSAF document.
+
+
+ CSAF post-processor
+
+
+ CSAF producer that transforms an existing CSAF document into a new CSAF document, for example, by removing or redacting elements according to sharing policies.
+
+
+ CSAF SBOM matching system
+
+
+ A program that connects to or is an SBOM database and is able to manage CSAF documents as required by CSAF management system as well as matching them to SBOM components of the SBOM database.
+
+
+ CSAF producer
+
+
+ program that emits output in the CSAF format
+
+
+ CSAF translator
+
+
+ CSAF post-processor which takes a CSAF document as input and translates values of properties into another language. The output is a valid CSAF document.
+
+
+ CSAF viewer
+
+
+ CSAF consumer that reads a CSAF document, displays a list of the results it contains, and allows an end user to view each result in the context of the artifact in which it occurs.
+
+
+ CVRF CSAF converter
+
+
+ CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+
+
+ document
+
+
+ output file produced by an analysis tool, which enumerates the results produced by the tool
+
+
+ driver
+
+
+ tool component containing an analysis tool’s or converter’s primary executable, which controls the tool’s or converter’s execution, and which in the case of an analysis tool typically defines a set of analysis rules
+
+
+ embedded link
+
+
+ syntactic construct which enables a message string to refer to a location mentioned in the document
+
+
+ empty array
+
+
+ array that contains no elements, and so has a length of 0
+
+
+ empty object
+
+
+ object that contains no properties
+
+
+ empty string
+
+
+ string that contains no characters, and so has a length of 0
+
+
+ (end) user
+
+
+ person who uses the information in a document to investigate, triage, or resolve results
+
+
+ engineering system
+
+
+ software analysis environment within which analysis tools execute. Note : An engineering system might include a build system, a source control system, a result management system, a bug tracking system, a test execution system, and so on.
+
+
+ extension
+
+
+ tool component other than the driver (for example, a plugin, a configuration file, or a taxonomy)
+
+
+ external property file
+
+
+ file containing the values of one or more externalized properties
+
+
+ externalizable property
+
+
+ property that can be contained in an external property file
+
+
+ externalized property
+
+
+ property stored outside of the CSAF document to which it logically belongs
+
+
+ false positive
+
+
+ result which an end user decides does not actually represent a problem
+
+
+ fingerprint
+
+
+ stable value that can be used by a result management system to uniquely identify a result over time, even if a relevant artifact is modified
+
+
+ formatted message
+
+
+ message string which contains formatting information such as Markdown formatting characters
+
+
+ fully qualified logical name
+
+
+ string that fully identifies the programmatic construct specified by a logical location, typically by means of a hierarchical identifier.
+
+
+ hierarchical string
+
+
+ string in the format <component>{/<component>}*
+
+
+ line
+
+
+ contiguous sequence of characters, starting either at the beginning of an artifact or immediately after a newline sequence, and ending at and including the nearest subsequent newline sequence, if one is present, or else extending to the end of the artifact
+
+
+ line (number)
+
+
+ 1-based index of a line within a file. Note : Abbreviated to "line" when there is no danger of ambiguity with "line" in the sense of a sequence of characters.
+
+
+ localizable
+
+
+ subject to being translated from one natural language to another
+
+
+ message string
+
+
+ human-readable string that conveys information relevant to an element in a CSAF document
+
+
+ nested artifact
+
+
+ artifact that is contained within another artifact
+
+
+ newline sequence
+
+
+ sequence of one or more characters representing the end of a line of text. Note : Some systems represent a newline sequence with a single newline character; others represent it as a carriage return character followed by a newline character.
+
+
+ notification
+
+
+ reporting item that describes a condition encountered by a tool during its execution
+
+
+ opaque
+
+
+ neither human-readable nor machine-parsable into constituent parts
+
+
+ parent (artifact)
+
+
+ artifact which contains one or more nested artifacts
+
+
+ plain text message
+
+
+ message string which does not contain any formatting information
+
+
+ plugin
+
+
+ tool component that defines additional rules
+
+
+ policy
+
+
+ set of rule configurations that specify how results that violate the rules defined by a particular tool component are to be treated
+
+
+ problem
+
+
+ result which indicates a condition that has the potential to detract from the quality of the program. Examples : A security vulnerability, a deviation from contractual or legal requirements.
+
+
+ product
+
+
+ is any deliverable (e.g. software, hardware, specification,...) which can be referred to with a name. This applies regardless of the origin, the license model, or the mode of distribution of the deliverable.
+
+
+ property
+
+
+ attribute of an object consisting of a name and a value associated with the name
+
+
+ redactable property
+
+
+ property that potentially contains sensitive information that a CSAF direct producer or a CSAF post-processor might wish to redact
+
+
+ reporting item
+
+
+ unit of output produced by a tool, either a result or a notification
+
+
+ reporting configuration
+
+
+ the subset of reporting metadata that a tool can configure at runtime, before performing its scan. Examples : severity level, rank
+
+
+ repository
+
+
+ container for a related set of files in a version control system
+
+
+ taxonomy
+
+
+ classification of analysis results into a set of categories
+
+
+ tag
+
+
+ string that conveys additional information about the CSAF document element to which it applies
+
+
+ text artifact
+
+
+ artifact considered as a sequence of characters organized into lines and columns
+
+
+ text region
+
+
+ region representing a contiguous range of zero or more characters in a text artifact
+
+
+ tool component
+
+
+ component of an analysis tool or converter, either its driver or an extension, consisting of one or more files
+
+
+ top-level artifact
+
+
+ artifact which is not contained within any other artifact
+
+
+ translation
+
+
+ rendering of a tool component's localizable strings into another language
+
+
+ triage
+
+
+ decide whether a result indicates a problem that needs to be corrected
+
+
+ user
+
+
+ see end user.
+
+
+ VCS
+
+
+ version control system
+
+
+ vendor
+
+
+ the community, individual, or organization that created or maintains a product (including open source software and hardware providers)
+
+
+ VEX
+
+
+ Vulnerability Exploitability eXchange - enables a supplier or other party to assert whether or not a particular product is affected by a specific vulnerability, especially helpful in efficiently consuming SBOM data.
+
+
+ viewer
+
+
+ see CSAF viewer.
+
+
+ vulnerability
+
+
+ functional behavior of a product or service that violates an implicit or explicit security policy (conforming to ISO/IEC 29147 cite )
+
+
+ XML
+
+
+ eXtensible Markup Language - the format used by the predecessors of this standard, namely CVRF 1.1 and CVRF 1.2.
+
+
+
+ 1.3 Normative References
+
+
+ [ https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00 .]
+
+
+ [ https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00 .]
+
+
+ [ https://json-schema.org/draft/2019-09/json-schema-hypermedia.html .]
+
+
+ [ https://datatracker.ietf.org/doc/html/draft-bhutton-relative-json-pointer-00 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc2119 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc7464 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc8174 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc8259 .]
+
+
+
+ [ CPE23-A] Common Platform Enumeration: Applicability Language Specification Version 2.3 (NISTIR 7698) , D. Waltermire, P. Cichonski, K. Scarfone, Editors, NIST Interagency Report 7698, August 2011, https://dx.doi.org/10.6028/NIST.IR.7698 .
+
+
+ [ CPE23-D] Common Platform Enumeration: Dictionary Specification Version 2.3 , P. Cichonski, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7697, August 2011, https://dx.doi.org/10.6028/NIST.IR.7697 .
+
+
+ [ CPE23-M] Common Platform Enumeration: Naming Matching Specification Version 2.3 , M. Parmelee, H. Booth, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7696, August 2011, https://dx.doi.org/10.6028/NIST.IR.7696 .
+
+
+ [ CPE23-N] Common Platform Enumeration: Naming Specification Version 2.3 , B. Cheikes, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7695, August 2011, https://dx.doi.org/10.6028/NIST.IR.7695 .
+
+
+ [ CVE] Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names , MITRE, 1999, https://cve.mitre.org/about/ .
+
+
+ [ CVE-NF] Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names - CVE ID Syntax Change , MITRE, January 01, 2014, https://cve.mitre.org/cve/identifiers/syntaxchange.html .
+
+
+ [ CVRF-1-1] The Common Vulnerability Reporting Framework (CVRF) Version 1.1 , M. Schiffman, Editor, May 2012, Internet Consortium for Advancement of Security on the Internet (ICASI), https://www.icasi.org/the-common-vulnerability-reporting-framework-cvrf-v1-1/ .
+
+
+ [ CVRF-v1.2] CSAF Common Vulnerability Reporting Framework (CVRF) Version 1.2 . Edited by Stefan Hagen. 13 September 2017. OASIS Committee Specification 01. https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/cs01/csaf-cvrf-v1.2-cs01.html . Latest version: https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/csaf-cvrf-v1.2.html .
+
+
+ [ CVSS2] A Complete Guide to the Common Vulnerability Scoring System Version 2.0 , P. Mell, K. Scarfone, S. Romanosky, Editors, First.org, Inc., June 2007, https://www.first.org/cvss/cvss-v2-guide.pdf .
+
+
+ [ CVSS30] Common Vulnerability Scoring System v3.0: Specification Document , FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3.0/cvss-v30-specification_v1.9.pdf .
+
+
+ [ CVSS31] Common Vulnerability Scoring System v3.1: Specification Document , FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3-1/cvss-v31-specification_r1.pdf .
+
+
+ [ CWE] Common Weakness Enumeration (CWE) – A Community-Developed List of Software Weakness Types , MITRE, 2005, http://cwe.mitre.org/about/ .
+
+
+ [ CYCLONEDX13] CycloneDX Software Bill-of-Material Specification JSON schema version 1.3 , cyclonedx.org, May 2021, https://github.com/CycloneDX/specification/blob/1.3/schema/bom-1.3.schema.json .
+
+
+ [ GFMCMARK] GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C , https://github.com/github/cmark .
+
+
+ [ GFMENG] GitHub Engineering: A formal spec for GitHub Flavored Markdown , https://githubengineering.com/a-formal-spec-for-github-markdown/ .
+
+
+ [ ISO8601] Data elements and interchange formats — Information interchange — Representation of dates and times , International Standard, ISO 8601:2004(E), December 1, 2004, https://www.iso.org/standard/40874.html .
+
+
+ [ ISO19770-2] Information technology — IT asset management — Part 2: Software identification tag , International Standard, ISO 19770-2:2015, September 30, 2015, https://www.iso.org/standard/65666.html .
+
+
+ [ https://www.iso.org/standard/72311.html .]
+
+
+ [ OPENSSL] GTLS/SSL and crypto library , OpenSSL Software Foundation, https://www.openssl.org/ .
+
+
+ [ PURL] Package URL (PURL) , GitHub Project, https://github.com/package-url/purl-spec .
+
+
+ [ https://www.rfc-editor.org/info/rfc3339 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc3552 .]
+
+
+ [ January 2005, https://www.rfc-editor.org/info/rfc3986 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc4880 .]
+
+
+ [ June 2014, https://www.rfc-editor.org/info/rfc7231 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc7464 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc8615 .]
+
+
+ [ https://www.rfc-editor.org/info/rfc9116 .]
+
+
+ [ S. Quinn, K. Scarfone, A. Halbardier, Editors, NIST Spec. Publ. 800‑126 rev. 2, September 2011, https://dx.doi.org/10.6028/NIST.SP.800-126r2 .]
+
+
+ [ SECURITY-TXT] Foudil, E. and Shafranovich, Y., Security.txt Project , https://securitytxt.org/ .
+
+
+ [ SemVer] Semantic Versioning 2.0.0 , T. Preston-Werner, June 2013, https://semver.org/ .
+
+
+ [ https://spdx.github.io/spdx-spec/ .]
+
+
+ [ https://github.com/package-url/purl-spec/blob/version-range-spec/VERSION-RANGE-SPEC.rst .]
+
+
+ [ 27 September 2021, https://ntia.gov/files/ntia/publications/vex_one-page_summary.pdf .]
+
+
+ [ XX May 2022, https://www.cisa.gov/sites/default/files/publications/VEX_Status_Justification_Jun22.pdf .]
+
+
+ [ W3C Recommendation, November 26, 2008, https://www.w3.org/TR/2008/REC-xml-20081126/ . Latest version available at https://www.w3.org/TR/xml .]
+
+
+ [ Latest version available at https://www.w3.org/TR/xmlschema11-1/ .]
+
+
+ [ https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/ . Latest version
+ available at https://www.w3.org/TR/xmlschema11-2/ .]
+
+
+ 1.5 Typographical Conventions
+
+
+ Keywords defined by this specification use this monospaced
font.
+
+ Normative source code uses this paragraph style.
+
+ Some sections of this specification are illustrated with non-normative examples introduced with "Example" or "Examples" like so:
+
+
+ Example 1:
+
+ Informative examples also use this paragraph style but preceded by the text "Example(s)".
+
+ All examples in this document are informative only.
+
+
+ All other text is normative unless otherwise labeled e.g. like the following informative comment:
+
+
+
+ This is a pure informative comment that may be present, because the information conveyed is deemed useful advice or common pitfalls learned from implementer or operator experience and often given including the rationale.
+
+
+
+
+ 2. Design Considerations
+
+
+ The Common Security Advisory Framework (CSAF) is a language to exchange Security Advisories formulated in JSON.
+
+
+ The term Security Advisory as used in this document describes any notification of security issues in products of and by providers. Anyone providing a product is considered in this document as a vendor, i.e. developers or maintainers of information system products or services. This includes all authoritative product vendors,
+ Product Security Incident Response Teams (PSIRTs), and product resellers and distributors, including authoritative vendor partners. A security issue is not necessarily constrained to a problem statement, the focus of the term is on the security aspect impacting (or not impacting) specific product-platform-version combinations.
+ Information on presence or absence of workarounds is also considered part of the security issue. This document is the definitive reference for the language elements of CSAF version 2.0. The encompassing JSON schema file noted in the Additional Artifacts section of the title page SHALL be taken as normative in the case a gap or
+ an inconsistency in this explanatory document becomes evident. The following presentation in this section is grouped by topical area, and is not simply derivative documentation from the schema document itself. The information contained aims to be more descriptive and complete. Where applicable, common conventions are stated and
+ known common issues in usage are pointed out informatively to support implementers of document producers and consumers alike.
+
+
+ This minimal required information set does not provide any useful information on products, vulnerabilities, or security advisories. Thus, any real-world Security Advisory will carry additional information as specified in section 3 Schema elements.
+
+
+ Care has been taken, to design the containers for product and vulnerability information to support fine-grained mapping of security advisories onto product and vulnerability and minimize data duplication through referencing. The display of the elements representing Product Tree and Vulnerability information has been placed in
+ the sections named accordingly.
+
+
+ 2.1 Construction Principles
+
+
+ A Security Advisory defined as a CSAF document is the result of complex orchestration of many players and distinct and partially difficult to play schemas.
+
+
+ The format chosen is [JSONSchema] which allows validation and delegation to sub schema providers. The latter aligns well with separation of concerns and shares the format family of information interchange utilized by the providers of product and vulnerability information which migrated from XML to JSON since the creation of CSAF
+ CVRF version 1.2, the predecessor of this specification.
+
+
+ The acronym CSAF, “Common Security Advisory Framework”, stands for the target of concerted mitigation and remediation accomplishment.
+
+
+ Technically, the use of JSON schema allows validation and proof of model conformance (through established schema based validation) of the declared information inside CSAF documents.
+
+
+ The CSAF schema structures its derived documents into three main classes of the information conveyed:
+
+
+ The frame, aggregation, and reference information of the document
+
+ Product information considered relevant by the creator
+
+ Vulnerability information and its relation to the products declared in 2.
+
+
+
+ Wherever possible repetition of data has been replaced by linkage through ID elements. Consistency on the content level thus is in the responsibility of the producer of such documents, to link e.g. vulnerability information to the matching product.
+
+
+ A dictionary like presentation of all defined schema elements is given in the section 3 . Any expected relations to other elements (linkage) is described there. This linking relies on setting attribute values accordingly (mostly guided by industry best practice and conventions) and thus implies,
+ that any deep validation on a semantic level (e.g. does the CWE match the described vulnerability) is to be ensured by the producer and consumer of CSAF documents. It is out of scope for this specification.
+
+
+ Proven and intended usage patterns from practice are given where possible.
+
+
+ Delegation to industry best practices technologies is used in referencing schemas for:
+
+
+ Platform Data:
+
+ Common Platform Enumeration (CPE) Version 2.3 [CPE23-N ]
+
+
+
+ Vulnerability Scoring:
+
+ Common Vulnerability Scoring System (CVSS) Version 3.1 [CVSS31 ]
+
+
+ Common Vulnerability Scoring System (CVSS) Version 3.0 [CVSS30 ]
+
+
+ Common Vulnerability Scoring System (CVSS) Version 2.0 [CVSS2 ]
+
+
+
+
+ Vulnerability Classification
+
+ Common Weakness Enumeration (CWE) [CWE ]
+
+
+
+
+ Classification for Document Distribution
+
+ Traffic Light Protocol (TLP)
+
+
+
+
+
+
+ Even though the JSON schema does not prohibit specifically additional properties and custom keywords, it is strongly recommended not to use them. Suggestions for new fields SHOULD be made through issues in the TC's GitHub.
+
+
+
+ The standardized fields allow for scalability across different issuing parties and dramatically reduce the human effort and need for dedicated parsers as well as other tools on the side of the consuming parties.
+
+
+
+ Section 4 defined profiles that are used to ensure a common understanding of which fields are required in a given use case. Additional conventions are stated in section 5 . The tests given in section 6 support CSAF producers and consumers to verify
+ rules from the specification which can not be tested by the schema. Section 7 states how to distribute and where to find CSAF documents. Safety, Security and Data Protection are considered in section 8 . Finally, a set of
+ conformance targets describes tools in the ecosystem.
+
+
+
+ 3. Schema Elements
+
+
+ The CSAF schema describes how to represent security advisory information as a JSON document.
+
+
+ The CSAF schema Version 2.0 builds on the JSON Schema draft 2020-12 rules.
+
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
+
+ The schema identifier is:
+
+ "$id": "https://docs.oasis-open.org/csaf/csaf/v2.0/csaf_json_schema.json"
+
+ The further documentation of the schema is organized via Definitions and Properties.
+
+
+ Definitions provide types that extend the JSON schema model
+
+ Properties use these types to support assembling security advisories
+
+
+
+ Types and properties together provide the vocabulary for the domain specific language supporting security advisories.
+
+
+ The single mandatory property is document
. The optional two additional properties are product_tree
and vulnerabilities
.
+
+
+ 3.1 Definitions
+
+
+ The definitions ($defs
) introduce the following domain specific types into the CSAF language: Acknowledgments (acknowledgments_t
), Branches (branches_t
), Full Product Name (full_product_name_t
), Language (lang_t
), Notes (notes_t
), Product Group ID
+ (product_group_id_t
), Product Groups (product_groups_t
), Product ID (product_id_t
), Products (products_t
), References (references_t
), and Version (version_t
).
+
+ "$defs": {
+ "acknowledgments_t": {
+ // ...
+ },
+ "branches_t": {
+ // ...
+ },
+ "full_product_name_t": {
+ // ...
+ },
+ "lang_t": {
+ // ...
+ },
+ "notes_t": {
+ // ...
+ },
+ "product_group_id_t": {
+ // ...
+ },
+ "product_groups_t": {
+ // ...
+ },
+ "product_id_t": {
+ // ...
+ },
+ "products_t": {
+ // ...
+ },
+ "references_t": {
+ // ...
+ },
+ "version_t": {
+ // ...
+ }
+ },
+
+ 3.1.1 Acknowledgments Type
+
+
+ List of Acknowledgments (acknowledgments_t
) type instances of value type array
with 1 or more elements contain a list of Acknowledgment
elements.
+
+ "acknowledgments_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ The value type of Acknowledgment is object
with at least 1 and at most 4 properties. Every such element acknowledges contributions by describing those that contributed. The properties are: names
, organization
, summary
, and urls
.
+
+ "properties": {
+ "names": {
+ // ...
+ },
+ "organization": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "urls": {
+ // ...
+ }
+ }
+
+ 3.1.1.1 Acknowledgments Type - Names
+
+
+ List of acknowledged names (names
) has value type array
with 1 or more items holds the names of contributors being recognized. Every such item of value type string
with 1 or more characters represents the name of the contributor and contains the name of a single contributor being
+ recognized.
+
+
+ Examples 1:
+
+ Albert Einstein
+ Johann Sebastian Bach
+
+ 3.1.1.2 Acknowledgments Type - Organization
+
+
+ The contributing organization (organization
) has value type string
with 1 or more characters and holds the name of the contributing organization being recognized.
+
+
+ Examples 1:
+
+ CISA
+ Google Project Zero
+ Talos
+
+ 3.1.1.3 Acknowledgments Type - Summary
+
+
+ Summary of the acknowledgment (summary
) of value type string
with 1 or more characters SHOULD represent any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.
+
+
+ Example 1:
+
+ First analysis of Coordinated Multi-Stream Attack (CMSA)
+
+ 3.1.1.4 Acknowledgments Type - URLs
+
+
+ List of URLs (urls
) of acknowledgment is a container (value type array
) for 1 or more string
of type URL that specifies a list of URLs or location of the reference to be acknowledged. Any URL of acknowledgment contains the URL or location of the reference to be acknowledged. Value type is
+ string with format URI (uri
).
+
+
+ 3.1.1.5 Acknowledgments Type - Example
+
+
+ Example 1:
+
+ "acknowledgments": [
+ {
+ "names": [
+ "Johann Sebastian Bach",
+ "Georg Philipp Telemann",
+ "Georg Friedrich Händel"
+ ],
+ "organization": "Baroque composers",
+ "summary": "wonderful music"
+ },
+ {
+ "organization": "CISA",
+ "summary": "coordination efforts",
+ "urls": [
+ "https://cisa.gov"
+ ]
+ },
+ {
+ "organization": "BSI",
+ "summary": "assistance in coordination"
+ },
+ {
+ "names": [
+ "Antonio Vivaldi"
+ ],
+ "summary": "influencing other composers"
+ }
+ ],
+
+ The example [1 ] above SHOULD lead to the following outcome in a human-readable advisory:
+
+
+
+ We thank the following parties for their efforts:
+
+
+ Johann Sebastian Bach, Georg Philipp Telemann, Georg Friedrich Händel from Baroque composers for wonderful music
+
+ CISA for coordination efforts (see: https://cisa.gov )
+
+ BSI for assistance in coordination
+
+ Antonio Vivaldi for influencing other composers
+
+
+
+
+ 3.1.2 Branches Type
+
+
+ List of branches (branches_t
) with value type array
contains 1 or more branch elements as children of the current element.
+
+ "branches_t": {
+ //...
+ "items": {
+ // ...
+ }
+ },
+
+ Every Branch holds exactly 3 properties and is a part of the hierarchical structure of the product tree. The properties name
and category
are mandatory. In addition, the object contains either a branches
or a product
property.
+
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "name": {
+ // ...
+ },
+ "product": {
+ // ...
+ }
+ }
+
+
+ branches_t
supports building a hierarchical structure of products that allows to indicate the relationship of products to each other and enables grouping for simpler referencing. As an example, the structure MAY use the following levels: vendor
-> product_family
->
+ product_name
-> product_version
. It is recommended to use the hierarchical structure of vendor
-> product_name
-> product_version
whenever possible to support the identification and matching of products on the consumer side.
+
+
+
+ 3.1.2.1 Branches Type - Branches
+
+
+ List of branches (branches
) has the value type branches_t
.
+
+
+ 3.1.2.2 Branches Type - Category
+
+
+ Category of the branch (category
) of value type string
and enum
describes the characteristics of the labeled branch. Valid enum
values are:
+
+ architecture
+ host_name
+ language
+ legacy
+ patch_level
+ product_family
+ product_name
+ product_version
+ product_version_range
+ service_pack
+ specification
+ vendor
+
+ The value architecture
indicates the architecture for which the product is intended.
+
+
+ The value host_name
indicates the host name of a system/service.
+
+
+ The value language
indicates the language of the product.
+
+
+ The value legacy
indicates an entry that has reached its end of life.
+
+
+ The value patch_level
indicates the patch level of the product.
+
+
+ The value product_family
indicates the product family that the product falls into.
+
+
+ The value product_name
indicates the name of the product.
+
+
+ The value product_version
indicates exactly a single version of the product. The value of the adjacent name
property can be numeric or some other descriptor. However, it MUST NOT contain version ranges of any kind.
+
+
+
+ It is recommended to enumerate versions wherever possible. Nevertheless, the TC understands that this is sometimes impossible. To reflect that in the specification and aid in automatic processing of CSAF documents the value product_version_range
was introduced. See next section for details.
+
+
+
+ The value product_version_range
indicates a range of versions for the product. The value of the adjacent name
property SHOULD NOT be used to convey a single version.
+
+
+ The value service_pack
indicates the service pack of the product.
+
+
+ The value specification
indicates the specification such as a standard, best common practice, etc.
+
+
+ The value vendor
indicates the name of the vendor or manufacturer that makes the product.
+
+
+ 3.1.2.3 Branches Type - Name
+
+
+ Name of the branch (name
) of value type string
with 1 or more characters contains the canonical descriptor or 'friendly name' of the branch.
+
+
+ Examples 1:
+
+ 10
+ 365
+ Microsoft
+ Office
+ PCS 7
+ SIMATIC
+ Siemens
+ Windows
+
+ A leading v
or V
in the value of name
SHOULD only exist for the categories product_version
or product_version_range
if it is part of the product version as given by the vendor.
+
+
+ 3.1.2.3.1 Branches Type - Name under Product Version
+
+
+ If adjacent property category
has the value product_version
, the value of name
MUST NOT contain version ranges of any kind.
+
+
+ Examples 1 (for name
when using product_version
):
+
+ 10
+ 17.4
+ v3
+
+
+ The product_version
is the easiest way for users to determine whether their version is meant (provided that the given ancestors in the product tree matched): If both version strings are the same, it is a match - otherwise not. Therefore, it is always recommended to enumerate product versions instead of providing
+ version ranges.
+
+
+
+ Examples 2 (for name
when using product_version
which are invalid):
+
+ 8.0.0 - 8.0.1
+ 8.1.5 and later
+ <= 2
+ prior to 4.2
+ All versions < V3.0.29
+ V3.0, V4.0, V4.1, V4.2
+
+
+ All the examples above contain some kind of a version range and are therefore invalid under the category product_version
.
+
+
+
+ 3.1.2.3.2 Branches Type - Name under Product Version Range
+
+
+ If adjacent property category
has the value product_version_range
, the value of name
MUST contain version ranges. The value of MUST obey to exactly one of the following options:
+
+
+
+
+ Version Range Specifier (vers)
+
+
+
+ vers is an ongoing community effort to address the problem of version ranges. Its draft specification is available at [VERS ].
+
+
+
+ vers MUST be used in its canonical form. To convey the term "all versions" the special string vers:all/*
MUST be used.
+
+
+ Examples 1 (for name
when using product_version_range
with vers):
+
+ vers:gem/>=2.2.0|!= 2.2.1|<2.3.0
+ vers:npm/1.2.3|>=2.0.0|<5.0.0
+ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1
+ vers:tomee/>=8.0.0-M1|<=8.0.1
+
+
+ Through the definitions of the vers specification a user can compute whether a given version is in a given range.
+
+
+
+
+
+ Vers-like Specifier (vls)
+
+
+ This option uses only the <version-constraint>
part from the vers specification. It MUST NOT have an URI nor the <versioning-scheme>
part. It is a fallback option and SHOULD NOT be used unless really necessary.
+
+
+
+ The reason for that is, that it is nearly impossible for tools to reliable determine whether a given version is in the range or not.
+
+
+
+ Tools MAY support this on best effort basis.
+
+
+ Examples 2 (for name
when using product_version_range
with vls):
+
+ <=2
+ <4.2
+ <V3.0.29
+ >=8.1.5
+
+
+
+ 3.1.2.4 Branches Type - Product
+
+
+ Product (product
) has the value type Full Product Name (full_product_name_t
).
+
+
+ 3.1.3 Full Product Name Type
+
+
+ Full Product Name (full_product_name_t
) with value type object
specifies information about the product and assigns the product ID. The properties name
and product_id
are required. The property product_identification_helper
is optional.
+
+ "full_product_name_t": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "product_id": {
+ // ...
+ },
+ "product_identification_helper": {
+ // ...
+ }
+ }
+ },
+
+ 3.1.3.1 Full Product Name Type - Name
+
+
+ Textual description of the product (name
) has value type string
with 1 or more characters. The value SHOULD be the product's full canonical name, including version number and other attributes, as it would be used in a human-friendly document.
+
+
+ Examples 1:
+
+ Cisco AnyConnect Secure Mobility Client 2.3.185
+ Microsoft Host Integration Server 2006 Service Pack 1
+
+ 3.1.3.2 Full Product Name Type - Product ID
+
+
+ Product ID (product_id
) holds a value of type Product ID (product_id_t
).
+
+
+ 3.1.3.3 Full Product Name Type - Product Identification Helper
+
+
+ Helper to identify the product (product_identification_helper
) of value type object
provides in its properties at least one method which aids in identifying the product in an asset database. Of the given eight properties cpe
, hashes
, model_numbers
,
+ purl
, sbom_urls
, serial_numbers
, skus
, and x_generic_uris
, one is mandatory.
+
+ "product_identification_helper": {
+ // ...
+ "properties": {
+ "cpe": {
+ // ...
+ },
+ "hashes": {
+ // ...
+ },
+ "model_numbers": {
+ // ...
+ },
+ "purl": {
+ // ...
+ },
+ "sbom_urls": {
+ // ...
+ },
+ "serial_numbers": {
+ // ...
+ },
+ "skus": {
+ // ...
+ },
+ "x_generic_uris": {
+ // ...
+ }
+ }
+
+ 3.1.3.3.1 Full Product Name Type - Product Identification Helper - CPE
+
+
+ Common Platform Enumeration representation (cpe
) of value type string
of 5 or more characters with pattern
(regular expression):
+
+ ^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){4})|([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$
+
+ The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms external to this specification. See [CPE23-N] for details.
+
+
+ 3.1.3.3.2 Full Product Name Type - Product Identification Helper - Hashes
+
+
+ List of hashes (hashes
) of value type array
holding at least one item contains a list of cryptographic hashes usable to identify files.
+
+ "hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Cryptographic hashes of value type object
contains all information to identify a file based on its cryptographic hash values. Any cryptographic hashes object has the 2 mandatory properties file_hashes
and filename
.
+
+ "properties": {
+ "file_hashes": {
+ // ...
+ },
+ "filename": {
+ // ...
+ }
+ }
+
+ List of file hashes (file_hashes
) of value type array
holding at least one item contains a list of cryptographic hashes for this file.
+
+ "file_hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Each File hash of value type object
contains one hash value and algorithm of the file to be identified. Any File hash object has the 2 mandatory properties algorithm
and value
.
+
+ "properties": {
+ "algorithm": {
+ // ...
+ },
+ "value": {
+ // ...
+ }
+ }
+
+ The algorithm of the cryptographic hash representation (algorithm
) of value type string
with one or more characters contains the name of the cryptographic hash algorithm used to calculate the value. The default value for algorithm
is sha256
.
+
+
+ Examples 1:
+
+ blake2b512
+ sha256
+ sha3-512
+ sha384
+ sha512
+
+ These values are derived from the currently supported digests OpenSSL [OPENSSL ]. Leading dashes were removed.
+
+
+
+ The command openssl dgst -list
(Version 1.1.1f from 2020-03-31) outputs the following:
+
+ Supported digests:
+ -blake2b512 -blake2s256 -md4
+ -md5 -md5-sha1 -ripemd
+ -ripemd160 -rmd160 -sha1
+ -sha224 -sha256 -sha3-224
+ -sha3-256 -sha3-384 -sha3-512
+ -sha384 -sha512 -sha512-224
+ -sha512-256 -shake128 -shake256
+ -sm3 -ssl3-md5 -ssl3-sha1
+ -whirlpool
+
+
+ The Value of the cryptographic hash representation (value
) of value type string
of 32 or more characters with pattern
(regular expression):
+
+ ^[0-9a-fA-F]{32,}$
+
+ The Value of the cryptographic hash attribute contains the cryptographic hash value in hexadecimal representation.
+
+
+ Examples 2:
+
+ 37df33cb7464da5c7f077f4d56a32bc84987ec1d85b234537c1c1a4d4fc8d09dc29e2e762cb5203677bf849a2855a0283710f1f5fe1d6ce8d5ac85c645d0fcb3
+ 4775203615d9534a8bfca96a93dc8b461a489f69124a130d786b42204f3341cc
+ 9ea4c8200113d49d26505da0e02e2f49055dc078d1ad7a419b32e291c7afebbb84badfbd46dec42883bea0b2a1fa697c
+
+ The filename representation (filename
) of value type string
with one or more characters contains the name of the file which is identified by the hash values.
+
+
+ Examples 3:
+
+ WINWORD.EXE
+ msotadddin.dll
+ sudoers.so
+
+ If the value of the hash matches and the filename does not, a user SHOULD prefer the hash value. In such cases, the filename SHOULD be used as informational property.
+
+
+ 3.1.3.3.3 Full Product Name Type - Product Identification Helper - Model Numbers
+
+
+ The list of models (model_numbers
) of value type array
with 1 or more unique items contains a list of full or abbreviated (partial) model numbers.
+
+
+ A list of models SHOULD only be used if a certain range of model numbers with its corresponding software version is affected, or the model numbers change during update.
+
+
+ This can also be used to identify hardware. If necessary, the software, or any other related part, SHALL be bind to that via a product relationship.
+
+ "model_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+
+ Any given model number of value type string
with at least 1 character represents a full or abbreviated (partial) model number of the component to identify.
+
+
+
+ The terms "model", "model number" and "model variant" are mostly used synonymously. Often it is abbreviated as "MN", M/N" or "model no.".
+
+
+
+ If a part of a model number of the component to identify is given, it SHOULD begin with the first character of the model number and stop at any point. Characters which SHOULD NOT be matched MUST be replaced by either ?
(for a single character) or *
(for zero or more characters).
+ Two *
MUST NOT follow each other.
+
+
+ Examples 1:
+
+ 6RA8096-4MV62-0AA0
+ 6RA801?-??V62-0AA0
+ IC25T060ATCS05-0
+
+ 3.1.3.3.4 Full Product Name Type - Product Identification Helper - PURL
+
+
+ The package URL (PURL) representation (purl
) is a string
of 7 or more characters with pattern
(regular expression):
+
+ ^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+
+
+
+ The given pattern does not completely evaluate whether a PURL is valid according to the [PURL ] specification. It provides a more generic approach and general guidance to enable forward compatibility. CSAF uses only the canonical form of PURL to conform with section 3.3 of [RFC3986 ].
+ Therefore, URLs starting with pkg://
are considered invalid.
+
+
+
+ This package URL (PURL) attribute refers to a method for reliably identifying and locating software packages external to this specification. See [PURL ] for details.
+
+
+ 3.1.3.3.5 Full Product Name Type - Product Identification Helper - SBOM URLs
+
+
+ The list of SBOM URLs (sbom_urls
) of value type array
with 1 or more items contains a list of URLs where SBOMs for this product can be retrieved.
+
+
+
+ The SBOMs might differ in format or depth of detail. Currently supported formats are SPDX, CycloneDX, and SWID.
+
+
+ "sbom_urls": {
+ //...
+ "items": {
+ //...
+ }
+ },
+
+ Any given SBOM URL of value type string
with format uri
contains a URL of one SBOM for this product.
+
+
+ Examples 1:
+
+ https://raw.githubusercontent.com/CycloneDX/bom-examples/master/SBOM/keycloak-10.0.2/bom.json
+ https://swinslow.net/spdx-examples/example4/main-bin-v2
+
+ 3.1.3.3.6 Full Product Name Type - Product Identification Helper - Serial Numbers
+
+
+ The list of serial numbers (serial_numbers
) of value type array
with 1 or more unique items contains a list of full or abbreviated (partial) serial numbers.
+
+
+ A list of serial numbers SHOULD only be used if a certain range of serial numbers with its corresponding software version is affected, or the serial numbers change during update.
+
+ "serial_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+
+ Any given serial number of value type string
with at least 1 character represents a full or abbreviated (partial) serial number of the component to identify.
+
+
+ If a part of a serial number of the component to identify is given, it SHOULD begin with the first character of the serial number and stop at any point. Characters which SHOULD NOT be matched MUST be replaced by either ?
(for a single character) or *
(for zero or more characters).
+ Two *
MUST NOT follow each other.
+
+
+ 3.1.3.3.7 Full Product Name Type - Product Identification Helper - SKUs
+
+
+ The list of stock keeping units (skus
) of value type array
with 1 or more items contains a list of full or abbreviated (partial) stock keeping units.
+
+
+ A list of stock keeping units SHOULD only be used if the list of relationships is used to decouple e.g. hardware from the software, or the stock keeping units change during update. In the latter case the remediations SHALL include the new stock keeping units is or a description how it can be obtained.
+
+
+
+ The use of the list of relationships in the first case is important. Otherwise, the end user is unable to identify which version (the affected or the not affected / fixed one) is used.
+
+
+ "skus": {
+ //...
+ "items": {
+ //...
+ }
+ },
+
+ Any given stock keeping unit of value type string
with at least 1 character represents a full or abbreviated (partial) stock keeping unit (SKU) of the component to identify.
+
+
+
+ Sometimes this is also called "item number", "article number" or "product number".
+
+
+
+ If a part of a stock keeping unit of the component to identify is given, it SHOULD begin with the first character of the stock keeping unit and stop at any point. Characters which SHOULD NOT be matched MUST be replaced by either ?
(for a single character) or *
(for zero or more characters).
+ Two *
MUST NOT follow each other.
+
+
+ 3.1.3.3.8 Full Product Name Type - Product Identification Helper - Generic URIs
+
+
+ List of generic URIs (x_generic_uris
) of value type array
with at least 1 item contains a list of identifiers which are either vendor-specific or derived from a standard not yet supported.
+
+ "x_generic_uris": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+
+ Any such Generic URI item of value type object
provides the two mandatory properties Namespace (namespace
) and URI (uri
).
+
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "uri": {
+ // ...
+ }
+ }
+
+ The namespace of the generic URI (namespace
) of value type string
with format uri
refers to a URL which provides the name and knowledge about the specification used or is the namespace in which these values are valid.
+
+
+ The URI (uri
) of value type string
with format uri
contains the identifier itself.
+
+
+
+ These elements can be used to reference a specific component from an SBOM:
+
+
+
+ Example 1 (linking a component from a CycloneDX SBOM using the bomlink mechanism):
+
+ "x_generic_uris": [
+ {
+ "namespace": "https://cyclonedx.org/capabilities/bomlink/",
+ "uri": "urn:cdx:411dafd2-c29f-491a-97d7-e97de5bc2289/1#pkg:maven/org.jboss.logging/jboss-logging@3.4.1.Final?type=jar"
+ }
+ ]
+
+ Example 2 (linking a component from an SPDX SBOM):
+
+ "x_generic_uris": [
+ {
+ "namespace": "https://spdx.github.io/spdx-spec/document-creation-information/#65-spdx-document-namespace-field",
+ "uri": "https://swinslow.net/spdx-examples/example4/main-bin-v2#SPDXRef-libc"
+ }
+ ]
+
+ 3.1.4 Language Type
+
+
+ Language type (lang_t
) has value type string
with pattern
(regular expression):
+
+ ^(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3}){0,2})?|[A-Za-z]{4,8})(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-[A-WY-Za-wy-z0-9](-[A-Za-z0-9]{2,8})+)*(-[Xx](-[A-Za-z0-9]{1,8})+)?|[Xx](-[A-Za-z0-9]{1,8})+|[Ii]-[Dd][Ee][Ff][Aa][Uu][Ll][Tt]|[Ii]-[Mm][Ii][Nn][Gg][Oo])$
+
+ The value identifies a language, corresponding to IETF BCP 47 / RFC 5646. See IETF language registry: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
+
+
+
+ CSAF skips those grandfathered language tags that are deprecated at the time of writing the specification. Even though the private use language tags are supported they should not be used to ensure readability across the ecosystem. It is recommended to follow the conventions for the capitalization of the subtags even though it
+ is not mandatory as most users are used to that.
+
+
+
+ Examples 1:
+
+ de
+ en
+ fr
+ frc
+ jp
+
+ 3.1.5 Notes Type
+
+
+ List of notes (notes_t
) of value type array
with 1 or more items of type Note
contains notes which are specific to the current context.
+
+ "notes_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Value type of every such Note item is object
with the mandatory properties category
and text
providing a place to put all manner of text blobs related to the current context. A Note object
MAY provide the optional properties audience
and title
.
+
+ "properties": {
+ "audience": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "text": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+
+ Audience of note (audience
) of value type string
with 1 or more characters indicates who is intended to read it.
+
+
+ Examples 1:
+
+ all
+ executives
+ operational management and system administrators
+ safety engineers
+
+ Note category (category
) of value type string
and enum
contains the information of what kind of note this is. Valid enum
values are:
+
+ description
+ details
+ faq
+ general
+ legal_disclaimer
+ other
+ summary
+
+ The value description
indicates the note is a description of something. The optional sibling property title
MAY have more information in this case.
+
+
+ The value details
indicates the note is a low-level detailed discussion. The optional sibling property title
MAY have more information in this case.
+
+
+ The value faq
indicates the note is a list of frequently asked questions.
+
+
+ The value general
indicates the note is a general, high-level note. The optional sibling property title
MAY have more information in this case.
+
+
+ The value legal_disclaimer
indicates the note represents any possible legal discussion, including constraints, surrounding the document.
+
+
+ The value other
indicates the note is something that doesn’t fit the other categories. The optional sibling attribute title
SHOULD have more information to indicate clearly what kind of note to expect in this case.
+
+
+ The value summary
indicates the note is a summary of something. The optional sibling property title
MAY have more information in this case.
+
+
+ Note content (text
) of value type string
with 1 or more characters holds the content of the note. Content varies depending on type.
+
+
+ Title of note (title
) of value type string
with 1 or more characters provides a concise description of what is contained in the text of the note.
+
+
+ Examples 2:
+
+ Details
+ Executive summary
+ Technical summary
+ Impact on safety systems
+
+ 3.1.6 Product Group ID Type
+
+
+ The Product Group ID Type (product_group_id_t
) of value type string
with 1 or more characters is a reference token for product group instances. The value is a token required to identify a group of products so that it can be referred to from other parts in the document. There is no predefined or required
+ format for the Product Group ID (product_group_id
) as long as it uniquely identifies a product group in the context of the current document.
+
+ "product_group_id_t": {
+ // ...
+ },
+
+ Examples 1:
+
+ CSAFGID-0001
+ CSAFGID-0002
+ CSAFGID-0020
+
+
+ Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and the Product Group ID to support reading and parsing the document.
+
+
+
+ 3.1.7 Product Groups Type
+
+
+ List of Product Group ID (product_groups_t
) of value type array
with 1 or more unique items (a set
) of type Product Group ID (product_group_id_t
) specifies a list of product_group_ids
to give context to the parent item.
+
+ "product_groups_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ 3.1.8 Product ID Type
+
+
+ The Product ID Type (product_id_t
) of value type string
with 1 or more characters is a reference token for product instances. The value is a token required to identify a full_product_name
so that it can be referred to from other parts in the document. There is no predefined or required
+ format for the Product ID (product_id
) as long as it uniquely identifies a product in the context of the current document.
+
+ "product_id_t": {
+ // ...
+ },
+
+ Examples 1:
+
+ CSAFPID-0004
+ CSAFPID-0008
+
+
+ Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and the Product Group ID to support reading and parsing the document.
+
+
+
+ 3.1.9 Products Type
+
+
+ List of Product IDs (products_t
) of value type array
with 1 or more unique items (a set
) of type Product ID (product_id_t
) specifies a list of product_ids
to give context to the parent item.
+
+ "products_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ 3.1.10 References Type
+
+
+ List of references (references_t
) of value type array
with 1 or more items of type Reference holds a list of Reference objects.
+
+ "references_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Value type of every such Reference item is object
with the mandatory properties url
and summary
holding any reference to conferences, papers, advisories, and other resources that are related and considered related to either a surrounding part of or the entire document and to be of value to
+ the document consumer. A reference object
MAY provide the optional property category
.
+
+ "properties": {
+ "category": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+
+ Category of reference (category
) of value type string
and enum
indicates whether the reference points to the same document or vulnerability in focus (depending on scope) or to an external resource. Valid enum
values are:
+
+ external
+ self
+
+ The default value for category
is external
.
+
+
+ The value external
indicates, that this document is an external reference to a document or vulnerability in focus (depending on scope).
+
+
+ The value self
indicates, that this document is a reference to this same document or vulnerability (also depending on scope).
+
+
+
+ This includes links to documents with the same content but different file format (e.g. advisories as PDF or HTML).
+
+
+
+ Summary of the reference (summary
) of value type string
with 1 or more characters indicates what this reference refers to.
+
+
+ URL of reference (url
) of value type string
with format uri
provides the URL for the reference.
+
+
+ 3.1.11 Version Type
+
+
+ The Version (version_t
) type has value type string
with pattern
(regular expression):
+
+ ^(0|[1-9][0-9]*)$|^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+
+ The version specifies a version string to denote clearly the evolution of the content of the document. There are two options how it can be used:
+
+
+ semantic versioning (preferred; according to the rules below)
+
+ integer versioning
+
+
+
+ A CSAF document MUST use only one versioning system.
+
+
+ Examples 1:
+
+ 1
+ 4
+ 0.9.0
+ 1.4.3
+ 2.40.0+21AF26D3
+
+ 3.1.11.1 Version Type - Integer versioning
+
+
+ Integer versioning increments for each version where the /document/tracking/status
is final
the version number by one. The regular expression for this type is:
+
+ ^(0|[1-9][0-9]*)$
+
+ The following rules apply:
+
+
+ Once a versioned document has been released, the contents of that version MUST NOT be modified. Any modifications MUST be released as a new version.
+
+ Version zero (0) is for initial development before the initial_release_date
. The document status MUST be draft
. Anything MAY change at any time. The document SHOULD NOT be considered stable.
+
+ Version 1 defines the initial public release. Each new version where /document/tracking/status
is final
has a version number incremented by one.
+
+ Pre-release versions (document status draft
) MUST carry the new version number. Sole exception is before the initial release (see rule 2). The combination of document status draft
and version 1 MAY be used to indicate that the content is unlikely to change.
+
+ Build metadata is never included in the version.
+
+ Precedence MUST be calculate by integer comparison.
+
+
+
+ 3.1.11.2 Version Type - Semantic versioning
+
+
+ Semantic versioning derived the rules from [SemVer]. The regular expression for this type is:
+
+ ^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+
+ The goal of this structure is to provide additional information to the end user whether a new comparison with the asset database is needed. The "public API" in regards to CSAF is the CSAF document with its structure and content. This results in the following rules:
+
+
+
+
+ A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.
+
+
+
+
+ Once a versioned document has been released, the contents of that version MUST NOT be modified. Any modifications MUST be released as a new version.
+
+
+
+
+ Major version zero (0.y.z) is for initial development before the initial_release_date
. The document status MUST be draft
. Anything MAY change at any time. The document SHOULD NOT be considered stable. Changes which would increment the major version according to rule 7 are tracked in this stage with
+ (0.y.z) by incrementing the minor version y instead. Changes that would increment the minor or patch version according to rule 6 or 5 are both tracked in this stage with (0.y.z) by incrementing the patch version z instead.
+
+
+
+
+ Version 1.0.0 defines the initial public release. The way in which the version number is incremented after this release is dependent on the content and structure of the document and how it changes.
+
+
+
+
+ Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced. A bug fix is defined as an internal change that fixes incorrect behavior.
+
+
+
+ In the context of the document this is the case e.g. for spelling mistakes.
+
+
+
+
+
+ Minor version Y (x.Y.z | x > 0) MUST be incremented if the content of an existing element changes except for those which are covert through rule 7. It MUST be incremented if substantial new information are introduced or new elements are provided. It MAY include patch level changes. Patch version MUST be reset to 0 when
+ minor version is incremented.
+
+
+
+
+ Major version X (X.y.z | X > 0) MUST be incremented if a new comparison with the end user's asset database is required. This includes:
+
+
+ changes (adding, removing elements or modifying content) in /product_tree
or elements which contain /product_tree
in their path
+
+ adding or removing items of /vulnerabilities
+
+ adding or removing elements in:
+
+
+ /vulnerabilities[]/product_status/first_affected
+
+
+ /vulnerabilities[]/product_status/known_affected
+
+
+ /vulnerabilities[]/product_status/last_affected
+
+
+
+ removing elements from:
+
+
+ /vulnerabilities[]/product_status/first_fixed
+
+
+ /vulnerabilities[]/product_status/fixed
+
+
+ /vulnerabilities[]/product_status/known_not_affected
+
+
+
+
+
+ It MAY also include minor and patch level changes. Patch and minor version MUST be reset to 0 when major version is incremented.
+
+
+
+
+ A pre-release version (document status draft
) MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include
+ leading zeroes. Pre-release versions have a lower precedence than the associated normal version. A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version.
+
+
+ Examples 1:
+
+ 1.0.0-0.3.7
+1.0.0-alpha
+1.0.0-alpha.1
+1.0.0-x-y-z.–
+1.0.0-x.7.z.92
+
+
+
+ Pre-release MUST NOT be included if /document/tracking/status
is final
.
+
+
+
+
+ Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]. Identifiers MUST NOT be empty. Build metadata MUST be ignored when determining version
+ precedence. Thus two versions that differ only in the build metadata, have the same precedence.
+
+
+ Examples 2:
+
+ 1.0.0+20130313144700
+1.0.0+21AF26D3—-117B344092BD
+1.0.0-alpha+001
+1.0.0-beta+exp.sha.5114f85
+
+
+
+ Precedence refers to how versions are compared to each other when ordered.
+
+
+
+
+ Precedence MUST be calculated by separating the version into major, minor, patch and pre-release identifiers in that order (Build metadata does not figure into precedence).
+
+
+
+
+ Precedence is determined by the first difference when comparing each of these identifiers from left to right as follows: Major, minor, and patch versions are always compared numerically.
+
+
+ Example 3:
+
+ 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1
+
+
+
+ When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version:
+
+
+ Example 4:
+
+ 1.0.0-alpha < 1.0.0
+
+
+
+ Precedence for two pre-release versions with the same major, minor, and patch version MUST be determined by comparing each dot separated identifier from left to right until a difference is found as follows:
+
+
+ Identifiers consisting of only digits are compared numerically.
+
+ Identifiers with letters or hyphens are compared lexically in ASCII sort order.
+
+ Numeric identifiers always have lower precedence than non-numeric identifiers.
+
+ A larger set of pre-release fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal.
+
+
+
+ Example 5:
+
+ 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
+
+
+
+
+
+ 3.2 Properties
+
+
+ These final three subsections document the three properties of a CSAF document. The single mandatory property document
, as well as the optional properties product_tree
and vulnerabilities
in that order.
+
+
+ 3.2.1 Document Property
+
+
+ Document level meta-data (document
) of value type object
with the 5 mandatory properties Category (category
), CSAF Version (csaf_version
), Publisher (publisher
), Title (title
), and Tracking (tracking
) captures the meta-data about this
+ document describing a particular set of security advisories. In addition, the document
object MAY provide the 7 optional properties Acknowledgments (acknowledgments
), Aggregate Severity (aggregate_severity
), Distribution (distribution
), Language (lang
), Notes
+ (notes
), References (references
), and Source Language (source_lang
).
+
+ "document": {
+ // ...
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "aggregate_severity" : {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "csaf_version": {
+ // ...
+ },
+ "distribution": {
+ // ...
+ },
+ "lang": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "publisher": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "source_lang": {
+ // ...
+ },
+ "title": {
+ // ...
+ },
+ "tracking": {
+ // ...
+ }
+ }
+ },
+
+ 3.2.1.1 Document Property - Acknowledgments
+
+
+ Document acknowledgments (acknowledgments
) of value type Acknowledgments Type (acknowledgments_t
) contains a list of acknowledgment elements associated with the whole document.
+
+ "acknowledgments": {
+ // ...
+ },
+
+ 3.2.1.2 Document Property - Aggregate Severity
+
+
+ Aggregate severity (aggregate_severity
) of value type object
with the mandatory property text
and the optional property namespace
is a vehicle that is provided by the document producer to convey the urgency and criticality with which the one or more vulnerabilities reported
+ should be addressed. It is a document-level metric and applied to the document as a whole — not any specific vulnerability. The range of values in this field is defined according to the document producer's policies and procedures.
+
+ "aggregate_severity": {
+ // ...
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+ },
+
+ The Namespace of aggregate severity (namespace
) of value type string
with format uri
points to the namespace so referenced.
+
+
+ The Text of aggregate severity (text
) of value type string
with 1 or more characters provides a severity which is independent of - and in addition to - any other standard metric for determining the impact or severity of a given vulnerability (such as CVSS).
+
+
+ Examples 1:
+
+ Critical
+ Important
+ Moderate
+
+ 3.2.1.3 Document Property - Category
+
+
+ Document category (category
) with value type string
of 1 or more characters with pattern
(regular expression):
+
+ ^[^\\s\\-_\\.](.*[^\\s\\-_\\.])?$
+
+ Document category defines a short canonical name, chosen by the document producer, which will inform the end user as to the category of document.
+
+
+
+ It is directly related to the profiles defined in section 4 .
+
+
+ "category": {
+ // ...
+ }
+
+ Examples 1:
+
+ csaf_base
+ csaf_security_advisory
+ csaf_vex
+ Example Company Security Notice
+
+ 3.2.1.4 Document Property - CSAF Version
+
+
+ CSAF version (csaf_version
) of value type string
and enum
gives the version of the CSAF specification which the document was generated for. The single valid value for this enum
is:
+
+ 2.0
+
+ 3.2.1.5 Document Property - Distribution
+
+
+ Rules for sharing document (distribution
) of value type object
with at least 1 of the 2 properties Text (text
) and Traffic Light Protocol (TLP) (tlp
) describes any constraints on how this document might be shared.
+
+ "distribution": {
+ // ...
+ "properties": {
+ "text": {
+ // ...
+ },
+ "tlp": {
+ // ...
+ }
+ }
+ },
+
+ If both values are present, the TLP information SHOULD be preferred as this aids in automation.
+
+
+ 3.2.1.5.1 Document Property - Distribution - Text
+
+
+ The Textual description (text
) of value type string
with 1 or more characters provides a textual description of additional constraints.
+
+
+ Examples 1:
+
+ Copyright 2021, Example Company, All Rights Reserved.
+ Distribute freely.
+ Share only on a need-to-know-basis only.
+
+ 3.2.1.5.2 Document Property - Distribution - TLP
+
+
+ Traffic Light Protocol (TLP) (tlp
) of value type object
with the mandatory property Label (label
) and the optional property URL (url
) provides details about the TLP classification of the document.
+
+ "tlp": {
+ // ...
+ "properties": {
+ "label": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+ }
+
+ The Label of TLP (label
) with value type string
and enum
provides the TLP label of the document. Valid values of the enum
are:
+
+ AMBER
+ GREEN
+ RED
+ WHITE
+
+ The URL of TLP version (url
) with value type string
with format uri
provides a URL where to find he textual description of the TLP version which is used in this document. The default value is the URL to the definition by FIRST:
+
+ https://www.first.org/tlp/
+
+ Examples 1:
+
+ https://www.us-cert.gov/tlp
+ https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Kritis/Merkblatt_TLP.pdf
+
+ 3.2.1.6 Document Property - Language
+
+
+ Document language (lang
) of value type Language Type (lang_t
) identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
+
+
+ 3.2.1.7 Document Property - Notes
+
+
+ Document notes (notes
) of value type Notes Type (notes_t
) holds notes associated with the whole document.
+
+ "notes": {
+ // ...
+ },
+
+ 3.2.1.8 Document Property - Publisher
+
+
+ Publisher (publisher
) has value type object
with the mandatory properties Category (category
), Name (name
) and Namespace (namespace
) and provides information on the publishing entity. The 2 other optional properties are: contact_details
and
+ issuing_authority
.
+
+ "publisher": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ },
+ "contact_details": {
+ // ...
+ },
+ "issuing_authority": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ "namespace": {
+ // ...
+ }
+ }
+ },
+
+ 3.2.1.8.1 Document Property - Publisher - Category
+
+
+ The Category of publisher (category
) of value type string
and enum
provides information about the category of publisher releasing the document. The valid values are:
+
+ coordinator
+ discoverer
+ other
+ translator
+ user
+ vendor
+
+ The value coordinator
indicates individuals or organizations that manage a single vendor’s response or multiple vendors’ responses to a vulnerability, a security flaw, or an incident. This includes all Computer Emergency/Incident Response Teams (CERTs/CIRTs) or agents acting on the behalf of a researcher.
+
+
+ The value discoverer
indicates individuals or organizations that find vulnerabilities or security weaknesses. This includes all manner of researchers.
+
+
+ The value translator
indicates individuals or organizations that translate CSAF documents. This includes all manner of language translators, also those who work for the party issuing the original advisory.
+
+
+ The value other
indicates a catchall for everyone else. Currently this includes editors, reviewers, forwarders, republishers, and miscellaneous contributors.
+
+
+ The value user
indicates anyone using a vendor’s product.
+
+
+ The value vendor
indicates developers or maintainers of information system products or services. This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and product resellers and distributors, including authoritative vendor partners.
+
+
+
+ Contact details (contact_details
) of value type string
with 1 or more characters provides information on how to contact the publisher, possibly including details such as web sites, email addresses, phone numbers, and postal mail addresses.
+
+
+ Example 1:
+
+ Example Company can be reached at contact_us@example.com, or via our website at https://www.example.com/contact.
+
+ 3.2.1.8.3 Document Property - Publisher - Issuing Authority
+
+
+ Issuing authority (issuing_authority
) of value type string
with 1 or more characters Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.
+
+
+ 3.2.1.8.4 Document Property - Publisher - Name
+
+
+ The Name of publisher (name
) of value type string
with 1 or more characters contains the name of the issuing party.
+
+
+ Example 1:
+
+ BSI
+ Cisco PSIRT
+ Siemens ProductCERT
+
+ 3.2.1.8.5 Document Property - Publisher - Namespace
+
+
+ The Namespace of publisher (namespace
) of value type string
with format uri
contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. The URL SHALL be normalized.
+
+
+ An issuing party can choose any URL which fulfills the requirements state above. The URL MAY be dereferenceable. If an issuing party has chosen a URL, it SHOULD NOT change. Tools can make use of the combination of /document/publisher/namespace
and /document/tracking/id
as it identifies a CSAF document
+ globally unique.
+
+
+ If an issuing party decides to change its Namespace it SHOULD reissue all CSAF documents with an incremented (patch) version which has no other changes than:
+
+
+ the new publisher information
+
+ the updated revision history
+
+ the updated item in /document/references[]
which points to the new version of the CSAF document
+
+ an added item in /document/references[]
which points to the previous version of the CSAF document (if the URL changed)
+
+
+
+ Examples 1:
+
+ https://csaf.io
+ https://www.example.com
+
+ 3.2.1.9 Document Property - References
+
+
+ Document references (references
) of value type References Type (references_t
) holds a list of references associated with the whole document.
+
+ "references": {
+ // ...
+ },
+
+ 3.2.1.10 Document Property - Source Language
+
+
+ Source language (source_lang
) of value type Language Type (lang_t
) identifies if this copy of the document is a translation then the value of this property describes from which language this document was translated.
+
+
+ The property MUST be present and set for any CSAF document with the value translator
in /document/publisher/category
. The property SHALL NOT be present if the document was not translated.
+
+
+
+ If an issuing party publishes a CSAF document with the same content in more than one language, one of these documents SHOULD be deemed the "original", the other ones SHOULD be considered translations from the "original". The issuing party can retain its original publisher information including the category
.
+ However, other rules defined in the conformance clause "CSAF translator" SHOULD be applied.
+
+
+
+ 3.2.1.11 Document Property - Title
+
+
+ Title of this document (title
) of value type string
with 1 or more characters SHOULD be a canonical name for the document, and sufficiently unique to distinguish it from similar documents.
+
+
+ Examples 1:
+
+ Cisco IPv6 Crafted Packet Denial of Service Vulnerability
+ Example Company Cross-Site-Scripting Vulnerability in Example Generator
+
+ 3.2.1.12 Document Property - Tracking
+
+
+ Tracking (tracking
) of value type object
with the six mandatory properties: Current Release Date (current_release_date
), Identifier (id
), Initial Release Date (initial_release_date
), Revision History (revision_history
), Status (status
),
+ and Version (version
) is a container designated to hold all management attributes necessary to track a CSAF document as a whole. The two optional additional properties are Aliases (aliases
) and Generator (generator
).
+
+ "tracking": {
+ // ...
+ "properties": {
+ "aliases": {
+ // ...
+ },
+ "current_release_date": {
+ // ...
+ },
+ "generator": {
+ // ...
+ },
+ "id": {
+ // ...
+ },
+ "initial_release_date": {
+ // ...
+ },
+ "revision_history": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+
+ 3.2.1.12.1 Document Property - Tracking - Aliases
+
+
+ Aliases (aliases
) of value type array
with 1 or more unique items (a set
) representing Alternate Names contains a list of alternate names for the same document.
+
+ "aliases": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every such Alternate Name of value type string
with 1 or more characters specifies a non-empty string that represents a distinct optional alternative ID used to refer to the document.
+
+
+ Example 1:
+
+ CVE-2019-12345
+
+ 3.2.1.12.2 Document Property - Tracking - Current Release Date
+
+
+ Current release date (current_release_date
) with value type string
with format date-time
holds the date when the current revision of this document was released.
+
+
+ 3.2.1.12.3 Document Property - Tracking - Generator
+
+
+ Document Generator (generator
) of value type object
with mandatory property Engine (engine
) and optional property Date (date
) is a container to hold all elements related to the generation of the document. These items will reference when the document was actually created,
+ including the date it was generated and the entity that generated it.
+
+ "generator": {
+ // ...
+ "properties": {
+ "date": {
+ // ...
+ },
+ "engine": {
+ // ...
+ }
+ }
+ },
+
+ Date of document generation (date
) of value type string
with format date-time
SHOULD be the current date that the document was generated. Because documents are often generated internally by a document producer and exist for a nonzero amount of time before being released, this field MAY be
+ different from the Initial Release Date and Current Release Date.
+
+
+ Engine of document generation (engine
) of value type object
with mandatory property Engine name (name
) and optional property Engine version (version
) contains information about the engine that generated the CSAF document.
+
+ "engine": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+
+ Engine name (name
) of value type string
with 1 or more characters represents the name of the engine that generated the CSAF document.
+
+
+ Examples 1:
+
+ Red Hat rhsa-to-cvrf
+ Secvisogram
+ TVCE
+
+ Engine version (version
) of value type string
with 1 or more characters contains the version of the engine that generated the CSAF document.
+
+
+
+ Although it is not formally required, the TC suggests to use a versioning which is compatible with Semantic Versioning as described in the external specification [SemVer]. This could help the end user to identify when CSAF consumers have to be updated.
+
+
+
+ Examples 2:
+
+ 0.6.0
+ 1.0.0-beta+exp.sha.a1c44f85
+ 2
+
+ 3.2.1.12.4 Document Property - Tracking - ID
+
+
+ Unique identifier for the document (id
) of value type string
with 1 or more characters with pattern
(regular expression):
+
+ ^[\\S](.*[\\S])?$
+
+ Unique identifier for the document holds the Identifier.
+
+
+
+ It SHALL NOT start or end with a white space and SHALL NOT contain a line break.
+
+
+
+ The ID is a simple label that provides for a wide range of numbering values, types, and schemes. Its value SHOULD be assigned and maintained by the original document issuing authority. It MUST be unique for that organization.
+
+
+ Examples 1:
+
+ Example Company - 2019-YH3234
+ RHBA-2019:0024
+ cisco-sa-20190513-secureboot
+
+
+ The combination of /document/publisher/namespace
and /document/tracking/id
identifies a CSAF document globally unique.
+
+
+
+ This value is also used to determine the filename for the CSAF document (cf. section 5.1 ).
+
+
+ 3.2.1.12.5 Document Property - Tracking - Initial Release Date
+
+
+ Initial release date (initial_release_date
) with value type string
with format date-time
holds the date when this document was first published.
+
+
+ 3.2.1.12.6 Document Property - Tracking - Revision History
+
+
+ The Revision History (revision_history
) with value type array
of 1 or more Revision History Entries holds one revision item for each version of the CSAF document, including the initial one.
+
+ "revision_history": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Each Revision contains all the information elements required to track the evolution of a CSAF document. Revision History Entry items are of value type object
with the three mandatory properties: Date (date
), Number (number
), and Summary (summary
). In addition, a Revision MAY
+ expose the optional property legacy_version
.
+
+ "properties": {
+ "date": {
+ // ...
+ },
+ "legacy_version": {
+ // ...
+ },
+ "number": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+
+ The Date of the revision (date
) of value type string
with format date-time
states the date of the revision entry.
+
+
+ Legacy version of the revision (legacy_version
) of value type string
with 1 or more characters contains the version string used in an existing document with the same content.
+
+
+
+ This SHOULD be used to aid in the mapping between existing (human-readable) documents which might use a different version scheme and CSAF documents with the same content. It is recommended, to use the CSAF revision number to describe the revision history for any new human-readable equivalent.
+
+
+
+ The Number (number
) has value type Version (version_t
).
+
+
+ The Summary of the revision (summary
) of value type string
with 1 or more characters holds a single non-empty string representing a short description of the changes.
+
+
+ Each Revision item which has a number
of 0
or 0.y.z
MUST be removed from the document if the document status is final
. Versions of the document which are pre-release SHALL NOT have its own revision item. All changes MUST be tracked in the item for the next release version.
+ Build metadata SHOULD NOT be included in the number
of any revision item.
+
+
+ 3.2.1.12.7 Document Property - Tracking - Status
+
+
+ Document status (status
) of value type string
and enum
defines the draft status of the document. The value MUST be one of the following:
+
+ draft
+ final
+ interim
+
+ The value draft
indicates, that this is a pre-release, intended for issuing party's internal use only, or possibly used externally when the party is seeking feedback or indicating its intentions regarding a specific issue.
+
+
+ The value final
indicates, that the issuing party asserts the content is unlikely to change. “Final” status is an indication only, and does not preclude updates. This SHOULD be used if the issuing party expects no, slow or few changes.
+
+
+ The value interim
indicates, that the issuing party expects rapid updates. This SHOULD be used if the expected rate of release for this document is significant higher than for other documents. Once the rate slows down it MUST be changed to final
. This MAY be done in a patch version.
+
+
+
+ This is extremely useful for downstream vendors to constantly inform the end users about ongoing investigation. It can be used as an indication to pull the CSAF document more frequently.
+
+
+
+ 3.2.1.12.8 Document Property - Tracking - Version
+
+
+ Version has the value type Version (version_t
).
+
+
+ 3.2.2 Product Tree Property
+
+
+ Product Tree (product_tree
) has value type object
with 1 or more properties is a container for all fully qualified product names that can be referenced elsewhere in the document. The properties are Branches (branches
), Full Product Names (full_product_names
), Product Groups
+ (product_groups
), and Relationships (relationships
).
+
+ "product_tree": {
+ // ...
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "full_product_names": {
+ // ...
+ },
+ "product_groups": {
+ // ...
+ },
+ "relationships": {
+ // ...
+ }
+ }
+ },
+
+ 3.2.2.1 Product Tree Property - Branches
+
+
+ List of branches (branches
) has the value type branches_t
.
+
+
+ 3.2.2.2 Product Tree Property - Full Product Names
+
+
+ List of full product names (full_product_names
) of value type array
with 1 or more items of type full_product_name_t
contains a list of full product names.
+
+
+ 3.2.2.3 Product Tree Property - Product Groups
+
+
+ List of product groups (product_groups
) of value type array
with 1 or more items of value type object
contains a list of product groups.
+
+ "product_groups": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ The product group items are of value type object
with the 2 mandatory properties Group ID (group_id
) and Product IDs (product_ids
) and the optional Summary (summary
) property.
+
+ "properties": {
+ "group_id": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+
+ The summary of the product group (summary
) of value type string
with 1 or more characters gives a short, optional description of the group.
+
+
+ Examples 1:
+
+ Products supporting Modbus.
+ The x64 versions of the operating system.
+
+ Group ID (group_id
) has value type Product Group ID (product_group_id_t
).
+
+
+ List of Product IDs (product_ids
) of value type array
with 2 or more unique items of value type Product ID (product_id_t
) lists the product_ids of those products which known as one group in the document.
+
+
+ 3.2.2.4 Product Tree Property - Relationships
+
+
+ List of relationships (relationships
) of value type array
with 1 or more items contains a list of relationships.
+
+ "relationships": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+
+ The Relationship item is of value type object
and has four mandatory properties: Relationship category (category
), Full Product Name (full_product_name
), Product Reference (product_reference
), and Relates to Product Reference (relates_to_product_reference
). The
+ Relationship item establishes a link between two existing full_product_name_t
elements, allowing the document producer to define a combination of two products that form a new full_product_name
entry.
+
+ "properties": {
+ "category": {
+ // ...
+ },
+ "full_product_name": {
+ // ...
+ },
+ "product_reference": {
+ // ...
+ },
+ "relates_to_product_reference": {
+ // ...
+ }
+ }
+
+
+ The situation where a need for declaring a Relationship arises, is given when a product is e.g. vulnerable only when installed together with another, or to describe operating system components.
+
+
+
+ Relationship category (category
) of value type string
and enum
defines the category of relationship for the referenced component. The valid values are:
+
+ default_component_of
+ external_component_of
+ installed_on
+ installed_with
+ optional_component_of
+
+ The value default_component_of
indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is a default component of an entity with another Product ID (e.g. CSAFPID-0002). These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+
+ The value external_component_of
indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an external component of an entity with another Product ID (e.g. CSAFPID-0002). These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+
+ The value installed_on
indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed on a platform entity with another Product ID (e.g. CSAFPID-0002). These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+
+ The value installed_with
indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed alongside an entity with another Product ID (e.g. CSAFPID-0002). These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+
+ The value optional_component_of
indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an optional component of an entity with another Product ID (e.g. CSAFPID-0002). These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+
+ Full Product Name (full_product_name
) of value type Full Product Name Type (full_product_name_t
).
+
+
+ Product Reference (product_reference
) of value type Product ID (product_id_t
) holds a Product ID that refers to the Full Product Name element, which is referenced as the first element of the relationship.
+
+
+ Relates to Product Reference (relates_to_product_reference
) of value type Product ID (product_id_t
) holds a Product ID that refers to the Full Product Name element, which is referenced as the second element of the relationship.
+
+
+ Examples 1:
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-908070601",
+ "name": "Cisco AnyConnect Secure Mobility Client 4.9.04053"
+ },
+ {
+ "product_id": "CSAFPID-908070602",
+ "name": "Microsoft Windows"
+ }
+ ],
+ "relationships": [
+ {
+ "product_reference": "CSAFPID-908070601",
+ "category": "installed_on",
+ "relates_to_product_reference": "CSAFPID-908070602",
+ "full_product_name": {
+ "product_id": "CSAFPID-908070603",
+ "name": "Cisco AnyConnect Secure Mobility Client 2.3.185 installed on Microsoft Windows"
+ }
+ }
+ ]
+ }
+
+
+ The product Cisco AnyConnect Secure Mobility Client 4.9.04053"
(Product ID: CSAFPID-908070601
) and the product Microsoft Windows
(Product ID: CSAFPID-908070602
) form together a new product with the separate Product ID CSAFPID-908070603
. The latter one can be used
+ to refer to that combination in other parts of the CSAF document. In example 34, it might be the case that Cisco AnyConnect Secure Mobility Client 4.9.04053"
is only vulnerable when installed on Microsoft Windows
.
+
+
+
+ 3.2.3 Vulnerabilities Property
+
+
+ Vulnerabilities (vulnerabilities
) of value type array
with 1 or more objects representing vulnerabilities and providing 1 or more properties represents a list of all relevant vulnerability information items.
+
+ "vulnerabilities": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+
+ The Vulnerability item of value type object
with 1 or more properties is a container for the aggregation of all fields that are related to a single vulnerability in the document. Any vulnerability MAY provide the optional properties Acknowledgments (acknowledgments
), Common Vulnerabilities and Exposures
+ (CVE) (cve
), Common Weakness Enumeration (CWE) (cwe
), Discovery Date (discovery_date
), Flags (flags
), IDs (ids
), Involvements (involvements
), Notes (notes
), Product Status (product_status
), References
+ (references
), Release Date (release_date
), Remediations (remediations
), Scores (scores
), Threats (threats
), and Title (title
).
+
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "cve": {
+ // ...
+ },
+ "cwe": {
+ // ...
+ },
+ "discovery_date": {
+ // ...
+ },
+ "flags": {
+ // ...
+ },
+ "ids": {
+ // ...
+ },
+ "involvements": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "product_status": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "release_date": {
+ // ...
+ },
+ "remediations": {
+ // ...
+ },
+ "scores": {
+ // ...
+ },
+ "threats": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+
+ 3.2.3.1 Vulnerabilities Property - Acknowledgments
+
+
+ Vulnerability acknowledgments (acknowledgments
) of value type Acknowledgments Type (acknowledgments_t
) contains a list of acknowledgment elements associated with this vulnerability item.
+
+ "acknowledgments": {
+ // ...
+ },
+
+ 3.2.3.2 Vulnerabilities Property - CVE
+
+
+ CVE (cve
) of value type string
with pattern
(regular expression):
+
+ ^CVE-[0-9]{4}-[0-9]{4,}$
+
+ holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
+
+
+ 3.2.3.3 Vulnerabilities Property - CWE
+
+
+ CWE (cwe
) of value type object
with the 2 mandatory properties Weakness ID (id
) and Weakness Name (name
) holds the MITRE standard Common Weakness Enumeration (CWE) for the weakness associated. For more information cf. [CWE ].
+
+ "cwe": {
+ // ...
+ "properties": {
+ "id": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ }
+ },
+
+ The Weakness ID (id
) has value type string
with pattern
(regular expression):
+
+ ^CWE-[1-9]\\d{0,5}$
+
+ and holds the ID for the weakness associated.
+
+
+ Examples 1:
+
+ CWE-22
+ CWE-352
+ CWE-79
+
+ The Weakness name (name
) has value type string
with 1 or more characters and holds the full name of the weakness as given in the CWE specification.
+
+
+ Examples 2:
+
+ Cross-Site Request Forgery (CSRF)
+ Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
+ Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
+
+ 3.2.3.4 Vulnerabilities Property - Discovery Date
+
+
+ Discovery date (discovery_date
) of value type string
with format date-time
holds the date and time the vulnerability was originally discovered.
+
+
+ 3.2.3.5 Vulnerabilities Property - Flags
+
+
+ List of flags (flags
) of value type array
with 1 or more unique items (a set) of value type object
contains a list of machine readable flags.
+
+ "flags": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every Flag item of value type object
with the mandatory property Label (label
) contains product specific information in regard to this vulnerability as a single machine readable flag. For example, this could be a machine readable justification code why a product is not affected. At least one of the
+ optional elements Group IDs (group_ids
) and Product IDs (product_ids
) MUST be present to state for which products or product groups this flag is applicable.
+
+
+
+ These flags enable the receiving party to automate the selection of actions to take.
+
+
+
+ In addition, any Flag item MAY provide the three optional properties Date (date
), Group IDs (group_ids
) and Product IDs (product_ids
).
+
+ "properties": {
+ "date": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "label": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+
+ Date of the flag (date
) of value type string
with format date-time
contains the date when assessment was done or the flag was assigned.
+
+
+ Group IDs (group_ids
) are of value type Product Groups (product_groups_t
) and contain a list of Product Groups the current flag item applies to.
+
+
+ Label of the flag (label
) of value type string
and enum
specifies the machine readable label. Valid enum
values are:
+
+ component_not_present
+ inline_mitigations_already_exist
+ vulnerable_code_cannot_be_controlled_by_adversary
+ vulnerable_code_not_in_execute_path
+ vulnerable_code_not_present
+
+ The given values reflect the VEX not affected justifications. See [VEX-Justification] for more details. The values MUST be used as follows:
+
+
+
+ component_not_present
: The software is not affected because the vulnerable component is not in the product.
+
+
+ vulnerable_code_not_present
: The product is not affected because the code underlying the vulnerability is not present in the product.
+
+
+ Unlike component_not_present
, the component in question is present, but for whatever reason (e.g. compiler options) the specific code causing the vulnerability is not present in the component.
+
+
+
+
+ vulnerable_code_cannot_be_controlled_by_adversary
: The vulnerable component is present, and the component contains the vulnerable code. However, vulnerable code is used in such a way that an attacker cannot mount any anticipated attack.
+
+
+ vulnerable_code_not_in_execute_path
: The affected code is not reachable through the execution of the code, including non-anticipated states of the product.
+
+
+ Components that are neither used nor executed by the product.
+
+
+
+
+ inline_mitigations_already_exist
: Built-in inline controls or mitigations prevent an adversary from leveraging the vulnerability.
+
+
+
+ Product IDs (product_ids
) are of value type Products (products_t
) and contain a list of Products the current flag item applies to.
+
+
+ 3.2.3.6 Vulnerabilities Property - IDs
+
+
+ List of IDs (ids
) of value type array
with one or more unique ID items of value type object
represents a list of unique labels or tracking IDs for the vulnerability (if such information exists).
+
+ "ids": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every ID item of value type object
with the two mandatory properties System Name (system_name
) and Text (text
) contains a single unique label or tracking ID for the vulnerability.
+
+ "properties": {
+ "system_name": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+
+ System name (system_name
) of value type string
with 1 or more characters indicates the name of the vulnerability tracking or numbering system.
+
+
+ Examples 1:
+
+ Cisco Bug ID
+ GitHub Issue
+
+ Text (text
) of value type string
with 1 or more characters is unique label or tracking ID for the vulnerability (if such information exists).
+
+
+ Examples 2:
+
+ CSCso66472
+ oasis-tcs/csaf#210
+
+
+ General examples may include an identifier from a vulnerability tracking system that is available to customers, such as:
+
+
+ a Cisco bug ID,
+
+ a GitHub Issue number,
+
+ an ID from a Bugzilla system, or
+
+ an ID from a public vulnerability database such as the X-Force Database.
+
+
+
+ The ID MAY be a vendor-specific value but is not to be used to publish the CVE tracking numbers (MITRE standard Common Vulnerabilities and Exposures), as these are specified inside the dedicated CVE element.
+
+
+
+ 3.2.3.7 Vulnerabilities Property - Involvements
+
+
+ List of involvements (involvements
) of value type array
with 1 or more items of value type object
contains a list of involvements.
+
+ "involvements": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every Involvement item of value type object
with the 2 mandatory properties Party (party
), Status (status
) and the 2 optional properties Date of involvement (date
) and Summary (summary
) is a container that allows the document producers to comment on the level of
+ involvement (or engagement) of themselves (or third parties) in the vulnerability identification, scoping, and remediation process. It can also be used to convey the disclosure timeline. The ordered tuple of the values of party
and date
(if present) SHALL be unique within involvements
.
+
+ "properties": {
+ "date": {
+ // ...
+ },
+ "party": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ }
+
+ Date of involvement (date
) of value type string
with format date-time
holds the date and time of the involvement entry.
+
+
+ Party category (party
) of value type string
and enum
defines the category of the involved party. Valid values are:
+
+ coordinator
+ discoverer
+ other
+ user
+ vendor
+
+ These values follow the same definitions as given for the publisher category (cf. section 3.2.1.8.1 ).
+
+
+ Party status (status
) of value type string
and enum
defines contact status of the involved party. Valid values are:
+
+ completed
+ contact_attempted
+ disputed
+ in_progress
+ not_contacted
+ open
+
+ Each status is mutually exclusive - only one status is valid for a particular vulnerability at a particular time. As the vulnerability ages, a party's involvement could move from state to state. However, in many cases, a document producer may choose not to issue CSAF documents at each state, or simply omit this element
+ altogether. It is recommended, however, that vendors that issue CSAF documents indicating an open or in-progress involvement SHOULD eventually expect to issue a document containing one of the statuses disputed
or completed
as the latest one.
+
+
+
+ The two vulnerability involvement status states, contact_attempted
and not_contacted
are intended for use by document producers other than vendors (such as research or coordinating entities).
+
+
+
+ The value completed
indicates that the party asserts that investigation of the vulnerability is complete. No additional information, fixes, or documentation from the party about the vulnerability should be expected to be released.
+
+
+ The value contact_attempted
indicates that the document producer attempted to contact the party.
+
+
+ The value disputed
indicates that the party disputes the vulnerability report in its entirety. This status SHOULD be used when the party believes that a vulnerability report regarding a product is completely inaccurate (that there is no real underlying security vulnerability) or that the technical issue being
+ reported has no security implications.
+
+
+ The value in_progress
indicates that some hotfixes, permanent fixes, mitigations, workarounds, or patches may have been made available by the party, but more information or fixes may be released in the future. The use of this status by a vendor indicates that future information from the vendor about the
+ vulnerability is to be expected.
+
+
+ The value not_contacted
indicates that the document producer has not attempted to make contact with the party.
+
+
+ The value open
is the default status. It doesn’t indicate anything about the vulnerability remediation effort other than the fact that the party has acknowledged awareness of the vulnerability report. The use of this status by a vendor indicates that future updates from the vendor about the vulnerability are to be
+ expected.
+
+
+ Summary of involvement (summary
) of value type string
with 1 or more characters contains additional context regarding what is going on.
+
+
+ 3.2.3.8 Vulnerabilities Property - Notes
+
+
+ Vulnerability notes (notes
) of value type Notes Type (notes_t
) holds notes associated with this vulnerability item.
+
+ "notes": {
+ // ...
+ },
+
+ 3.2.3.9 Vulnerabilities Property - Product Status
+
+
+ Product status (product_status
) of value type object
with 1 or more properties contains different lists of product_ids
which provide details on the status of the referenced product related to the current vulnerability. The eight defined properties are First affected
+ (first_affected
), First fixed (first_fixed
), Fixed (fixed
), Known affected (known_affected
), Known not affected (known_not_affected
), Last affected (last_affected
), Recommended (recommended
), and Under investigation
+ (under_investigation
) are all of value type Products (products_t
).
+
+ "product_status": {
+ // ...
+ "properties": {
+ "first_affected": {
+ // ...
+ },
+ "first_fixed": {
+ // ...
+ },
+ "fixed": {
+ // ...
+ },
+ "known_affected": {
+ // ...
+ },
+ "known_not_affected": {
+ // ...
+ },
+ "last_affected": {
+ // ...
+ },
+ "recommended": {
+ // ...
+ },
+ "under_investigation": {
+ // ..
+ }
+ }
+ },
+
+ First affected (first_affected
) of value type Products (products_t
) represents that these are the first versions of the releases known to be affected by the vulnerability.
+
+
+ First fixed (first_fixed
) of value type Products (products_t
) represents that these versions contain the first fix for the vulnerability but may not be the recommended fixed versions.
+
+
+ Fixed (fixed
) of value type Products (products_t
) represents that these versions contain a fix for the vulnerability but may not be the recommended fixed versions.
+
+
+ Known affected (known_affected
) of value type Products (products_t
) represents that these versions are known to be affected by the vulnerability. Actions are recommended to remediate or address this vulnerability.
+
+
+
+ This could include for instance learning more about the vulnerability and context, and/or making a risk-based decision to patch or apply defense-in-depth measures. See /vulnerabilities[]/remediations
, /vulnerabilities[]/notes
and /vulnerabilities[]/threats
for more details.
+
+
+
+ Known not affected (known_not_affected
) of value type Products (products_t
) represents that these versions are known not to be affected by the vulnerability. No remediation is required regarding this vulnerability.
+
+
+
+ This could for instance be because the code referenced in the vulnerability is not present, not exposed, compensating controls exist, or other factors. See /vulnerabilities[]/threats
in category impact
for more details.
+
+
+
+ Last affected (last_affected
) of value type Products (products_t
) represents that these are the last versions in a release train known to be affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.
+
+
+ Recommended (recommended
) of value type Products (products_t
) represents that these versions have a fix for the vulnerability and are the vendor-recommended versions for fixing the vulnerability.
+
+
+ Under investigation (under_investigation
) of value type Products (products_t
) represents that it is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation - the result will be provided in a later release of the document.
+
+
+ 3.2.3.10 Vulnerabilities Property - References
+
+
+ Vulnerability references (references
) of value type References Type (references_t
) holds a list of references associated with this vulnerability item.
+
+ "references": {
+ // ...
+ },
+
+ 3.2.3.11 Vulnerabilities Property - Release Date
+
+
+ Release date (release_date
) with value type string
of format date-time
holds the date and time the vulnerability was originally released into the wild.
+
+
+
+ List of remediations (remediations
) of value type array
with 1 or more Remediation items of value type object
contains a list of remediations.
+
+ "remediations": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every Remediation item of value type object
with the 2 mandatory properties Category (category
) and Details (details
) specifies details on how to handle (and presumably, fix) a vulnerability. At least one of the optional elements Group IDs (group_ids
) and Product IDs
+ (product_ids
) MUST be present to state for which products or product groups this remediation is applicable.
+
+
+ In addition, any Remediation MAY expose the six optional properties Date (date
), Entitlements (entitlements
), Group IDs (group_ids
), Product IDs (product_ids
), Restart required (restart_required
), and URL (url
).
+
+ "properties": {
+ "category": {
+ // ...
+ },
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "entitlements": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "restart_required": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+
+
+ Category of the remediation (category
) of value type string
and enum
specifies the category which this remediation belongs to. Valid values are:
+
+ mitigation
+ no_fix_planned
+ none_available
+ vendor_fix
+ workaround
+
+ The value workaround
indicates that the remediation contains information about a configuration or specific deployment scenario that can be used to avoid exposure to the vulnerability. There MAY be none, one, or more workarounds available. This is typically the “first line of defense” against a new vulnerability
+ before a mitigation or vendor fix has been issued or even discovered.
+
+
+ The value mitigation
indicates that the remediation contains information about a configuration or deployment scenario that helps to reduce the risk of the vulnerability but that does not resolve the vulnerability on the affected product. Mitigations MAY include using devices or access controls external to the
+ affected product. Mitigations MAY or MAY NOT be issued by the original author of the affected product, and they MAY or MAY NOT be officially sanctioned by the document producer.
+
+
+ The value vendor_fix
indicates that the remediation contains information about an official fix that is issued by the original author of the affected product. Unless otherwise noted, it is assumed that this fix fully resolves the vulnerability. This value contradicts with the categories none_available
+ and no_fix_planned
for the same product. Therefore, such a combination can't be used in the list of remediations.
+
+
+ The value none_available
indicates that there is currently no fix or other remediation available. The text in field details
SHOULD contain details about why there is no fix or other remediation. The values none_available
and vendor_fix
are mutually exclusive per product.
+
+
+
+ An issuing party might choose to use this category to announce that a fix is currently developed. It is recommended that this also includes a date when a customer can expect the fix to be ready and distributed.
+
+
+
+ The value no_fix_planned
indicates that there is no fix for the vulnerability and it is not planned to provide one at any time. This is often the case when a product has been orphaned, declared end-of-life, or otherwise deprecated. The text in field details
SHOULD contain details about why there will be
+ no fix issued. The values no_fix_planned
and vendor_fix
are mutually exclusive per product.
+
+
+
+ Date of the remediation (date
) of value type string
with format date-time
contains the date from which the remediation is available.
+
+
+
+ Details of the remediation (details
) of value type string
with 1 or more characters contains a thorough human-readable discussion of the remediation.
+
+
+
+ List of entitlements (entitlements
) of value type array
with 1 or more items of type Entitlement of the remediation as string
with 1 or more characters contains a list of entitlements.
+
+ "entitlements": {
+ // ....
+ "items": {
+ // ...
+ }
+ },
+
+ Every Entitlement of the remediation contains any possible vendor-defined constraints for obtaining fixed software or hardware that fully resolves the vulnerability.
+
+
+
+ Group IDs (group_ids
) are of value type Product Groups (product_groups_t
) and contain a list of Product Groups the current remediation item applies to.
+
+
+
+ Product IDs (product_ids
) are of value type Products (products_t
) and contain a list of Products the current remediation item applies to.
+
+
+
+ Restart required by remediation (restart_required
) of value type object
with the 1 mandatory property Category (category
) and the optional property Details (details
) provides information on category of restart is required by this remediation to become effective.
+
+ "restart_required": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ }
+ "details": {
+ // ...
+ }
+ }
+ },
+
+ Category of restart (category
) of value type string
and enum
specifies what category of restart is required by this remediation to become effective. Valid values are:
+
+ connected
+ dependencies
+ machine
+ none
+ parent
+ service
+ system
+ vulnerable_component
+ zone
+
+ The values MUST be used as follows:
+
+
+
+ none
: No restart required.
+
+
+ vulnerable_component
: Only the vulnerable component (as given by the elements of product_ids
or group_ids
in the current remediation item needs to be restarted.
+
+
+ service
: The vulnerable component and the background service used by the vulnerable component need to be restarted.
+
+
+ parent
: The vulnerable component and its parent process need to be restarted. This could be the case if the parent process has no build-in way to restart the vulnerable component or process values / context is only given at the start of the parent process.
+
+
+ dependencies
: The vulnerable component and all components which require the vulnerable component to work need to be restarted. This could be the case e.g. for a core service of a software.
+
+
+ connected
: The vulnerable component and all components connected (via network or any type of inter-process communication) to the vulnerable component need to be restarted.
+
+
+ machine
: The machine on which the vulnerable component is installed on needs to be restarted. This is the value which SHOULD be used if an OS needs to be restarted. It is typically the case for OS upgrades.
+
+
+ zone
: The security zone in which the machine resides on which the vulnerable component is installed needs to be restarted. This value might be useful for a remediation if no patch is available. If the malware can be wiped out by restarting the infected machines but the infection spreads fast the controlled
+ shutdown of all machines at the same time and restart afterwards can leave one with a clean system.
+
+
+ system
: The whole system which the machine resides on which the vulnerable component is installed needs to be restarted. This MAY include multiple security zones. This could be the case for a major system upgrade in an ICS system or a protocol change.
+
+
+
+ Additional restart information (details
) of value type string
with 1 or more characters provides additional information for the restart. This can include details on procedures, scope or impact.
+
+
+
+ URL (url
) of value type string
with format uri
contains the URL where to obtain the remediation.
+
+
+ 3.2.3.13 Vulnerabilities Property - Scores
+
+
+ List of scores (scores
) of value type array
with 1 or more items of type score holds a list of score objects for the current vulnerability.
+
+ "scores": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Value type of every such Score item is object
with the mandatory property products
and the optional properties cvss_v2
and cvss_v3
specifies information about (at least one) score of the vulnerability and for which products the given value applies. Each Score item has at least
+ 2 properties.
+
+ "properties": {
+ "cvss_v2": {
+ // ...
+ },
+ "cvss_v3": {
+ "oneOf": [
+ // ...
+ ]
+ }
+ "products": {
+ // ...
+ }
+ }
+
+ The property CVSS v2 (cvss_v2
) holding a CVSS v2.0 value abiding by the schema at https://www.first.org/cvss/cvss-v2.0.json .
+
+
+ The property CVSS v3 (cvss_v3
) holding a CVSS v3.x value abiding by one of the schemas at https://www.first.org/cvss/cvss-v3.0.json or https://www.first.org/cvss/cvss-v3.1.json .
+
+
+ Product IDs (products
) of value type products_t
with 1 or more items indicates for which products the given scores apply. A score object SHOULD reflect the associated product's status (for example, a fixed product no longer contains a vulnerability and should have a CVSS score of 0, or simply no score
+ listed; the known affected versions of that product can list the vulnerability score as it applies to them).
+
+
+ 3.2.3.14 Vulnerabilities Property - Threats
+
+
+ List of threats (threats
) of value type array
with 1 or more items of value type object
contains information about a vulnerability that can change with time.
+
+ "threats": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+
+ Every Threat item of value type object
with the two mandatory properties Category (category
) and Details (details
) contains the vulnerability kinetic information. This information can change as the vulnerability ages and new information becomes available. In addition, any Threat item MAY
+ expose the three optional properties Date (date
), Group IDs (group_ids
), and Product IDs (product_ids
).
+
+ "properties": {
+ "category": {
+ // ...
+ }
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+
+ Category of the threat (category
) of value type string
and enum
categorizes the threat according to the rules of the specification. Valid values are:
+
+ exploit_status
+ impact
+ target_set
+
+ The value exploit_status
indicates that the details
field contains a description of the degree to which an exploit for the vulnerability is known. This knowledge can range from information privately held among a very small group to an issue that has been described to the public at a major conference or
+ is being widely exploited globally. For consistency and simplicity, this section can be a mirror image of the CVSS "Exploitability" metric. However, it can also contain a more contextual status, such as "Weaponized" or "Functioning Code".
+
+
+ The value impact
indicates that the details
field contains an assessment of the impact on the user or the target set if the vulnerability is successfully exploited or a description why it cannot be exploited. If applicable, for consistency and simplicity, this section can be a textual summary of the
+ three CVSS impact metrics. These metrics measure how a vulnerability detracts from the three core security properties of an information system: Confidentiality, Integrity, and Availability.
+
+
+ The value target_set
indicates that the details
field contains a description of the currently known victim population in whatever terms are appropriate. Such terms MAY include: operating system platform, types of products, user segments, and geographic distribution.
+
+
+ Date of the threat (date
) of value type string
with format date-time
contains the date when the assessment was done or the threat appeared.
+
+
+ Details of the threat (details
) of value type string
with 1 or more characters represents a thorough human-readable discussion of the threat.
+
+
+ Group IDs (group_ids
) are of value type Product Groups (product_groups_t
) and contain a list of Product Groups the current threat item applies to.
+
+
+ Product IDs (product_ids
) are of value type Products (products_t
) and contain a list of Products the current threat item applies to.
+
+
+ 3.2.3.15 Vulnerabilities Property - Title
+
+
+ Title (title
) has value type string
with 1 or more characters and gives the document producer the ability to apply a canonical name or title to the vulnerability.
+
+
+
+ 4. Profiles
+
+
+ CSAF documents do not have many required fields as they can be used for different purposes. To ensure a common understanding of which fields are required in a given use case the standard defines profiles. Each subsection describes such a profile by describing necessary content for that specific use case and providing insights
+ into its purpose. The value of /document/category
is used to identify a CSAF document's profile. The following rules apply:
+
+
+ Each CSAF document MUST conform the CSAF Base profile.
+
+ Each profile extends the base profile "CSAF Base" - directly or indirect through another profile from the standard - by making additional fields from the standard mandatory. A profile can always add, but never subtract nor overwrite requirements defined in the profile it extends.
+
+ Any optional field from the standard can also be added to a CSAF document which conforms with a profile without breaking conformance with the profile. One and only exempt is when the profile requires not to have a certain set of fields.
+
+ Values of /document/category
starting with csaf_
are reserved for existing, upcoming and future profiles defined in the CSAF standard.
+
+ Values of /document/category
that do not match any of the values defined in section 4 of this standard SHALL be validated against the "CSAF Base" profile.
+
+ Local or private profiles MAY exist and tools MAY choose to support them.
+
+ If an official profile and a private profile exists, tools MUST validate against the official one from the standard.
+
+
+
+ 4.1 Profile 1: CSAF Base
+
+
+ This profile defines the default required fields for any CSAF document. Therefore, it is a "catch all" for CSAF documents that do not satisfy any other profile. Furthermore, it is the foundation all other profiles are build on.
+
+
+ A CSAF document SHALL fulfill the following requirements to satisfy the profile "CSAF Base":
+
+
+ The following elements MUST exist and be valid:
+
+
+ /document/category
+
+
+ /document/csaf_version
+
+
+ /document/publisher/category
+
+
+ /document/publisher/name
+
+
+ /document/publisher/namespace
+
+
+ /document/title
+
+
+ /document/tracking/current_release_date
+
+
+ /document/tracking/id
+
+
+ /document/tracking/initial_release_date
+
+
+ /document/tracking/revision_history[]/date
+
+
+ /document/tracking/revision_history[]/number
+
+
+ /document/tracking/revision_history[]/summary
+
+
+ /document/tracking/status
+
+
+ /document/tracking/version
+
+
+
+ The value of /document/category
SHALL NOT be equal to any value that is intended to only be used by another profile nor to the (case insensitive) name of any other profile from the standard. This does not differentiate between underscore, dash or whitespace. To explicitly select the use of this profile the value
+ csaf_base
SHOULD be used.
+
+
+
+
+ Neither CSAF Security Advisory
nor csaf security advisory
are valid values for /document/category
.
+
+
+
+ An issuing party might choose to set /document/publisher/name
in front of a value that is intended to only be used by another profile to state that the CSAF document does not use the profile associated with this value. In this case, the (case insensitive) string "CSAF" MUST be removed from the value. This SHOULD be
+ done if the issuing party is unable or unwilling to use the value csaf_base
, e.g. due to legal or cooperate identity reasons.
+
+
+
+ Both values Example Company Security Advisory
and Example Company security_advisory
in /document/category
use the profile "CSAF Base". This is important to prepare forward compatibility as later versions of CSAF might add new profiles. Therefore, the values which can be used for the
+ profile "CSAF Base" might change.
+
+
+
+ 4.2 Profile 2: Security incident response
+
+
+ This profile SHOULD be used to provide a response to a security breach or incident. This MAY also be used to convey information about an incident that is unrelated to the issuing party's own products or infrastructure.
+
+
+
+ Example Company might use a CSAF document satisfying this profile to respond to a security incident at ACME Inc. and the implications on its own products and infrastructure.
+
+
+
+ A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security incident response":
+
+
+ The following elements MUST exist and be valid:
+
+ all elements required by the profile "CSAF Base".
+
+
+ /document/notes
with at least one item which has a category
of description
, details
, general
or summary
+
+
+ Reasoning: Without at least one note item which contains information about response to the event referred to this doesn't provide any useful information.
+
+
+
+
+ /document/references
with at least one item which has a category
of external
+
+
+ The intended use for this field is to refer to one or more documents or websites which provides more details about the incident.
+
+
+
+
+
+ The value of /document/category
SHALL be csaf_security_incident_response
.
+
+
+
+
+ This profile SHOULD be used to provide information which are not related to a vulnerability but e.g. a misconfiguration.
+
+
+ A CSAF document SHALL fulfill the following requirements to satisfy the profile "Informational Advisory":
+
+
+ The following elements MUST exist and be valid:
+
+ all elements required by the profile "CSAF Base".
+
+
+ /document/notes
with at least one item which has a category
of description
, details
, general
or summary
+
+
+ Reasoning: Without at least one note item which contains information about the "issue" which is the topic of the advisory it is useless.
+
+
+
+
+ /document/references
with at least one item which has a category
of external
+
+
+ The intended use for this field is to refer to one or more documents or websites which provide more details about the issue or its remediation (if possible). This could be a hardening guide, a manual, best practices or any other helpful information.
+
+
+
+
+
+ The value of /document/category
SHALL be csaf_informational_advisory
.
+
+ The element /vulnerabilities
SHALL NOT exist. If there is any information that would reside in the element /vulnerabilities
the CSAF document SHOULD use another profile, e.g. "Security Advisory".
+
+
+
+ If the element /product_tree
exists, a user MUST assume that all products mentioned are affected.
+
+
+ 4.4 Profile 4: Security Advisory
+
+
+ This profile SHOULD be used to provide information which is related to vulnerabilities and corresponding remediations.
+
+
+ A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security Advisory":
+
+
+ The following elements MUST exist and be valid:
+
+ all elements required by the profile "CSAF Base".
+
+
+ /product_tree
which lists all products referenced later on in the CSAF document regardless of their state.
+
+
+ /vulnerabilities
which lists all vulnerabilities.
+
+
+ /vulnerabilities[]/notes
+
+
+ Provides details about the vulnerability.
+
+
+
+
+ /vulnerabilities[]/product_status
+
+
+ Lists each product's status in regard to the vulnerability.
+
+
+
+
+
+ The value of /document/category
SHALL be csaf_security_advisory
.
+
+
+
+ 4.5 Profile 5: VEX
+
+
+ This profile SHOULD be used to provide information of the "Vulnerability Exploitability eXchange". The main purpose of the VEX format is to state that and why a certain product is, or is not, affected by a vulnerability. See [VEX ] for details.
+
+
+ A CSAF document SHALL fulfill the following requirements to satisfy the profile "VEX":
+
+
+ The following elements MUST exist and be valid:
+
+ all elements required by the profile "CSAF Base".
+
+
+ /product_tree
which lists all products referenced later on in the CSAF document regardless of their state.
+
+
+ /vulnerabilities
which lists all vulnerabilities.
+
+ at least one of
+
+
+ /vulnerabilities[]/product_status/fixed
+
+
+ /vulnerabilities[]/product_status/known_affected
+
+
+ /vulnerabilities[]/product_status/known_not_affected
+
+
+ /vulnerabilities[]/product_status/under_investigation
+
+
+
+ at least one of
+
+
+ /vulnerabilities[]/cve
+
+
+ /vulnerabilities[]/ids
+
+
+
+
+ /vulnerabilities[]/notes
+
+
+ Provides details about the vulnerability.
+
+
+
+
+
+ For each item in
+
+
+ /vulnerabilities[]/product_status/known_not_affected
an impact statement SHALL exist as machine readable flag in /vulnerabilities[]/flags
or as human readable justification in /vulnerabilities[]/threats
. For the latter one, the category
value for such a statement MUST be
+ impact
and the details
field SHALL contain a description why the vulnerability cannot be exploited.
+
+
+ /vulnerabilities[]/product_status/known_affected
additional product specific information SHALL be provided in /vulnerabilities[]/remediations
as an action statement. Optional, additional information MAY also be provide through /vulnerabilities[]/notes
and
+ /vulnerabilities[]/threats
.
+
+
+ The use of the categories no_fix_planned
and none_available
for an action statement is permitted.
+
+
+
+
+
+
+ Even though Product status lists Product IDs, Product Group IDs can be used in the remediations
and threats
object. However, it MUST be ensured that for each Product ID the required information according to its product status as stated in the two points above is available. This implies that all
+ products with the status known_not_affected
MUST have an impact statement and all products with the status known_affected
MUST have additional product specific information regardless of whether that is referenced through the Product ID or a Product Group ID.
+
+
+
+ The value of /document/category
SHALL be csaf_vex
.
+
+
+
+
+ 5. Additional Conventions
+
+
+ This section provides additional rules for handling CSAF documents.
+
+
+ 5.1 Filename
+
+
+ The following rules MUST be applied to determine the filename for the CSAF document:
+
+
+ The value /document/tracking/id
is converted into lower case.
+
+ Any character sequence which is not part of one of the following groups MUST be replaced by a single underscore (_
):
+
+ Lower case ASCII letters (0x61 - 0x7A)
+
+ digits (0x30 - 0x39)
+
+ special characters: +
(0x2B), -
(0x2D)
+
+
+
+
+ The regex [^+\-a-z0-9]+
can be used to find a character sequence which has to be replaced by an underscore. However, it SHALL NOT be applied before completing the first step.
+
+
+ Even though the underscore _
(0x5F) is a valid character in the filename it is replaced to avoid situations where the conversion rule might lead to multiple consecutive underscores. As a result, a /document/tracking/id
with the value 2022_#01-A
is converted into 2022_01-a
+ instead of 2022__01-a
.
+
+
+
+ The file extension .json
MUST be appended.
+
+
+
+ Examples 1:
+
+ cisco-sa-20190513-secureboot.json
+ example_company_-_2019-yh3234.json
+ rhba-2019_0024.json
+
+
+ It is currently considered best practice to indicate that a CSAF document is invalid by inserting _invalid
into the filename in front of the file extension.
+
+
+
+ Examples 2:
+
+ cisco-sa-20190513-secureboot_invalid.json
+ example_company_-_2019-yh3234_invalid.json
+ rhba-2019_0024_invalid.json
+
+ 5.2 Separation in Data Stream
+
+
+ If multiple CSAF documents are transported via a data stream in a sequence without requests inbetween, they MUST be separated by the Record Separator in accordance with [RFC7464 ].
+
+
+ 5.3 Sorting
+
+
+ The keys within a CSAF document SHOULD be sorted alphabetically.
+
+
+
+ 6. Tests
+
+
+ The following three subsections list a number of tests which all will have a short description and an excerpt of an example which fails the test.
+
+
+ 6.1 Mandatory Tests
+
+
+ Mandatory tests MUST NOT fail at a valid CSAF document. A program MUST handle a test failure as an error.
+
+
+ 6.1.1 Missing Definition of Product ID
+
+
+ For each element of type /$defs/product_id_t
which is not inside a Full Product Name (type: full_product_name_t
) and therefore reference an element within the product_tree
it MUST be tested that the Full Product Name element with the matching product_id
exists. The same applies
+ for all items of elements of type /$defs/products_t
.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/product_groups[]/product_ids[]
+ /product_tree/relationships[]/product_reference
+ /product_tree/relationships[]/relates_to_product_reference
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/known_not_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/recommended[]
+ /vulnerabilities[]/product_status/under_investigation[]
+ /vulnerabilities[]/remediations[]/product_ids[]
+ /vulnerabilities[]/scores[]/products[]
+ /vulnerabilities[]/threats[]/product_ids[]
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ }
+
+
+ Neither CSAFPID-9080700
nor CSAFPID-9080701
were defined in the product_tree
.
+
+
+
+ 6.1.2 Multiple Definition of Product ID
+
+
+ For each Product ID (type /$defs/product_id_t
) in Full Product Name elements (type: /$defs/full_product_name_t
) it MUST be tested that the product_id
was not already defined within the same document.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product B"
+ }
+ ]
+ }
+
+
+ CSAFPID-9080700
was defined twice.
+
+
+
+ 6.1.3 Circular Definition of Product ID
+
+
+ For each new defined Product ID (type /$defs/product_id_t
) in items of relationships (/product_tree/relationships
) it MUST be tested that the product_id
does not end up in a circle.
+
+
+ The relevant path for this test is:
+
+ /product_tree/relationships[]/full_product_name/product_id
+
+
+ As this can be quite complex a program for large CSAF documents, a program could check first whether a Product ID defined in a relationship item is used as product_reference
or relates_to_product_reference
. Only for those which fulfill this condition it is necessary to run the full check following the
+ references.
+
+
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ],
+ "relationships": [
+ {
+ "category": "installed_on",
+ "full_product_name": {
+ "name": "Product B",
+ "product_id": "CSAFPID-9080701"
+ },
+ "product_reference": "CSAFPID-9080700",
+ "relates_to_product_reference": "CSAFPID-9080701"
+ }
+ ]
+ }
+
+
+ CSAFPID-9080701
refers to itself - this is a circular definition.
+
+
+
+ 6.1.4 Missing Definition of Product Group ID
+
+
+ For each element of type /$defs/product_group_id_t
which is not inside a Product Group (/product_tree/product_groups[]
) and therefore reference an element within the product_tree
it MUST be tested that the Product Group element with the matching group_id
exists. The same
+ applies for all items of elements of type /$defs/product_groups_t
.
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/remediations[]/group_ids
+ /vulnerabilities[]/threats[]/group_ids
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "threats": [
+ {
+ "category": "exploit_status",
+ "details": "Reliable exploits integrated in Metasploit.",
+ "group_ids": [
+ "CSAFGID-1020301"
+ ]
+ }
+ ]
+ }
+ ]
+
+
+ CSAFGID-1020301
was not defined in the Product Tree.
+
+
+
+ 6.1.5 Multiple Definition of Product Group ID
+
+
+ For each Product Group ID (type /$defs/product_group_id_t
) Product Group elements (/product_tree/product_groups[]
) it MUST be tested that the group_id
was not already defined within the same document.
+
+
+ The relevant path for this test is:
+
+ /product_tree/product_groups[]/group_id
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ },
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+
+
+ CSAFGID-1020300
was defined twice.
+
+
+
+ 6.1.6 Contradicting Product Status
+
+
+ For each item in /vulnerabilities
it MUST be tested that the same Product ID is not member of contradicting product status groups. The sets formed by the contradicting groups within one vulnerability item MUST be pairwise disjoint.
+
+
+ Contradiction groups are:
+
+
+
+
+ Affected:
+
+ /vulnerabilities[]/product_status/first_affected[]
+/vulnerabilities[]/product_status/known_affected[]
+/vulnerabilities[]/product_status/last_affected[]
+
+
+
+ Not affected:
+
+ /vulnerabilities[]/product_status/known_not_affected[]
+
+
+
+ Fixed:
+
+ /vulnerabilities[]/product_status/first_fixed[]
+/vulnerabilities[]/product_status/fixed[]
+
+
+
+ Under investigation:
+
+ /vulnerabilities[]/product_status/under_investigation[]
+
+
+
+
+ Note: An issuer might recommend (/vulnerabilities[]/product_status/recommended
) a product version from any group - also from the affected group, i.e. if it was discovered that fixed versions introduce a more severe vulnerability.
+
+
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+
+
+ CSAFPID-9080700
is a member of the two contradicting groups "Affected" and "Not affected".
+
+
+
+ 6.1.7 Multiple Scores with same Version per Product
+
+
+ For each item in /vulnerabilities
it MUST be tested that the same Product ID is not member of more than one CVSS-Vectors with the same version.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/scores[]
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ },
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+
+
+ Two CVSS v3.1 scores are given for CSAFPID-9080700
.
+
+
+
+ 6.1.8 Invalid CVSS
+
+
+ It MUST be tested that the given CVSS object is valid according to the referenced schema.
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+
+ Example 1 (which fails the test):
+
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5
+ }
+
+
+ The required element baseSeverity
is missing.
+
+
+
+
+ A tool MAY add one or more of the missing properties version
, baseScore
and baseSeverity
based on the values given in vectorString
as quick fix.
+
+
+
+ 6.1.9 Invalid CVSS computation
+
+
+ It MUST be tested that the given CVSS object has the values computed correctly according to the definition.
+
+
+
+ The vectorString
SHOULD take precedence.
+
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/scores[]/cvss_v2/baseScore
+ /vulnerabilities[]/scores[]/cvss_v2/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v2/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v3/temporalSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalSeverity
+
+ Example 1 (which fails the test):
+
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 10.0,
+ "baseSeverity": "LOW"
+ }
+
+
+ Neither baseScore
nor baseSeverity
has the correct value according to the specification.
+
+
+
+
+ A tool MAY set the correct values as computed according to the specification as quick fix.
+
+
+
+ 6.1.10 Inconsistent CVSS
+
+
+ It MUST be tested that the given CVSS properties do not contradict the CVSS vector.
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+
+ Example 1 (which fails the test):
+
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
+ "baseScore": 9.8,
+ "baseSeverity": "CRITICAL",
+ "attackVector": "LOCAL",
+ "attackComplexity": "LOW",
+ "privilegesRequired": "NONE",
+ "userInteraction": "NONE",
+ "scope": "CHANGED",
+ "confidentialityImpact": "HIGH",
+ "integrityImpact": "HIGH",
+ "availabilityImpact": "LOW"
+ }
+
+
+ The values in CVSS vector differs from values of the properties attackVector
, scope
and availabilityImpact
.
+
+
+
+
+ A tool MAY overwrite contradicting values according to the vectorString
as quick fix.
+
+
+
+ 6.1.11 CWE
+
+
+ It MUST be tested that given CWE exists and is valid.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/cwe
+
+ Example 1 (which fails the test):
+
+ "cwe": {
+ "id": "CWE-79",
+ "name": "Improper Input Validation"
+ }
+
+
+ The CWE-79
exists. However, its name is Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
.
+
+
+
+ 6.1.12 Language
+
+
+ For each element of type /$defs/language_t
it MUST be tested that the language code is valid and exists.
+
+
+ The relevant paths for this test are:
+
+ /document/lang
+ /document/source_lang
+
+ Example 1 (which fails the test):
+
+ "lang": "EZ"
+
+
+ EZ
is not a valid language. It is the subtag for the region "Eurozone".
+
+
+
+
+ For any deprecated subtag, a tool MAY replace it with its preferred value as a quick fix.
+
+
+
+ 6.1.13 PURL
+
+
+ It MUST be tested that given PURL is valid.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/purl
+ /product_tree/full_product_names[]/product_identification_helper/purl
+ /product_tree/relationships[]/full_product_name/product_identification_helper/purl
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "purl": "pkg:maven/@1.3.4"
+ }
+ }
+ ]
+ }
+
+
+ Any valid purl has a name component.
+
+
+
+ 6.1.14 Sorted Revision History
+
+
+ It MUST be tested that the value of number
of items of the revision history are sorted ascending when the items are sorted ascending by date
.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history
+
+ Example 1 (which fails the test):
+
+ "revision_history": [
+ {
+ "date": "2021-07-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2021-07-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ]
+
+
+ The first item has a higher version number than the second.
+
+
+
+ 6.1.15 Translator
+
+
+ It MUST be tested that /document/source_lang
is present and set if the value translator
is used for /document/publisher/category
.
+
+
+ The relevant path for this test is:
+
+ /document/source_lang
+
+ Example 1 (which fails the test):
+
+ "document": {
+ // ...
+ "publisher": {
+ "category": "translator",
+ "name": "CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "title": "Mandatory test: Translator (failing example 1)",
+ // ...
+ }
+
+
+ The required element source_lang
is missing.
+
+
+
+ 6.1.16 Latest Document Version
+
+
+ It MUST be tested that document version has the same value as the number
in the last item of Revision History when it is sorted ascending by date
. Build metadata is ignored in the comparison. Any pre-release part is also ignored if the document status is draft
.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/version
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2021-07-21T09:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "1"
+ }
+
+
+ The value of number
of the last item after sorting is 2
. However, the document version is 1
.
+
+
+
+ 6.1.17 Document Status Draft
+
+
+ It MUST be tested that document status is draft
if the document version is 0
or 0.y.z
or contains the pre-release part.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/status
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "status": "final",
+ "version": "0.9.5"
+ }
+
+
+ The /document/tracking/version
is 0.9.5
but the document status is final
.
+
+
+
+ 6.1.18 Released Revision History
+
+
+ It MUST be tested that no item of the revision history has a number
of 0
or 0.y.z
when the document status is final
or interim
.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history[]/number
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2021-05-17T10:00:00.000Z",
+ "number": "0",
+ "summary": "First draft"
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+
+
+ The document status is final
but the revision history includes an item which has 0
as value for number
.
+
+
+
+ 6.1.19 Revision History Entries for Pre-release Versions
+
+
+ It MUST be tested that no item of the revision history has a number
which includes pre-release information.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history[]/number
+
+ Example 1 (which fails the test):
+
+ "revision_history": [
+ {
+ "date": "2021-04-22T10:00:00.000Z",
+ "number": "1.0.0-rc",
+ "summary": "Release Candidate for initial version."
+ },
+ {
+ "date": "2021-04-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ]
+
+
+ The revision history contains an item which has a number
that indicates that this is pre-release.
+
+
+
+ 6.1.20 Non-draft Document Version
+
+
+ It MUST be tested that document version does not contain a pre-release part if the document status is final
or interim
.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/version
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "status": "interim",
+ "version": "1.0.0-alpha"
+ }
+
+
+ The document status is interim
but the document version contains the pre-release part -alpha
.
+
+
+
+ 6.1.21 Missing Item in Revision History
+
+
+ It MUST be tested that items of the revision history do not omit a version number when the items are sorted ascending by date
. In the case of semantic versioning, this applies only to the Major version. It MUST also be tested that the first item in such a sorted list has either the version number 0 or 1 in the case
+ of integer versioning or a Major version of 0 or 1 in the case of semantic versioning.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history
+
+ Example 1 (which fails the test):
+
+ "revision_history": [
+ {
+ "date": "2021-04-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Some other changes."
+ }
+ ]
+
+
+ The item for version 2
is missing.
+
+
+
+ 6.1.22 Multiple Definition in Revision History
+
+
+ It MUST be tested that items of the revision history do not contain the same version number.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history
+
+ Example 1 (which fails the test):
+
+ "revision_history": [
+ {
+ "date": "2021-07-20T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Some other changes."
+ }
+ ]
+
+
+ The revision history contains two items with the version number 1
.
+
+
+
+ 6.1.23 Multiple Use of Same CVE
+
+
+ It MUST be tested that a CVE is not used in multiple vulnerability items.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/cve
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145"
+ },
+ {
+ "cve": "CVE-2017-0145"
+ }
+ ]
+
+
+ The vulnerabilities array contains two items with the same CVE identifier CVE-2017-0145
.
+
+
+
+ 6.1.24 Multiple Definition in Involvements
+
+
+ It MUST be tested that items of the list of involvements do not contain the same party
regardless of its status
more than once at any date
.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/involvements
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2021-04-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "completed"
+ },
+ {
+ "date": "2021-04-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+
+
+ The list of involvements contains two items with the same tuple party
and date
.
+
+
+
+ 6.1.25 Multiple Use of Same Hash Algorithm
+
+
+ It MUST be tested that the same hash algorithm is not used multiple times in one item of hashes.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha256",
+ "value": "026a37919b182ef7c63791e82c9645e2f897a3f0b73c7a6028c7febf62e93838"
+ },
+ {
+ "algorithm": "sha256",
+ "value": "0a853ce2337f0608489ac596a308dc5b7b19d35a52b10bf31261586ac368b175"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+
+
+ The hash algorithm sha256
is used two times in one item of hashes.
+
+
+
+ 6.1.26 Prohibited Document Category Name
+
+
+ It MUST be tested that the document category is not equal to the (case insensitive) name (without the prefix csaf_
) or value of any other profile than "CSAF Base". Any occurrences of dash, whitespace, and underscore characters are removed from the values on both sides before the match. Also the value MUST NOT start
+ with the reserved prefix csaf_
except if the value is csaf_base
.
+
+
+ This test does only apply for CSAF documents with the profile "CSAF Base". Therefore, it MUST be skipped if the document category matches one of the values defined for the profile other than "CSAF Base".
+
+
+
+ For CSAF 2.0, the test must be skipped for the following values in /document/category
:
+
+ csaf_base
+ csaf_security_incident_response
+ csaf_informational_advisory
+ csaf_security_advisory
+ csaf_vex
+
+
+ This is the only mandatory test related to the profile "CSAF Base" as the required fields SHALL be checked by validating the JSON schema.
+
+
+ The relevant path for this test is:
+
+ /document/category
+
+ Examples 1 (for currently prohibited values):
+
+ Csaf_a
+ Informational Advisory
+ security-incident-response
+ Security Advisory
+ veX
+ V_eX
+
+ Example 2 (which fails the test):
+
+ "category": "Security_Incident_Response"
+
+
+ The value Security_Incident_Response
is the name of a profile where the space was replaced with underscores.
+
+
+
+ 6.1.27 Profile Tests
+
+
+ This subsubsection structures the tests for the profiles. Not all tests apply for all profiles. Tests SHOULD be skipped if the document category does not match the one given in the test. Each of the following tests SHOULD be treated as they where listed similar to the other tests.
+
+
+
+ An application MAY group these tests by profiles when providing the additional function to only run one or more selected tests. This results in one virtual test per profile.
+
+
+
+ 6.1.27.1 Document Notes
+
+
+ It MUST be tested that at least one item in /document/notes
exists which has a category
of description
, details
, general
or summary
.
+
+
+ The relevant values for /document/category
are:
+
+ csaf_informational_advisory
+ csaf_security_incident_response
+
+ The relevant path for this test is:
+
+ /document/notes
+
+ Example 1 (which fails the test):
+
+ "notes": [
+ {
+ "category": "legal_disclaimer",
+ "text": "The CSAF document is provided to You \"AS IS\" and \"AS AVAILABLE\" and with all faults and defects without warranty of any kind.",
+ "title": "Terms of Use"
+ }
+ ]
+
+
+ The document notes do not contain an item which has a category
of description
, details
, general
or summary
.
+
+
+
+ 6.1.27.2 Document References
+
+
+ It MUST be tested that at least one item in /document/references
exists that has links to an external
source.
+
+
+ The relevant values for /document/category
are:
+
+ csaf_informational_advisory
+ csaf_security_incident_response
+
+ The relevant path for this test is:
+
+ /document/references
+
+ Example 1 (which fails the test):
+
+ "references": [
+ {
+ "category": "self",
+ "summary": "The canonical URL.",
+ "url": "https://example.com/security/data/csaf/2021/OASIS_CSAF_TC-CSAF_2_0-2021-6-1-27-02-01.json"
+ }
+ ]
+
+
+ The document references do not contain any item which has the category external
.
+
+
+
+ 6.1.27.3 Vulnerabilities
+
+
+ It MUST be tested that the element /vulnerabilities
does not exist.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_informational_advisory
+
+ The relevant path for this test is:
+
+ /vulnerabilities
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item that SHALL NOT exist"
+ }
+ ]
+
+
+ The element /vulnerabilities
exists.
+
+
+
+
+ A tool MAY change the /document/category
to csaf_base
as a quick fix.
+
+
+
+ 6.1.27.4 Product Tree
+
+
+ It MUST be tested that the element /product_tree
exists.
+
+
+ The relevant values for /document/category
are:
+
+ csaf_security_advisory
+ csaf_vex
+
+ The relevant path for this test is:
+
+ /product_tree
+
+ Example 1 (which fails the test):
+
+ {
+ "document": {
+ // ...
+ },
+ "vulnerabilities": [
+ // ...
+ ]
+ }
+
+
+ The element /product_tree
does not exist.
+
+
+
+ 6.1.27.5 Vulnerability Notes
+
+
+ For each item in /vulnerabilities
it MUST be tested that the element notes
exists.
+
+
+ The relevant values for /document/category
are:
+
+ csaf_security_advisory
+ csaf_vex
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/notes
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a note"
+ }
+ ]
+
+
+ The vulnerability item has no notes
element.
+
+
+
+ 6.1.27.6 Product Status
+
+
+ For each item in /vulnerabilities
it MUST be tested that the element product_status
exists.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_security_advisory
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/product_status
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a product status"
+ }
+ ]
+
+
+ The vulnerability item has no product_status
element.
+
+
+
+ 6.1.27.7 VEX Product Status
+
+
+ For each item in /vulnerabilities
it MUST be tested that at least one of the elements fixed
, known_affected
, known_not_affected
, or under_investigation
is present in product_status
.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_vex
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/product_status/fixed
+ /vulnerabilities[]/product_status/known_affected
+ /vulnerabilities[]/product_status/known_not_affected
+ /vulnerabilities[]/product_status/under_investigation
+
+ Example 1 (which fails the test):
+
+ "product_status": {
+ "first_fixed": [
+ // ...
+ ],
+ "recommended": [
+ // ...
+ ]
+ }
+
+
+ None of the elements fixed
, known_affected
, known_not_affected
, or under_investigation
is present in product_status
.
+
+
+
+ 6.1.27.8 Vulnerability ID
+
+
+ For each item in /vulnerabilities
it MUST be tested that at least one of the elements cve
or ids
is present.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_vex
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/cve
+ /vulnerabilities[]/ids
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a CVE or ID"
+ }
+ ]
+
+
+ None of the elements cve
or ids
is present.
+
+
+
+ 6.1.27.9 Impact Statement
+
+
+ For each item in /vulnerabilities[]/product_status/known_not_affected
it MUST be tested that a corresponding impact statement exist in /vulnerabilities[]/flags
or /vulnerabilities[]/threats
. For the latter one, the category
value for such a statement MUST be
+ impact
.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_vex
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/flags
+ /vulnerabilities[]/threats
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+
+
+ There is no impact statement for CSAFPID-9080702
.
+
+
+ Note: The impact statement for CSAFPID-9080700
and CSAFPID-9080701
is given through CSAFGID-0001
.
+
+
+
+ 6.1.27.10 Action Statement
+
+
+ For each item in /vulnerabilities[]/product_status/known_affected
it MUST be tested that a corresponding action statement exist in /vulnerabilities[]/remediations
.
+
+
+ The relevant value for /document/category
is:
+
+ csaf_vex
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/remediations
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ],
+ "summary": "EOL products"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+
+
+ There is no action statement for CSAFPID-9080702
.
+
+
+ Note: The action statement for CSAFPID-9080700
and CSAFPID-9080701
is given through CSAFGID-0001
.
+
+
+
+ 6.1.27.11 Vulnerabilities
+
+
+ It MUST be tested that the element /vulnerabilities
exists.
+
+
+ The relevant values for /document/category
are:
+
+ csaf_security_advisory
+ csaf_vex
+
+ The relevant path for this test is:
+
+ /vulnerabilities
+
+ Example 1 (which fails the test):
+
+ {
+ "document": {
+ // ...
+ },
+ "product_tree": [
+ // ...
+ ]
+ }
+
+
+ The element /vulnerabilities
does not exist.
+
+
+
+ 6.1.28 Translation
+
+
+ It MUST be tested that the given source language and document language are not the same.
+
+
+ The relevant path for this test is:
+
+ /document/lang
+ /document/source_lang
+
+ Example 1 (which fails the test):
+
+ "document": {
+ // ...
+ "lang": "en-US",
+ // ...
+ "source_lang": "en-US",
+ // ...
+ }
+
+
+ The document language and the source language have the same value en-US
.
+
+
+ Note: A translation from en-US
to en-GB
would pass the test.
+
+
+
+
+ A tool MAY remove the source language as quick fix.
+
+
+
+
+ For each item in /vulnerabilities[]/remediations
it MUST be tested that it includes at least one of the elements group_ids
or product_ids
.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/remediations[]
+
+ Example 1 (which fails the test):
+
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided."
+ }
+ ]
+
+
+ The given remediation does not specify to which products it should be applied.
+
+
+
+
+ A tool MAY add all products of the affected group of this vulnerability to the remediation as quick fix.
+
+
+
+ 6.1.30 Mixed Integer and Semantic Versioning
+
+
+ It MUST be tested that all elements of type /$defs/version_t
follow either integer versioning or semantic versioning homogeneously within the same document.
+
+
+ The relevant paths for this test are:
+
+ /document/tracking/revision_history[]/number
+ /document/tracking/version
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2021-07-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "2"
+ }
+
+
+ The document started with semantic versioning (1.0.0
) and switched to integer versioning (2
).
+
+
+
+
+ A tool MAY assign all items their corresponding value according to integer versioning as a quick fix. In such case, the old number
SHOULD be stored in legacy_version
.
+
+
+
+ 6.1.31 Version Range in Product Version
+
+
+ For each element of type /$defs/branches_t
with category
of product_version
it MUST be tested that the value of name
does not contain a version range.
+
+
+
+ To implement this test it is deemed sufficient that, when converted to lower case, the value of name
does not contain any of the following strings:
+
+ <
+ <=
+ >
+ >=
+ after
+ all
+ before
+ earlier
+ later
+ prior
+ versions
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/name
+
+ Example 1 (which fails the test):
+
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "prior to 4.2",
+ // ...
+ }
+ ]
+
+
+ The version range prior to 4.2
is given for the branch category product_version
.
+
+
+
+ 6.1.32 Flag without Product Reference
+
+
+ For each item in /vulnerabilities[]/flags
it MUST be tested that it includes at least one of the elements group_ids
or product_ids
.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/flags[]
+
+ Example 1 (which fails the test):
+
+ "flags": [
+ {
+ "label": "component_not_present"
+ }
+ ]
+
+
+ The given flag does not specify to which products it should be applied.
+
+
+
+ 6.1.33 Multiple Flags with VEX Justification Codes per Product
+
+
+ For each item in /vulnerabilities[]
it MUST be tested that a Product is not member of more than one Flag item with a VEX justification code (see section 3.2.3.5 ). This takes indirect relations through Product Groups into account.
+
+
+
+ Additional flags with a different purpose might be provided in later versions of CSAF. Through the explicit reference of VEX justification codes the test is specified to be forward-compatible.
+
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/flags
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "flags": [
+ {
+ "label": "component_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ },
+ {
+ "label": "vulnerable_code_cannot_be_controlled_by_adversary",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+
+
+ There are two flags given for CSAFPID-9080700
- one indirect through CSAFGID-0001
and one direct.
+
+
+
+ 6.2 Optional Tests
+
+
+ Optional tests SHOULD NOT fail at a valid CSAF document without a good reason. Failing such a test does not make the CSAF document invalid. These tests may include information about features which are still supported but expected to be deprecated in a future version of CSAF. A program MUST handle a test failure as a warning.
+
+
+ 6.2.1 Unused Definition of Product ID
+
+
+ For each Product ID (type /$defs/product_id_t
) in Full Product Name elements (type: /$defs/full_product_name_t
) it MUST be tested that the product_id
is referenced somewhere within the same document.
+
+
+ This test SHALL be skipped for CSAF documents conforming the profile "Informational Advisory".
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ }
+
+
+ CSAFPID-9080700
was defined but never used.
+
+
+
+
+ A tool MAY remove the unused definition as quick fix. However, such quick fix shall not be applied if the test was skipped.
+
+
+
+
+ For each Product ID (type /$defs/product_id_t
) in the Product Status groups Affected and Under investigation it MUST be tested that a remediation exists.
+
+
+
+ The remediation might be of the category none_available
or no_fix_planned
.
+
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/under_investigation[]
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+
+
+ CSAFPID-9080700
has in Product Status last_affected
but there is no remediation object for this Product ID.
+
+
+
+ 6.2.3 Missing Score
+
+
+ For each Product ID (type /$defs/product_id_t
) in the Product Status groups Affected it MUST be tested that a score object exists which covers this product.
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+
+
+ CSAFPID-9080700
has in Product Status first_affected
but there is no score object which covers this Product ID.
+
+
+
+ 6.2.4 Build Metadata in Revision History
+
+
+ For each item in revision history it MUST be tested that number
does not include build metadata.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/revision_history[]/number
+
+ Example 1 (which fails the test):
+
+ "revision_history": [
+ {
+ "date": "2021-04-23T10:00:00.000Z",
+ "number": "1.0.0+exp.sha.ac00785",
+ "summary": "Initial version."
+ }
+ ]
+
+
+ The revision history contains an item which has a number
that includes the build metadata +exp.sha.ac00785
.
+
+
+
+ 6.2.5 Older Initial Release Date than Revision History
+
+
+ It MUST be tested that the Initial Release Date is not older than the date
of the oldest item in Revision History.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/initial_release_date
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ // ...
+ "initial_release_date": "2021-04-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2021-05-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+
+
+ The initial release date 2021-04-22T10:00:00.000Z
is older than 2021-05-06T10:00:00.000Z
which is the date
of the oldest item in Revision History.
+
+
+
+ 6.2.6 Older Current Release Date than Revision History
+
+
+ It MUST be tested that the Current Release Date is not older than the date
of the newest item in Revision History.
+
+
+ The relevant path for this test is:
+
+ /document/tracking/current_release_date
+
+ Example 1 (which fails the test):
+
+ "tracking": {
+ "current_release_date": "2021-05-06T10:00:00.000Z",
+ // ...
+ "revision_history": [
+ {
+ "date": "2021-05-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+
+
+ The current release date 2021-05-06T10:00:00.000Z
is older than 2021-05-23T1100:00.000Z
which is the date
of the newest item in Revision History.
+
+
+
+ 6.2.7 Missing Date in Involvements
+
+
+ For each item in the list of involvements it MUST be tested that it includes the property date
.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/involvements
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "party": "vendor",
+ "status": "in_progress"
+ }
+ ]
+ }
+ ]
+
+
+ The list of involvements contains an item which does not contain the property date
.
+
+
+
+ 6.2.8 Use of MD5 as the only Hash Algorithm
+
+
+ It MUST be tested that the hash algorithm md5
is not the only one present.
+
+
+
+ Since collision attacks exist for MD5 such value should be accompanied by a second cryptographically stronger hash. This will allow users to double check the results.
+
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md5",
+ "value": "6ae24620ea9656230f49234efd078935"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+
+
+ The hash algorithm md5
is used in one item of hashes without being accompanied by a second hash algorithm.
+
+
+
+ 6.2.9 Use of SHA-1 as the only Hash Algorithm
+
+
+ It MUST be tested that the hash algorithm sha1
is not the only one present.
+
+
+
+ Since collision attacks exist for SHA-1 such value should be accompanied by a second cryptographically stronger hash. This will allow users to double check the results.
+
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha1",
+ "value": "e067035314dd8673fe1c9fc6b01414fe0950fdc4"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+
+
+ The hash algorithm sha1
is used in one item of hashes without being accompanied by a second hash algorithm.
+
+
+
+ 6.2.10 Missing TLP label
+
+
+ It MUST be tested that /document/distribution/tlp/label
is present and valid.
+
+
+
+ TLP labels support the machine-readability and automated distribution.
+
+
+
+ The relevant path for this test is:
+
+ /document/distribution/tlp/label
+
+ Example 1 (which fails the test):
+
+ "distribution": {
+ "text": "Distribute freely."
+ }
+
+
+ The CSAF document has no TLP label.
+
+
+
+ 6.2.11 Missing Canonical URL
+
+
+ It MUST be tested that the CSAF document has a canonical URL.
+
+
+
+ To implement this test it is deemed sufficient that one item in /document/references
fulfills all of the following:
+
+
+ It has the category self
.
+
+ The url
starts with https://
.
+
+ The url
ends with the valid filename for the CSAF document according to the rules in section 5.1 .
+
+
+
+
+ The relevant path for this test is:
+
+ /document/references
+
+ Example 1 (which fails the test):
+
+ "document": {
+ // ...
+ "references": [
+ {
+ "category": "self",
+ "summary": "A non-canonical URL.",
+ "url": "https://example.com/security/data/csaf/2021/OASIS_CSAF_TC-CSAF_2.0-2021-6-2-11-01_1.json"
+ }
+ ],
+ // ...
+ "tracking": {
+ // ...
+ "id": "OASIS_CSAF_TC-CSAF_2.0-2021-6-2-11-01",
+ // ...
+ "version": "1"
+ },
+ // ...
+ }
+
+
+ The only element where the category
is self
has a URL that does not fulfill the requirement of a valid filename for a CSAF document.
+
+
+
+ 6.2.12 Missing Document Language
+
+
+ It MUST be tested that the document language is present and set.
+
+
+ The relevant path for this test is:
+
+ /document/lang
+
+ Example 1 (which fails the test):
+
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.0",
+ "publisher": {
+ // ...
+ },
+ // ...
+ }
+
+
+ The document language is not defined.
+
+
+
+ 6.2.13 Sorting
+
+
+ It MUST be tested that all keys in a CSAF document are sorted alphabetically.
+
+
+ The relevant path for this test is:
+
+ /
+
+ Example 1 (which fails the test):
+
+ "document": {
+ "csaf_version": "2.0",
+ "category": "csaf_base",
+ // ...
+ }
+
+
+ The key csaf_version
is not at the right place.
+
+
+
+
+ A tool MAY sort the keys as a quick fix.
+
+
+
+ 6.2.14 Use of Private Language
+
+
+ For each element of type /$defs/language_t
it MUST be tested that the language code does not contain subtags reserved for private use.
+
+
+ The relevant paths for this test are:
+
+ /document/lang
+ /document/source_lang
+
+ Example 1 (which fails the test):
+
+ "lang": "qtx"
+
+
+ The language code qtx
is reserved for private use.
+
+
+
+
+ A tool MAY remove such subtag as a quick fix.
+
+
+
+ 6.2.15 Use of Default Language
+
+
+ For each element of type /$defs/language_t
it MUST be tested that the language code is not i-default
.
+
+
+ The relevant paths for this test are:
+
+ /document/lang
+ /document/source_lang
+
+ Example 1 (which fails the test):
+
+ "lang": "i-default"
+
+
+ The language code i-default
is used.
+
+
+
+
+ A tool MAY remove such element as a quick fix.
+
+
+
+ 6.2.16 Missing Product Identification Helper
+
+
+ For each element of type /$defs/full_product_name_t
it MUST be tested that it includes the property product_identification_helper
.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product
+ /product_tree/full_product_names[]
+ /product_tree/relationships[]/full_product_name
+
+ Example 1 (which fails the test):
+
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+
+
+ The product CSAFPID-9080700
does not provide any Product Identification Helper at all.
+
+
+
+ 6.2.17 CVE in field IDs
+
+
+ For each item in /vulnerabilities[]/ids
it MUST be tested that it is not a CVE ID.
+
+
+
+ It is sufficient to check, whether the property text
matches the regex ^CVE-[0-9]{4}-[0-9]{4,}$
.
+
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/ids[]
+
+ Example 1 (which fails the test):
+
+ "ids": [
+ {
+ "system_name": "CVE Project",
+ "text": "CVE-2021-44228"
+ }
+ ]
+
+
+ The CVE-2021-44228
is listed in an item of the ids
array instead under cve
.
+
+
+
+
+ A tool MAY set such element as value for the cve
property as a quick fix, if that didn't exist before. Alternatively, it MAY remove such element as a quick fix.
+
+
+
+ 6.2.18 Product Version Range without vers
+
+
+ For each element of type /$defs/branches_t
with category
of product_version_range
it MUST be tested that the value of name
conforms the vers specification.
+
+
+
+ To implement this test it is deemed sufficient that the value of name
matches the following regex:
+
+ ^vers:[a-z\\.\\-\\+][a-z0-9\\.\\-\\+]*/.+
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/name
+
+ Example 1 (which fails the test):
+
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": ">4.2",
+ // ...
+ }
+ ]
+
+
+ The version range >4.2
is a valid vsl but not valid according to the vers specification.
+
+
+
+ 6.2.19 CVSS for Fixed Products
+
+
+ For each item the fixed products group (first_fixed
and fixed
) it MUST be tested that a CVSS applying to this product has an environmental score of 0
. The test SHALL pass if none of the Product IDs listed within product status fixed
or first_fixed
is found in
+ products
of any item of the scores
element.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+
+
+ Neither the environmentalScore
nor the properties modifiedIntegrityImpact
, modifiedAvailabilityImpact
, modifiedConfidentialityImpact
nor the corresponding attributes in the vectorString
have been set.
+
+
+
+
+ A tool MAY set the properties modifiedIntegrityImpact
, modifiedAvailabilityImpact
, modifiedConfidentialityImpact
accordingly and compute the environmentalScore
as quick fix.
+
+
+
+ 6.2.20 Additional Properties
+
+
+ It MUST be tested that there is no additional property in the CSAF document that was not defined in the CSAF JSON schema.
+
+
+ The relevant path for this test is:
+
+ /
+
+
+ To implement this test it is deemed sufficient to validate the CSAF document against a "strict" version schema that sets additionalProperties
to false
for every key of type object
.
+
+
+
+ Example 1 (which fails the test):
+
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.0",
+ "custom_property": "any",
+ // ...
+ }
+
+
+ The key custom_property
is not defined in the JSON schema.
+
+
+
+
+ A tool MAY remove such keys as a quick fix.
+
+
+
+
+ Informative tests provide insights in common mistakes and bad practices. They MAY fail at a valid CSAF document. It is up to the issuing party to decide whether this was an intended behavior and can be ignore or should be treated. These tests MAY include information about recommended usage. A program MUST handle a test failure
+ as a information.
+
+
+ 6.3.1 Use of CVSS v2 as the only Scoring System
+
+
+ For each item in the list of scores which contains the cvss_v2
object it MUST be tested that is not the only scoring item present. The test SHALL pass if a second scoring object is available.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/scores
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ }
+ }
+ ]
+ }
+ ]
+
+
+ There is only a CVSS v2 score given for CSAFPID-9080700
.
+
+
+
+ Recommendation:
+
+
+ It is recommended to (also) use the CVSS v3.1.
+
+
+ 6.3.2 Use of CVSS v3.0
+
+
+ For each item in the list of scores which contains the cvss_v3
object it MUST be tested that CVSS v3.0 is not used.
+
+
+ The relevant paths for this test are:
+
+ /vulnerabilities[]/scores[]/cvss_v3/version
+ /vulnerabilities[]/scores[]/cvss_v3/vectorString
+
+ Example 1 (which fails the test):
+
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+
+
+ The CVSS v3.0 is used.
+
+
+
+ Recommendation:
+
+
+ It is recommended to upgrade to CVSS v3.1.
+
+
+
+ A tool MAY upgrade to CVSS v3.1 as quick fix. However, if such quick fix is supported the tool SHALL also recompute the baseScore
and baseSeverity
. The same applies for temporalScore
and temporalSeverity
respectively environmentalScore
and
+ environmentalSeverity
if the necessary fields for computing their value are present and set.
+
+
+
+ 6.3.3 Missing CVE
+
+
+ It MUST be tested that the CVE number is given.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/cve
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "title": "BlueKeep"
+ }
+ ]
+
+
+ The CVE number is not given.
+
+
+
+ Recommendation:
+
+
+ It is recommended to provide a CVE number to support the users efforts to find more details about a vulnerability and potentially track it through multiple advisories. If no CVE exists for that vulnerability, it is recommended to get one assigned.
+
+
+ 6.3.4 Missing CWE
+
+
+ It MUST be tested that the CWE is given.
+
+
+ The relevant path for this test is:
+
+ /vulnerabilities[]/cwe
+
+ Example 1 (which fails the test):
+
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ }
+ ]
+
+
+ The CWE number is not given.
+
+
+
+ 6.3.5 Use of Short Hash
+
+
+ It MUST be tested that the length of the hash value is not shorter than 64 characters.
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value
+
+ Example 1 (which fails the test):
+
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md4",
+ "value": "3202b50e2e5b2fcd75e284c3d9d5f8d6"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+
+
+ The length of the hash value is only 32 characters long.
+
+
+
+ 6.3.6 Use of non-self referencing URLs Failing to Resolve
+
+
+ For each URL which is not in the category self
it MUST be tested that it resolves with a HTTP status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+
+
+ This test does not apply for any item in an array of type references_t
with the category self
. For details about the HTTP status code classes see [RFC7231 ].
+
+
+
+ The relevant paths for this test are:
+
+ /document/acknowledgments[]/urls[]
+ /document/aggregate_severity/namespace
+ /document/distribution/tlp/url
+ /document/references[]/url
+ /document/publisher/namespace
+ /product_tree/branches[]/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/full_product_names[]/product_identification_helper/sbom_urls[]
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri
+ /vulnerabilities[]/acknowledgments[]/urls[]
+ /vulnerabilities[]/references[]/url
+ /vulnerabilities[]/remediations[]/url
+
+ Example 1 (which fails the test):
+
+ "references": [
+ {
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+
+
+ The category
is not set and therefore treated as its default value external
. A request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+
+
+ 6.3.7 Use of self referencing URLs Failing to Resolve
+
+
+ For each item in an array of type references_t
with the category self
it MUST be tested that the URL referenced resolves with a HTTP status code less than 400.
+
+
+
+ This test will most likely fail if the CSAF document is in a status before the initial release. For details about the HTTP status code classes see [RFC7231 ].
+
+
+
+ The relevant paths for this test are:
+
+ /document/references[]/url
+ /vulnerabilities[]/references[]/url
+
+ Example 1 (which fails the test):
+
+ "references": [
+ {
+ "category": "self",
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+
+
+ The category
is self
and a request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+
+
+ 6.3.8 Spell check
+
+
+ If the document language is given it MUST be tested that a spell check for the given language does not find any mistakes. The test SHALL be skipped if not document language is set. It SHALL fail it the given language is not supported. The value of /document/category
SHOULD NOT be tested if the CSAF document does not
+ use the profile "CSAF Base".
+
+
+ The relevant paths for this test are:
+
+ /document/acknowledgments[]/names[]
+ /document/acknowledgments[]/organization
+ /document/acknowledgments[]/summary
+ /document/aggregate_severity/text
+ /document/category
+ /document/distribution/text
+ /document/notes[]/audience
+ /document/notes[]/text
+ /document/notes[]/title
+ /document/publisher/issuing_authority
+ /document/publisher/name
+ /document/references[]/summary
+ /document/title
+ /document/tracking/aliases[]
+ /document/tracking/generator/engine/name
+ /document/tracking/revision_history[]/summary
+ /product_tree/branches[](/branches[])*/name
+ /product_tree/branches[](/branches[])*/product/name
+ /product_tree/branches[]/name
+ /product_tree/branches[]/product/name
+ /product_tree/full_product_names[]/name
+ /product_tree/product_groups[]/summary
+ /product_tree/relationships[]/full_product_name/name
+ /vulnerabilities[]/acknowledgments[]/names[]
+ /vulnerabilities[]/acknowledgments[]/organization
+ /vulnerabilities[]/acknowledgments[]/summary
+ /vulnerabilities[]/involvements[]/summary
+ /vulnerabilities[]/notes[]/audience
+ /vulnerabilities[]/notes[]/text
+ /vulnerabilities[]/notes[]/title
+ /vulnerabilities[]/references[]/summary
+ /vulnerabilities[]/remediations[]/details
+ /vulnerabilities[]/remediations[]/entitlements[]
+ /vulnerabilities[]/remediations[]/restart_required/details
+ /vulnerabilities[]/threats[]/details
+ /vulnerabilities[]/title
+
+ Example 1 (which fails the test):
+
+ "document": {
+ // ...
+ "lang": "en",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "Secruity researchers found multiple vulnerabilities in XYZ."
+ }
+ ],
+ // ...
+ }
+
+
+ There is a spelling mistake in Secruity
.
+
+
+
+ 6.3.9 Branch Categories
+
+
+ For each element of type /$defs/full_product_name_t
in /product_tree/branches
it MUST be tested that ancestor nodes along the path exist which use the following branch categories vendor
-> product_name
-> product_version
in that order starting with the
+ Product tree node.
+
+
+
+ Other branch categories can be used before, after or between the aforementioned branch categories without making the test invalid.
+
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches
+
+ Example 1 (which fails the test):
+
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-0002",
+ "name": "Example Company Product A Update 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+
+
+ The product CSAFPID-9080700
does not have any ancestor with the branch category product_version
.
+
+
+
+ 6.3.10 Usage of Product Version Range
+
+
+ For each element of type /$defs/branches_t
it MUST be tested that the category
is not product_version_range
.
+
+
+
+ It is usually hard decide for machines whether a product version matches a product version ranges. Therefore, it is recommended to avoid version ranges and enumerate versions wherever possible.
+
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/category
+
+ Example 1 (which fails the test):
+
+ "category": "product_version_range",
+
+
+ The category product_version_range
was used.
+
+
+
+ 6.3.11 Usage of V as Version Indicator
+
+
+ For each element of type /$defs/branches_t
with category
of product_version
it MUST be tested that the value of name
does not start with v
or V
before the version.
+
+
+
+ To implement this test it is deemed sufficient that the value of name
does not match the following regex:
+
+ ^[vV][0-9].*$
+
+
+ The relevant paths for this test are:
+
+ /product_tree/branches[](/branches[])*/name
+
+ Example 1 (which fails the test):
+
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "v4.2",
+ // ...
+ }
+ ]
+
+
+ The product version starts with a v
.
+
+
+
+
+ 7. Distributing CSAF documents
+
+
+ This section lists requirements and roles defined for distributing CSAF documents. The first subsection provides all requirements - the second one the roles. It is mandatory to fulfill the basic role "CSAF publisher". The last section provides specific rules for the process of retrieving CSAF documents.
+
+
+ 7.1 Requirements
+
+
+ The requirements in this subsection are consecutively numbered to be able to refer to them directly. The order does not give any hint about the importance. Not all requirements have to be fulfilled to conform to this specification - the sets of requirements per conformance clause are defined in section 7.2 .
+
+
+ 7.1.1 Requirement 1: Valid CSAF document
+
+
+ The document is a valid CSAF document (cf. Conformance clause 1).
+
+
+ 7.1.2 Requirement 2: Filename
+
+
+ The CSAF document has a filename according to the rules in section 5.1 .
+
+
+ 7.1.3 Requirement 3: TLS
+
+
+ The CSAF document is per default retrievable from a website which uses TLS for encryption and server authenticity. The CSAF document MUST NOT be downloadable from a location which does not encrypt the transport when crossing organizational boundaries to maintain the chain of custody.
+
+
+ 7.1.4 Requirement 4: TLP:WHITE
+
+
+ If the CSAF document is labeled TLP:WHITE, it MUST be freely accessible.
+
+
+ This does not exclude that such a document is also available in an access protected customer portal. However, there MUST be one copy of the document available for people without access to the portal.
+
+
+
+ Reasoning: If an advisory is already in the media, an end user should not be forced to collect the pieces of information from a press release but be able to retrieve the CSAF document.
+
+
+
+ 7.1.5 Requirement 5: TLP:AMBER and TLP:RED
+
+
+ CSAF documents labeled TLP:AMBER or TLP:RED MUST be access protected. If they are provided via a web server this SHALL be done under a different path than for TLP:WHITE, TLP:GREEN and unlabeled CSAF documents. TLS client authentication, access tokens or any other automatable authentication method SHALL be used.
+
+
+ An issuing party MAY agree with the recipients to use any kind of secured drop at the recipients' side to avoid putting them on their own website. However, it MUST be ensured that the documents are still access protected.
+
+
+ 7.1.6 Requirement 6: No Redirects
+
+
+ Redirects SHOULD NOT be used. If they are inevitable only HTTP Header redirects are allowed.
+
+
+
+ Reasoning: Clients should not parse the payload for navigation and some, as e.g. curl
, do not follow any other kind of redirects.
+
+
+
+
+ The party MUST provide a valid provider-metadata.json
according to the schema CSAF provider metadata for its own metadata. The publisher
object SHOULD match the one used in the CSAF documents of the issuing party but can
+ be set to whatever value a CSAF aggregator SHOULD display over any individual publisher
values in the CSAF documents themselves.
+
+
+
+ This information is used to collect the data for CSAF aggregators, listers and end users. The CSAF provider metadata schema ensures the consistency of the metadata for a CSAF provider across the ecosystem. Other approaches, like extracting the publisher
object from CSAF documents, are likely to fail if the object
+ differs between CSAF documents.
+
+
+ It is suggested to put the file provider-metadata.json
adjacent to the ROLIE feed documents (requirement 15) or in the main directory adjacent to the year folders (requirement 14), changes.csv
(requirement 13) and the index.txt
(requirement 12). Suggested locations to store the
+ provider-metadata.json
are:
+
+
+
+
+ Example 1 (minimal with ROLIE document):
+
+ {
+ "canonical_url": "https://www.example.com/.well-known/csaf/provider-metadata.json",
+ "distributions": [
+ {
+ "rolie":{
+ "feeds": [
+ {
+ "summary":"All TLP:WHITE advisories of Example Company.",
+ "tlp_label": "WHITE",
+ "url": "https://www.example.com/.well-known/csaf/feed-tlp-white.json"
+ }
+ ]
+ }
+ }
+ ],
+ "last_updated": "2021-07-12T20:20:56.169Z",
+ "list_on_CSAF_aggregators": true,
+ "metadata_version": "2.0",
+ "mirror_on_CSAF_aggregators": true,
+ "public_openpgp_keys": [
+ {
+ "fingerprint": "8F5F267907B2C4559DB360DB2294BA7D2B2298B1",
+ "url": "https://keys.example.net/vks/v1/by-fingerprint/8F5F267907B2C4559DB360DB2294BA7D2B2298B1"
+ }
+ ],
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace":"https://psirt.example.com"
+ },
+ "role": "csaf_trusted_provider"
+ }
+
+ If a CSAF publisher (cf. section 7.2.1 ) does not provide the provider-metadata.json
, an aggregator SHOULD contact the CSAF publisher in question to determine the values for list_on_CSAF_aggregators
and mirror_on_CSAF_aggregators
. If that is impossible or
+ if the CSAF publisher is unresponsive the following values MUST be used:
+
+ "list_on_CSAF_aggregators": true,
+ "mirror_on_CSAF_aggregators": false
+
+
+ This prevents that CSAF documents of a CSAF publisher which have been collected by one CSAF aggregator A are mirrored again on a second CSAF aggregator B. Such cascades are prone to outdated information. If the first aggregator A collects the CSAF documents on best effort and B copies the files from A and announces that this
+ is done weekly, one might assume that B's CSAF documents are more recent. However, that is not the case as B's information depends on A.
+
+
+
+ 7.1.8 Requirement 8: security.txt
+
+
+ In the security.txt there MUST be at least one field CSAF
which points to the provider-metadata.json
(requirement 7). If this field indicates a web URI, then it MUST begin with "https://" (as per section 2.7.2 of [RFC7230 ]). See [SECURITY-TXT ] for more
+ details.
+
+
+
+ The security.txt was published as [RFC9116 ] in April 2022. At the time of this writing, the CSAF
field is in the process of being officially added.
+
+
+
+ Examples 1:
+
+ CSAF: https://domain.tld/security/data/csaf/provider-metadata.json
+CSAF: https://psirt.domain.tld/advisories/csaf/provider-metadata.json
+CSAF: https://domain.tld/security/csaf/provider-metadata.json
+CSAF: https://www.example.com/.well-known/csaf/provider-metadata.json
+
+ It is possible to advertise more than one provider-metadata.json
by adding multiple CSAF
fields, e.g. in case of changes to the organizational structure through merges or acquisitions. However, this SHOULD NOT be done and removed as soon as possible. If one of the URLs fulfills requirement 9, this MUST
+ be used as the first CSAF entry in the security.txt.
+
+
+
+ The URL path /.well-known/csaf/provider-metadata.json
under the main domain of the issuing authority serves directly the provider-metadata.json
according to requirement 7. The use of the scheme "HTTPS" is required. See [RFC8615 ] for more details.
+
+
+ Example 1:
+
+ https://www.example.com/.well-known/csaf/provider-metadata.json
+
+ 7.1.10 Requirement 10: DNS path
+
+
+ The DNS record csaf.data.security.domain.tld
SHALL resolve as a web server which serves directly the provider-metadata.json
according to requirement 7. The use of the scheme "HTTPS" is required.
+
+
+ 7.1.11 Requirement 11: One folder per year
+
+
+ The CSAF documents MUST be located within folders named <YYYY>
where <YYYY>
is the year given in the value of /document/tracking/initial_release_date
.
+
+
+ Examples 1:
+
+ 2021
+2020
+
+ 7.1.12 Requirement 12: index.txt
+
+
+ The index.txt file within MUST provide a list of all filenames of CSAF documents which are located in the sub-directories with their filenames.
+
+
+ Example 1:
+
+ 2020/example_company_-_2020-yh4711.json
+2019/example_company_-_2019-yh3234.json
+2018/example_company_-_2018-yh2312.json
+
+
+ This can be used to download all CSAF documents.
+
+
+
+ 7.1.13 Requirement 13: changes.csv
+
+
+ The file changes.csv MUST contain the filename as well as the value of /document/tracking/current_release_date
for each CSAF document in the sub-directories without a heading; lines MUST be sorted by the current_release_date
timestamp with the latest one first.
+
+
+ Example 1:
+
+ "2020/example_company_-_2020-yh4711.json","2020-07-01T10:09:07Z"
+"2018/example_company_-_2018-yh2312.json","2020-07-01T10:09:01Z"
+"2019/example_company_-_2019-yh3234.json","2019-04-17T15:08:41Z"
+"2018/example_company_-_2018-yh2312.json","2019-03-01T06:01:00Z"
+
+ 7.1.14 Requirement 14: Directory listings
+
+
+ Directory listing SHALL be enabled to support manual navigation.
+
+
+ 7.1.15 Requirement 15: ROLIE feed
+
+
+ Resource-Oriented Lightweight Information Exchange (ROLIE) is a standard to ease discovery of security content. ROLIE is built on top of the Atom Publishing Format and Protocol, with specific requirements that support publishing security content. All CSAF documents with the same TLP level MUST be listed in a single ROLIE feed.
+ At least one of the feeds
+
+
+ TLP:WHITE
+
+ TLP:GREEN
+
+ unlabeled
+
+
+
+ MUST exist. Each ROLIE feed document MUST be a JSON file that conforms with [RFC8322 ].
+
+
+ Example 1:
+
+ {
+ "feed": {
+ "id": "example-csaf-feed-tlp-white",
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json"
+ }
+ ],
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ],
+ "updated": "2021-01-01T12:00:00.000Z",
+ "entry": [
+ {
+ "id": "2020-ESA-001",
+ "title": "Example Security Advisory 001",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/2020/2020-ESA-001.json"
+ },
+ {
+ "rel": "hash",
+ "href": "https://psirt.domain.tld/advisories/csaf/2020/2020-ESA-001.json.sha512"
+ },
+ {
+ "rel": "signature",
+ "href": "https://psirt.domain.tld/advisories/csaf/2020/2020-ESA-001.json.asc"
+ }
+ ],
+ "published": "2021-01-01T11:00:00.000Z",
+ "updated": "2021-01-01T12:00:00.000Z",
+ "summary": {
+ "content": "Vulnerabilities fixed in ABC 0.0.1"
+ },
+ "content": {
+ "type": "application/json",
+ "src": "https://psirt.domain.tld/advisories/csaf/2020/2020-ESA-001.json"
+ },
+ "format": {
+ "schema": "https://docs.oasis-open.org/csaf/csaf/v2.0/csaf_json_schema.json",
+ "version": "2.0"
+ }
+ }
+ ]
+ }
+ }
+
+ Any existing hash file (requirement 18) MUST be listed in the corresponding entry of the ROLIE feed as an item of the array link
having the rel
value of hash
. Any existing signature file (requirement 19) MUST be listed in the corresponding entry of the ROLIE feed as an item of the array
+ link
having the rel
value of signature
.
+
+
+ 7.1.16 Requirement 16: ROLIE service document
+
+
+ The use and therefore the existence of ROLIE service document is optional. If it is used, each ROLIE service document MUST be a JSON file that conforms with [RFC8322 ] and lists the ROLIE feed documents.
+
+
+ Example 1:
+
+ {
+ "service": {
+ "workspace": [
+ {
+ "title": "Public CSAF feed",
+ "collection": [
+ {
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json",
+ "categories": {
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+
+ 7.1.17 Requirement 17: ROLIE category document
+
+
+ The use and therefore the existence of ROLIE category document is optional. If it is used, each ROLIE category document MUST be a JSON file that conforms with [RFC8322 ]. ROLIE categories SHOULD be used for to further dissect CSAF documents by one or more of the following criteria:
+
+
+
+
+ document category
+
+
+
+
+ document language
+
+
+
+
+ values of the branch category within the Product Tree including but not limited to
+
+
+
+ vendor
+
+
+ product_family
+
+
+ product_name
+
+
+ product_version
+
+
+
+
+
+ type of product
+
+
+ Examples 1:
+
+ CPU
+ Firewall
+ Monitor
+ PLC
+ Printer
+ Router
+ Sensor
+ Server
+
+
+
+ areas or sectors, the products are used in
+
+
+ Examples 2:
+
+ Chemical
+ Commercial
+ Communication
+ Critical Manufacturing
+ Dams
+ Energy
+ Healthcare
+ Water
+
+
+
+ any other categorization useful to the consumers
+
+
+
+
+ Example 3:
+
+ {
+ "categories": {
+ "category": [
+ {
+ "term": "Example Company Product A"
+ },
+ {
+ "term": "Example Company Product B"
+ }
+ ]
+ }
+ }
+
+ 7.1.18 Requirement 18: Integrity
+
+
+ All CSAF documents SHALL have at least one hash file computed with a secure cryptographic hash algorithm (e.g. SHA-512 or SHA-3) to ensure their integrity. The filename is constructed by appending the file extension which is given by the algorithm.
+
+
+ MD5 and SHA1 SHOULD NOT be used.
+
+
+ Example 1:
+
+ File name of CSAF document: example_company_-_2019-yh3234.json
+File name of SHA-256 hash file: example_company_-_2019-yh3234.json.sha256
+File name of SHA-512 hash file: example_company_-_2019-yh3234.json.sha512
+
+ The file content SHALL start with the first byte of the hexadecimal hash value. Any subsequent data (like a filename) which is optional SHALL be separated by at least one space.
+
+
+ Example 2:
+
+ ea6a209dba30a958a78d82309d6cdcc6929fcb81673b3dc4d6b16fac18b6ff38 example_company_-_2019-yh3234.json
+
+ If a ROLIE feed exists, each hash file MUST be listed in it as described in requirement 15.
+
+
+ 7.1.19 Requirement 19: Signatures
+
+
+ All CSAF documents SHALL have at least one OpenPGP signature file which is provided under the same filename which is extended by the appropriate extension. See [RFC4880 ] for more details.
+
+
+ Example 1:
+
+ File name of CSAF document: example_company_-_2019-yh3234.json
+File name of signature file: example_company_-_2019-yh3234.json.asc
+
+ If a ROLIE feed exists, each signature file MUST be listed in it as described in requirement 15.
+
+
+ 7.1.20 Requirement 20: Public OpenPGP Key
+
+
+ The public part of the OpenPGP key used to sign the CSAF documents MUST be available. It SHOULD also be available at a public key server.
+
+
+
+ For example, the public part of the OpenPGP key could be placed in a directory openpgp
adjacent to the provider-metadata.json
.
+
+
+
+ The OpenPGP key SHOULD have a strength that is considered secure.
+
+
+
+ Guidance on OpenPGP key strength can be retrieved from technical guidelines of competent authorities.
+
+
+
+ 7.1.21 Requirement 21: List of CSAF providers
+
+
+ The file aggregator.json
MUST be present and valid according to the JSON schema CSAF aggregator . It MUST NOT be stored adjacent to a provider-metadata.json
.
+
+
+
+ Suggested locations to store the aggregator.json
are:
+
+
+
+
+ The file aggregator.json
SHOULD only list the latest version of the metadata of a CSAF provider.
+
+
+ Example 1:
+
+ {
+ "aggregator": {
+ "category": "lister",
+ "contact_details": "Example CSAF Lister can be reached at contact_us@lister.example, or via our website at https://lister.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example CSAF Lister",
+ "namespace": "https://lister.example"
+ },
+ "aggregator_version": "2.0",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2021-07-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ }
+ },
+ {
+ "metadata": {
+ "last_updated": "2021-07-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ }
+ }
+ ],
+ "last_updated":"2021-07-12T22:35:38.978Z"
+ }
+
+ 7.1.22 Requirement 22: Two disjoint issuing parties
+
+
+ The file aggregator.json
(requirement 21) lists at least two disjoint CSAF providers (including CSAF trusted providers) or one CSAF publisher and one CSAF provider (including CSAF trusted provider).
+
+
+ 7.1.23 Requirement 23: Mirror
+
+
+ The CSAF documents for each issuing party that is mirrored MUST be in a different folder. The folder name SHOULD be retrieved from the name of the issuing authority. This folders MUST be adjacent to the aggregator.json
(requirement 21). Each such folder MUST at least:
+
+
+ provide a provider-metadata.json
for the current issuing party.
+
+ provide the ROLIE feed document according to requirement 15 which links to the local copy of the CSAF document.
+
+
+
+ Example 1:
+
+ {
+ "aggregator": {
+ "category": "aggregator",
+ "contact_details": "Example Aggregator can be reached at contact_us@aggregator.example, or via our website at https://aggregator.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example Aggregator",
+ "namespace": "https://aggregator.example"
+ },
+ "aggregator_version": "2.0",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2021-07-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Company_ProductCERT/provider-metadata.json"
+ ]
+ },
+ {
+ "metadata": {
+ "last_updated": "2021-07-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Coordinator_CERT/provider-metadata.json"
+ ]
+ }
+ ],
+ "last_updated":"2021-07-12T22:35:38.978Z"
+ }
+
+ 7.2 Roles
+
+
+ This subsection groups the requirements from the previous subsection into named sets which target the roles with the same name. This allows end users to request their suppliers to fulfill a certain set of requirements. A supplier can use roles for advertising and marketing.
+
+
+ The roles "CSAF publisher", "CSAF provider", and "CSAF trusted provider" are intended directly for issuing parties and form the first group. The second group consists of the roles "CSAF lister" and "CSAF aggregator". They collect data from the aforementioned issuing parties of the first group and provide them in a single place
+ to aid in automation. Parties of the second group can also issue their own advisories. However, they MUST follow the rules for the first group for that.
+
+
+ Both, a CSAF lister and a CSAF aggregator, decide based on their own rules which issuing parties to list respectively to mirror. However, an issuing party MAY apply to be listed or mirrored.
+
+
+ Issuing parties MUST indicate through the value false
in list_on_CSAF_aggregators
if they do not want to be listed. Issuing parties MUST indicate through the value false
in mirror_on_CSAF_aggregators
if they do not want to be mirrored.
+
+
+ The values are independent. The combination of the value false
in list_on_CSAF_aggregators
and true
in mirror_on_CSAF_aggregators
implies that the issuing party does not want to be listed without having the CSAF documents mirrored. Therefore, a CSAF aggregator can list that
+ issuing party if it mirrors the files.
+
+
+ 7.2.1 Role: CSAF publisher
+
+
+ A distributing party satisfies the "CSAF publisher" role if the party:
+
+
+ satisfies the requirements 1 to 4 in section 7.1 .
+
+ distributes only CSAF documents on behalf of its own.
+
+
+
+ 7.2.2 Role: CSAF provider
+
+
+ A CSAF publisher satisfies the "CSAF provider" role if the party fulfills the following three groups of requirements:
+
+
+ Firstly, the party:
+
+
+ satisfies the "CSAF publisher" role profile.
+
+ additionally satisfies the requirements 5 to 7 in section 7.1 .
+
+
+
+ Secondly, the party:
+
+
+ satisfies at least one of the requirements 8 to 10 in section 7.1 .
+
+
+
+ Thirdly, the party:
+
+
+ satisfies the requirements 11 to 14 in section 7.1 or requirements 15 to 17 in section 7.1 .
+
+
+
+
+ If the party uses the ROLIE-based distribution, it MUST also satisfy requirements 15 to 17. If it uses the directory-based distribution, it MUST also satisfy requirements 11 to 14.
+
+
+
+ 7.2.3 Role: CSAF trusted provider
+
+
+ A CSAF provider satisfies the "CSAF trusted provider" role if the party:
+
+
+ satisfies the "CSAF provider" role profile.
+
+ additionally satisfies the requirements 18 to 20 in section 7.1 .
+
+
+
+ 7.2.4 Role: CSAF lister
+
+
+ A distributing party satisfies the "CSAF lister" role if the party:
+
+
+ satisfies the requirements 6, 21 and 22 in section 7.1 .
+
+ uses the value lister
for /aggregator/category
.
+
+ does not list any mirror pointing to a domain under its own control.
+
+
+
+
+ The purpose of this role is to provide a list of URLs where to find CSAF documents. It is not assumed that the list will be complete.
+
+
+
+ 7.2.5 Role: CSAF aggregator
+
+
+ A distributing party satisfies the "CSAF aggregator" role if the party:
+
+
+ satisfies the requirements 1 to 6 and 21 to 23 in section 7.1 .
+
+ uses the value aggregator
for /aggregator/category
.
+
+ lists a mirror for at least two disjoint issuing parties pointing to a domain under its own control.
+
+ links the public part of the OpenPGP key used to sign CSAF documents for each mirrored issuing party in the corresponding provider-metadata.json
.
+
+ provides for each CSAF document that is mirrored a signature (requirement 19) and a hash (requirement 18). Both SHALL be listed in the ROLIE feed. If the issuing party provides those files for a CSAF document, they SHOULD be copied as well. If the issuing party does not provide those files, they SHALL be created by the CSAF
+ aggregator. Such a signature does not imply any liability of CSAF aggregator for the content of the corresponding CSAF document. It just confirms that the CSAF document provided has not been modified after being downloaded from the issuing party. A CSAF aggregator MAY add additional signatures and hashes for a CSAF document.
+
+
+
+ Additionally, a CSAF aggregator MAY list one or more issuing parties that it does not mirror.
+
+
+
+ The purpose of this role is to provide a single point where CSAF documents can be retrieved. Multiple CSAF aggregators are expected to exist around the world. None of them is required to mirror all CSAF documents of all issuing parties. CSAF aggregators can be provided for free or as a paid service.
+
+
+ To aid in automation, CSAF aggregators MAY mirror CSAF documents from CSAF publishers. Regarding the terms of use they SHOULD consult with the issuing party. The purpose of this option is that a consumer can retrieve CSAF documents from a CSAF publisher as if this issuing party would be a CSAF trusted provider. To reach that
+ goal, a CSAF aggregator collects the CSAF documents from the CSAF publisher and mirrors it. The collection process MAY be automated or manual. CSAF aggregators announce the collection interval through the field update_interval
in the corresponding item of the CSAF publishers list (csaf_publishers
) in
+ their aggregator.json
. To minimize the implementation efforts and process overhead, a CSAF aggregator MAY upload the CSAF documents of a CSAF publisher into an internal instance of a CSAF provider software. Such construct is called "CSAF proxy provider" as it can be mirrored by the CSAF aggregator software.
+ However, such a CSAF proxy provider MUST NOT be accessible from anyone else than the CSAF aggregator itself. Otherwise, that would violate the second rule of section 7.2.1 . Therefore, it is recommended to expose the CSAF proxy provider only on localhost and allow the access only from the CSAF
+ aggregator software.
+
+
+
+ 7.3 Retrieving rules
+
+
+ The retrieving process executes in two phases: Finding the provider-metadata.json
(requirement 7 in section 7.1 ) and retrieving CSAF documents.
+
+
+
+ A retrieving party SHOULD do the first phase every time. Based on the setup and use case of the retrieving party it MAY choose to do it less often, e.g. only when adding new or updating distributing parties. In that case, it SHOULD to check regularly whether new information is available.
+
+
+
+
+ Direct locating : The following process SHOULD be used to determine the location of a provider-metadata.json
(requirement 7 in section 7.1 ) based on the main domain of the issuing party:
+
+
+ Checking the Well-known URL (requirement 9 in section 7.1 )
+
+ Checking the security.txt (requirement 8 in section 7.1 )
+
+ Checking the DNS path (requirement 10 in section 7.1 )
+
+ Select one or more provider-metadata.json
to use.
+
+
+
+
+ The term "checking" used in the listing above SHOULD be understood as follows: Try to access the resource and test whether the response provides an expected result as defined in the requirement in section 7.1. If that is the case, the step was successful - otherwise not.
+
+
+
+ The first two steps SHOULD be performed in all cases as the security.txt MAY advertise additional provider-metadata.json
. The third step SHOULD only be performed if the first two did not result in the location of at least one provider-metadata.json
.
+
+
+ Indirect locating : A retrieving party MAY choose to determine the location of a provider-metadata.json
by retrieving its location from an aggregator.json
(requirement 21 in section 7.1 ) of a CSAF lister or CSAF aggregator.
+
+
+ 7.3.2 Retrieving CSAF documents
+
+
+ Given a provider-metadata.json
, the following process SHOULD be used to retrieve CSAF documents:
+
+
+ Parse the provider-metadata.json
to determine whether the directory-based (requirements 11 to 14 in section 7.1 ) or ROLIE-based distribution (requirements 15 to 17 in section 7.1 ) is used. If both are present, the ROLIE information SHOULD be preferred.
+
+ For any CSAF trusted provider, the hash and signature files (requirements 18 to 19 in section 7.1 ) SHOULD be retrieved together with the CSAF document. They MUST be checked before further processing the CSAF document.
+
+ Test the CSAF document against the schema.
+
+ Execute mandatory tests on the CSAF document.
+
+
+
+
+ 8. Safety, Security, and Data Protection Considerations
+
+
+ CSAF documents are based on JSON, thus the security considerations of [RFC8259 ] apply and are repeated here as service for the reader:
+
+
+
+ Generally, there are security issues with scripting languages. JSON is a subset of JavaScript but excludes assignment and invocation.
+
+
+ Since JSON's syntax is borrowed from JavaScript, it is possible to use that language's eval()
function to parse most JSON texts (but not all; certain characters such as U+2028 LINE SEPARATOR
and U+2029 PARAGRAPH SEPARATOR
are legal in JSON but not JavaScript). This generally constitutes
+ an unacceptable security risk, since the text could contain executable code along with data declarations. The same consideration applies to the use of eval()-like functions in any other programming language in which JSON texts conform to that language's syntax.
+
+
+
+ In addition, CSAF documents may be rendered by consumers in various human-readable formats like HTML or PDF. Thus, for security reasons, CSAF producers and consumers SHALL adhere to the following:
+
+
+ CSAF producers SHOULD NOT emit messages that contain HTML, even though all variants of Markdown permit it. To include HTML, source code, or any other content that may be interpreted or executed by a CSAF consumer, e.g. to provide a proof-of-concept, the issuing party SHALL use Markdown's fenced code blocks or inline code
+ option.
+
+ Deeply nested markup can cause a stack overflow in the Markdown processor [GFMENG ]. To reduce this risk, CSAF consumers SHALL use a Markdown processor that is hardened against such attacks. Note : One example is the GitHub fork of the cmark
Markdown processor [GFMCMARK ].
+
+ To reduce the risk posed by possibly malicious CSAF files that do contain arbitrary HTML (including, for example, javascript: links), CSAF consumers SHALL either disable HTML processing (for example, by using an option such as the --safe option in the cmark Markdown processor) or run the resulting HTML through an HTML
+ sanitizer. CSAF consumers that are not prepared to deal with the security implications of formatted messages SHALL NOT attempt to render them and SHALL instead fall back to the corresponding plain text messages. As also any other programming code can be contained within a CSAF document, CSAF consumers SHALL ensure that none of
+ the values of a CSAF document is run as code. Moreover, it SHALL be treated as unsafe (user) input.
+
+
+ Additional, supporting mitigation measures like retrieving only CSAF documents from trusted sources and check their integrity and signature before parsing the document SHOULD be in place to reduce the risk further.
+
+
+
+
+
+
+
+ In the only subsection of this section, the conformance targets and clauses are listed. The clauses, matching the targets one to one, are listed in separate sub-subsections of the targets listing subsection.
+
+
+ Informative Comments:
+
+
+
+ The order in which targets, and their corresponding clauses appear is somewhat arbitrary as there is no natural order on such diverse roles participating in the document exchanging ecosystem.
+
+
+ Except for the target CSAF document , all other 16 targets span a taxonomy of the complex CSAF ecosystems existing in and between diverse security advisory generating, sharing, and consuming communities.
+
+
+ In any case, there are no capabilities organized in increasing quality levels for targets because the security advisory sharing communities follow the chain link model. Instead, a single minimum capability level for every target is given to maintain important goals of providing a common framework for security advisories:
+
+
+ Fast production, sharing, and actionable consumption of security advisories
+
+ Consistent end to end automation through collaborating actors
+
+ Clear baseline across the communities per this specification
+
+ Additional per-community cooperative extensions which may flow back into future updates of this specification
+
+
+
+
+
+ This document defines requirements for the CSAF file format and for certain software components that interact with it. The entities ("conformance targets") for which this document defines requirements are:
+
+
+
+ CSAF document : A security advisory text document in the format defined by this document.
+
+
+ CSAF producer : A program which emits output in the CSAF format.
+
+
+ CSAF direct producer : An analysis tool which acts as a CSAF producer.
+
+
+ CSAF converter : A CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format.
+
+
+ CVRF CSAF converter : A CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+
+
+ CSAF content management system : A program that is able to create, review and manage CSAF documents and is able to preview their details as required by CSAF viewer.
+
+
+ CSAF post-processor : A CSAF producer that transforms an existing CSAF document into a new CSAF document, for example, by removing or redacting elements according to sharing policies.
+
+
+ CSAF modifier : A CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties. The output is a valid CSAF document.
+
+
+ CSAF translator : A CSAF post-processor which takes a CSAF document as input and translates values of properties into another language. The output is a valid CSAF document.
+
+
+ CSAF consumer : A program that reads and interprets a CSAF document.
+
+
+ CSAF viewer : A CSAF consumer that reads a CSAF document, displays a list of the results it contains, and allows an end user to view each result in the context of the artifact in which it occurs.
+
+
+ CSAF management system : A program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+
+
+ CSAF asset matching system : A program that connects to or is an asset database and is able to manage CSAF documents as required by CSAF management system as well as matching them to assets of the asset database.
+
+
+ CSAF basic validator : A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+
+
+ CSAF extended validator : A CSAF basic validator that additionally performs optional tests.
+
+
+ CSAF full validator : A CSAF extended validator that additionally performs informative tests.
+
+
+ CSAF SBOM matching system : A program that connects to or is an SBOM database and is able to manage CSAF documents as required by CSAF management system as well as matching them to SBOM components of the SBOM database.
+
+
+
+
+ A text file or data stream satisfies the "CSAF document" conformance profile if it:
+
+
+ conforms to the syntax and semantics defined in section 3 .
+
+ satisfies at least one profile defined in section 4 .
+
+ does not fail any mandatory test defined in section 6.1 .
+
+
+
+
+ A program satisfies the "CSAF producer" conformance profile if the program:
+
+
+ produces output in the CSAF format, according to the conformance profile "CSAF document" .
+
+ satisfies those normative requirements in section 3 and 8 that are designated as applying to CSAF producers.
+
+
+
+
+ An analysis tool satisfies the "CSAF direct producer" conformance profile if the analysis tool:
+
+
+ satisfies the "CSAF producer" conformance profile.
+
+ additionally satisfies those normative requirements in section 3 that are designated as applying to "direct producers" or to "analysis tools".
+
+ does not emit any objects, properties, or values which, according to section 3 , are intended to be produced only by converters.
+
+
+
+
+ A converter satisfies the “CSAF converter” conformance profile if the converter:
+
+
+ satisfies the "CSAF producer" conformance profile.
+
+ additionally satisfies those normative requirements in section 3 that are designated as applying to converters.
+
+ does not emit any objects, properties, or values which, according to section 3 , are intended to be produced only by direct producers.
+
+
+
+
+ A program satisfies the "CVRF CSAF converter" conformance profile if the program fulfills the following two groups of requirements:
+
+
+ Firstly, the program:
+
+
+ satisfies the "CSAF producer" conformance profile.
+
+ takes only CVRF documents as input.
+
+ additionally satisfies the normative requirements given below.
+
+
+
+ Secondly, the program fulfills the following for all items of:
+
+
+ type /$defs/branches_t
: If any prod:Branch
instance has the type Realm
or Resource
, the CVRF CSAF converter replaces those with the category product_name
. In addition, the converter outputs a warning that those types do not exist in CSAF and have been replaced
+ with the category product_name
.
+
+ type /$defs/version_t
: If any element doesn't match the semantic versioning, replace the all elements of type /$defs/version_t
with the corresponding integer version. For that, CVRF CSAF converter sorts the items of /document/tracking/revision_history
by number
ascending
+ according to the rules of CVRF. Then, it replaces the value of number
with the index number in the array (starting with 1). The value of /document/tracking/version
is replaced by value of number
of the corresponding revision item. The match MUST be calculated by the original values used in
+ the CVRF document. If this conversion was applied, for each Revision the original value of cvrf:Number
MUST be set as legacy_version
in the converted document.
+
+
+ /document/acknowledgments[]/organization
and /vulnerabilities[]/acknowledgments[]/organization
: If more than one cvrf:Organization
instance is given, the CVRF CSAF converter converts the first one into the organization
. In addition, the converter outputs a warning that
+ information might be lost during conversion of document or vulnerability acknowledgment.
+
+
+ /document/lang
: If one or more CVRF element containing an xml:lang
attribute exist and contain the exact same value, the CVRF CSAF converter converts this value into lang
. If the values of xml:lang
attributes are not equal, the CVRF CSAF converter outputs a warning that the
+ language could not be determined and possibly a document with multiple languages was produced. In addition, it SHOULD also present all values of xml:lang
attributes as a set in the warning.
+
+
+ /document/publisher/name
and /document/publisher/namespace
: Sets the value as given in the configuration of the program or the corresponding argument the program was invoked with. If values from both sources are present, the program SHOULD prefer the latter one. The program SHALL NOT use hard-coded
+ values.
+
+
+ /document/tracking/id
: If the element cvrf:ID
contains any line breaks or leading or trailing white space, the CVRF CSAF converter removes those characters. In addition, the converter outputs a warning that the ID was changed.
+
+
+ /product_tree/relationships[]
: If more than one prod:FullProductName
instance is given, the CVRF CSAF converter converts the first one into the full_product_name
. In addition, the converter outputs a warning that information might be lost during conversion of product relationships.
+
+
+ /vulnerabilities[]/cwe
: If more than one vuln:CWE
instance is given, the CVRF CSAF converter converts the first one into cwe
. In addition, the converter outputs a warning that information might be lost during conversion of the CWE.
+
+
+ /vulnerabilities[]/ids
: If a vuln:ID
element is given, the CVRF CSAF converter converts it into the first item of the ids
array.
+
+
+ /vulnerabilities[]/remediation[]
: If no product_ids
or group_ids
is given, the CVRF CSAF converter appends all Product IDs which are listed under ../product_status
in the arrays known_affected
, first_affected
and last_affected
into
+ product_ids
. If none of these arrays exist, the CVRF CSAF converter outputs an error that no matching Product ID was found for this remediation element.
+
+
+ /vulnerabilities[]/scores[]
:
+
+ For any CVSS v3 element, the CVRF CSAF converter MUST compute the baseSeverity
from the baseScore
according to the rules of the applicable CVSS standard.
+
+ If no product_id
is given, the CVRF CSAF converter appends all Product IDs which are listed under ../product_status
in the arrays known_affected
, first_affected
and last_affected
. If none of these arrays exist, the CVRF CSAF converter outputs an error that
+ no matching Product ID was found for this score element.
+
+ If a vectorString
is missing, the CVRF CSAF converter outputs an error that the CVSS element could not be converted as the CVSS vector was missing. A CVRF CSAF converter MAY offer a configuration option to delete such elements.
+
+ If there are CVSS v3.0 and CVSS v3.1 Vectors available for the same product, the CVRF CSAF converter discards the CVSS v3.0 information and provide in CSAF only the CVSS v3.1 information.
+
+ To determine, which minor version of CVSS v3 is used, the CVRF CSAF converter uses the following steps:
+
+
+
+ Retrieve the CVSS version from the CVSS vector, if present.
+
+
+ Example 1:
+
+ CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H => 3.1
+
+
+
+ Retrieve the CVSS version from the CVSS element's namespace, if present. The CVRF CSAF converter outputs a warning that this value was guessed from the element's namespace.
+
+
+ Example 2:
+
+ xmlns:cvssv31="https://www.first.org/cvss/cvss-v3.1.xsd"
+ <!-- -->
+ <cvssv31:ScoreSetV3>
+
+ is handled the same as
+
+
+ Example 3:
+
+ <ScoreSetV3 xmlns="https://www.first.org/cvss/cvss-v3.1.xsd">
+
+
+
+ Retrieve the CVSS version from the CVSS namespace given in the root element, if present. The CVRF CSAF converter outputs a warning that this value was guessed from the global namespace. If more than one CVSS namespace is present and the element is not clearly defined via the namespace, this step MUST be skipped
+ without a decision.
+
+
+ Example 4:
+
+ xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" => 3.0
+
+
+
+ Retrieve the CVSS version from a config value, which defaults to 3.0
. (As CSAF CVRF v1.2 predates CVSS v3.1.) The CVRF CSAF converter outputs a warning that this value was taken from the config.
+
+
+
+
+
+
+
+
+ 9.1.6 Conformance Clause 6: CSAF content management system
+
+
+ A CSAF content management system satisfies the "CSAF content management system" conformance profile if the content management system:
+
+
+
+
+ satisfies the "CSAF producer" conformance profile.
+
+
+
+
+ satisfies the "CSAF viewer" conformance profile.
+
+
+
+
+ provides at least the following management functions:
+
+
+
+
+ create new CSAF documents
+
+
+
+
+ prefill CSAF documents based on values given in the configuration (see below)
+
+
+
+
+ create a new version of an existing CSAF document
+
+
+
+
+ checkout old versions of a CSAF document
+
+
+
+
+ show all differences between versions of a CSAF document
+
+
+
+
+ list all CSAF documents within the system
+
+
+
+
+ delete CSAF documents from the system
+
+
+
+
+ review CSAF documents in the system
+
+
+
+
+ approve CSAF documents
+
+
+
+
+ search for CSAF documents by values of required fields at document
-level or their children within the system
+
+
+
+
+ search for CSAF documents by values of cve
within the system
+
+
+
+
+ search for CSAF documents based on properties of product_tree
+
+
+
+
+ filter on all properties which it is required to search for
+
+
+
+
+ export of CSAF documents
+
+
+
+
+ show an audit log for each CSAF document
+
+
+
+
+ identify the latest version of CSAF documents with the same /document/tracking/id
+
+
+
+
+ suggest a /document/tracking/id
based on the given configuration.
+
+
+
+
+ track of the version of CSAF documents automatically and increment according to the versioning scheme (see also subsections of 3.1.11 ) selected in the configuration.
+
+
+
+
+ check that the document version is set correctly based on the changes in comparison to the previous version (see also subsections of 3.1.11 ).
+
+
+
+
+ suggest to use the document status interim
if a CSAF document is updated more frequent than the given threshold in the configuration (default: 3 weeks)
+
+
+
+
+ suggest to publish a new version of the CSAF document with the document status final
if the document status was interim
and no new release has be done during the given threshold in the configuration (default: 6 weeks)
+
+
+
+
+ support the following workflows:
+
+
+ "New Advisory": create a new advisory, request a review, provide review comments or approve it, resolve review comments; if the review approved it, the approval for publication can be requested; if granted the document status changes to final
(or ìnterim
based on the selection in approval or
+ configuration) and the advisory is provided for publication (manual or time-based)
+
+ "Update Advisory": open an existing advisory, create new revision & change content, request a review, provide review comments or approve it, resolve review comments; if the review approved it, the approval for publication can be requested; if granted the document status changes to final
(or
+ ìnterim
based on the selection in approval or configuration) and the advisory is provided for publication (manual or time-based)
+
+
+
+
+
+
+
+ offers both: publication immediately or at a given date/time.
+
+
+
+
+ automates handling of date/time and version.
+
+
+
+
+ provides an API to retrieve all CSAF documents which are currently in the status published.
+
+
+
+
+ optionally provides an API to import or create new advisories from outside systems (e.g. bug tracker, CVD platform,...).
+
+
+
+
+ provides a user management and support at least the following roles:
+
+
+
+ Registered : Able to see all published CSAF documents (but only in the published version).
+
+
+ Author : inherits Registered permissions and also can Create and Edit Own (mostly used for automated creation, see above)
+
+
+ Editor : inherits Author permissions and can Edit (mostly used in PSIRT)
+
+
+ Publisher : inherits Editor permissions and can Change state and Review any (mostly used as HEAD of PSIRT or team lead)
+
+
+ Reviewer : inherits Registered permissions and can Review advisories assigned to him (might be a subject matter expert or management)
+
+
+ Manager : inherits Publisher permissions and can Delete; User management up to Publisher
+
+
+ Administrator : inherits Manager permissions and can Change the configuration
+
+
+
+
+
+ may use groups to support client separation (multitenancy) and therefore restrict the roles to actions within their group. In this case, there MUST be a Group configurator which is able to change the values which are used to prefill fields in new advisories for that group. He might also do the user management for
+ the group up to a configured level.
+
+
+
+
+ prefills the following fields in new CSAF documents with the values given below or based on the templates from configuration:
+
+
+
+ /document/csaf_version
with the value 2.0
+
+
+ /document/language
+
+
+ /document/notes
+
+
+ legal_disclaimer
(Terms of use from the configuration)
+
+
+ general
(General Security recommendations from the configuration)
+
+
+
+
+ /document/tracking/current_release_date
with the current date
+
+
+ /document/tracking/generator
and children
+
+
+ /document/tracking/initial_release_date
with the current date
+
+
+ /document/tracking/revision_history
+
+
+ date
with the current date
+
+
+ number
(based on the templates according to the versioning scheme configured)
+
+
+ summary
(based on the templates from configuration; default: "Initial version.")
+
+
+
+
+ /document/tracking/status
with draft
+
+
+ /document/tracking/version
with the value of number
the latest /document/tracking/revision_history[]
element
+
+
+ /document/publisher
and children
+
+
+ /document/category
(based on the templates from configuration)
+
+
+
+
+
+ When updating an existing CSAF document:
+
+
+ prefills all fields which have be present in the existing CSAF document
+
+ adds a new item in /document/tracking/revision_history[]
+
+ updates the following fields with the values given below or based on the templates from configuration:
+
+
+ /document/csaf_version
with the value 2.0
+
+
+ /document/language
+
+
+ /document/notes
+
+
+ legal_disclaimer
(Terms of use from the configuration)
+
+
+ general
(General Security recommendations from the configuration)
+
+
+
+
+ /document/tracking/current_release_date
with the current date
+
+
+ /document/tracking/generator
and children
+
+ the new item in /document/tracking/revision_history[]
+
+
+ date
with the current date
+
+
+ number
(based on the templates according to the versioning scheme configured)
+
+
+
+
+ /document/tracking/status
with draft
+
+
+ /document/tracking/version
with the value of number
the latest /document/tracking/revision_history[]
element
+
+
+ /document/publisher
and children
+
+
+
+
+
+
+
+ 9.1.7 Conformance Clause 7: CSAF post-processor
+
+
+ A CSAF post-processor satisfies the "CSAF post-processor" conformance profile if the post-processor:
+
+
+ satisfies the "CSAF consumer" conformance profile.
+
+ satisfies the "CSAF producer" conformance profile.
+
+ additionally satisfies those normative requirements in section 3 that are designated as applying to post-processors.
+
+
+
+
+ A program satisfies the "CSAF modifier" conformance profile if the program fulfills the two following groups of requirements:
+
+
+ The program:
+
+
+ satisfies the "CSAF post-processor" conformance profile.
+
+ adds, deletes or modifies at least one property, array, object or value of a property or item of an array.
+
+ does not emit any objects, properties, or values which, according to section 9 , are intended to be produced only by CSAF translators.
+
+ satisfies the normative requirements given below.
+
+
+
+ The resulting modified document:
+
+
+ does not have the same /document/tracking/id
as the original document. The modified document can use a completely new /document/tracking/id
or compute one by appending the original /document/tracking/id
as a suffix after an ID from the naming scheme of the issuer of the modified
+ version. It SHOULD NOT use the original /document/tracking/id
as a prefix.
+
+ includes a reference to the original advisory as first element of the array /document/references[]
.
+
+
+
+
+ A program satisfies the "CSAF translator" conformance profile if the program fulfills the two following groups of requirements:
+
+
+ The program:
+
+
+ satisfies the "CSAF post-processor" conformance profile.
+
+ translates at least one value.
+
+ preserves the same semantics and form across translations.
+
+ satisfies the normative requirements given below and does not add or remove other elements than required below.
+
+
+
+ The resulting translated document:
+
+
+ does not use the same /document/tracking/id
as the original document. The translated document can use a completely new /document/tracking/id
or compute one by using the original /document/tracking/id
as a prefix and adding an ID from the naming scheme of the issuer of the translated
+ version. It SHOULD NOT use the original /document/tracking/id
as a suffix. If an issuer uses a CSAF translator to publish his advisories in multiple languages they MAY use the combination of the original /document/tracking/id
and translated /document/lang
as a
+ /document/tracking/id
for the translated document.
+
+ provides the /document/lang
property with a value matching the language of the translation.
+
+ provides the /document/source_lang
to contain the language of the original document (and SHOULD only be set by CSAF translators).
+
+ has the value translator
set in /document/publisher/category
+
+ includes a reference to the original advisory as first element of the array /document/references[]
.
+
+ MAY contain translations for elements in arrays of references_t
after the first element. However, it MUST keep the original URLs as references at the end.
+
+
+
+
+ A processor satisfies the "CSAF consumer" conformance profile if the processor:
+
+
+ reads CSAF documents and interprets them according to the semantics defined in section 3 .
+
+ satisfies those normative requirements in section 3 and 8 that are designated as applying to CSAF consumers.
+
+
+
+
+ A viewer satisfies the "CSAF viewer" conformance profile if the viewer fulfills the two following groups of requirements:
+
+
+ The viewer:
+
+
+ satisfies the "CSAF consumer" conformance profile.
+
+ satisfies the normative requirements given below.
+
+
+
+ For each CVSS-Score in /vulnerabilities[]/scores[]
the viewer:
+
+
+ preferably shows the vector
if there is an inconsistency between the vector
and any other sibling attribute.
+
+ SHOULD prefer the item of scores[]
for each product_id
which has the highest CVSS Base Score and newest CVSS version (in that order) if a product_id
is listed in more than one item of scores[]
.
+
+
+
+
+ A CSAF management system satisfies the "CSAF management system" conformance profile if the management system:
+
+
+ satisfies the "CSAF viewer" conformance profile.
+
+ provides at least the following management functions:
+
+ add new CSAF documents (e.g. from file system or URL) to the system
+
+ list all CSAF documents within the system
+
+ delete CSAF documents from the system
+
+ comment on CSAF documents in the system
+
+ mark CSAF documents as read in the system
+
+ search for CSAF documents by values of required fields at document
-level or their children within the system
+
+ search for CSAF documents by values of cve
within the system
+
+ search for CSAF documents based on properties of /product_tree
+
+ filter on all properties which it is required to search for
+
+ sort on all properties which it is required to search for
+
+ sort on CVSS scores and /document/aggregate_severity/text
+
+
+
+ identifies the latest version of CSAF documents with the same /document/tracking/id
.
+
+ is able to show the difference between 2 versions of a CSAF document with the same /document/tracking/id
.
+
+
+
+
+ A CSAF asset matching system satisfies the "CSAF asset matching system" conformance profile if the asset matching system:
+
+
+ satisfies the "CSAF management system" conformance profile.
+
+ is an asset database or connects to one.
+
+ matches the CSAF documents within the system to the respective assets. This might be done with a probability which gives the end user the chance to broaden or narrow the results. The process of matching is also referred to as "run of the asset matching module".
+
+ provides for each product of the asset database a list of matched advisories.
+
+ provides for each asset of the asset database a list of matched advisories.
+
+ provides for each CSAF document a list of matched product of the asset database.
+
+ provides for each CSAF document a list of matched asset of the asset database.
+
+ provides for each vulnerability within a CSAF document the option to mark a matched asset in the asset database as "not remediated", "remediation in progress", or "remediation done". A switch to mark all assets at once MAY be implemented.
+
+ does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched product or asset has not changed.
+
+ detects the usage semantic version (as described in section 3.1.11.2 ).
+
+ is able to trigger a run of the asset matching module:
+
+ manually:
+
+ per CSAF document
+
+ per list of CSAF documents
+
+ per asset
+
+ per list of assets
+
+
+
+ automatically:
+
+ when a new CSAF document is inserted (for this CSAF document)
+
+ when a new asset is inserted (for this asset)
+
+ when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+
+
+
+
+ These also apply if more than one CSAF document or asset was added. To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+
+
+
+ Manually and automatically triggered runs SHOULD NOT be pooled.
+
+
+
+ provides at least the following statistics for the count of assets:
+
+ matching that CSAF document at all
+
+ marked with a given status
+
+
+
+
+
+
+ A program satisfies the "CSAF basic validator" conformance profile if the program:
+
+
+ reads documents and performs a check against the JSON schema.
+
+ performs all mandatory tests as given in section 6.1 .
+
+ does not change the CSAF documents.
+
+
+
+ A CSAF basic validator MAY provide one or more additional functions:
+
+
+ Only run one or more selected mandatory tests.
+
+ Apply quick fixes as specified in the standard.
+
+ Apply additional quick fixes as implemented by the vendor.
+
+
+
+
+ A CSAF basic validator satisfies the "CSAF extended validator" conformance profile if the CSAF basic validator:
+
+
+ satisfies the "CSAF basic validator" conformance profile.
+
+ additionally performs all optional tests as given in section 6.2 .
+
+
+
+ A CSAF extended validator MAY provide an additional function to only run one or more selected optional tests.
+
+
+
+ A CSAF extended validator satisfies the "CSAF full validator" conformance profile if the CSAF extended validator:
+
+
+ satisfies the "CSAF extended validator" conformance profile.
+
+ additionally performs all informative tests as given in section 6.3 .
+
+
+
+ A CSAF full validator MAY provide an additional function to only run one or more selected informative tests.
+
+
+
+ A CSAF SBOM matching system satisfies the "CSAF SBOM matching system" conformance profile if the SBOM matching system:
+
+
+ satisfies the "CSAF management system" conformance profile.
+
+ is an SBOM database or connects to one.
+
+
+ A repository or any other location that can be queried for SBOMs and their content is also considered an SBOM database.
+
+
+
+ matches the CSAF documents within the system to the respective SBOM components. This might be done with a probability which gives the user the chance to broaden or narrow the results. The process of matching is also referred to as "run of the SBOM matching module".
+
+ provides for each SBOM of the SBOM database a list of matched advisories.
+
+ provides for each SBOM component of the SBOM database a list of matched advisories.
+
+ provides for each CSAF document a list of matched SBOMs of the SBOM database.
+
+ provides for each CSAF document a list of matched SBOM components of the SBOM database.
+
+ provides for each vulnerability within a CSAF document the option to mark a matched SBOM component in the SBOM database as "not remediated", "remediation in progress", or "remediation done". A switch to mark all SBOM component at once MAY be implemented.
+
+ does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched SBOM or SBOM component has not changed.
+
+ detects the usage semantic version (as described in section 3.1.11.2 ).
+
+ is able to trigger a run of the asset matching module:
+
+ manually:
+
+ per CSAF document
+
+ per list of CSAF documents
+
+ per SBOM component
+
+ per list of SBOM components
+
+
+
+ automatically:
+
+ when a new CSAF document is inserted (for this CSAF document)
+
+ when a new SBOM component is inserted (for this SBOM component)
+
+ when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+
+
+
+
+ These also apply if more than one CSAF document or SBOM component was added. To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+
+
+
+
+
+
+ Manually and automatically triggered runs should not be pooled.
+
+
+
+ provides at least the following statistics for the count of SBOM component:
+
+ matching that CSAF document at all
+
+ marked with a given status
+
+
+
+
+
+
+ Appendix A. Acknowledgments
+
+
+ The following individuals were members of the OASIS CSAF Technical Committee during the creation of this specification and their contributions are gratefully acknowledged:
+
+
+ CSAF TC Members:
+
+
+
+
+
+
+
+
+ Alexandre
+
+
+ Dulaunoy
+
+
+ CIRCL
+
+
+
+
+ Anthony
+
+
+ Berglas
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Art
+
+
+ Manion
+
+
+ Carnegie Mellon University
+
+
+
+
+ Aukjan
+
+
+ van Belkum
+
+
+ EclecticIQ
+
+
+
+
+ Ben
+
+
+ Sooter
+
+
+ Electric Power Research Institute (EPRI)
+
+
+
+
+ Bernd
+
+
+ Grobauer
+
+
+ Siemens AG
+
+
+
+
+ Bruce
+
+
+ Rich
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Chok
+
+
+ Poh
+
+
+ Oracle
+
+
+
+
+ Dan
+
+
+ West
+
+
+ Microsoft
+
+
+
+
+ David
+
+
+ Waltermire
+
+
+ NIST
+
+
+
+
+ Denny
+
+
+ Page
+
+
+ TIBCO Software Inc.
+
+
+
+
+ Duncan
+
+
+ Sparrell
+
+
+ sFractal Consulting LLC
+
+
+
+
+ Eric
+
+
+ Johnson
+
+
+ TIBCO Software Inc.
+
+
+
+
+ Ethan
+
+
+ Rahn
+
+
+ Arista Networks
+
+
+
+
+ Feng
+
+
+ Cao
+
+
+ Oracle
+
+
+
+
+ Greg
+
+
+ Scott
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Harold
+
+
+ Booth
+
+
+ NIST
+
+
+
+
+ Jason
+
+
+ Masters
+
+
+ TELUS
+
+
+
+
+ Jennifer
+
+
+ Victor
+
+
+ Dell
+
+
+
+
+ Jessica
+
+
+ Fitzgerald-McKay
+
+
+ National Security Agency
+
+
+
+
+ Jonathan
+
+
+ Bitle
+
+
+ Kaiser Permanente
+
+
+
+
+ Justin
+
+
+ Corlett
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Kazuo
+
+
+ Noguchi
+
+
+ Hitachi, Ltd.
+
+
+
+
+ Kent
+
+
+ Landfield
+
+
+ McAfee
+
+
+
+
+ Langley
+
+
+ Rock
+
+
+ Red Hat
+
+
+
+
+ Martin
+
+
+ Prpic
+
+
+ Red Hat
+
+
+
+
+ Masato
+
+
+ Terada
+
+
+ Hitachi, Ltd.
+
+
+
+
+ Mike
+
+
+ Gorski
+
+
+ Cisco Systems
+
+
+
+
+ Nicole
+
+
+ Parrish
+
+
+ Mitre Corporation
+
+
+
+
+ Omar
+
+
+ Santos
+
+
+ Cisco Systems
+
+
+
+
+ Patrick
+
+
+ Maroney
+
+
+ AT&T
+
+
+
+
+ Rhonda
+
+
+ Levy
+
+
+ Cisco Systems
+
+
+
+
+ Richard
+
+
+ Struse
+
+
+ Mitre Corporation
+
+
+
+
+ Ritwik
+
+
+ Ghoshal
+
+
+ Oracle
+
+
+
+
+ Robert
+
+
+ Coderre
+
+
+ Accenture
+
+
+
+
+ Robert
+
+
+ Keith
+
+
+ Accenture
+
+
+
+
+ Stefan
+
+
+ Hagen
+
+
+ Individual
+
+
+
+
+ Tania
+
+
+ Ward
+
+
+ Dell
+
+
+
+
+ Ted
+
+
+ Bedwell
+
+
+ Cisco Systems
+
+
+
+
+ Thomas
+
+
+ Proell
+
+
+ Siemens AG
+
+
+
+
+ Thomas
+
+
+ Schmidt
+
+
+ Federal Office for Information Security (BSI) Germany
+
+
+
+
+ Tim
+
+
+ Hudson
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Tobias
+
+
+ Limmer
+
+
+ Siemens AG
+
+
+
+
+ Tony
+
+
+ Cox
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Vincent
+
+
+ Danen
+
+
+ Red Hat
+
+
+
+
+ Will
+
+
+ Rideout
+
+
+ Arista Networks
+
+
+
+
+ Xiaoyu
+
+
+ Ge
+
+
+ Huawei Technologies Co., Ltd.
+
+
+
+
+
+ The following individuals were members of the OASIS CSAF Technical Committee during the creation of the previous version (CVRF v1.2) of this specification and their contributions are gratefully acknowledged:
+
+
+ CSAF TC Members:
+
+
+
+
+
+
+
+
+ Adam
+
+
+ Montville
+
+
+ CIS
+
+
+
+
+ Allan
+
+
+ Thomson
+
+
+ LookingGlass
+
+
+
+
+ Anthony
+
+
+ Berglas
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Art
+
+
+ Manion
+
+
+ Carnegie Mellon University
+
+
+
+
+ Aukjan
+
+
+ van Belkum
+
+
+ EclecticIQ
+
+
+
+
+ Ben
+
+
+ Sooter
+
+
+ Electric Power Research Institute
+
+
+
+
+ Bernd
+
+
+ Grobauer
+
+
+ Siemens AG
+
+
+
+
+ Beth
+
+
+ Pumo
+
+
+ Kaiser Permanente
+
+
+
+
+ Bret
+
+
+ Jordan
+
+
+ Symantec Corp.
+
+
+
+
+ Bruce
+
+
+ Rich
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Chet
+
+
+ Ensign
+
+
+ OASIS
+
+
+
+
+ Chok
+
+
+ Poh
+
+
+ Oracle
+
+
+
+
+ Chris
+
+
+ Rouland
+
+
+ Individual
+
+
+
+
+ David
+
+
+ Waltermire
+
+
+ NIST
+
+
+
+
+ Denny
+
+
+ Page
+
+
+ TIBCO Software Inc.
+
+
+
+
+ Doron
+
+
+ Shiloach
+
+
+ IBM
+
+
+
+
+ Duncan
+
+
+ Sparrell
+
+
+ sFractal Consulting LLC
+
+
+
+
+ Eric
+
+
+ Johnson
+
+
+ TIBCO Software Inc.
+
+
+
+
+ Feng
+
+
+ Cao
+
+
+ Oracle
+
+
+
+
+ Greg
+
+
+ Reaume
+
+
+ TELUS
+
+
+
+
+ Greg
+
+
+ Scott
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Harold
+
+
+ Booth
+
+
+ NIST
+
+
+
+
+ Jamison
+
+
+ Day
+
+
+ LookingGlass
+
+
+
+
+ Jared
+
+
+ Semrau
+
+
+ "FireEye, Inc."
+
+
+
+
+ Jason
+
+
+ Masters
+
+
+ TELUS
+
+
+
+
+ Jerome
+
+
+ Athias
+
+
+ Individual
+
+
+
+
+ Jessica
+
+
+ Fitzgerald-McKay
+
+
+ National Security Agency
+
+
+
+
+ Jonathan
+
+
+ Bitle
+
+
+ Kaiser Permanente
+
+
+
+
+ Justin
+
+
+ Corlett
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Karen
+
+
+ Scarfone
+
+
+ Individual
+
+
+
+
+ Kazuo
+
+
+ Noguchi
+
+
+ "Hitachi, Ltd."
+
+
+
+
+ Kent
+
+
+ Landfield
+
+
+ McAfee
+
+
+
+
+ Lothar
+
+
+ Braun
+
+
+ Siemens AG
+
+
+
+
+ Louis
+
+
+ Ronnau
+
+
+ Cisco Systems
+
+
+
+
+ Mark
+
+
+ Davidson
+
+
+ NC4
+
+
+
+
+ Mark-David
+
+
+ McLaughlin
+
+
+ Cisco Systems
+
+
+
+
+ Masato
+
+
+ Terada
+
+
+ "Hitachi, Ltd."
+
+
+
+
+ Masood
+
+
+ Nasir
+
+
+ TELUS
+
+
+
+
+ Nicole
+
+
+ Gong
+
+
+ Mitre Corporation
+
+
+
+
+ Omar
+
+
+ Santos
+
+
+ Cisco Systems
+
+
+
+
+ Patrick
+
+
+ Maroney
+
+
+ Wapack Labs LLC
+
+
+
+
+ Paul
+
+
+ Patrick
+
+
+ "FireEye, Inc."
+
+
+
+
+ Peter
+
+
+ Allor
+
+
+ IBM
+
+
+
+
+ Phillip
+
+
+ Boles
+
+
+ "FireEye, Inc."
+
+
+
+
+ Ravi
+
+
+ Balupari
+
+
+ Netskope
+
+
+
+
+ Rich
+
+
+ Reybok
+
+
+ ServiceNow
+
+
+
+
+ Richard
+
+
+ Struse
+
+
+ DHS Office of Cybersecurity and Communications (CS&C)
+
+
+
+
+ Ritwik
+
+
+ Ghoshal
+
+
+ Oracle
+
+
+
+
+ Robert
+
+
+ Coderre
+
+
+ VeriSign
+
+
+
+
+ Robin
+
+
+ Cover
+
+
+ OASIS
+
+
+
+
+ Rupert
+
+
+ Wimmer
+
+
+ Siemens AG
+
+
+
+
+ Sanjiv
+
+
+ Kalkar
+
+
+ Individual
+
+
+
+
+ Sean
+
+
+ Barnum
+
+
+ Mitre Corporation
+
+
+
+
+ Stefan
+
+
+ Hagen
+
+
+ Individual
+
+
+
+
+ Ted
+
+
+ Bedwell
+
+
+ Cisco Systems
+
+
+
+
+ Thomas
+
+
+ Schreck
+
+
+ Siemens AG
+
+
+
+
+ Tim
+
+
+ Hudson
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Tony
+
+
+ Cox
+
+
+ Cryptsoft Pty Ltd.
+
+
+
+
+ Trey
+
+
+ Darley
+
+
+ "Kingfisher Operations, sprl"
+
+
+
+
+ Vincent
+
+
+ Danen
+
+
+ Red Hat
+
+
+
+
+ Zach
+
+
+ Turk
+
+
+ Microsoft
+
+
+
+
+
+
+ Appendix B. Revision History
+
+
+
+
+
+
+
+
+ csaf-v2.0-wd20210927-dev
+
+
+ 2021-09-27
+
+
+ Stefan Hagen and Thomas Schmidt
+
+
+ Preparing next Editor revision for TC review and submittal as CS for public review
+
+
+
+
+ csaf-v2.0-wd20220329-dev
+
+
+ 2022-03-29
+
+
+ Stefan Hagen and Thomas Schmidt
+
+
+ Preparing next Editor revision for TC review and submittal as CSD02 for public review
+
+
+
+
+ csaf-v2.0-wd20220514-dev
+
+
+ 2022-05-14
+
+
+ Stefan Hagen and Thomas Schmidt
+
+
+ Preparing next Editor revision for TC review and submittal as CS
+
+
+
+
+ csaf-v2.0-wd20220715-dev
+
+
+ 2022-07-15
+
+
+ Stefan Hagen and Thomas Schmidt
+
+
+ Preparing next Editor revision for TC review and submittal as CS
+
+
+
+
+ csaf-v2.0-wd20220720-dev
+
+
+ 2022-07-20
+
+
+ Stefan Hagen and Thomas Schmidt
+
+
+ Preparing next Editor revision for TC review and submittal as CS
+
+
+
+
+
+
+ Appendix C. Guidance on the Size of CSAF Documents
+
+
+ This appendix provides informative guidance on the size of CSAF documents.
+
+
+ The TC carefully considered all known aspects to provide size limits for CSAF documents for this version of the specification with the result that hard limits SHOULD NOT be enforced. However, since there is the need for guidance to ensure interoperability in the ecosystem, the TC provides a set of soft limits. A CSAF document
+ which exceeds those, can still be valid but it might not be processable for some parties.
+
+
+ All CSAF consumers SHOULD be able to process CSAF documents which comply with the limits below. All CSAF producers SHOULD NOT produce CSAF documents which exceed those limits.
+
+
+
+ If you come across a case where these limits are exceeded, please provide feedback to the TC.
+
+
+
+ C.1 File size
+
+
+ A CSAF document in the specified JSON format encoded in UTF-8 SHOULD conform to known size limits of current technologies parsing JSON content, e.g.: 15 MB.
+
+
+
+ At least one database technology in wide use for storing CSAF documents rejects insert attempts when the transformed BSON size exceeds 16 megabytes. The BSON format optimizes for accessibility and not size. So, small integers and small strings may incur more overhead in the BSON format than in JSON. In addition, the BSON
+ format adds length information for the entries inside the document, which adds to the size when storing CSAF document content in a BSON format.
+
+
+
+ C.2 Array length
+
+
+ An array SHOULD NOT have more than:
+
+
+
+
+ 10 000 items for
+
+
+
+ /document/acknowledgments
+
+
+ /document/acknowledgments[]/names
+
+
+ /document/acknowledgments[]/urls
+
+
+ /document/tracking/aliases
+
+
+ /product_tree/branches[]/product/product_identification_helper/hashes
+
+
+ /product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes
+
+
+ /product_tree/branches[]/product/product_identification_helper/sbom_urls
+
+
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris
+
+
+ /product_tree/full_product_names[]/product_identification_helper/hashes
+
+
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+
+
+ /product_tree/full_product_names[]/product_identification_helper/sbom_urls
+
+
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris
+
+
+ /vulnerabilities[]/acknowledgments
+
+
+ /vulnerabilities[]/acknowledgments[]/names
+
+
+ /vulnerabilities[]/acknowledgments[]/urls
+
+
+ /vulnerabilities[]/ids
+
+
+ /vulnerabilities[]/remediations[]/entitlements
+
+
+
+
+
+ 40 000 items for
+
+
+
+ /document/notes
+
+
+ /document/references
+
+
+ /vulnerabilities[]/involvements
+
+
+ /vulnerabilities[]/notes
+
+
+ /vulnerabilities[]/references
+
+
+
+
+
+ 100 000 for
+
+
+
+ /document/tracking/revision_history
+
+
+ /product_tree/branches
+
+
+ /product_tree(/branches[])*/branches
+
+
+ /product_tree/branches[]/product/product_identification_helper/model_numbers
+
+
+ /product_tree/branches[]/product/product_identification_helper/serial_numbers
+
+
+ /product_tree/branches[]/product/product_identification_helper/skus
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/skus
+
+
+ /product_tree/full_product_names
+
+
+ /product_tree/full_product_names[]/product_identification_helper/model_numbers
+
+
+ /product_tree/full_product_names[]/product_identification_helper/serial_numbers
+
+
+ /product_tree/full_product_names[]/product_identification_helper/skus
+
+
+ /product_tree/product_groups[]/product_ids
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/skus
+
+
+ /vulnerabilities
+
+
+
+
+
+ 10 000 000 for
+
+
+
+ /product_tree/relationships
+
+
+ /product_tree/product_groups
+
+
+ /vulnerabilities[]/remediations[]/group_ids
+
+
+
+
+
+ 100 000 000 for
+
+
+
+ /vulnerabilities[]/flags
+
+
+ /vulnerabilities[]/flags[]/group_ids
+
+
+ /vulnerabilities[]/flags[]/product_ids
+
+
+ /vulnerabilities[]/product_status/first_affected
+
+
+ /vulnerabilities[]/product_status/first_fixed
+
+
+ /vulnerabilities[]/product_status/fixed
+
+
+ /vulnerabilities[]/product_status/known_affected
+
+
+ /vulnerabilities[]/product_status/known_not_affected
+
+
+ /vulnerabilities[]/product_status/last_affected
+
+
+ /vulnerabilities[]/product_status/recommended
+
+
+ /vulnerabilities[]/product_status/under_investigation
+
+
+ /vulnerabilities[]/remediations
+
+
+ /vulnerabilities[]/remediations[]/product_ids
+
+
+ /vulnerabilities[]/scores
+
+
+ /vulnerabilities[]/scores[]/products
+
+
+ /vulnerabilities[]/threats
+
+
+ /vulnerabilities[]/threats[]/group_ids
+
+
+ /vulnerabilities[]/threats[]/product_ids
+
+
+
+
+
+ C.3 String length
+
+
+ A string SHOULD NOT have a length greater than:
+
+
+
+
+ 1000 for
+
+
+
+ /document/acknowledgments[]/names[]
+
+
+ /document/acknowledgments[]/organization
+
+
+ /document/aggregate_severity/text
+
+
+ /document/category
+
+
+ /document/lang
+
+
+ /document/notes[]/audience
+
+
+ /document/notes[]/title
+
+
+ /document/publisher/name
+
+
+ /document/source_lang
+
+
+ /document/title
+
+
+ /document/tracking/aliases[]
+
+
+ /document/tracking/generator/engine/name
+
+
+ /document/tracking/generator/engine/version
+
+
+ /document/tracking/id
+
+
+ /document/tracking/revision_history[]/legacy_version
+
+
+ /document/tracking/revision_history[]/number
+
+
+ /document/tracking/version
+
+
+ /product_tree/branches[]/name
+
+
+ /product_tree/branches[]/product/name
+
+
+ /product_tree/branches[]/product/product_id
+
+
+ /product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/algorithm
+
+
+ /product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/value
+
+
+ /product_tree/branches[]/product/product_identification_helper/hashes[]/filename
+
+
+ /product_tree/branches[]/product/product_identification_helper/model_numbers[]
+
+
+ /product_tree/branches[]/product/product_identification_helper/serial_numbers[]
+
+
+ /product_tree/branches[]/product/product_identification_helper/skus[]
+
+
+ /product_tree/branches[](/branches[])*/name
+
+
+ /product_tree/branches[](/branches[])*/product/name
+
+
+ /product_tree/branches[](/branches[])*/product/product_id
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/algorithm
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/filename
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers[]
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers[]
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/skus[]
+
+
+ /product_tree/full_product_names[]/name
+
+
+ /product_tree/full_product_names[]/product_id
+
+
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/algorithm
+
+
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value
+
+
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/filename
+
+
+ /product_tree/full_product_names[]/product_identification_helper/model_numbers[]
+
+
+ /product_tree/full_product_names[]/product_identification_helper/serial_numbers[]
+
+
+ /product_tree/full_product_names[]/product_identification_helper/skus[]
+
+
+ /product_tree/product_groups[]/group_id
+
+
+ /product_tree/product_groups[]/product_ids[]
+
+
+ /product_tree/relationships[]/full_product_name/name
+
+
+ /product_tree/relationships[]/full_product_name/product_id
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/algorithm
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/filename
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers[]
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers[]
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/skus[]
+
+
+ /product_tree/relationships[]/product_reference
+
+
+ /product_tree/relationships[]/relates_to_product_reference
+
+
+ /vulnerabilities[]/acknowledgments[]/names[]
+
+
+ /vulnerabilities[]/acknowledgments[]/organization
+
+
+ /vulnerabilities[]/cve
+
+
+ /vulnerabilities[]/cwe/id
+
+
+ /vulnerabilities[]/cwe/name
+
+
+ /vulnerabilities[]/flags[]/group_ids[]
+
+
+ /vulnerabilities[]/flags[]/product_ids[]
+
+
+ /vulnerabilities[]/ids[]/system_name
+
+
+ /vulnerabilities[]/ids[]/text
+
+
+ /vulnerabilities[]/notes[]/audience
+
+
+ /vulnerabilities[]/notes[]/title
+
+
+ /vulnerabilities[]/product_status/first_affected[]
+
+
+ /vulnerabilities[]/product_status/first_fixed[]
+
+
+ /vulnerabilities[]/product_status/fixed[]
+
+
+ /vulnerabilities[]/product_status/known_affected[]
+
+
+ /vulnerabilities[]/product_status/known_not_affected[]
+
+
+ /vulnerabilities[]/product_status/last_affected[]
+
+
+ /vulnerabilities[]/product_status/recommended[]
+
+
+ /vulnerabilities[]/product_status/under_investigation[]
+
+
+ /vulnerabilities[]/remediations[]/group_ids[]
+
+
+ /vulnerabilities[]/remediations[]/product_ids[]
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/vectorString
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/vectorString
+
+
+ /vulnerabilities[]/scores[]/products[]
+
+
+ /vulnerabilities[]/threats[]/group_ids[]
+
+
+ /vulnerabilities[]/threats[]/product_ids[]
+
+
+ /vulnerabilities[]/title
+
+
+
+
+
+ 10 000 for
+
+
+
+ /document/acknowledgments[]/summary
+
+
+ /document/distribution/text
+
+
+ /document/publisher/contact_details
+
+
+ /document/publisher/issuing_authority
+
+
+ /document/references[]/summary
+
+
+ /document/tracking/revision_history[]/summary
+
+
+ /product_tree/branches[]/product/product_identification_helper/cpe
+
+
+ /product_tree/branches[]/product/product_identification_helper/purl
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/cpe
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/purl
+
+
+ /product_tree/full_product_names[]/product_identification_helper/cpe
+
+
+ /product_tree/full_product_names[]/product_identification_helper/purl
+
+
+ /product_tree/product_groups[]/summary
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/cpe
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/purl
+
+
+ /vulnerabilities[]/acknowledgments[]/summary
+
+
+ /vulnerabilities[]/involvements[]/summary
+
+
+ /vulnerabilities[]/references[]/summary
+
+
+ /vulnerabilities[]/remediations[]/entitlements[]
+
+
+
+
+
+ 30 000 for
+
+
+
+ /document/notes[]/text
+
+
+ /vulnerabilities[]/notes[]/text
+
+
+
+
+
+ 250 000 for
+
+
+
+ /vulnerabilities[]/remediations[]/details
+
+
+ /vulnerabilities[]/remediations[]/restart_required/details
+
+
+ /vulnerabilities[]/threats[]/details
+
+
+
+
+
+ C.4 URI length
+
+
+ A string with format uri
SHOULD NOT have a length greater than 20000. This applies to:
+
+
+
+ /document/acknowledgments[]/urls[]
+
+
+ /document/aggregate_severity/namespace
+
+
+ /document/distribution/tlp/url
+
+
+ /document/references[]/url
+
+
+ /document/publisher/namespace
+
+
+ /product_tree/branches[]/product/product_identification_helper/sbom_urls[]
+
+
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace
+
+
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace
+
+
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri
+
+
+ /product_tree/full_product_names[]/product_identification_helper/sbom_urls[]
+
+
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace
+
+
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace
+
+
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri
+
+
+ /vulnerabilities[]/acknowledgments[]/urls[]
+
+
+ /vulnerabilities[]/references[]/url
+
+
+ /vulnerabilities[]/remediations[]/url
+
+
+
+ C.5 Enum
+
+
+ A string which is an enum has a fixed maximum length given by its longest value.
+
+
+
+ Later versions of CSAF might add, modify or delete possible value which could change the longest value. Therefore, this sizes should not be implemented as fixed limits if forward compatibility is desired.
+
+
+
+ It seems to be safe to assume that the length of each value is not greater than 50. This applies to:
+
+
+
+ /document/csaf_version
(3)
+
+
+ /document/distribution/tlp/label
(5)
+
+
+ /document/notes[]/category
(16)
+
+
+ /document/publisher/category
(11)
+
+
+ /document/references[]/category
(8)
+
+
+ /document/tracking/status
(7)
+
+
+ /product_tree/branches[]/category
(15)
+
+
+ /product_tree/branches[](/branches[])*/category
(15)
+
+
+ /product_tree/relationships[]/category
(21)
+
+
+ /vulnerabilities[]/flags[]/label
(49)
+
+
+ /vulnerabilities[]/involvements[]/party
(11)
+
+
+ /vulnerabilities[]/involvements[]/status
(17)
+
+
+ /vulnerabilities[]/notes[]/category
(16)
+
+
+ /vulnerabilities[]/references[]/category
(8)
+
+
+ /vulnerabilities[]/remediations[]/category
(14)
+
+
+ /vulnerabilities[]/remediations[]/restart_required/category
(20)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/version
(3)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/accessVector
(16)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/accessComplexity
(6)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/authentication
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/confidentialityImpact
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/integrityImpact
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/availabilityImpact
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/exploitability
(16)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/remediationLevel
(13)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/reportConfidence
(14)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/collateralDamagePotential
(11)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/targetDistribution
(11)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/confidentialityRequirement
(11)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/integrityRequirement
(11)
+
+
+ /vulnerabilities[]/scores[]/cvss_v2/availabilityRequirement
(11)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/version
(3)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/attackVector
(16)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/attackComplexity
(4)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/privilegesRequired
(4)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/userInteraction
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/scope
(9)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/confidentialityImpact
(4)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/integrityImpact
(4)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/availabilityImpact
(4)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/baseSeverity
(8)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/exploitCodeMaturity
(16)
+
+
+ /vulnerabilities[]/scores[]/cvss_v3/remediationLevel
(13)
+
\ No newline at end of file
diff --git a/csaf_2.1/prose/share/csaf-v2.1-draft.md b/csaf_2.1/prose/share/csaf-v2.1-draft.md
new file mode 100644
index 00000000..6f2c07d3
--- /dev/null
+++ b/csaf_2.1/prose/share/csaf-v2.1-draft.md
@@ -0,0 +1,8082 @@
+
+![OASIS Logo](https://docs.oasis-open.org/templates/OASISLogo-v3.0.png)
+
+-------
+
+# Common Security Advisory Framework Version 2.1
+
+## Committee Specification Draft 01
+
+## ?? Month 2024
+
+#### This stage:
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.md (Authoritative) \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.html \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.pdf
+
+#### Previous stage:
+N/A
+
+#### Latest stage:
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.md (Authoritative) \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.html \
+https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.pdf
+
+#### Technical Committee:
+[OASIS Common Security Advisory Framework (CSAF) TC](https://www.oasis-open.org/committees/csaf/)
+
+#### Chair:
+Omar Santos (osantos@cisco.com), [Cisco Systems](https://cisco.com/)
+
+#### Editors:
+Stefan Hagen (stefan@hagen.link), [Individual](https://stefan-hagen.website/) \
+Thomas Schmidt (thomas.schmidt@bsi.bund.de), [Federal Office for Information Security (BSI) Germany](https://www.bsi.bund.de/)
+
+#### Additional artifacts:
+This prose specification is one component of a Work Product that also includes:
+
+* Aggregator JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/aggregator_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json.
+* CSAF JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/csaf_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json.
+* Provider JSON schema: https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/schemas/provider_json_schema.json. \
+Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json.
+
+#### Related work:
+This specification replaces or supersedes:
+
+* _Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html.
+
+#### Declared JSON namespaces:
+
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/aggregator_json_schema.json)
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json)
+* [https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json](https://docs.oasis-open.org/csaf/csaf/v2.1/provider_json_schema.json)
+
+
+#### Abstract:
+The Common Security Advisory Framework (CSAF) Version 2.0 is the definitive reference for the language which supports creation, update, and interoperable exchange of security advisories as structured information on products, vulnerabilities and the status of impact and remediation among interested parties.
+
+#### Status:
+This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the "Latest stage" location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=csaf#technical.
+
+TC members should send comments on this specification to the TC's email list. Others should send comments to the TC's public comment list, after subscribing to it by following the instructions at the "Send A Comment" button on the TC's web page at https://www.oasis-open.org/committees/csaf/.
+
+This specification is provided under the [Non-Assertion](https://www.oasis-open.org/policies-guidelines/ipr/#Non-Assertion-Mode) Mode of the [OASIS IPR Policy](https://www.oasis-open.org/policies-guidelines/ipr/), the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's web page (https://www.oasis-open.org/committees/csaf/ipr.php).
+
+Note that any machine-readable content ([Computer Language Definitions](https://www.oasis-open.org/policies-guidelines/tc-process-2017-05-26/#wpComponentsCompLang)) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.
+
+#### Citation format:
+When referencing this specification the following citation format should be used:
+
+**[csaf-v2.1]**
+
+_Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.1/csd01/csaf-v2.1-csd01.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.1/csaf-v2.1.html.
+
+
+-------
+
+## Notices
+
+Copyright © OASIS Open 2022. All Rights Reserved.
+
+All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full [Policy](https://www.oasis-open.org/policies-guidelines/ipr/) may be found at the OASIS website.
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+As stated in the OASIS IPR Policy, the following three paragraphs in brackets apply to OASIS Standards Final Deliverable documents (Committee Specification, Candidate OASIS Standard, OASIS Standard, or Approved Errata).
+
+\[OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this deliverable.\]
+
+\[OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this OASIS Standards Final Deliverable by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this OASIS Standards Final Deliverable. OASIS may include such claims on its website, but disclaims any obligation to do so.\]
+
+\[OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this OASIS Standards Final Deliverable or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Standards Final Deliverable, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.\]
+
+The name "OASIS" is a trademark of [OASIS](https://www.oasis-open.org/), the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark/ for above guidance.
+
+-------
+
+# Table of Contents
+
+1. [Introduction](#introduction)
+ 1.1 [IPR Policy](#ipr-policy)
+ 1.2 [Terminology](#terminology)
+ 1.3 [Normative References](#normative-references)
+ 1.4 [Informative References](#informative-references)
+ 1.5 [Typographical Conventions](#typographical-conventions)
+2. [Design Considerations](#design-considerations)
+ 2.1 [Construction Principles](#construction-principles)
+3. [Schema Elements](#schema-elements)
+ 3.1 [Definitions](#definitions)
+ 3.1.1 [Acknowledgments Type](#acknowledgments-type)
+ 3.1.1.1 [Acknowledgments Type - Names](#acknowledgments-type-names)
+ 3.1.1.2 [Acknowledgments Type - Organization](#acknowledgments-type-organization)
+ 3.1.1.3 [Acknowledgments Type - Summary](#acknowledgments-type-summary)
+ 3.1.1.4 [Acknowledgments Type - URLs](#acknowledgments-type-urls)
+ 3.1.1.5 [Acknowledgments Type - Example](#acknowledgments-type-example)
+ 3.1.2 [Branches Type](#branches-type)
+ 3.1.2.1 [Branches Type - Branches](#branches-type-branches)
+ 3.1.2.2 [Branches Type - Category](#branches-type-category)
+ 3.1.2.3 [Branches Type - Name](#branches-type-name)
+ 3.1.2.3.1 [Branches Type - Name under Product Version](#branches-type-name-under-product-version)
+ 3.1.2.3.2 [Branches Type - Name under Product Version Range](#branches-type-name-under-product-version-range)
+ 3.1.2.4 [Branches Type - Product](#branches-type-product)
+ 3.1.3 [Full Product Name Type](#full-product-name-type)
+ 3.1.3.1 [Full Product Name Type - Name](#full-product-name-type-name)
+ 3.1.3.2 [Full Product Name Type - Product ID](#full-product-name-type-product-id)
+ 3.1.3.3 [Full Product Name Type - Product Identification Helper](#full-product-name-type-product-identification-helper)
+ 3.1.3.3.1 [Full Product Name Type - Product Identification Helper - CPE](#full-product-name-type-product-identification-helper-cpe)
+ 3.1.3.3.2 [Full Product Name Type - Product Identification Helper - Hashes](#full-product-name-type-product-identification-helper-hashes)
+ 3.1.3.3.3 [Full Product Name Type - Product Identification Helper - Model Numbers](#full-product-name-type-product-identification-helper-model-numbers)
+ 3.1.3.3.4 [Full Product Name Type - Product Identification Helper - PURL](#full-product-name-type-product-identification-helper-purl)
+ 3.1.3.3.5 [Full Product Name Type - Product Identification Helper - SBOM URLs](#full-product-name-type-product-identification-helper-sbom-urls)
+ 3.1.3.3.6 [Full Product Name Type - Product Identification Helper - Serial Numbers](#full-product-name-type-product-identification-helper-serial-numbers)
+ 3.1.3.3.7 [Full Product Name Type - Product Identification Helper - SKUs](#full-product-name-type-product-identification-helper-skus)
+ 3.1.3.3.8 [Full Product Name Type - Product Identification Helper - Generic URIs](#full-product-name-type-product-identification-helper-generic-uris)
+ 3.1.4 [Language Type](#language-type)
+ 3.1.5 [Notes Type](#notes-type)
+ 3.1.6 [Product Group ID Type](#product-group-id-type)
+ 3.1.7 [Product Groups Type](#product-groups-type)
+ 3.1.8 [Product ID Type](#product-id-type)
+ 3.1.9 [Products Type](#products-type)
+ 3.1.10 [References Type](#references-type)
+ 3.1.11 [Version Type](#version-type)
+ 3.1.11.1 [Version Type - Integer versioning](#version-type-integer-versioning)
+ 3.1.11.2 [Version Type - Semantic versioning](#version-type-semantic-versioning)
+ 3.2 [Properties](#properties)
+ 3.2.1 [Document Property](#document-property)
+ 3.2.1.1 [Document Property - Acknowledgments](#document-property-acknowledgments)
+ 3.2.1.2 [Document Property - Aggregate Severity](#document-property-aggregate-severity)
+ 3.2.1.3 [Document Property - Category](#document-property-category)
+ 3.2.1.4 [Document Property - CSAF Version](#document-property-csaf-version)
+ 3.2.1.5 [Document Property - Distribution](#document-property-distribution)
+ 3.2.1.5.1 [Document Property - Distribution - Text](#document-property-distribution-text)
+ 3.2.1.5.2 [Document Property - Distribution - TLP](#document-property-distribution-tlp)
+ 3.2.1.6 [Document Property - Language](#document-property-language)
+ 3.2.1.7 [Document Property - Notes](#document-property-notes)
+ 3.2.1.8 [Document Property - Publisher](#document-property-publisher)
+ 3.2.1.8.1 [Document Property - Publisher - Category](#document-property-publisher-category)
+ 3.2.1.8.2 [Document Property - Publisher - Contact Details](#document-property-publisher-contact-details)
+ 3.2.1.8.3 [Document Property - Publisher - Issuing Authority](#document-property-publisher-issuing-authority)
+ 3.2.1.8.4 [Document Property - Publisher - Name](#document-property-publisher-name)
+ 3.2.1.8.5 [Document Property - Publisher - Namespace](#document-property-publisher-namespace)
+ 3.2.1.9 [Document Property - References](#document-property-references)
+ 3.2.1.10 [Document Property - Source Language](#document-property-source-language)
+ 3.2.1.11 [Document Property - Title](#document-property-title)
+ 3.2.1.12 [Document Property - Tracking](#document-property-tracking)
+ 3.2.1.12.1 [Document Property - Tracking - Aliases](#document-property-tracking-aliases)
+ 3.2.1.12.2 [Document Property - Tracking - Current Release Date](#document-property-tracking-current-release-date)
+ 3.2.1.12.3 [Document Property - Tracking - Generator](#document-property-tracking-generator)
+ 3.2.1.12.4 [Document Property - Tracking - ID](#document-property-tracking-id)
+ 3.2.1.12.5 [Document Property - Tracking - Initial Release Date](#document-property-tracking-initial-release-date)
+ 3.2.1.12.6 [Document Property - Tracking - Revision History](#document-property-tracking-revision-history)
+ 3.2.1.12.7 [Document Property - Tracking - Status](#document-property-tracking-status)
+ 3.2.1.12.8 [Document Property - Tracking - Version](#document-property-tracking-version)
+ 3.2.2 [Product Tree Property](#product-tree-property)
+ 3.2.2.1 [Product Tree Property - Branches](#product-tree-property-branches)
+ 3.2.2.2 [Product Tree Property - Full Product Names](#product-tree-property-full-product-names)
+ 3.2.2.3 [Product Tree Property - Product Groups](#product-tree-property-product-groups)
+ 3.2.2.4 [Product Tree Property - Relationships](#product-tree-property-relationships)
+ 3.2.3 [Vulnerabilities Property](#vulnerabilities-property)
+ 3.2.3.1 [Vulnerabilities Property - Acknowledgments](#vulnerabilities-property-acknowledgments)
+ 3.2.3.2 [Vulnerabilities Property - CVE](#vulnerabilities-property-cve)
+ 3.2.3.3 [Vulnerabilities Property - CWE](#vulnerabilities-property-cwe)
+ 3.2.3.4 [Vulnerabilities Property - Discovery Date](#vulnerabilities-property-discovery-date)
+ 3.2.3.5 [Vulnerabilities Property - Flags](#vulnerabilities-property-flags)
+ 3.2.3.6 [Vulnerabilities Property - IDs](#vulnerabilities-property-ids)
+ 3.2.3.7 [Vulnerabilities Property - Involvements](#vulnerabilities-property-involvements)
+ 3.2.3.8 [Vulnerabilities Property - Notes](#vulnerabilities-property-notes)
+ 3.2.3.9 [Vulnerabilities Property - Product Status](#vulnerabilities-property-product-status)
+ 3.2.3.10 [Vulnerabilities Property - References](#vulnerabilities-property-references)
+ 3.2.3.11 [Vulnerabilities Property - Release Date](#vulnerabilities-property-release-date)
+ 3.2.3.12 [Vulnerabilities Property - Remediations](#vulnerabilities-property-remediations)
+ 3.2.3.12.1 [Vulnerabilities Property - Remediations - Category](#vulnerabilities-property-remediations-category)
+ 3.2.3.12.2 [Vulnerabilities Property - Remediations - Date](#vulnerabilities-property-remediations-date)
+ 3.2.3.12.3 [Vulnerabilities Property - Remediations - Details](#vulnerabilities-property-remediations-details)
+ 3.2.3.12.4 [Vulnerabilities Property - Remediations - Entitlements](#vulnerabilities-property-remediations-entitlements)
+ 3.2.3.12.5 [Vulnerabilities Property - Remediations - Group IDs](#vulnerabilities-property-remediations-group-ids)
+ 3.2.3.12.6 [Vulnerabilities Property - Remediations - Product IDs](#vulnerabilities-property-remediations-product-ids)
+ 3.2.3.12.7 [Vulnerabilities Property - Remediations - Restart Required](#vulnerabilities-property-remediations-restart-required)
+ 3.2.3.12.8 [Vulnerabilities Property - Remediations - URL](#vulnerabilities-property-remediations-url)
+ 3.2.3.13 [Vulnerabilities Property - Scores](#vulnerabilities-property-scores)
+ 3.2.3.14 [Vulnerabilities Property - Threats](#vulnerabilities-property-threats)
+ 3.2.3.15 [Vulnerabilities Property - Title](#vulnerabilities-property-title)
+4. [Profiles](#profiles)
+ 4.1 [Profile 1: CSAF Base](#profile-1-csaf-base)
+ 4.2 [Profile 2: Security incident response](#profile-2-security-incident-response)
+ 4.3 [Profile 3: Informational Advisory](#profile-3-informational-advisory)
+ 4.4 [Profile 4: Security Advisory](#profile-4-security-advisory)
+ 4.5 [Profile 5: VEX](#profile-5-vex)
+5. [Additional Conventions](#additional-conventions)
+ 5.1 [Filename](#filename)
+ 5.2 [Separation in Data Stream](#separation-in-data-stream)
+ 5.3 [Sorting](#additional-conventions--sorting)
+6. [Tests](#tests)
+ 6.1 [Mandatory Tests](#mandatory-tests)
+ 6.1.1 [Missing Definition of Product ID](#missing-definition-of-product-id)
+ 6.1.2 [Multiple Definition of Product ID](#multiple-definition-of-product-id)
+ 6.1.3 [Circular Definition of Product ID](#circular-definition-of-product-id)
+ 6.1.4 [Missing Definition of Product Group ID](#missing-definition-of-product-group-id)
+ 6.1.5 [Multiple Definition of Product Group ID](#multiple-definition-of-product-group-id)
+ 6.1.6 [Contradicting Product Status](#contradicting-product-status)
+ 6.1.7 [Multiple Scores with same Version per Product](#multiple-scores-with-same-version-per-product)
+ 6.1.8 [Invalid CVSS](#invalid-cvss)
+ 6.1.9 [Invalid CVSS computation](#invalid-cvss-computation)
+ 6.1.10 [Inconsistent CVSS](#inconsistent-cvss)
+ 6.1.11 [CWE](#cwe)
+ 6.1.12 [Language](#language)
+ 6.1.13 [PURL](#purl)
+ 6.1.14 [Sorted Revision History](#sorted-revision-history)
+ 6.1.15 [Translator](#translator)
+ 6.1.16 [Latest Document Version](#latest-document-version)
+ 6.1.17 [Document Status Draft](#document-status-draft)
+ 6.1.18 [Released Revision History](#released-revision-history)
+ 6.1.19 [Revision History Entries for Pre-release Versions](#revision-history-entries-for-pre-release-versions)
+ 6.1.20 [Non-draft Document Version](#non-draft-document-version)
+ 6.1.21 [Missing Item in Revision History](#missing-item-in-revision-history)
+ 6.1.22 [Multiple Definition in Revision History](#multiple-definition-in-revision-history)
+ 6.1.23 [Multiple Use of Same CVE](#multiple-use-of-same-cve)
+ 6.1.24 [Multiple Definition in Involvements](#multiple-definition-in-involvements)
+ 6.1.25 [Multiple Use of Same Hash Algorithm](#multiple-use-of-same-hash-algorithm)
+ 6.1.26 [Prohibited Document Category Name](#prohibited-document-category-name)
+ 6.1.27 [Profile Tests](#profile-tests)
+ 6.1.27.1 [Document Notes](#document-notes)
+ 6.1.27.2 [Document References](#document-references)
+ 6.1.27.3 [Vulnerabilities](#vulnerabilities-for-informational-advisory)
+ 6.1.27.4 [Product Tree](#product-tree)
+ 6.1.27.5 [Vulnerability Notes](#vulnerability-notes)
+ 6.1.27.6 [Product Status](#product-status)
+ 6.1.27.7 [VEX Product Status](#vex-product-status)
+ 6.1.27.8 [Vulnerability ID](#vulnerability-id)
+ 6.1.27.9 [Impact Statement](#impact-statement)
+ 6.1.27.10 [Action Statement](#action-statement)
+ 6.1.27.11 [Vulnerabilities](#vulnerabilities-for-security-advisory-or-vex)
+ 6.1.28 [Translation](#translation)
+ 6.1.29 [Remediation without Product Reference](#remediation-without-product-reference)
+ 6.1.30 [Mixed Integer and Semantic Versioning](#mixed-integer-and-semantic-versioning)
+ 6.1.31 [Version Range in Product Version](#version-range-in-product-version)
+ 6.1.32 [Flag without Product Reference](#flag-without-product-reference)
+ 6.1.33 [Multiple Flags with VEX Justification Codes per Product](#multiple-flags-with-vex-justification-codes-per-product)
+ 6.2 [Optional Tests](#optional-tests)
+ 6.2.1 [Unused Definition of Product ID](#unused-definition-of-product-id)
+ 6.2.2 [Missing Remediation](#missing-remediation)
+ 6.2.3 [Missing Score](#missing-score)
+ 6.2.4 [Build Metadata in Revision History](#build-metadata-in-revision-history)
+ 6.2.5 [Older Initial Release Date than Revision History](#older-initial-release-date-than-revision-history)
+ 6.2.6 [Older Current Release Date than Revision History](#older-current-release-date-than-revision-history)
+ 6.2.7 [Missing Date in Involvements](#missing-date-in-involvements)
+ 6.2.8 [Use of MD5 as the only Hash Algorithm](#use-of-md5-as-the-only-hash-algorithm)
+ 6.2.9 [Use of SHA-1 as the only Hash Algorithm](#use-of-sha-1-as-the-only-hash-algorithm)
+ 6.2.10 [Missing TLP label](#missing-tlp-label)
+ 6.2.11 [Missing Canonical URL](#missing-canonical-url)
+ 6.2.12 [Missing Document Language](#missing-document-language)
+ 6.2.13 [Sorting](#optional-tests--sorting)
+ 6.2.14 [Use of Private Language](#use-of-private-language)
+ 6.2.15 [Use of Default Language](#use-of-default-language)
+ 6.2.16 [Missing Product Identification Helper](#missing-product-identification-helper)
+ 6.2.17 [CVE in field IDs](#cve-in-field-ids)
+ 6.2.18 [Product Version Range without vers](#product-version-range-without-vers)
+ 6.2.19 [CVSS for Fixed Products](#cvss-for-fixed-products)
+ 6.2.20 [Additional Properties](#additional-properties)
+ 6.3 [Informative Test](#informative-test)
+ 6.3.1 [Use of CVSS v2 as the only Scoring System](#use-of-cvss-v2-as-the-only-scoring-system)
+ 6.3.2 [Use of CVSS v3.0](#use-of-cvss-v3-0)
+ 6.3.3 [Missing CVE](#missing-cve)
+ 6.3.4 [Missing CWE](#missing-cwe)
+ 6.3.5 [Use of Short Hash](#use-of-short-hash)
+ 6.3.6 [Use of non-self referencing URLs Failing to Resolve](#use-of-non-self-referencing-urls-failing-to-resolve)
+ 6.3.7 [Use of self referencing URLs Failing to Resolve](#use-of-self-referencing-urls-failing-to-resolve)
+ 6.3.8 [Spell check](#spell-check)
+ 6.3.9 [Branch Categories](#branch-categories)
+ 6.3.10 [Usage of Product Version Range](#usage-of-product-version-range)
+ 6.3.11 [Usage of V as Version Indicator](#usage-of-v-as-version-indicator)
+7. [Distributing CSAF documents](#distributing-csaf-documents)
+ 7.1 [Requirements](#requirements)
+ 7.1.1 [Requirement 1: Valid CSAF document](#requirement-1-valid-csaf-document)
+ 7.1.2 [Requirement 2: Filename](#requirement-2-filename)
+ 7.1.3 [Requirement 3: TLS](#requirement-3-tls)
+ 7.1.4 [Requirement 4: TLP:WHITE](#requirement-4-tlp-white)
+ 7.1.5 [Requirement 5: TLP:AMBER and TLP:RED](#requirement-5-tlp-amber-and-tlp-red)
+ 7.1.6 [Requirement 6: No Redirects](#requirement-6-no-redirects)
+ 7.1.7 [Requirement 7: provider-metadata.json](#requirement-7-provider-metadata-json)
+ 7.1.8 [Requirement 8: security.txt](#requirement-8-security-txt)
+ 7.1.9 [Requirement 9: Well-known URL for provider-metadata.json](#requirement-9-well-known-url-for-provider-metadata-json)
+ 7.1.10 [Requirement 10: DNS path](#requirement-10-dns-path)
+ 7.1.11 [Requirement 11: One folder per year](#requirement-11-one-folder-per-year)
+ 7.1.12 [Requirement 12: index.txt](#requirement-12-index-txt)
+ 7.1.13 [Requirement 13: changes.csv](#requirement-13-changes-csv)
+ 7.1.14 [Requirement 14: Directory listings](#requirement-14-directory-listings)
+ 7.1.15 [Requirement 15: ROLIE feed](#requirement-15-rolie-feed)
+ 7.1.16 [Requirement 16: ROLIE service document](#requirement-16-rolie-service-document)
+ 7.1.17 [Requirement 17: ROLIE category document](#requirement-17-rolie-category-document)
+ 7.1.18 [Requirement 18: Integrity](#requirement-18-integrity)
+ 7.1.19 [Requirement 19: Signatures](#requirement-19-signatures)
+ 7.1.20 [Requirement 20: Public OpenPGP Key](#requirement-20-public-openpgp-key)
+ 7.1.21 [Requirement 21: List of CSAF providers](#requirement-21-list-of-csaf-providers)
+ 7.1.22 [Requirement 22: Two disjoint issuing parties](#requirement-22-two-disjoint-issuing-parties)
+ 7.1.23 [Requirement 23: Mirror](#requirement-23-mirror)
+ 7.2 [Roles](#roles)
+ 7.2.1 [Role: CSAF publisher](#role-csaf-publisher)
+ 7.2.2 [Role: CSAF provider](#role-csaf-provider)
+ 7.2.3 [Role: CSAF trusted provider](#role-csaf-trusted-provider)
+ 7.2.4 [Role: CSAF lister](#role-csaf-lister)
+ 7.2.5 [Role: CSAF aggregator](#role-csaf-aggregator)
+ 7.3 [Retrieving rules](#retrieving-rules)
+ 7.3.1 [Finding provider-metadata.json](#finding-provider-metadata-json)
+ 7.3.2 [Retrieving CSAF documents](#retrieving-csaf-documents)
+8. [Safety, Security, and Data Protection Considerations](#safety-security-and-data-protection-considerations)
+9. [Conformance](#conformance)
+ 9.1 [Conformance Targets](#conformance-targets)
+ 9.1.1 [Conformance Clause 1: CSAF document](#conformance-clause-1-csaf-document)
+ 9.1.2 [Conformance Clause 2: CSAF producer](#conformance-clause-2-csaf-producer)
+ 9.1.3 [Conformance Clause 3: CSAF direct producer](#conformance-clause-3-csaf-direct-producer)
+ 9.1.4 [Conformance Clause 4: CSAF converter](#conformance-clause-4-csaf-converter)
+ 9.1.5 [Conformance Clause 5: CVRF CSAF converter](#conformance-clause-5-cvrf-csaf-converter)
+ 9.1.6 [Conformance Clause 6: CSAF content management system](#conformance-clause-6-csaf-content-management-system)
+ 9.1.7 [Conformance Clause 7: CSAF post-processor](#conformance-clause-7-csaf-post-processor)
+ 9.1.8 [Conformance Clause 8: CSAF modifier](#conformance-clause-8-csaf-modifier)
+ 9.1.9 [Conformance Clause 9: CSAF translator](#conformance-clause-9-csaf-translator)
+ 9.1.10 [Conformance Clause 10: CSAF consumer](#conformance-clause-10-csaf-consumer)
+ 9.1.11 [Conformance Clause 11: CSAF viewer](#conformance-clause-11-csaf-viewer)
+ 9.1.12 [Conformance Clause 12: CSAF management system](#conformance-clause-12-csaf-management-system)
+ 9.1.13 [Conformance Clause 13: CSAF asset matching system](#conformance-clause-13-csaf-asset-matching-system)
+ 9.1.14 [Conformance Clause 14: CSAF basic validator](#conformance-clause-14-csaf-basic-validator)
+ 9.1.15 [Conformance Clause 15: CSAF extended validator](#conformance-clause-15-csaf-extended-validator)
+ 9.1.16 [Conformance Clause 16: CSAF full validator](#conformance-clause-16-csaf-full-validator)
+ 9.1.17 [Conformance Clause 17: CSAF SBOM matching system](#conformance-clause-17-csaf-sbom-matching-system)
+
+Appendix A. [Acknowledgments](#acknowledgments)
+Appendix B. [Revision History](#revision-history)
+Appendix C. [Guidance on the Size of CSAF Documents](#guidance-on-the-size-of-csaf-documents)
+ C.1 [File size](#file-size)
+ C.2 [Array length](#array-length)
+ C.3 [String length](#string-length)
+ C.4 [URI length](#uri-length)
+ C.5 [Enum](#enum)
+ C.6 [Date](#date)
+-------
+
+# 1. Introduction
+
+## 1.1 IPR Policy
+
+This specification is provided under the [Non-Assertion](https://www.oasis-open.org/policies-guidelines/ipr/#Non-Assertion-Mode) Mode of
+the [OASIS IPR Policy](https://www.oasis-open.org/policies-guidelines/ipr/), the mode chosen when the Technical Committee was established.
+For information on whether any patents have been disclosed that may be essential to implementing this specification,
+and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC's
+web page ([https://www.oasis-open.org/committees/csaf/ipr.php](https://www.oasis-open.org/committees/csaf/ipr.php)).
+
+## 1.2 Terminology
+
+The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
+"MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 \[[RFC2119](#RFC2119)\] and \[[RFC8174](#RFC8174)\] when,
+and only when, they appear in all capitals, as shown here.
+
+For purposes of this document, the following terms and definitions apply:
+
+
+ advisory
+ reporting item that describes a condition present in an artifact and that requires action by the consumers
+ advisory document
+ artifact in which an analysis tool reports a result
+ advisory management system
+ software system that consumes the documents produced by analysis tools,
+ produces advisories that enable engineering and operating organizations to assess the quality of these
+ software artifacts at a point in time, and performs functions such as filing security advisories and
+ displaying information about individual advisories.
+ Note : An advisory management system can interact with a document viewer to display information about individual advisories.
+ advisory matching
+ process of determining whether two advisories are targeting the same products and conditions
+ artifact
+ sequence of bytes addressable via a URI.
+ Examples : A physical file in a file system such as a source file, an object file, a configuration file or a data file;
+ a specific version of a file in a version control system; a database table accessed via an HTTP request;
+ an arbitrary stream of bytes returned from an HTTP request, a product URL, a common product enumeration value.
+ CSAF asset matching system
+ program that connects to or is an asset database and is able to manage CSAF documents as
+ required by CSAF management system
+ as well as matching them to assets of the asset database.
+ CSAF basic validator
+ A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+ CSAF consumer
+ program that reads and interprets a CSAF document
+ CSAF content management system
+ program that is able to create, review and manage CSAF documents and is able to preview their details as
+ required by CSAF viewer.
+ CSAF converter
+ CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format
+ CSAF direct producer
+ analysis tool which acts as a CSAF producer
+ CSAF document
+ security advisory text document in the format defined by this document.
+ CSAF extended validator
+ A CSAF basic validator that additionally performs optional tests.
+ CSAF full validator
+ A CSAF extended validator that additionally performs informative tests.
+ CSAF management system
+ program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+ CSAF modifier
+ CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties.
+ The output is a valid CSAF document.
+ CSAF post-processor
+ CSAF producer that transforms an existing CSAF document into a new CSAF document,
+ for example, by removing or redacting elements according to sharing policies.
+ CSAF SBOM matching system
+ A program that connects to or is an SBOM database and is able to manage CSAF documents as
+ required by CSAF management system as well as matching them to SBOM components of the SBOM database.
+ CSAF producer
+ program that emits output in the CSAF format
+ CSAF translator
+ CSAF post-processor which takes a CSAF document as input and translates values of properties into another language.
+ The output is a valid CSAF document.
+ CSAF viewer
+ CSAF consumer that reads a CSAF document, displays a list of the results it contains,
+ and allows an end user to view each result in the context of the artifact in which it occurs.
+ CVRF CSAF converter
+ CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+ document
+ output file produced by an analysis tool, which enumerates the results produced by the tool
+ driver
+ tool component containing an analysis tool’s or converter’s primary executable,
+ which controls the tool’s or converter’s execution,
+ and which in the case of an analysis tool typically defines a set of analysis rules
+ embedded link
+ syntactic construct which enables a message string to refer to a location mentioned in the document
+ empty array
+ array that contains no elements, and so has a length of 0
+ empty object
+ object that contains no properties
+ empty string
+ string that contains no characters, and so has a length of 0
+ (end) user
+ person who uses the information in a document to investigate, triage, or resolve results
+ engineering system
+ software analysis environment within which analysis tools execute.
+ Note : An engineering system might include a build system, a source control system, a result management system,
+ a bug tracking system, a test execution system, and so on.
+ extension
+ tool component other than the driver (for example, a plugin, a configuration file, or a taxonomy)
+ external property file
+ file containing the values of one or more externalized properties
+ externalizable property
+ property that can be contained in an external property file
+ externalized property
+ property stored outside of the CSAF document to which it logically belongs
+ false positive
+ result which an end user decides does not actually represent a problem
+ fingerprint
+ stable value that can be used by a result management system to uniquely identify a result over time,
+ even if a relevant artifact is modified
+ formatted message
+ message string which contains formatting information such as Markdown formatting characters
+ fully qualified logical name
+ string that fully identifies the programmatic construct specified by a logical location,
+ typically by means of a hierarchical identifier.
+ hierarchical string
+ string in the format <component>{/<component>}*
+ line
+ contiguous sequence of characters, starting either at the beginning of an artifact or immediately after
+ a newline sequence, and ending at and including the nearest subsequent newline sequence, if one is present,
+ or else extending to the end of the artifact
+ line (number)
+ 1-based index of a line within a file.
+ Note : Abbreviated to "line" when there is no danger of ambiguity with "line" in the sense of a sequence of characters.
+ localizable
+ subject to being translated from one natural language to another
+ message string
+ human-readable string that conveys information relevant to an element in a CSAF document
+ nested artifact
+ artifact that is contained within another artifact
+ newline sequence
+ sequence of one or more characters representing the end of a line of text.
+ Note : Some systems represent a newline sequence with a single newline character; others represent it as
+ a carriage return character followed by a newline character.
+ notification
+ reporting item that describes a condition encountered by a tool during its execution
+ opaque
+ neither human-readable nor machine-parsable into constituent parts
+ parent (artifact)
+ artifact which contains one or more nested artifacts
+ plain text message
+ message string which does not contain any formatting information
+ plugin
+ tool component that defines additional rules
+ policy
+ set of rule configurations that specify how results that
+ violate the rules defined by a particular tool component are to be treated
+ problem
+ result which indicates a condition that has the potential to detract from the quality of the program.
+ Examples : A security vulnerability, a deviation from contractual or legal requirements.
+ product
+ is any deliverable (e.g. software, hardware, specification,...) which can be referred to with a name.
+ This applies regardless of the origin, the license model, or the mode of distribution of the deliverable.
+ property
+ attribute of an object consisting of a name and a value associated with the name
+ redactable property
+ property that potentially contains sensitive information that a CSAF direct producer or
+ a CSAF post-processor might wish to redact
+ reporting item
+ unit of output produced by a tool, either a result or a notification
+ reporting configuration
+ the subset of reporting metadata that a tool can configure at runtime, before performing its scan.
+ Examples : severity level, rank
+ repository
+ container for a related set of files in a version control system
+ taxonomy
+ classification of analysis results into a set of categories
+ tag
+ string that conveys additional information about the CSAF document element to which it applies
+ text artifact
+ artifact considered as a sequence of characters organized into lines and columns
+ text region
+ region representing a contiguous range of zero or more characters in a text artifact
+ tool component
+ component of an analysis tool or converter, either its driver or an extension, consisting of one or more files
+ top-level artifact
+ artifact which is not contained within any other artifact
+ translation
+ rendering of a tool component's localizable strings into another language
+ triage
+ decide whether a result indicates a problem that needs to be corrected
+ user
+ see end user.
+ VCS
+ version control system
+ vendor
+ the community, individual, or organization that created or maintains a product
+ (including open source software and hardware providers)
+ VEX
+ Vulnerability Exploitability eXchange - enables a supplier or other party to assert whether or not
+ a particular product is affected by a specific vulnerability, especially helpful in efficiently consuming SBOM data.
+ viewer
+ see CSAF viewer.
+ vulnerability
+ functional behavior of a product or service that violates an implicit or explicit security policy
+ (conforming to ISO/IEC 29147 cite )
+ XML
+ eXtensible Markup Language - the format used by the predecessors of this standard, namely CVRF 1.1 and CVRF 1.2.
+
+
+## 1.3 Normative References
+
+**\[** **https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00.\]**
+
+**\[** **https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00.\]**
+
+**\[** **https://json-schema.org/draft/2019-09/json-schema-hypermedia.html.\]**
+
+**\[** **https://datatracker.ietf.org/doc/html/draft-bhutton-relative-json-pointer-00.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc2119.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc7464.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc8174.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc8259.\]**
+
+## 1.4 Informative References
+
+**\[** **CPE23-A\]** _Common Platform Enumeration: Applicability Language Specification Version 2.3 (NISTIR 7698)_, D. Waltermire, P. Cichonski, K. Scarfone, Editors, NIST Interagency Report 7698, August 2011, https://dx.doi.org/10.6028/NIST.IR.7698.
+
+**\[** **CPE23-D\]** _Common Platform Enumeration: Dictionary Specification Version 2.3_, P. Cichonski, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7697, August 2011, https://dx.doi.org/10.6028/NIST.IR.7697.
+
+**\[** **CPE23-M\]** _Common Platform Enumeration: Naming Matching Specification Version 2.3_, M. Parmelee, H. Booth, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7696, August 2011, https://dx.doi.org/10.6028/NIST.IR.7696.
+
+**\[** **CPE23-N\]** _Common Platform Enumeration: Naming Specification Version 2.3_, B. Cheikes, D. Waltermire, K. Scarfone, Editors, NIST Interagency Report 7695, August 2011, https://dx.doi.org/10.6028/NIST.IR.7695.
+
+**\[** **CSAF-v2.0\]** _Common Security Advisory Framework Version 2.0_. Edited by Langley Rock, Stefan Hagen, and Thomas Schmidt. 18 November 2022. OASIS Standard. https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html. Latest stage: https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html.
+
+**\[** **CVE\]** _Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names_, MITRE, 1999, https://cve.mitre.org/about/.
+
+**\[** **CVE-NF\]** _Common Vulnerability and Exposures (CVE) – The Standard for Information Security Vulnerability Names - CVE ID Syntax Change_, MITRE, January 01, 2014, https://cve.mitre.org/cve/identifiers/syntaxchange.html.
+
+**\[** **CVRF-1-1\]** _The Common Vulnerability Reporting Framework (CVRF) Version 1.1_, M. Schiffman, Editor, May 2012, Internet Consortium for Advancement of Security on the Internet (ICASI), https://www.icasi.org/the-common-vulnerability-reporting-framework-cvrf-v1-1/.
+
+**\[** **CVRF-v1.2\]** _CSAF Common Vulnerability Reporting Framework (CVRF) Version 1.2_. Edited by Stefan Hagen. 13 September 2017. OASIS Committee Specification 01. https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/cs01/csaf-cvrf-v1.2-cs01.html. Latest version: https://docs.oasis-open.org/csaf/csaf-cvrf/v1.2/csaf-cvrf-v1.2.html.
+
+**\[** **CVSS2\]** _A Complete Guide to the Common Vulnerability Scoring System Version 2.0_, P. Mell, K. Scarfone, S. Romanosky, Editors, First.org, Inc., June 2007, https://www.first.org/cvss/cvss-v2-guide.pdf.
+
+**\[** **CVSS30\]** _Common Vulnerability Scoring System v3.0: Specification Document_, FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3.0/cvss-v30-specification_v1.9.pdf.
+
+**\[** **CVSS31\]** _Common Vulnerability Scoring System v3.1: Specification Document_, FIRST.Org, Inc., June 2019, https://www.first.org/cvss/v3-1/cvss-v31-specification_r1.pdf.
+
+**\[** **CWE\]** _Common Weakness Enumeration (CWE) – A Community-Developed List of Software Weakness Types_, MITRE, 2005, http://cwe.mitre.org/about/.
+
+**\[** **CYCLONEDX13\]** _CycloneDX Software Bill-of-Material Specification JSON schema version 1.3_, cyclonedx.org, May 2021, https://github.com/CycloneDX/specification/blob/1.3/schema/bom-1.3.schema.json.
+
+**\[** **GFMCMARK\]** _GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C_, https://github.com/github/cmark.
+
+**\[** **GFMENG\]** _GitHub Engineering: A formal spec for GitHub Flavored Markdown_, https://githubengineering.com/a-formal-spec-for-github-markdown/.
+
+**\[** **ISO8601\]** _Data elements and interchange formats — Information interchange — Representation of dates and times_, International Standard, ISO 8601:2004(E), December 1, 2004, https://www.iso.org/standard/40874.html.
+
+**\[** **ISO19770-2\]** _Information technology — IT asset management — Part 2: Software identification tag_, International Standard, ISO 19770-2:2015, September 30, 2015, .
+
+**\[** **.\]**
+
+**\[** **OPENSSL\]** _GTLS/SSL and crypto library_, OpenSSL Software Foundation, https://www.openssl.org/.
+
+**\[** **PURL\]** _Package URL (PURL)_, GitHub Project, https://github.com/package-url/purl-spec.
+
+**\[** **https://www.rfc-editor.org/info/rfc3339.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc3552.\]**
+
+**\[** **January 2005, https://www.rfc-editor.org/info/rfc3986.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc4880.\]**
+
+**\[** **June 2014, https://www.rfc-editor.org/info/rfc7231.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc7464.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc8615.\]**
+
+**\[** **https://www.rfc-editor.org/info/rfc9116.\]**
+
+**\[** **S. Quinn, K. Scarfone, A. Halbardier, Editors, NIST Spec. Publ. 800‑126 rev. 2, September 2011, https://dx.doi.org/10.6028/NIST.SP.800-126r2.\]**
+
+**\[** **SECURITY-TXT\]** Foudil, E. and Shafranovich, Y., _Security.txt Project_, https://securitytxt.org/.
+
+**\[** **SemVer\]** _Semantic Versioning 2.0.0_, T. Preston-Werner, June 2013, https://semver.org/.
+
+**\[** **https://spdx.github.io/spdx-spec/.\]**
+
+**\[** **https://github.com/package-url/purl-spec/blob/version-range-spec/VERSION-RANGE-SPEC.rst.\]**
+
+**\[** **27 September 2021, .\]**
+
+**\[** **XX May 2022, https://www.cisa.gov/sites/default/files/publications/VEX_Status_Justification_Jun22.pdf.\]**
+
+**\[** **W3C Recommendation, November 26, 2008, https://www.w3.org/TR/2008/REC-xml-20081126/. Latest version available at .\]**
+
+**\[** **Latest version available at .\]**
+
+**\[** **https://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/. Latest version available at .\]**
+
+## 1.5 Typographical Conventions
+
+Keywords defined by this specification use this `monospaced` font.
+
+```
+ Normative source code uses this paragraph style.
+```
+
+Some sections of this specification are illustrated with non-normative examples introduced with "Example" or "Examples" like so:
+
+*Example 1:*
+
+```
+ Informative examples also use this paragraph style but preceded by the text "Example(s)".
+```
+
+All examples in this document are informative only.
+
+All other text is normative unless otherwise labeled e.g. like the following informative comment:
+
+> This is a pure informative comment that may be present, because the information conveyed is deemed useful advice or
+> common pitfalls learned from implementer or operator experience and often given including the rationale.
+
+-------
+
+# 2. Design Considerations
+
+The Common Security Advisory Framework (CSAF) is a language to exchange Security Advisories formulated in JSON.
+
+The term Security Advisory as used in this document describes any notification of security issues in products of and by providers.
+Anyone providing a product is considered in this document as a vendor, i.e. developers or maintainers of information system products or services.
+This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and product resellers and distributors,
+including authoritative vendor partners.
+A security issue is not necessarily constrained to a problem statement, the focus of the term is on the security aspect impacting
+(or not impacting) specific product-platform-version combinations.
+Information on presence or absence of workarounds is also considered part of the security issue.
+This document is the definitive reference for the language elements of CSAF version 2.1.
+The encompassing JSON schema file noted in the Additional Artifacts section of the title page SHALL be taken as normative in the case
+a gap or an inconsistency in this explanatory document becomes evident.
+The following presentation in this section is grouped by topical area, and is not simply derivative documentation from the schema document itself.
+The information contained aims to be more descriptive and complete.
+Where applicable, common conventions are stated and known common issues in usage are pointed out informatively to support
+implementers of document producers and consumers alike.
+
+This minimal required information set does not provide any useful information on products, vulnerabilities, or security advisories.
+Thus, any real-world Security Advisory will carry additional information as specified in section 3 Schema elements.
+
+Care has been taken, to design the containers for product and vulnerability information to support fine-grained mapping of
+security advisories onto product and vulnerability and minimize data duplication through referencing.
+The display of the elements representing Product Tree and Vulnerability information has been placed in the sections named accordingly.
+
+## 2.1 Construction Principles
+
+A Security Advisory defined as a CSAF document is the result of complex orchestration of many players and distinct and
+partially difficult to play schemas.
+
+The format chosen is [JSONSchema] which allows validation and delegation to sub schema providers.
+The latter aligns well with separation of concerns and shares the format family of information interchange utilized by
+the providers of product and vulnerability information which migrated from XML to JSON since the creation of CSAF CVRF version 1.2,
+the pre-predecessor of this specification.
+
+The acronym CSAF, “Common Security Advisory Framework”, stands for the target of concerted mitigation and remediation accomplishment.
+
+Technically, the use of JSON schema allows validation and proof of model conformance (through established schema based validation)
+of the declared information inside CSAF documents.
+
+The CSAF schema structures its derived documents into three main classes of the information conveyed:
+
+1. The frame, aggregation, and reference information of the document
+2. Product information considered relevant by the creator
+3. Vulnerability information and its relation to the products declared in 2.
+
+Wherever possible repetition of data has been replaced by linkage through ID elements.
+Consistency on the content level thus is in the responsibility of the producer of such documents,
+to link e.g. vulnerability information to the matching product.
+
+A dictionary like presentation of all defined schema elements is given in the section [3](#schema-elements).
+Any expected relations to other elements (linkage) is described there. This linking relies on setting attribute values accordingly
+(mostly guided by industry best practice and conventions) and thus implies,
+that any deep validation on a semantic level (e.g. does the CWE match the described vulnerability)
+is to be ensured by the producer and consumer of CSAF documents.
+It is out of scope for this specification.
+
+Proven and intended usage patterns from practice are given where possible.
+
+Delegation to industry best practices technologies is used in referencing schemas for:
+
+* Platform Data:
+ * Common Platform Enumeration (CPE) Version 2.3 \[[CPE23-N](#CPE23-N)\]
+* Vulnerability Scoring:
+ * Common Vulnerability Scoring System (CVSS) Version 3.1 \[[CVSS31](#CVSS31)\]
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v3.1.json
+ * Common Vulnerability Scoring System (CVSS) Version 3.0 \[[CVSS30](#CVSS30)\]
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v3.0.json
+ * Common Vulnerability Scoring System (CVSS) Version 2.0 \[[CVSS2](#CVSS2)\]
+ * JSON Schema Reference https://www.first.org/cvss/cvss-v2.0.json
+* Vulnerability Classification
+ * Common Weakness Enumeration (CWE) \[[CWE](#CWE)\]
+ * CWE List: http://cwe.mitre.org/data/index.html
+* Classification for Document Distribution
+ * Traffic Light Protocol (TLP)
+ * Default Definition: https://www.first.org/tlp/
+
+Even though the JSON schema does not prohibit specifically additional properties and custom keywords,
+it is strongly recommended not to use them. Suggestions for new fields SHOULD be made through issues in the TC's GitHub.
+
+> The standardized fields allow for scalability across different issuing parties and dramatically reduce the human effort and
+> need for dedicated parsers as well as other tools on the side of the consuming parties.
+
+Section [4](#profiles) defined profiles that are used to ensure a common understanding of which fields are required in a given use case.
+Additional conventions are stated in section [5](#additional-conventions).
+The tests given in section [6](#tests) support CSAF producers and
+consumers to verify rules from the specification which can not be tested by the schema.
+Section [7](#distributing-csaf-documents) states how to distribute and where to find CSAF documents.
+Safety, Security and Data Protection are considered in section [8](#safety-security-and-data-protection-considerations).
+Finally, a set of conformance targets describes tools in the ecosystem.
+
+-------
+
+# 3. Schema Elements
+
+The CSAF schema describes how to represent security advisory information as a JSON document.
+
+The CSAF schema Version 2.1 builds on the JSON Schema draft 2020-12 rules.
+
+```
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
+```
+
+The schema identifier is:
+
+```
+ "$id": "https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json"
+```
+
+The further documentation of the schema is organized via Definitions and Properties.
+
+* Definitions provide types that extend the JSON schema model
+* Properties use these types to support assembling security advisories
+
+Types and properties together provide the vocabulary for the domain specific language supporting security advisories.
+
+The single mandatory property is `document`.
+The optional two additional properties are `product_tree` and `vulnerabilities`.
+
+## 3.1 Definitions
+
+The definitions (`$defs`) introduce the following domain specific types into the CSAF language:
+Acknowledgments (`acknowledgments_t`), Branches (`branches_t`), Full Product Name (`full_product_name_t`), Language (`lang_t`), Notes (`notes_t`),
+Product Group ID (`product_group_id_t`), Product Groups (`product_groups_t`), Product ID (`product_id_t`), Products (`products_t`),
+References (`references_t`), and Version (`version_t`).
+
+```
+ "$defs": {
+ "acknowledgments_t": {
+ // ...
+ },
+ "branches_t": {
+ // ...
+ },
+ "full_product_name_t": {
+ // ...
+ },
+ "lang_t": {
+ // ...
+ },
+ "notes_t": {
+ // ...
+ },
+ "product_group_id_t": {
+ // ...
+ },
+ "product_groups_t": {
+ // ...
+ },
+ "product_id_t": {
+ // ...
+ },
+ "products_t": {
+ // ...
+ },
+ "references_t": {
+ // ...
+ },
+ "version_t": {
+ // ...
+ }
+ },
+```
+
+### 3.1.1 Acknowledgments Type
+
+List of Acknowledgments (`acknowledgments_t`) type instances of value type `array` with 1 or more elements contain
+a list of `Acknowledgment` elements.
+
+```
+ "acknowledgments_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+The value type of Acknowledgment is `object` with at least 1 and at most 4 properties. Every such element acknowledges contributions by
+describing those that contributed.
+The properties are: `names`, `organization`, `summary`, and `urls`.
+
+```
+ "properties": {
+ "names": {
+ // ...
+ },
+ "organization": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "urls": {
+ // ...
+ }
+ }
+```
+
+#### 3.1.1.1 Acknowledgments Type - Names
+
+List of acknowledged names (`names`) has value type `array` with 1 or more items holds the names of contributors being recognized.
+Every such item of value type `string` with 1 or more characters represents the name of the contributor and contains the name of
+a single contributor being recognized.
+
+*Examples 1:*
+
+```
+ Albert Einstein
+ Johann Sebastian Bach
+```
+
+#### 3.1.1.2 Acknowledgments Type - Organization
+
+The contributing organization (`organization`) has value type `string` with 1 or more characters and holds the name of
+the contributing organization being recognized.
+
+*Examples 1:*
+
+```
+ CISA
+ Google Project Zero
+ Talos
+```
+
+#### 3.1.1.3 Acknowledgments Type - Summary
+
+Summary of the acknowledgment (`summary`) of value type `string` with 1 or more characters SHOULD represent any contextual details
+the document producers wish to make known about the acknowledgment or acknowledged parties.
+
+*Example 1:*
+
+```
+ First analysis of Coordinated Multi-Stream Attack (CMSA)
+```
+
+#### 3.1.1.4 Acknowledgments Type - URLs
+
+List of URLs (`urls`) of acknowledgment is a container (value type `array`) for 1 or more `string` of type URL that specifies
+a list of URLs or location of the reference to be acknowledged.
+Any URL of acknowledgment contains the URL or location of the reference to be acknowledged.
+Value type is string with format URI (`uri`).
+
+#### 3.1.1.5 Acknowledgments Type - Example
+
+*Example 1:*
+
+```
+ "acknowledgments": [
+ {
+ "names": [
+ "Johann Sebastian Bach",
+ "Georg Philipp Telemann",
+ "Georg Friedrich Händel"
+ ],
+ "organization": "Baroque composers",
+ "summary": "wonderful music"
+ },
+ {
+ "organization": "CISA",
+ "summary": "coordination efforts",
+ "urls": [
+ "https://cisa.gov"
+ ]
+ },
+ {
+ "organization": "BSI",
+ "summary": "assistance in coordination"
+ },
+ {
+ "names": [
+ "Antonio Vivaldi"
+ ],
+ "summary": "influencing other composers"
+ }
+ ],
+```
+
+The example \[[1](#acknowledgments-type-example-eg-1)\] above SHOULD lead to the following outcome in a human-readable advisory:
+
+> We thank the following parties for their efforts:
+>
+> * Johann Sebastian Bach, Georg Philipp Telemann, Georg Friedrich Händel from Baroque composers for wonderful music
+> * CISA for coordination efforts (see: https://cisa.gov)
+> * BSI for assistance in coordination
+> * Antonio Vivaldi for influencing other composers
+
+### 3.1.2 Branches Type
+
+List of branches (`branches_t`) with value type `array` contains 1 or more branch elements as children of the current element.
+
+```
+ "branches_t": {
+ //...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Branch holds exactly 3 properties and is a part of the hierarchical structure of the product tree.
+The properties `name` and `category` are mandatory. In addition, the object contains either a `branches` or a `product` property.
+
+```
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "name": {
+ // ...
+ },
+ "product": {
+ // ...
+ }
+ }
+```
+
+> `branches_t` supports building a hierarchical structure of products that allows to indicate the relationship of products to each other and
+> enables grouping for simpler referencing.
+> As an example, the structure MAY use the following levels: `vendor` -> `product_family` -> `product_name` -> `product_version`.
+> It is recommended to use the hierarchical structure of `vendor` -> `product_name` -> `product_version` whenever possible to support
+> the identification and matching of products on the consumer side.
+
+#### 3.1.2.1 Branches Type - Branches
+
+List of branches (`branches`) has the value type `branches_t`.
+
+#### 3.1.2.2 Branches Type - Category
+
+Category of the branch (`category`) of value type `string` and `enum` describes the characteristics of the labeled branch.
+Valid `enum` values are:
+
+```
+ architecture
+ host_name
+ language
+ legacy
+ patch_level
+ product_family
+ product_name
+ product_version
+ product_version_range
+ service_pack
+ specification
+ vendor
+```
+
+The value `architecture` indicates the architecture for which the product is intended.
+
+The value `host_name` indicates the host name of a system/service.
+
+The value `language` indicates the language of the product.
+
+The value `legacy` indicates an entry that has reached its end of life.
+
+The value `patch_level` indicates the patch level of the product.
+
+The value `product_family` indicates the product family that the product falls into.
+
+The value `product_name` indicates the name of the product.
+
+The value `product_version` indicates exactly a single version of the product.
+The value of the adjacent `name` property can be numeric or some other descriptor.
+However, it MUST NOT contain version ranges of any kind.
+
+> It is recommended to enumerate versions wherever possible. Nevertheless, the TC understands that this is sometimes impossible.
+> To reflect that in the specification and aid in automatic processing of CSAF documents the value `product_version_range` was introduced.
+> See next section for details.
+
+The value `product_version_range` indicates a range of versions for the product.
+The value of the adjacent `name` property SHOULD NOT be used to convey a single version.
+
+The value `service_pack` indicates the service pack of the product.
+
+The value `specification` indicates the specification such as a standard, best common practice, etc.
+
+The value `vendor` indicates the name of the vendor or manufacturer that makes the product.
+
+#### 3.1.2.3 Branches Type - Name
+
+Name of the branch (`name`) of value type `string` with 1 or more characters contains the canonical descriptor or 'friendly name' of the branch.
+
+*Examples 1:*
+
+```
+ 10
+ 365
+ Microsoft
+ Office
+ PCS 7
+ SIMATIC
+ Siemens
+ Windows
+```
+
+A leading `v` or `V` in the value of `name` SHOULD only exist for the categories `product_version` or `product_version_range` if it is
+part of the product version as given by the vendor.
+
+##### 3.1.2.3.1 Branches Type - Name under Product Version
+
+If adjacent property `category` has the value `product_version`, the value of `name` MUST NOT contain version ranges of any kind.
+
+*Examples 1 (for `name` when using `product_version`):*
+
+```
+ 10
+ 17.4
+ v3
+```
+
+> The `product_version` is the easiest way for users to determine whether their version is meant
+> (provided that the given ancestors in the product tree matched):
+> If both version strings are the same, it is a match - otherwise not.
+> Therefore, it is always recommended to enumerate product versions instead of providing version ranges.
+
+*Examples 2 (for `name` when using `product_version` which are invalid):*
+
+```
+ 8.0.0 - 8.0.1
+ 8.1.5 and later
+ <= 2
+ prior to 4.2
+ All versions < V3.0.29
+ V3.0, V4.0, V4.1, V4.2
+```
+
+> All the examples above contain some kind of a version range and are therefore invalid under the category `product_version`.
+
+##### 3.1.2.3.2 Branches Type - Name under Product Version Range
+
+If adjacent property `category` has the value `product_version_range`, the value of `name` MUST contain version ranges.
+The value of MUST obey to exactly one of the following options:
+
+1. Version Range Specifier (vers)
+
+ > vers is an ongoing community effort to address the problem of version ranges. Its draft specification is available at \[[VERS](#VERS)\].
+
+ vers MUST be used in its canonical form. To convey the term "all versions" the special string `vers:all/*` MUST be used.
+
+ *Examples 1 (for `name` when using `product_version_range` with vers):*
+
+ ```
+ vers:gem/>=2.2.0|!= 2.2.1|<2.3.0
+ vers:npm/1.2.3|>=2.0.0|<5.0.0
+ vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1
+ vers:tomee/>=8.0.0-M1|<=8.0.1
+ ```
+
+ > Through the definitions of the vers specification a user can compute whether a given version is in a given range.
+
+2. Vers-like Specifier (vls)
+
+ This option uses only the `` part from the vers specification. It MUST NOT have an URI nor the `` part.
+ It is a fallback option and SHOULD NOT be used unless really necessary.
+ > The reason for that is, that it is nearly impossible for tools to reliable determine whether a given version is in the range or not.
+
+ Tools MAY support this on best effort basis.
+
+ *Examples 2 (for `name` when using `product_version_range` with vls):*
+
+ ```
+ <=2
+ <4.2
+ =8.1.5
+ ```
+
+#### 3.1.2.4 Branches Type - Product
+
+Product (`product`) has the value type Full Product Name (`full_product_name_t`).
+
+### 3.1.3 Full Product Name Type
+
+Full Product Name (`full_product_name_t`) with value type `object` specifies information about the product and assigns the product ID.
+The properties `name` and `product_id` are required. The property `product_identification_helper` is optional.
+
+```
+ "full_product_name_t": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "product_id": {
+ // ...
+ },
+ "product_identification_helper": {
+ // ...
+ }
+ }
+ },
+```
+
+#### 3.1.3.1 Full Product Name Type - Name
+
+Textual description of the product (`name`) has value type `string` with 1 or more characters.
+The value SHOULD be the product's full canonical name, including version number and other attributes,
+as it would be used in a human-friendly document.
+
+*Examples 1:*
+
+```
+ Cisco AnyConnect Secure Mobility Client 2.3.185
+ Microsoft Host Integration Server 2006 Service Pack 1
+```
+
+#### 3.1.3.2 Full Product Name Type - Product ID
+
+Product ID (`product_id`) holds a value of type Product ID (`product_id_t`).
+
+#### 3.1.3.3 Full Product Name Type - Product Identification Helper
+
+Helper to identify the product (`product_identification_helper`) of value type `object` provides in its properties at least
+one method which aids in identifying the product in an asset database.
+Of the given eight properties `cpe`, `hashes`, `model_numbers`, `purl`, `sbom_urls`, `serial_numbers`, `skus`,
+and `x_generic_uris`, one is mandatory.
+
+```
+ "product_identification_helper": {
+ // ...
+ "properties": {
+ "cpe": {
+ // ...
+ },
+ "hashes": {
+ // ...
+ },
+ "model_numbers": {
+ // ...
+ },
+ "purl": {
+ // ...
+ },
+ "sbom_urls": {
+ // ...
+ },
+ "serial_numbers": {
+ // ...
+ },
+ "skus": {
+ // ...
+ },
+ "x_generic_uris": {
+ // ...
+ }
+ }
+```
+
+##### 3.1.3.3.1 Full Product Name Type - Product Identification Helper - CPE
+
+Common Platform Enumeration representation (`cpe`) of value type `string` of 5 or more characters with `pattern` (regular expression):
+
+```
+ ^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){4})|([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$
+```
+
+The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms external to this specification.
+See [CPE23-N] for details.
+
+##### 3.1.3.3.2 Full Product Name Type - Product Identification Helper - Hashes
+
+List of hashes (`hashes`) of value type `array` holding at least one item contains a list of cryptographic hashes usable to identify files.
+
+```
+ "hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Cryptographic hashes of value type `object` contains all information to identify a file based on its cryptographic hash values.
+Any cryptographic hashes object has the 2 mandatory properties `file_hashes` and `filename`.
+
+```
+ "properties": {
+ "file_hashes": {
+ // ...
+ },
+ "filename": {
+ // ...
+ }
+ }
+```
+
+List of file hashes (`file_hashes`) of value type `array` holding at least one item contains a list of cryptographic hashes for this file.
+
+```
+ "file_hashes": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Each File hash of value type `object` contains one hash value and algorithm of the file to be identified.
+Any File hash object has the 2 mandatory properties `algorithm` and `value`.
+
+```
+ "properties": {
+ "algorithm": {
+ // ...
+ },
+ "value": {
+ // ...
+ }
+ }
+```
+
+The algorithm of the cryptographic hash representation (`algorithm`) of value type `string` with one or more characters contains
+the name of the cryptographic hash algorithm used to calculate the value.
+The default value for `algorithm` is `sha256`.
+
+*Examples 1:*
+
+```
+ blake2b512
+ sha256
+ sha3-512
+ sha384
+ sha512
+```
+
+These values are derived from the currently supported digests OpenSSL \[[OPENSSL](#OPENSSL)\]. Leading dashes were removed.
+
+> The command `openssl dgst -list` (Version 1.1.1f from 2020-03-31) outputs the following:
+>
+>```
+> Supported digests:
+> -blake2b512 -blake2s256 -md4
+> -md5 -md5-sha1 -ripemd
+> -ripemd160 -rmd160 -sha1
+> -sha224 -sha256 -sha3-224
+> -sha3-256 -sha3-384 -sha3-512
+> -sha384 -sha512 -sha512-224
+> -sha512-256 -shake128 -shake256
+> -sm3 -ssl3-md5 -ssl3-sha1
+> -whirlpool
+>```
+
+The Value of the cryptographic hash representation (`value`) of value type `string` of 32 or more characters with `pattern` (regular expression):
+
+```
+ ^[0-9a-fA-F]{32,}$
+```
+
+The Value of the cryptographic hash attribute contains the cryptographic hash value in hexadecimal representation.
+
+*Examples 2:*
+
+```
+ 37df33cb7464da5c7f077f4d56a32bc84987ec1d85b234537c1c1a4d4fc8d09dc29e2e762cb5203677bf849a2855a0283710f1f5fe1d6ce8d5ac85c645d0fcb3
+ 4775203615d9534a8bfca96a93dc8b461a489f69124a130d786b42204f3341cc
+ 9ea4c8200113d49d26505da0e02e2f49055dc078d1ad7a419b32e291c7afebbb84badfbd46dec42883bea0b2a1fa697c
+```
+
+The filename representation (`filename`) of value type `string` with one or more characters contains the name of
+the file which is identified by the hash values.
+
+*Examples 3:*
+
+```
+ WINWORD.EXE
+ msotadddin.dll
+ sudoers.so
+```
+
+If the value of the hash matches and the filename does not, a user SHOULD prefer the hash value.
+In such cases, the filename SHOULD be used as informational property.
+
+##### 3.1.3.3.3 Full Product Name Type - Product Identification Helper - Model Numbers
+
+The list of models (`model_numbers`) of value type `array` with 1 or more unique items contains a list of full or
+abbreviated (partial) model numbers.
+
+A list of models SHOULD only be used if a certain range of model numbers with its corresponding software version is affected,
+or the model numbers change during update.
+
+This can also be used to identify hardware.
+If necessary, the software, or any other related part, SHALL be bind to that via a product relationship.
+
+```
+ "model_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given model number of value type `string` with at least 1 character represents a full or abbreviated (partial) model number of
+the component to identify.
+
+> The terms "model", "model number" and "model variant" are mostly used synonymously.
+> Often it is abbreviated as "MN", M/N" or "model no.".
+
+If a part of a model number of the component to identify is given,
+it SHOULD begin with the first character of the model number and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+*Examples 1:*
+
+```
+ 6RA8096-4MV62-0AA0
+ 6RA801?-??V62-0AA0
+ IC25T060ATCS05-0
+```
+
+##### 3.1.3.3.4 Full Product Name Type - Product Identification Helper - PURL
+
+The package URL (PURL) representation (`purl`) is a `string` of 7 or more characters with `pattern` (regular expression):
+
+```
+ ^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+
+```
+
+> The given pattern does not completely evaluate whether a PURL is valid according to the \[[PURL](#PURL)\] specification.
+> It provides a more generic approach and general guidance to enable forward compatibility.
+> CSAF uses only the canonical form of PURL to conform with section 3.3 of \[[RFC3986](#RFC3986)\].
+> Therefore, URLs starting with `pkg://` are considered invalid.
+
+This package URL (PURL) attribute refers to a method for reliably identifying and locating software packages external to this specification.
+See \[[PURL](#PURL)\] for details.
+
+##### 3.1.3.3.5 Full Product Name Type - Product Identification Helper - SBOM URLs
+
+The list of SBOM URLs (`sbom_urls`) of value type `array` with 1 or more items contains
+a list of URLs where SBOMs for this product can be retrieved.
+
+> The SBOMs might differ in format or depth of detail. Currently supported formats are SPDX, CycloneDX, and SWID.
+
+```
+ "sbom_urls": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given SBOM URL of value type `string` with format `uri` contains a URL of one SBOM for this product.
+
+*Examples 1:*
+
+```
+ https://raw.githubusercontent.com/CycloneDX/bom-examples/master/SBOM/keycloak-10.0.2/bom.json
+ https://swinslow.net/spdx-examples/example4/main-bin-v2
+```
+
+##### 3.1.3.3.6 Full Product Name Type - Product Identification Helper - Serial Numbers
+
+The list of serial numbers (`serial_numbers`) of value type `array` with 1 or more unique items contains
+a list of full or abbreviated (partial) serial numbers.
+
+A list of serial numbers SHOULD only be used if a certain range of serial numbers with its corresponding software version is affected,
+or the serial numbers change during update.
+
+```
+ "serial_numbers": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given serial number of value type `string` with at least 1 character represents a full or
+abbreviated (partial) serial number of the component to identify.
+
+If a part of a serial number of the component to identify is given,
+it SHOULD begin with the first character of the serial number and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+##### 3.1.3.3.7 Full Product Name Type - Product Identification Helper - SKUs
+
+The list of stock keeping units (`skus`) of value type `array` with 1 or more items contains a list of full or
+abbreviated (partial) stock keeping units.
+
+A list of stock keeping units SHOULD only be used if the list of relationships is used to decouple e.g. hardware from the software,
+or the stock keeping units change during update.
+In the latter case the remediations SHALL include the new stock keeping units is or a description how it can be obtained.
+
+> The use of the list of relationships in the first case is important.
+> Otherwise, the end user is unable to identify which version (the affected or the not affected / fixed one) is used.
+
+```
+ "skus": {
+ //...
+ "items": {
+ //...
+ }
+ },
+```
+
+Any given stock keeping unit of value type `string` with at least 1 character represents a full or
+abbreviated (partial) stock keeping unit (SKU) of the component to identify.
+
+> Sometimes this is also called "item number", "article number" or "product number".
+
+If a part of a stock keeping unit of the component to identify is given, it SHOULD begin with the first character of
+the stock keeping unit and stop at any point.
+Characters which SHOULD NOT be matched MUST be replaced by either `?` (for a single character) or `*` (for zero or more characters).
+Two `*` MUST NOT follow each other.
+
+##### 3.1.3.3.8 Full Product Name Type - Product Identification Helper - Generic URIs
+
+List of generic URIs (`x_generic_uris`) of value type `array` with at least 1 item contains a list of identifiers which are
+either vendor-specific or derived from a standard not yet supported.
+
+```
+ "x_generic_uris": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+Any such Generic URI item of value type `object` provides the two mandatory properties Namespace (`namespace`) and URI (`uri`).
+
+```
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "uri": {
+ // ...
+ }
+ }
+```
+
+The namespace of the generic URI (`namespace`) of value type `string` with format `uri` refers to a URL which provides
+the name and knowledge about the specification used or is the namespace in which these values are valid.
+
+The URI (`uri`) of value type `string` with format `uri` contains the identifier itself.
+
+> These elements can be used to reference a specific component from an SBOM:
+
+*Example 1 (linking a component from a CycloneDX SBOM using the bomlink mechanism):*
+
+```
+ "x_generic_uris": [
+ {
+ "namespace": "https://cyclonedx.org/capabilities/bomlink/",
+ "uri": "urn:cdx:411dafd2-c29f-491a-97d7-e97de5bc2289/1#pkg:maven/org.jboss.logging/jboss-logging@3.4.1.Final?type=jar"
+ }
+ ]
+```
+
+*Example 2 (linking a component from an SPDX SBOM):*
+
+```
+ "x_generic_uris": [
+ {
+ "namespace": "https://spdx.github.io/spdx-spec/document-creation-information/#65-spdx-document-namespace-field",
+ "uri": "https://swinslow.net/spdx-examples/example4/main-bin-v2#SPDXRef-libc"
+ }
+ ]
+```
+
+### 3.1.4 Language Type
+
+Language type (`lang_t`) has value type `string` with `pattern` (regular expression):
+
+```
+ ^(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3}){0,2})?|[A-Za-z]{4,8})(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-[A-WY-Za-wy-z0-9](-[A-Za-z0-9]{2,8})+)*(-[Xx](-[A-Za-z0-9]{1,8})+)?|[Xx](-[A-Za-z0-9]{1,8})+|[Ii]-[Dd][Ee][Ff][Aa][Uu][Ll][Tt]|[Ii]-[Mm][Ii][Nn][Gg][Oo])$
+```
+
+The value identifies a language, corresponding to IETF BCP 47 / RFC 5646.
+See IETF language registry:
+
+> CSAF skips those grandfathered language tags that are deprecated at the time of writing the specification.
+> Even though the private use language tags are supported they should not be used to ensure readability across the ecosystem.
+> It is recommended to follow the conventions for the capitalization of the subtags even though it is not mandatory as most users are used to that.
+
+*Examples 1:*
+
+```
+ de
+ en
+ fr
+ frc
+ jp
+```
+
+### 3.1.5 Notes Type
+
+List of notes (`notes_t`) of value type `array` with 1 or more items of type `Note` contains notes which are specific to the current context.
+
+```
+ "notes_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Note item is `object` with the mandatory properties `category` and `text` providing a place to put
+all manner of text blobs related to the current context.
+A Note `object` MAY provide the optional properties `audience` and `title`.
+
+```
+ "properties": {
+ "audience": {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "text": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+```
+
+Audience of note (`audience`) of value type `string` with 1 or more characters indicates who is intended to read it.
+
+*Examples 1:*
+
+```
+ all
+ executives
+ operational management and system administrators
+ safety engineers
+```
+
+Note category (`category`) of value type `string` and `enum` contains the information of what kind of note this is.
+Valid `enum` values are:
+
+```
+ description
+ details
+ faq
+ general
+ legal_disclaimer
+ other
+ summary
+```
+
+The value `description` indicates the note is a description of something.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `details` indicates the note is a low-level detailed discussion.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `faq` indicates the note is a list of frequently asked questions.
+
+The value `general` indicates the note is a general, high-level note.
+The optional sibling property `title` MAY have more information in this case.
+
+The value `legal_disclaimer` indicates the note represents any possible legal discussion, including constraints, surrounding the document.
+
+The value `other` indicates the note is something that doesn’t fit the other categories.
+The optional sibling attribute `title` SHOULD have more information to indicate clearly what kind of note to expect in this case.
+
+The value `summary` indicates the note is a summary of something.
+The optional sibling property `title` MAY have more information in this case.
+
+Note content (`text`) of value type `string` with 1 or more characters holds the content of the note.
+Content varies depending on type.
+
+Title of note (`title`) of value type `string` with 1 or more characters provides a concise description of what
+is contained in the text of the note.
+
+*Examples 2:*
+
+```
+ Details
+ Executive summary
+ Technical summary
+ Impact on safety systems
+```
+
+### 3.1.6 Product Group ID Type
+
+The Product Group ID Type (`product_group_id_t`) of value type `string` with 1 or more characters is a reference token for product group instances.
+The value is a token required to identify a group of products so that it can be referred to from other parts in the document.
+There is no predefined or required format for the Product Group ID (`product_group_id`) as long as it uniquely identifies
+a product group in the context of the current document.
+
+```
+ "product_group_id_t": {
+ // ...
+ },
+```
+
+*Examples 1:*
+
+```
+ CSAFGID-0001
+ CSAFGID-0002
+ CSAFGID-0020
+```
+
+> Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and
+> the Product Group ID to support reading and parsing the document.
+
+### 3.1.7 Product Groups Type
+
+List of Product Group ID (`product_groups_t`) of value type `array` with 1 or more unique items (a `set`) of type
+Product Group ID (`product_group_id_t`) specifies a list of `product_group_ids` to give context to the parent item.
+
+```
+ "product_groups_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+### 3.1.8 Product ID Type
+
+The Product ID Type (`product_id_t`) of value type `string` with 1 or more characters is a reference token for product instances.
+The value is a token required to identify a `full_product_name` so that it can be referred to from other parts in the document.
+There is no predefined or required format for the Product ID (`product_id`) as long as it uniquely identifies a product in the context of
+the current document.
+
+```
+ "product_id_t": {
+ // ...
+ },
+```
+
+*Examples 1:*
+
+```
+ CSAFPID-0004
+ CSAFPID-0008
+```
+
+> Even though the standard does not require a specific format it is recommended to use different prefixes for the Product ID and
+> the Product Group ID to support reading and parsing the document.
+
+### 3.1.9 Products Type
+
+List of Product IDs (`products_t`) of value type `array` with 1 or more unique items (a `set`) of type
+Product ID (`product_id_t`) specifies a list of `product_ids` to give context to the parent item.
+
+```
+ "products_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+### 3.1.10 References Type
+
+List of references (`references_t`) of value type `array` with 1 or more items of type Reference holds a list of Reference objects.
+
+```
+ "references_t": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Reference item is `object` with the mandatory properties `url` and `summary` holding any reference to conferences,
+papers, advisories, and other resources that are related and considered related to either a surrounding part of or
+the entire document and to be of value to the document consumer.
+A reference `object` MAY provide the optional property `category`.
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+```
+
+Category of reference (`category`) of value type `string` and `enum` indicates whether the reference points to the same document or
+vulnerability in focus (depending on scope) or to an external resource.
+Valid `enum` values are:
+
+```
+ external
+ self
+```
+
+The default value for `category` is `external`.
+
+The value `external` indicates, that this document is an external reference to a document or vulnerability in focus (depending on scope).
+
+The value `self` indicates, that this document is a reference to this same document or vulnerability (also depending on scope).
+
+> This includes links to documents with the same content but different file format (e.g. advisories as PDF or HTML).
+
+Summary of the reference (`summary`) of value type `string` with 1 or more characters indicates what this reference refers to.
+
+URL of reference (`url`) of value type `string` with format `uri` provides the URL for the reference.
+
+### 3.1.11 Version Type
+
+The Version (`version_t`) type has value type `string` with `pattern` (regular expression):
+
+```
+ ^(0|[1-9][0-9]*)$|^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+```
+
+The version specifies a version string to denote clearly the evolution of the content of the document.
+There are two options how it can be used:
+
+* semantic versioning (preferred; according to the rules below)
+* integer versioning
+
+A CSAF document MUST use only one versioning system.
+
+*Examples 1:*
+
+```
+ 1
+ 4
+ 0.9.0
+ 1.4.3
+ 2.40.0+21AF26D3
+```
+
+#### 3.1.11.1 Version Type - Integer versioning
+
+Integer versioning increments for each version where the `/document/tracking/status` is `final` the version number by one.
+The regular expression for this type is:
+
+```
+^(0|[1-9][0-9]*)$
+```
+
+The following rules apply:
+
+1. Once a versioned document has been released, the contents of that version MUST NOT be modified.
+ Any modifications MUST be released as a new version.
+2. Version zero (0) is for initial development before the `initial_release_date`.
+ The document status MUST be `draft`. Anything MAY change at any time. The document SHOULD NOT be considered stable.
+3. Version 1 defines the initial public release.
+ Each new version where `/document/tracking/status` is `final` has a version number incremented by one.
+4. Pre-release versions (document status `draft`) MUST carry the new version number.
+ Sole exception is before the initial release (see rule 2).
+ The combination of document status `draft` and version 1 MAY be used to indicate that the content is unlikely to change.
+5. Build metadata is never included in the version.
+6. Precedence MUST be calculate by integer comparison.
+
+#### 3.1.11.2 Version Type - Semantic versioning
+
+Semantic versioning derived the rules from [SemVer]. The regular expression for this type is:
+
+```
+^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$
+```
+
+The goal of this structure is to provide additional information to the end user whether a new comparison with the asset database is needed.
+The "public API" in regards to CSAF is the CSAF document with its structure and content.
+This results in the following rules:
+
+1. A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes.
+ X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically.
+ For instance: 1.9.0 -> 1.10.0 -> 1.11.0.
+2. Once a versioned document has been released, the contents of that version MUST NOT be modified.
+ Any modifications MUST be released as a new version.
+3. Major version zero (0.y.z) is for initial development before the `initial_release_date`.
+ The document status MUST be `draft`. Anything MAY change at any time.
+ The document SHOULD NOT be considered stable. Changes which would increment the major version according to rule 7 are
+ tracked in this stage with (0.y.z) by incrementing the minor version y instead.
+ Changes that would increment the minor or patch version according to rule 6 or 5 are both tracked in this stage with
+ (0.y.z) by incrementing the patch version z instead.
+4. Version 1.0.0 defines the initial public release.
+ The way in which the version number is incremented after this release is dependent on the content and structure of
+ the document and how it changes.
+5. Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced.
+ A bug fix is defined as an internal change that fixes incorrect behavior.
+
+ > In the context of the document this is the case e.g. for spelling mistakes.
+
+6. Minor version Y (x.Y.z | x > 0) MUST be incremented if the content of an existing element changes except for
+ those which are covert through rule 7. It MUST be incremented if substantial new information are introduced or new elements are provided.
+ It MAY include patch level changes. Patch version MUST be reset to 0 when minor version is incremented.
+7. Major version X (X.y.z | X > 0) MUST be incremented if a new comparison with the end user's asset database is required.
+ This includes:
+
+ * changes (adding, removing elements or modifying content) in `/product_tree` or elements which contain `/product_tree` in their path
+ * adding or removing items of `/vulnerabilities`
+ * adding or removing elements in:
+ * `/vulnerabilities[]/product_status/first_affected`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/last_affected`
+ * removing elements from:
+ * `/vulnerabilities[]/product_status/first_fixed`
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+
+ It MAY also include minor and patch level changes.
+ Patch and minor version MUST be reset to 0 when major version is incremented.
+8. A pre-release version (document status `draft`) MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately
+ following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
+ Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading zeroes.
+ Pre-release versions have a lower precedence than the associated normal version.
+ A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as
+ denoted by its associated normal version.
+
+ *Examples 1:*
+
+ ```
+ 1.0.0-0.3.7
+ 1.0.0-alpha
+ 1.0.0-alpha.1
+ 1.0.0-x-y-z.–
+ 1.0.0-x.7.z.92
+ ```
+
+9. Pre-release MUST NOT be included if `/document/tracking/status` is `final`.
+10. Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following
+ the patch or pre-release version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
+ Identifiers MUST NOT be empty. Build metadata MUST be ignored when determining version precedence.
+ Thus two versions that differ only in the build metadata, have the same precedence.
+
+ *Examples 2:*
+
+ ```
+ 1.0.0+20130313144700
+ 1.0.0+21AF26D3—-117B344092BD
+ 1.0.0-alpha+001
+ 1.0.0-beta+exp.sha.5114f85
+ ```
+
+11. Precedence refers to how versions are compared to each other when ordered.
+
+ 1. Precedence MUST be calculated by separating the version into major, minor,
+ patch and pre-release identifiers in that order (Build metadata does not figure into precedence).
+ 2. Precedence is determined by the first difference when comparing each of these identifiers from left to right as follows:
+ Major, minor, and patch versions are always compared numerically.
+
+ *Example 3:*
+
+ ```
+ 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1
+ ```
+
+ 3. When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version:
+
+ *Example 4:*
+
+ ```
+ 1.0.0-alpha < 1.0.0
+ ```
+
+ 4. Precedence for two pre-release versions with the same major, minor,
+ and patch version MUST be determined by comparing each dot separated identifier from left to right until a difference is found as follows:
+
+ 1. Identifiers consisting of only digits are compared numerically.
+ 2. Identifiers with letters or hyphens are compared lexically in ASCII sort order.
+ 3. Numeric identifiers always have lower precedence than non-numeric identifiers.
+ 4. A larger set of pre-release fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal.
+
+ *Example 5:*
+
+ ```
+ 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
+ ```
+
+## 3.2 Properties
+
+These final three subsections document the three properties of a CSAF document.
+The single mandatory property `document`, as well as the optional properties `product_tree` and `vulnerabilities` in that order.
+
+### 3.2.1 Document Property
+
+Document level meta-data (`document`) of value type `object` with the 5 mandatory properties Category (`category`),
+CSAF Version (`csaf_version`), Publisher (`publisher`), Title (`title`),
+and Tracking (`tracking`) captures the meta-data about this document describing a particular set of security advisories.
+In addition, the `document` object MAY provide the 7 optional properties Acknowledgments (`acknowledgments`),
+Aggregate Severity (`aggregate_severity`), Distribution (`distribution`), Language (`lang`), Notes (`notes`),
+References (`references`), and Source Language (`source_lang`).
+
+```
+ "document": {
+ // ...
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "aggregate_severity" : {
+ // ...
+ },
+ "category": {
+ // ...
+ },
+ "csaf_version": {
+ // ...
+ },
+ "distribution": {
+ // ...
+ },
+ "lang": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "publisher": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "source_lang": {
+ // ...
+ },
+ "title": {
+ // ...
+ },
+ "tracking": {
+ // ...
+ }
+ }
+ },
+```
+
+#### 3.2.1.1 Document Property - Acknowledgments
+
+Document acknowledgments (`acknowledgments`) of value type Acknowledgments Type (`acknowledgments_t`) contains
+a list of acknowledgment elements associated with the whole document.
+
+```
+ "acknowledgments": {
+ // ...
+ },
+```
+
+#### 3.2.1.2 Document Property - Aggregate Severity
+
+Aggregate severity (`aggregate_severity`) of value type `object` with the mandatory property `text` and
+the optional property `namespace` is a vehicle that is provided by the document producer to convey the urgency and
+criticality with which the one or more vulnerabilities reported should be addressed.
+It is a document-level metric and applied to the document as a whole — not any specific vulnerability.
+The range of values in this field is defined according to the document producer's policies and procedures.
+
+```
+ "aggregate_severity": {
+ // ...
+ "properties": {
+ "namespace": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+ },
+```
+
+The Namespace of aggregate severity (`namespace`) of value type `string` with format `uri` points to the namespace so referenced.
+
+The Text of aggregate severity (`text`) of value type `string` with 1 or more characters provides a severity which is
+independent of - and in addition to - any other standard metric for determining the impact or severity of a given vulnerability (such as CVSS).
+
+*Examples 1:*
+
+```
+ Critical
+ Important
+ Moderate
+```
+
+#### 3.2.1.3 Document Property - Category
+
+Document category (`category`) with value type `string` of 1 or more characters with `pattern` (regular expression):
+
+```
+ ^[^\\s\\-_\\.](.*[^\\s\\-_\\.])?$
+```
+
+Document category defines a short canonical name, chosen by the document producer, which will inform the end user as to the category of document.
+
+> It is directly related to the profiles defined in section [4](#profiles).
+
+```
+ "category": {
+ // ...
+ }
+```
+
+*Examples 1:*
+
+```
+ csaf_base
+ csaf_security_advisory
+ csaf_vex
+ Example Company Security Notice
+```
+
+#### 3.2.1.4 Document Property - CSAF Version
+
+CSAF version (`csaf_version`) of value type `string` and `enum` gives the version of the CSAF specification which the document was generated for.
+The single valid value for this `enum` is:
+
+```
+ 2.1
+```
+
+#### 3.2.1.5 Document Property - Distribution
+
+Rules for sharing document (`distribution`) of value type `object` with at least 1 of the 2 properties Text (`text`) and
+Traffic Light Protocol (TLP) (`tlp`) describes any constraints on how this document might be shared.
+
+```
+ "distribution": {
+ // ...
+ "properties": {
+ "text": {
+ // ...
+ },
+ "tlp": {
+ // ...
+ }
+ }
+ },
+```
+
+If both values are present, the TLP information SHOULD be preferred as this aids in automation.
+
+##### 3.2.1.5.1 Document Property - Distribution - Text
+
+The Textual description (`text`) of value type `string` with 1 or more characters provides a textual description of additional constraints.
+
+*Examples 1:*
+
+```
+ Copyright 2021, Example Company, All Rights Reserved.
+ Distribute freely.
+ Share only on a need-to-know-basis only.
+```
+
+##### 3.2.1.5.2 Document Property - Distribution - TLP
+
+Traffic Light Protocol (TLP) (`tlp`) of value type `object` with the mandatory property Label (`label`) and
+the optional property URL (`url`) provides details about the TLP classification of the document.
+
+```
+ "tlp": {
+ // ...
+ "properties": {
+ "label": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+ }
+```
+
+The Label of TLP (`label`) with value type `string` and `enum` provides the TLP label of the document.
+Valid values of the `enum` are:
+
+```
+ AMBER
+ GREEN
+ RED
+ WHITE
+```
+
+The URL of TLP version (`url`) with value type `string` with format `uri` provides a URL where to find
+the textual description of the TLP version which is used in this document.
+The default value is the URL to the definition by FIRST:
+
+```
+ https://www.first.org/tlp/
+```
+
+*Examples 1:*
+
+```
+ https://www.us-cert.gov/tlp
+ https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Kritis/Merkblatt_TLP.pdf
+```
+
+#### 3.2.1.6 Document Property - Language
+
+Document language (`lang`) of value type Language Type (`lang_t`) identifies the language used by this document,
+corresponding to IETF BCP 47 / RFC 5646.
+
+#### 3.2.1.7 Document Property - Notes
+
+Document notes (`notes`) of value type Notes Type (`notes_t`) holds notes associated with the whole document.
+
+```
+ "notes": {
+ // ...
+ },
+```
+
+#### 3.2.1.8 Document Property - Publisher
+
+Publisher (`publisher`) has value type `object` with the mandatory properties Category (`category`), Name (`name`) and
+Namespace (`namespace`) and provides information on the publishing entity.
+The 2 other optional properties are: `contact_details` and `issuing_authority`.
+
+```
+ "publisher": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ },
+ "contact_details": {
+ // ...
+ },
+ "issuing_authority": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ "namespace": {
+ // ...
+ }
+ }
+ },
+```
+
+##### 3.2.1.8.1 Document Property - Publisher - Category
+
+The Category of publisher (`category`) of value type `string` and `enum` provides information about the category of
+publisher releasing the document.
+The valid values are:
+
+```
+ coordinator
+ discoverer
+ other
+ translator
+ user
+ vendor
+```
+
+The value `coordinator` indicates individuals or organizations that
+manage a single vendor’s response or multiple vendors’ responses to a vulnerability, a security flaw, or an incident.
+This includes all Computer Emergency/Incident Response Teams (CERTs/CIRTs) or agents acting on the behalf of a researcher.
+
+The value `discoverer` indicates individuals or organizations that find vulnerabilities or security weaknesses.
+This includes all manner of researchers.
+
+The value `translator` indicates individuals or organizations that translate CSAF documents.
+This includes all manner of language translators, also those who work for the party issuing the original advisory.
+
+The value `other` indicates a catchall for everyone else. Currently this includes editors, reviewers, forwarders, republishers,
+and miscellaneous contributors.
+
+The value `user` indicates anyone using a vendor’s product.
+
+The value `vendor` indicates developers or maintainers of information system products or services.
+This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and
+product resellers and distributors, including authoritative vendor partners.
+
+##### 3.2.1.8.2 Document Property - Publisher - Contact Details
+
+Contact details (`contact_details`) of value type `string` with 1 or more characters provides information on how to contact the publisher,
+possibly including details such as web sites, email addresses, phone numbers, and postal mail addresses.
+
+*Example 1:*
+
+```
+ Example Company can be reached at contact_us@example.com, or via our website at https://www.example.com/contact.
+```
+
+##### 3.2.1.8.3 Document Property - Publisher - Issuing Authority
+
+Issuing authority (`issuing_authority`) of value type `string` with 1 or more characters Provides information about
+the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.
+
+##### 3.2.1.8.4 Document Property - Publisher - Name
+
+The Name of publisher (`name`) of value type `string` with 1 or more characters contains the name of the issuing party.
+
+*Example 1:*
+
+```
+ BSI
+ Cisco PSIRT
+ Siemens ProductCERT
+```
+
+##### 3.2.1.8.5 Document Property - Publisher - Namespace
+
+The Namespace of publisher (`namespace`) of value type `string` with format `uri` contains a URL which
+is under control of the issuing party and can be used as a globally unique identifier for that issuing party.
+The URL SHALL be normalized.
+
+An issuing party can choose any URL which fulfills the requirements state above.
+The URL MAY be dereferenceable. If an issuing party has chosen a URL, it SHOULD NOT change.
+Tools can make use of the combination of `/document/publisher/namespace` and `/document/tracking/id` as it
+identifies a CSAF document globally unique.
+
+If an issuing party decides to change its Namespace it SHOULD reissue all CSAF documents with
+an incremented (patch) version which has no other changes than:
+
+* the new publisher information
+* the updated revision history
+* the updated item in `/document/references[]` which points to the new version of the CSAF document
+* an added item in `/document/references[]` which points to the previous version of the CSAF document (if the URL changed)
+
+*Examples 1:*
+
+```
+ https://csaf.io
+ https://www.example.com
+```
+
+#### 3.2.1.9 Document Property - References
+
+Document references (`references`) of value type References Type (`references_t`) holds a list of references associated with the whole document.
+
+```
+ "references": {
+ // ...
+ },
+```
+
+#### 3.2.1.10 Document Property - Source Language
+
+Source language (`source_lang`) of value type Language Type (`lang_t`) identifies if this copy of the document is
+a translation then the value of this property describes from which language this document was translated.
+
+The property MUST be present and set for any CSAF document with the value `translator` in `/document/publisher/category`.
+The property SHALL NOT be present if the document was not translated.
+
+> If an issuing party publishes a CSAF document with the same content in more than one language,
+> one of these documents SHOULD be deemed the "original", the other ones SHOULD be considered translations from the "original".
+> The issuing party can retain its original publisher information including the `category`.
+> However, other rules defined in the conformance clause "CSAF translator" SHOULD be applied.
+
+#### 3.2.1.11 Document Property - Title
+
+Title of this document (`title`) of value type `string` with 1 or more characters SHOULD be a canonical name for the document,
+and sufficiently unique to distinguish it from similar documents.
+
+*Examples 1:*
+
+```
+ Cisco IPv6 Crafted Packet Denial of Service Vulnerability
+ Example Company Cross-Site-Scripting Vulnerability in Example Generator
+```
+
+#### 3.2.1.12 Document Property - Tracking
+
+Tracking (`tracking`) of value type `object` with the six mandatory properties: Current Release Date (`current_release_date`),
+Identifier (`id`), Initial Release Date (`initial_release_date`), Revision History (`revision_history`), Status (`status`),
+and Version (`version`) is a container designated to hold all management attributes necessary to track a CSAF document as a whole.
+The two optional additional properties are Aliases (`aliases`) and Generator (`generator`).
+
+```
+ "tracking": {
+ // ...
+ "properties": {
+ "aliases": {
+ // ...
+ },
+ "current_release_date": {
+ // ...
+ },
+ "generator": {
+ // ...
+ },
+ "id": {
+ // ...
+ },
+ "initial_release_date": {
+ // ...
+ },
+ "revision_history": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+```
+
+##### 3.2.1.12.1 Document Property - Tracking - Aliases
+
+Aliases (`aliases`) of value type `array` with 1 or more unique items (a `set`) representing Alternate Names contains a
+list of alternate names for the same document.
+
+```
+ "aliases": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every such Alternate Name of value type `string` with 1 or more characters specifies a non-empty string that represents a
+distinct optional alternative ID used to refer to the document.
+
+*Example 1:*
+
+```
+ CVE-2019-12345
+```
+
+##### 3.2.1.12.2 Document Property - Tracking - Current Release Date
+
+Current release date (`current_release_date`) with value type `string` with format `date-time` holds the date when
+the current revision of this document was released.
+
+##### 3.2.1.12.3 Document Property - Tracking - Generator
+
+Document Generator (`generator`) of value type `object` with mandatory property Engine (`engine`) and
+optional property Date (`date`) is a container to hold all elements related to the generation of the document.
+These items will reference when the document was actually created, including the date it was generated and the entity that generated it.
+
+```
+ "generator": {
+ // ...
+ "properties": {
+ "date": {
+ // ...
+ },
+ "engine": {
+ // ...
+ }
+ }
+ },
+```
+
+Date of document generation (`date`) of value type `string` with format `date-time` SHOULD be the current date that the document was generated.
+Because documents are often generated internally by a document producer and exist for a nonzero amount of time before being released,
+this field MAY be different from the Initial Release Date and Current Release Date.
+
+Engine of document generation (`engine`) of value type `object` with mandatory property Engine name (`name`) and
+optional property Engine version (`version`) contains information about the engine that generated the CSAF document.
+
+```
+ "engine": {
+ // ...
+ "properties": {
+ "name": {
+ // ...
+ },
+ "version": {
+ // ...
+ }
+ }
+ },
+```
+
+Engine name (`name`) of value type `string` with 1 or more characters represents the name of the engine that generated the CSAF document.
+
+*Examples 1:*
+
+```
+ Red Hat rhsa-to-cvrf
+ Secvisogram
+ TVCE
+```
+
+Engine version (`version`) of value type `string` with 1 or more characters contains the version of the engine that generated the CSAF document.
+
+> Although it is not formally required, the TC suggests to use a versioning which is compatible with Semantic Versioning as described in
+> the external specification [SemVer]. This could help the end user to identify when CSAF consumers have to be updated.
+
+*Examples 2:*
+
+```
+ 0.6.0
+ 1.0.0-beta+exp.sha.a1c44f85
+ 2
+```
+
+##### 3.2.1.12.4 Document Property - Tracking - ID
+
+Unique identifier for the document (`id`) of value type `string` with 1 or more characters with `pattern` (regular expression):
+
+```
+ ^[\\S](.*[\\S])?$
+```
+
+Unique identifier for the document holds the Identifier.
+
+> It SHALL NOT start or end with a white space and SHALL NOT contain a line break.
+
+The ID is a simple label that provides for a wide range of numbering values, types, and schemes.
+Its value SHOULD be assigned and maintained by the original document issuing authority. It MUST be unique for that organization.
+
+*Examples 1:*
+
+```
+ Example Company - 2019-YH3234
+ RHBA-2019:0024
+ cisco-sa-20190513-secureboot
+```
+
+> The combination of `/document/publisher/namespace` and `/document/tracking/id` identifies a CSAF document globally unique.
+
+This value is also used to determine the filename for the CSAF document (cf. section [5.1](#filename)).
+
+##### 3.2.1.12.5 Document Property - Tracking - Initial Release Date
+
+Initial release date (`initial_release_date`) with value type `string` with format `date-time` holds the date when this document was first published.
+
+##### 3.2.1.12.6 Document Property - Tracking - Revision History
+
+The Revision History (`revision_history`) with value type `array` of 1 or more Revision History Entries holds one revision item for each version of
+the CSAF document, including the initial one.
+
+```
+ "revision_history": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Each Revision contains all the information elements required to track the evolution of a CSAF document.
+Revision History Entry items are of value type `object` with the three mandatory properties: Date (`date`), Number (`number`),
+and Summary (`summary`).
+In addition, a Revision MAY expose the optional property `legacy_version`.
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "legacy_version": {
+ // ...
+ },
+ "number": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+```
+
+The Date of the revision (`date`) of value type `string` with format `date-time` states the date of the revision entry.
+
+Legacy version of the revision (`legacy_version`) of value type `string` with 1 or more characters contains the version string used
+in an existing document with the same content.
+
+> This SHOULD be used to aid in the mapping between existing (human-readable) documents which might use a different version scheme and
+> CSAF documents with the same content.
+> It is recommended, to use the CSAF revision number to describe the revision history for any new human-readable equivalent.
+
+The Number (`number`) has value type Version (`version_t`).
+
+The Summary of the revision (`summary`) of value type `string` with 1 or more characters holds a single non-empty string representing
+a short description of the changes.
+
+Each Revision item which has a `number` of `0` or `0.y.z` MUST be removed from the document if the document status is `final`.
+Versions of the document which are pre-release SHALL NOT have its own revision item.
+All changes MUST be tracked in the item for the next release version.
+Build metadata SHOULD NOT be included in the `number` of any revision item.
+
+##### 3.2.1.12.7 Document Property - Tracking - Status
+
+Document status (`status`) of value type `string` and `enum` defines the draft status of the document.
+The value MUST be one of the following:
+
+```
+ draft
+ final
+ interim
+```
+
+The value `draft` indicates, that this is a pre-release, intended for issuing party's internal use only,
+or possibly used externally when the party is seeking feedback or indicating its intentions regarding a specific issue.
+
+The value `final` indicates, that the issuing party asserts the content is unlikely to change.
+“Final” status is an indication only, and does not preclude updates.
+This SHOULD be used if the issuing party expects no, slow or few changes.
+
+The value `interim` indicates, that the issuing party expects rapid updates.
+This SHOULD be used if the expected rate of release for this document is significant higher than for other documents.
+Once the rate slows down it MUST be changed to `final`. This MAY be done in a patch version.
+
+> This is extremely useful for downstream vendors to constantly inform the end users about ongoing investigation.
+> It can be used as an indication to pull the CSAF document more frequently.
+
+##### 3.2.1.12.8 Document Property - Tracking - Version
+
+Version has the value type Version (`version_t`).
+
+### 3.2.2 Product Tree Property
+
+Product Tree (`product_tree`) has value type `object` with 1 or more properties is a container for all fully qualified product names that
+can be referenced elsewhere in the document.
+The properties are Branches (`branches`), Full Product Names (`full_product_names`), Product Groups (`product_groups`),
+and Relationships (`relationships`).
+
+```
+ "product_tree": {
+ // ...
+ "properties": {
+ "branches": {
+ // ...
+ },
+ "full_product_names": {
+ // ...
+ },
+ "product_groups": {
+ // ...
+ },
+ "relationships": {
+ // ...
+ }
+ }
+ },
+```
+
+#### 3.2.2.1 Product Tree Property - Branches
+
+List of branches (`branches`) has the value type `branches_t`.
+
+#### 3.2.2.2 Product Tree Property - Full Product Names
+
+List of full product names (`full_product_names`) of value type `array` with 1 or more items of type `full_product_name_t` contains a
+list of full product names.
+
+#### 3.2.2.3 Product Tree Property - Product Groups
+
+List of product groups (`product_groups`) of value type `array` with 1 or more items of value type `object` contains a list of product groups.
+
+```
+ "product_groups": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+The product group items are of value type `object` with the 2 mandatory properties Group ID (`group_id`) and Product IDs (`product_ids`) and
+the optional Summary (`summary`) property.
+
+```
+ "properties": {
+ "group_id": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "summary": {
+ // ...
+ }
+ }
+```
+
+The summary of the product group (`summary`) of value type `string` with 1 or more characters gives a short, optional description of the group.
+
+*Examples 1:*
+
+```
+ Products supporting Modbus.
+ The x64 versions of the operating system.
+```
+
+Group ID (`group_id`) has value type Product Group ID (`product_group_id_t`).
+
+List of Product IDs (`product_ids`) of value type `array` with 2 or more unique items of value type Product ID (`product_id_t`) lists
+the product_ids of those products which known as one group in the document.
+
+#### 3.2.2.4 Product Tree Property - Relationships
+
+List of relationships (`relationships`) of value type `array` with 1 or more items contains a list of relationships.
+
+```
+ "relationships": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+The Relationship item is of value type `object` and has four mandatory properties: Relationship category (`category`),
+Full Product Name (`full_product_name`), Product Reference (`product_reference`), and Relates to Product Reference (`relates_to_product_reference`).
+The Relationship item establishes a link between two existing `full_product_name_t` elements,
+allowing the document producer to define a combination of two products that form a new `full_product_name` entry.
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "full_product_name": {
+ // ...
+ },
+ "product_reference": {
+ // ...
+ },
+ "relates_to_product_reference": {
+ // ...
+ }
+ }
+```
+
+> The situation where a need for declaring a Relationship arises,
+> is given when a product is e.g. vulnerable only when installed together with another, or to describe operating system components.
+
+Relationship category (`category`) of value type `string` and `enum` defines the category of relationship for the referenced component.
+The valid values are:
+
+```
+ default_component_of
+ external_component_of
+ installed_on
+ installed_with
+ optional_component_of
+```
+
+The value `default_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is a default component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `external_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an external component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `installed_on` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed on a platform entity with
+another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `installed_with` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is installed alongside
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+The value `optional_component_of` indicates that the entity labeled with one Product ID (e.g. CSAFPID-0001) is an optional component of
+an entity with another Product ID (e.g. CSAFPID-0002).
+These Product IDs SHOULD NOT be identical to provide minimal redundancy.
+
+Full Product Name (`full_product_name`) of value type Full Product Name Type (`full_product_name_t`).
+
+Product Reference (`product_reference`) of value type Product ID (`product_id_t`) holds a Product ID that refers to the Full Product Name element,
+which is referenced as the first element of the relationship.
+
+Relates to Product Reference (`relates_to_product_reference`) of value type Product ID (`product_id_t`) holds a Product ID that refers to
+the Full Product Name element, which is referenced as the second element of the relationship.
+
+*Examples 1:*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-908070601",
+ "name": "Cisco AnyConnect Secure Mobility Client 4.9.04053"
+ },
+ {
+ "product_id": "CSAFPID-908070602",
+ "name": "Microsoft Windows"
+ }
+ ],
+ "relationships": [
+ {
+ "product_reference": "CSAFPID-908070601",
+ "category": "installed_on",
+ "relates_to_product_reference": "CSAFPID-908070602",
+ "full_product_name": {
+ "product_id": "CSAFPID-908070603",
+ "name": "Cisco AnyConnect Secure Mobility Client 2.3.185 installed on Microsoft Windows"
+ }
+ }
+ ]
+ }
+```
+
+> The product `Cisco AnyConnect Secure Mobility Client 4.9.04053"` (Product ID: `CSAFPID-908070601`) and the product `Microsoft Windows`
+> (Product ID: `CSAFPID-908070602`) form together a new product with the separate Product ID `CSAFPID-908070603`.
+> The latter one can be used to refer to that combination in other parts of the CSAF document.
+> In example 34, it might be the case that `Cisco AnyConnect Secure Mobility Client 4.9.04053"` is only
+> vulnerable when installed on `Microsoft Windows`.
+
+### 3.2.3 Vulnerabilities Property
+
+Vulnerabilities (`vulnerabilities`) of value type `array` with 1 or more objects representing vulnerabilities and providing 1 or more
+properties represents a list of all relevant vulnerability information items.
+
+```
+ "vulnerabilities": {
+ // ...
+ "items": {
+ // ...
+ }
+ }
+```
+
+The Vulnerability item of value type `object` with 1 or more properties is a container for the aggregation of all fields that are related to
+a single vulnerability in the document.
+Any vulnerability MAY provide the optional properties Acknowledgments (`acknowledgments`), Common Vulnerabilities and Exposures (CVE) (`cve`),
+Common Weakness Enumeration (CWE) (`cwe`), Discovery Date (`discovery_date`), Flags (`flags`), IDs (`ids`), Involvements (`involvements`),
+Notes (`notes`), Product Status (`product_status`), References (`references`), Release Date (`release_date`), Remediations (`remediations`),
+Scores (`scores`), Threats (`threats`), and Title (`title`).
+
+```
+ "properties": {
+ "acknowledgments": {
+ // ...
+ },
+ "cve": {
+ // ...
+ },
+ "cwe": {
+ // ...
+ },
+ "discovery_date": {
+ // ...
+ },
+ "flags": {
+ // ...
+ },
+ "ids": {
+ // ...
+ },
+ "involvements": {
+ // ...
+ },
+ "notes": {
+ // ...
+ },
+ "product_status": {
+ // ...
+ },
+ "references": {
+ // ...
+ },
+ "release_date": {
+ // ...
+ },
+ "remediations": {
+ // ...
+ },
+ "scores": {
+ // ...
+ },
+ "threats": {
+ // ...
+ },
+ "title": {
+ // ...
+ }
+ }
+```
+
+#### 3.2.3.1 Vulnerabilities Property - Acknowledgments
+
+Vulnerability acknowledgments (`acknowledgments`) of value type Acknowledgments Type (`acknowledgments_t`) contains a list of
+acknowledgment elements associated with this vulnerability item.
+
+```
+ "acknowledgments": {
+ // ...
+ },
+```
+
+#### 3.2.3.2 Vulnerabilities Property - CVE
+
+CVE (`cve`) of value type `string` with `pattern` (regular expression):
+
+```
+ ^CVE-[0-9]{4}-[0-9]{4,}$
+```
+
+holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
+
+#### 3.2.3.3 Vulnerabilities Property - CWE
+
+CWE (`cwe`) of value type `object` with the 2 mandatory properties Weakness ID (`id`) and Weakness Name (`name`) holds the
+MITRE standard Common Weakness Enumeration (CWE) for the weakness associated. For more information cf. \[[CWE](#CWE)\].
+
+```
+ "cwe": {
+ // ...
+ "properties": {
+ "id": {
+ // ...
+ },
+ "name": {
+ // ...
+ }
+ }
+ },
+```
+
+The Weakness ID (`id`) has value type `string` with `pattern` (regular expression):
+
+```
+ ^CWE-[1-9]\\d{0,5}$
+```
+
+and holds the ID for the weakness associated.
+
+*Examples 1:*
+
+```
+ CWE-22
+ CWE-352
+ CWE-79
+```
+
+The Weakness name (`name`) has value type `string` with 1 or more characters and holds the full name of the weakness as given
+in the CWE specification.
+
+*Examples 2:*
+
+```
+ Cross-Site Request Forgery (CSRF)
+ Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
+ Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
+```
+
+#### 3.2.3.4 Vulnerabilities Property - Discovery Date
+
+Discovery date (`discovery_date`) of value type `string` with format `date-time` holds the date and time the vulnerability was originally discovered.
+
+#### 3.2.3.5 Vulnerabilities Property - Flags
+
+List of flags (`flags`) of value type `array` with 1 or more unique items (a set) of value type `object` contains a list of machine readable flags.
+
+```
+ "flags": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Flag item of value type `object` with the mandatory property Label (`label`) contains product specific information in regard to
+this vulnerability as a single machine readable flag.
+For example, this could be a machine readable justification code why a product is not affected.
+At least one of the optional elements Group IDs (`group_ids`) and Product IDs (`product_ids`) MUST be present to state for which products or
+product groups this flag is applicable.
+
+> These flags enable the receiving party to automate the selection of actions to take.
+
+In addition, any Flag item MAY provide the three optional properties Date (`date`), Group IDs (`group_ids`) and Product IDs (`product_ids`).
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "label": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+```
+
+Date of the flag (`date`) of value type `string` with format `date-time` contains the date when assessment was done or the flag was assigned.
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of Product Groups the current flag item applies to.
+
+Label of the flag (`label`) of value type `string` and `enum` specifies the machine readable label. Valid `enum` values are:
+
+```
+ component_not_present
+ inline_mitigations_already_exist
+ vulnerable_code_cannot_be_controlled_by_adversary
+ vulnerable_code_not_in_execute_path
+ vulnerable_code_not_present
+```
+
+The given values reflect the VEX not affected justifications. See [VEX-Justification] for more details. The values MUST be used as follows:
+
+* `component_not_present`: The software is not affected because the vulnerable component is not in the product.
+* `vulnerable_code_not_present`: The product is not affected because the code underlying the vulnerability is not present in the product.
+ > Unlike `component_not_present`, the component in question is present, but for whatever reason (e.g. compiler options)
+ > the specific code causing the vulnerability is not present in the component.
+* `vulnerable_code_cannot_be_controlled_by_adversary`: The vulnerable component is present, and the component contains the vulnerable code.
+ However, vulnerable code is used in such a way that an attacker cannot mount any anticipated attack.
+* `vulnerable_code_not_in_execute_path`: The affected code is not reachable through the execution of the code,
+ including non-anticipated states of the product.
+ > Components that are neither used nor executed by the product.
+* `inline_mitigations_already_exist`: Built-in inline controls or mitigations prevent an adversary from leveraging the vulnerability.
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current flag item applies to.
+
+#### 3.2.3.6 Vulnerabilities Property - IDs
+
+List of IDs (`ids`) of value type `array` with one or more unique ID items of value type `object` represents a list of unique labels or
+tracking IDs for the vulnerability (if such information exists).
+
+```
+ "ids": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every ID item of value type `object` with the two mandatory properties System Name (`system_name`) and Text (`text`) contains a single unique label or
+tracking ID for the vulnerability.
+
+```
+ "properties": {
+ "system_name": {
+ // ...
+ },
+ "text": {
+ // ...
+ }
+ }
+```
+
+System name (`system_name`) of value type `string` with 1 or more characters indicates the name of the vulnerability tracking or numbering system.
+
+*Examples 1:*
+
+```
+ Cisco Bug ID
+ GitHub Issue
+```
+
+Text (`text`) of value type `string` with 1 or more characters is unique label or tracking ID for the vulnerability (if such information exists).
+
+*Examples 2:*
+
+```
+ CSCso66472
+ oasis-tcs/csaf#210
+```
+
+> General examples may include an identifier from a vulnerability tracking system that is available to customers, such as:
+>
+> * a Cisco bug ID,
+> * a GitHub Issue number,
+> * an ID from a Bugzilla system, or
+> * an ID from a public vulnerability database such as the X-Force Database.
+>
+> The ID MAY be a vendor-specific value but is not to be used to publish the CVE tracking numbers
+> (MITRE standard Common Vulnerabilities and Exposures), as these are specified inside the dedicated CVE element.
+
+#### 3.2.3.7 Vulnerabilities Property - Involvements
+
+List of involvements (`involvements`) of value type `array` with 1 or more items of value type `object` contains a list of involvements.
+
+```
+ "involvements": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Involvement item of value type `object` with the 2 mandatory properties Party (`party`), Status (`status`) and
+the 2 optional properties Date of involvement (`date`) and Summary (`summary`) is a container that allows the document producers to
+comment on the level of involvement (or engagement) of themselves (or third parties) in the vulnerability identification, scoping,
+and remediation process.
+It can also be used to convey the disclosure timeline.
+The ordered tuple of the values of `party` and `date` (if present) SHALL be unique within `involvements`.
+
+```
+ "properties": {
+ "date": {
+ // ...
+ },
+ "party": {
+ // ...
+ },
+ "status": {
+ // ...
+ },
+ "summary": {
+ // ...
+ },
+ }
+```
+
+Date of involvement (`date`) of value type `string` with format `date-time` holds the date and time of the involvement entry.
+
+Party category (`party`) of value type `string` and `enum` defines the category of the involved party.
+Valid values are:
+
+```
+ coordinator
+ discoverer
+ other
+ user
+ vendor
+```
+
+These values follow the same definitions as given for the publisher category (cf. section [3.2.1.8.1](#document-property-publisher-category)).
+
+Party status (`status`) of value type `string` and `enum` defines contact status of the involved party.
+Valid values are:
+
+```
+ completed
+ contact_attempted
+ disputed
+ in_progress
+ not_contacted
+ open
+```
+
+Each status is mutually exclusive - only one status is valid for a particular vulnerability at a particular time. As the vulnerability ages,
+a party's involvement could move from state to state.
+However, in many cases, a document producer may choose not to issue CSAF documents at each state, or simply omit this element altogether.
+It is recommended, however, that vendors that issue CSAF documents indicating an open or in-progress involvement SHOULD eventually expect to issue
+a document containing one of the statuses `disputed` or `completed` as the latest one.
+
+> The two vulnerability involvement status states, `contact_attempted` and `not_contacted` are intended for use by document producers other than
+> vendors (such as research or coordinating entities).
+
+The value `completed` indicates that the party asserts that investigation of the vulnerability is complete.
+No additional information, fixes, or documentation from the party about the vulnerability should be expected to be released.
+
+The value `contact_attempted` indicates that the document producer attempted to contact the party.
+
+The value `disputed` indicates that the party disputes the vulnerability report in its entirety.
+This status SHOULD be used when the party believes that a vulnerability report regarding a product is completely inaccurate
+(that there is no real underlying security vulnerability) or that the technical issue being reported has no security implications.
+
+The value `in_progress` indicates that some hotfixes, permanent fixes, mitigations, workarounds,
+or patches may have been made available by the party, but more information or fixes may be released in the future.
+The use of this status by a vendor indicates that future information from the vendor about the vulnerability is to be expected.
+
+The value `not_contacted` indicates that the document producer has not attempted to make contact with the party.
+
+The value `open` is the default status.
+It doesn’t indicate anything about the vulnerability remediation effort other than the fact that the party has acknowledged awareness of
+the vulnerability report.
+The use of this status by a vendor indicates that future updates from the vendor about the vulnerability are to be expected.
+
+Summary of involvement (`summary`) of value type `string` with 1 or more characters contains additional context regarding what is going on.
+
+#### 3.2.3.8 Vulnerabilities Property - Notes
+
+Vulnerability notes (`notes`) of value type Notes Type (`notes_t`) holds notes associated with this vulnerability item.
+
+```
+ "notes": {
+ // ...
+ },
+```
+
+#### 3.2.3.9 Vulnerabilities Property - Product Status
+
+Product status (`product_status`) of value type `object` with 1 or more properties contains different lists of `product_ids` which
+provide details on the status of the referenced product related to the current vulnerability.
+The eight defined properties are First affected (`first_affected`), First fixed (`first_fixed`), Fixed (`fixed`), Known affected (`known_affected`),
+Known not affected (`known_not_affected`), Last affected (`last_affected`), Recommended (`recommended`),
+and Under investigation (`under_investigation`) are all of value type Products (`products_t`).
+
+```
+ "product_status": {
+ // ...
+ "properties": {
+ "first_affected": {
+ // ...
+ },
+ "first_fixed": {
+ // ...
+ },
+ "fixed": {
+ // ...
+ },
+ "known_affected": {
+ // ...
+ },
+ "known_not_affected": {
+ // ...
+ },
+ "last_affected": {
+ // ...
+ },
+ "recommended": {
+ // ...
+ },
+ "under_investigation": {
+ // ..
+ }
+ }
+ },
+```
+
+First affected (`first_affected`) of value type Products (`products_t`) represents that these are the first versions of the releases known to be
+affected by the vulnerability.
+
+First fixed (`first_fixed`) of value type Products (`products_t`) represents that these versions contain the first fix for the vulnerability but
+may not be the recommended fixed versions.
+
+Fixed (`fixed`) of value type Products (`products_t`) represents that these versions contain a fix for the vulnerability but
+may not be the recommended fixed versions.
+
+Known affected (`known_affected`) of value type Products (`products_t`) represents that these versions are known to be affected by the vulnerability.
+Actions are recommended to remediate or address this vulnerability.
+
+> This could include for instance learning more about the vulnerability and context,
+> and/or making a risk-based decision to patch or apply defense-in-depth measures.
+> See `/vulnerabilities[]/remediations`, `/vulnerabilities[]/notes` and `/vulnerabilities[]/threats` for more details.
+
+Known not affected (`known_not_affected`) of value type Products (`products_t`) represents that these versions are known not to be affected by
+the vulnerability.
+No remediation is required regarding this vulnerability.
+
+> This could for instance be because the code referenced in the vulnerability is not present, not exposed, compensating controls exist,
+> or other factors.
+See `/vulnerabilities[]/threats` in category `impact` for more details.
+
+Last affected (`last_affected`) of value type Products (`products_t`) represents that these are the last versions in a release train known to be
+affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.
+
+Recommended (`recommended`) of value type Products (`products_t`) represents that these versions have a fix for the vulnerability and are
+the vendor-recommended versions for fixing the vulnerability.
+
+Under investigation (`under_investigation`) of value type Products (`products_t`) represents that it is not known yet whether these versions are or
+are not affected by the vulnerability.
+However, it is still under investigation - the result will be provided in a later release of the document.
+
+#### 3.2.3.10 Vulnerabilities Property - References
+
+Vulnerability references (`references`) of value type References Type (`references_t`) holds a
+list of references associated with this vulnerability item.
+
+```
+ "references": {
+ // ...
+ },
+```
+
+#### 3.2.3.11 Vulnerabilities Property - Release Date
+
+Release date (`release_date`) with value type `string` of format `date-time` holds the date and time
+the vulnerability was originally released into the wild.
+
+#### 3.2.3.12 Vulnerabilities Property - Remediations
+
+List of remediations (`remediations`) of value type `array` with 1 or more Remediation items of value type `object` contains a list of remediations.
+
+```
+ "remediations": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Remediation item of value type `object` with the 2 mandatory properties Category (`category`) and
+Details (`details`) specifies details on how to handle (and presumably, fix) a vulnerability.
+At least one of the optional elements Group IDs (`group_ids`) and Product IDs (`product_ids`) MUST be present to state for which
+products or product groups this remediation is applicable.
+
+In addition, any Remediation MAY expose the six optional properties Date (`date`), Entitlements (`entitlements`), Group IDs (`group_ids`),
+Product IDs (`product_ids`), Restart required (`restart_required`), and URL (`url`).
+
+```
+ "properties": {
+ "category": {
+ // ...
+ },
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "entitlements": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ },
+ "restart_required": {
+ // ...
+ },
+ "url": {
+ // ...
+ }
+ }
+```
+
+##### 3.2.3.12.1 Vulnerabilities Property - Remediations - Category
+
+Category of the remediation (`category`) of value type `string` and `enum` specifies the category which this remediation belongs to.
+Valid values are:
+
+```
+ mitigation
+ no_fix_planned
+ none_available
+ vendor_fix
+ workaround
+```
+
+The value `workaround` indicates that the remediation contains information about a configuration or specific deployment scenario that
+can be used to avoid exposure to the vulnerability. There MAY be none, one, or more workarounds available.
+This is typically the “first line of defense” against a new vulnerability before a mitigation or vendor fix has been issued or even discovered.
+
+The value `mitigation` indicates that the remediation contains information about a configuration or deployment scenario that
+helps to reduce the risk of the vulnerability but that does not resolve the vulnerability on the affected product.
+Mitigations MAY include using devices or access controls external to the affected product.
+Mitigations MAY or MAY NOT be issued by the original author of the affected product,
+and they MAY or MAY NOT be officially sanctioned by the document producer.
+
+The value `vendor_fix` indicates that the remediation contains information about an official fix that
+is issued by the original author of the affected product.
+Unless otherwise noted, it is assumed that this fix fully resolves the vulnerability.
+This value contradicts with the categories `none_available` and `no_fix_planned` for the same product.
+Therefore, such a combination can't be used in the list of remediations.
+
+The value `none_available` indicates that there is currently no fix or other remediation available.
+The text in field `details` SHOULD contain details about why there is no fix or other remediation.
+The values `none_available` and `vendor_fix` are mutually exclusive per product.
+
+> An issuing party might choose to use this category to announce that a fix is currently developed.
+It is recommended that this also includes a date when a customer can expect the fix to be ready and distributed.
+
+The value `no_fix_planned` indicates that there is no fix for the vulnerability and it is not planned to provide one at any time.
+This is often the case when a product has been orphaned, declared end-of-life, or otherwise deprecated.
+The text in field `details` SHOULD contain details about why there will be no fix issued.
+The values `no_fix_planned` and `vendor_fix` are mutually exclusive per product.
+
+##### 3.2.3.12.2 Vulnerabilities Property - Remediations - Date
+
+Date of the remediation (`date`) of value type `string` with format `date-time` contains the date from which the remediation is available.
+
+##### 3.2.3.12.3 Vulnerabilities Property - Remediations - Details
+
+Details of the remediation (`details`) of value type `string` with 1 or more characters contains a thorough human-readable discussion of the remediation.
+
+##### 3.2.3.12.4 Vulnerabilities Property - Remediations - Entitlements
+
+List of entitlements (`entitlements`) of value type `array` with 1 or more items of type Entitlement of the remediation as `string` with
+1 or more characters contains a list of entitlements.
+
+```
+ "entitlements": {
+ // ....
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Entitlement of the remediation contains any possible vendor-defined constraints for obtaining fixed software or hardware that
+fully resolves the vulnerability.
+
+##### 3.2.3.12.5 Vulnerabilities Property - Remediations - Group IDs
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of
+Product Groups the current remediation item applies to.
+
+##### 3.2.3.12.6 Vulnerabilities Property - Remediations - Product IDs
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current remediation item applies to.
+
+##### 3.2.3.12.7 Vulnerabilities Property - Remediations - Restart Required
+
+Restart required by remediation (`restart_required`) of value type `object` with the 1 mandatory property Category (`category`) and
+the optional property Details (`details`) provides information on category of restart is required by this remediation to become effective.
+
+```
+ "restart_required": {
+ // ...
+ "properties": {
+ "category": {
+ // ...
+ }
+ "details": {
+ // ...
+ }
+ }
+ },
+```
+
+Category of restart (`category`) of value type `string` and `enum` specifies what category of restart is required by
+this remediation to become effective.
+Valid values are:
+
+```
+ connected
+ dependencies
+ machine
+ none
+ parent
+ service
+ system
+ vulnerable_component
+ zone
+```
+
+The values MUST be used as follows:
+
+* `none`: No restart required.
+* `vulnerable_component`: Only the vulnerable component (as given by the elements of `product_ids` or `group_ids` in the current remediation item)
+ needs to be restarted.
+* `service`: The vulnerable component and the background service used by the vulnerable component need to be restarted.
+* `parent`: The vulnerable component and its parent process need to be restarted. This could be the case if the parent process has no build-in way
+ to restart the vulnerable component or process values / context is only given at the start of the parent process.
+* `dependencies`: The vulnerable component and all components which require the vulnerable component to work need to be restarted.
+ This could be the case e.g. for a core service of a software.
+* `connected`: The vulnerable component and all components connected (via network or any type of inter-process communication)
+ to the vulnerable component need to be restarted.
+* `machine`: The machine on which the vulnerable component is installed on needs to be restarted.
+ This is the value which SHOULD be used if an OS needs to be restarted.
+ It is typically the case for OS upgrades.
+* `zone`: The security zone in which the machine resides on which the vulnerable component is installed needs to be restarted.
+ This value might be useful for a remediation if no patch is available.
+ If the malware can be wiped out by restarting the infected machines but the infection spreads fast the controlled shutdown of all machines at
+ the same time and restart afterwards can leave one with a clean system.
+* `system`: The whole system which the machine resides on which the vulnerable component is installed needs to be restarted.
+ This MAY include multiple security zones. This could be the case for a major system upgrade in an ICS system or a protocol change.
+
+Additional restart information (`details`) of value type `string` with 1 or more characters provides additional information for the restart.
+This can include details on procedures, scope or impact.
+
+##### 3.2.3.12.8 Vulnerabilities Property - Remediations - URL
+
+URL (`url`) of value type `string` with format `uri` contains the URL where to obtain the remediation.
+
+#### 3.2.3.13 Vulnerabilities Property - Scores
+
+List of scores (`scores`) of value type `array` with 1 or more items of type score holds a list of score objects for the current vulnerability.
+
+```
+ "scores": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Value type of every such Score item is `object` with the mandatory property `products` and the optional properties `cvss_v2` and
+`cvss_v3` specifies information about (at least one) score of the vulnerability and for which products the given value applies.
+Each Score item has at least 2 properties.
+
+```
+ "properties": {
+ "cvss_v2": {
+ // ...
+ },
+ "cvss_v3": {
+ "oneOf": [
+ // ...
+ ]
+ }
+ "products": {
+ // ...
+ }
+ }
+```
+
+The property CVSS v2 (`cvss_v2`) holding a CVSS v2.0 value abiding by the schema at
+[https://www.first.org/cvss/cvss-v2.0.json](https://www.first.org/cvss/cvss-v2.0.json).
+
+The property CVSS v3 (`cvss_v3`) holding a CVSS v3.x value abiding by one of the schemas at
+[https://www.first.org/cvss/cvss-v3.0.json](https://www.first.org/cvss/cvss-v3.0.json) or
+[https://www.first.org/cvss/cvss-v3.1.json](https://www.first.org/cvss/cvss-v3.1.json).
+
+Product IDs (`products`) of value type `products_t` with 1 or more items indicates for which products the given scores apply.
+A score object SHOULD reflect the associated product's status (for example,
+a fixed product no longer contains a vulnerability and should have a CVSS score of 0, or simply no score listed;
+the known affected versions of that product can list the vulnerability score as it applies to them).
+
+#### 3.2.3.14 Vulnerabilities Property - Threats
+
+List of threats (`threats`) of value type `array` with 1 or more items of value type `object` contains
+information about a vulnerability that can change with time.
+
+```
+ "threats": {
+ // ...
+ "items": {
+ // ...
+ }
+ },
+```
+
+Every Threat item of value type `object` with the two mandatory properties Category (`category`) and Details (`details`) contains
+the vulnerability kinetic information.
+This information can change as the vulnerability ages and new information becomes available.
+In addition, any Threat item MAY expose the three optional properties Date (`date`), Group IDs (`group_ids`), and Product IDs (`product_ids`).
+
+```
+ "properties": {
+ "category": {
+ // ...
+ }
+ "date": {
+ // ...
+ },
+ "details": {
+ // ...
+ },
+ "group_ids": {
+ // ...
+ },
+ "product_ids": {
+ // ...
+ }
+ }
+```
+
+Category of the threat (`category`) of value type `string` and `enum` categorizes the threat according to the rules of the specification.
+Valid values are:
+
+```
+ exploit_status
+ impact
+ target_set
+```
+
+The value `exploit_status` indicates that the `details` field contains a description of the degree to which an exploit for the vulnerability is known.
+This knowledge can range from information privately held among a very small group to an issue that has been described to the public at
+a major conference or is being widely exploited globally.
+For consistency and simplicity, this section can be a mirror image of the CVSS "Exploitability" metric.
+However, it can also contain a more contextual status, such as "Weaponized" or "Functioning Code".
+
+The value `impact` indicates that the `details` field contains an assessment of the impact on the user or the target set if
+the vulnerability is successfully exploited or a description why it cannot be exploited.
+If applicable, for consistency and simplicity, this section can be a textual summary of the three CVSS impact metrics.
+These metrics measure how a vulnerability detracts from the three core security properties of an information system:
+Confidentiality, Integrity, and Availability.
+
+The value `target_set` indicates that the `details` field contains a description of
+the currently known victim population in whatever terms are appropriate.
+Such terms MAY include: operating system platform, types of products, user segments, and geographic distribution.
+
+Date of the threat (`date`) of value type `string` with format `date-time` contains the date when the assessment was done or the threat appeared.
+
+Details of the threat (`details`) of value type `string` with 1 or more characters represents a thorough human-readable discussion of the threat.
+
+Group IDs (`group_ids`) are of value type Product Groups (`product_groups_t`) and contain a list of Product Groups the current threat item applies to.
+
+Product IDs (`product_ids`) are of value type Products (`products_t`) and contain a list of Products the current threat item applies to.
+
+#### 3.2.3.15 Vulnerabilities Property - Title
+
+Title (`title`) has value type `string` with 1 or more characters and gives the document producer the ability to apply a canonical name or
+title to the vulnerability.
+
+-------
+
+# 4. Profiles
+
+CSAF documents do not have many required fields as they can be used for different purposes.
+To ensure a common understanding of which fields are required in a given use case the standard defines profiles.
+Each subsection describes such a profile by describing necessary content for that specific use case and providing insights into its purpose.
+The value of `/document/category` is used to identify a CSAF document's profile. The following rules apply:
+
+1. Each CSAF document MUST conform the **CSAF Base** profile.
+2. Each profile extends the base profile "CSAF Base" - directly or indirect through another profile from the standard - by making additional
+ fields from the standard mandatory.
+ A profile can always add, but never subtract nor overwrite requirements defined in the profile it extends.
+3. Any optional field from the standard can also be added to a CSAF document which conforms with a profile without breaking conformance with
+ the profile.
+ One and only exempt is when the profile requires not to have a certain set of fields.
+4. Values of `/document/category` starting with `csaf_` are reserved for existing, upcoming and future profiles defined in the CSAF standard.
+5. Values of `/document/category` that do not match any of the values defined in section [4](#profiles) of this standard SHALL be validated against
+ the "CSAF Base" profile.
+6. Local or private profiles MAY exist and tools MAY choose to support them.
+7. If an official profile and a private profile exists, tools MUST validate against the official one from the standard.
+
+## 4.1 Profile 1: CSAF Base
+
+This profile defines the default required fields for any CSAF document.
+Therefore, it is a "catch all" for CSAF documents that do not satisfy any other profile.
+Furthermore, it is the foundation all other profiles are build on.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "CSAF Base":
+
+* The following elements MUST exist and be valid:
+ * `/document/category`
+ * `/document/csaf_version`
+ * `/document/publisher/category`
+ * `/document/publisher/name`
+ * `/document/publisher/namespace`
+ * `/document/title`
+ * `/document/tracking/current_release_date`
+ * `/document/tracking/id`
+ * `/document/tracking/initial_release_date`
+ * `/document/tracking/revision_history[]/date`
+ * `/document/tracking/revision_history[]/number`
+ * `/document/tracking/revision_history[]/summary`
+ * `/document/tracking/status`
+ * `/document/tracking/version`
+* The value of `/document/category` SHALL NOT be equal to any value that is intended to only be used by another profile nor to the
+ (case insensitive) name of any other profile from the standard.
+ This does not differentiate between underscore, dash or whitespace.
+ To explicitly select the use of this profile the value `csaf_base` SHOULD be used.
+
+> Neither `CSAF Security Advisory` nor `csaf security advisory` are valid values for `/document/category`.
+
+An issuing party might choose to set `/document/publisher/name` in front of a value that is intended to only be used by another
+profile to state that the CSAF document does not use the profile associated with this value.
+In this case, the (case insensitive) string "CSAF" MUST be removed from the value.
+This SHOULD be done if the issuing party is unable or unwilling to use the value `csaf_base`, e.g. due to legal or cooperate identity reasons.
+
+> Both values `Example Company Security Advisory` and `Example Company security_advisory` in `/document/category` use the profile "CSAF Base".
+> This is important to prepare forward compatibility as later versions of CSAF might add new profiles.
+> Therefore, the values which can be used for the profile "CSAF Base" might change.
+
+## 4.2 Profile 2: Security incident response
+
+This profile SHOULD be used to provide a response to a security breach or incident.
+This MAY also be used to convey information about an incident that is unrelated to the issuing party's own products or infrastructure.
+
+> Example Company might use a CSAF document satisfying this profile to respond to a security incident at ACME Inc. and
+the implications on its own products and infrastructure.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security incident response":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/document/notes` with at least one item which has a `category` of `description`, `details`, `general` or `summary`
+ > Reasoning: Without at least one note item which contains information about response to the event referred to this doesn't provide
+ > any useful information.
+ * `/document/references` with at least one item which has a `category` of `external`
+ > The intended use for this field is to refer to one or more documents or websites which provides more details about the incident.
+* The value of `/document/category` SHALL be `csaf_security_incident_response`.
+
+## 4.3 Profile 3: Informational Advisory
+
+This profile SHOULD be used to provide information which are **not related to a vulnerability** but e.g. a misconfiguration.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Informational Advisory":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/document/notes` with at least one item which has a `category` of `description`, `details`, `general` or `summary`
+ > Reasoning: Without at least one note item which contains information about the "issue" which is the topic of the advisory it is useless.
+ * `/document/references` with at least one item which has a `category` of `external`
+ > The intended use for this field is to refer to one or more documents or websites which provide more details about
+ > the issue or its remediation (if possible).
+ > This could be a hardening guide, a manual, best practices or any other helpful information.
+* The value of `/document/category` SHALL be `csaf_informational_advisory`.
+* The element `/vulnerabilities` SHALL NOT exist.
+ If there is any information that would reside in the element `/vulnerabilities` the CSAF document SHOULD use another profile,
+ e.g. "Security Advisory".
+
+If the element `/product_tree` exists, a user MUST assume that all products mentioned are affected.
+
+## 4.4 Profile 4: Security Advisory
+
+This profile SHOULD be used to provide information which is related to vulnerabilities and corresponding remediations.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "Security Advisory":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/product_tree` which lists all products referenced later on in the CSAF document regardless of their state.
+ * `/vulnerabilities` which lists all vulnerabilities.
+ * `/vulnerabilities[]/notes`
+ > Provides details about the vulnerability.
+ * `/vulnerabilities[]/product_status`
+ > Lists each product's status in regard to the vulnerability.
+* The value of `/document/category` SHALL be `csaf_security_advisory`.
+
+## 4.5 Profile 5: VEX
+
+This profile SHOULD be used to provide information of the "Vulnerability Exploitability eXchange".
+The main purpose of the VEX format is to state that and why a certain product is, or is not, affected by a vulnerability.
+See \[[VEX](#VEX)\] for details.
+
+A CSAF document SHALL fulfill the following requirements to satisfy the profile "VEX":
+
+* The following elements MUST exist and be valid:
+ * all elements required by the profile "CSAF Base".
+ * `/product_tree` which lists all products referenced later on in the CSAF document regardless of their state.
+ * `/vulnerabilities` which lists all vulnerabilities.
+ * at least one of
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+ * `/vulnerabilities[]/product_status/under_investigation`
+ * at least one of
+ * `/vulnerabilities[]/cve`
+ * `/vulnerabilities[]/ids`
+ * `/vulnerabilities[]/notes`
+ > Provides details about the vulnerability.
+* For each item in
+ * `/vulnerabilities[]/product_status/known_not_affected` an impact statement SHALL exist as machine readable flag
+ in `/vulnerabilities[]/flags` or as human readable justification in `/vulnerabilities[]/threats`.
+ For the latter one, the `category` value for such a statement MUST be `impact` and the `details` field SHALL contain
+ a description why the vulnerability cannot be exploited.
+ * `/vulnerabilities[]/product_status/known_affected` additional product specific information SHALL be provided
+ in `/vulnerabilities[]/remediations` as an action statement.
+ Optional, additional information MAY also be provide through `/vulnerabilities[]/notes` and `/vulnerabilities[]/threats`.
+ > The use of the categories `no_fix_planned` and `none_available` for an action statement is permitted.
+ > Even though Product status lists Product IDs, Product Group IDs can be used in the `remediations` and `threats` object.
+ > However, it MUST be ensured that for each Product ID the required information according to its product status as stated
+ > in the two points above is available. This implies that all products with the status `known_not_affected` MUST have an
+ > impact statement and all products with the status `known_affected` MUST have additional product specific information
+ > regardless of whether that is referenced through the Product ID or a Product Group ID.
+* The value of `/document/category` SHALL be `csaf_vex`.
+
+-------
+
+# 5. Additional Conventions
+
+This section provides additional rules for handling CSAF documents.
+
+## 5.1 Filename
+
+The following rules MUST be applied to determine the filename for the CSAF document:
+
+1. The value `/document/tracking/id` is converted into lower case.
+2. Any character sequence which is not part of one of the following groups MUST be replaced by a single underscore (`_`):
+ * Lower case ASCII letters (0x61 - 0x7A)
+ * digits (0x30 - 0x39)
+ * special characters: `+` (0x2B), `-` (0x2D)
+ > The regex `[^+\-a-z0-9]+` can be used to find a character sequence which has to be replaced by an underscore.
+ > However, it SHALL NOT be applied before completing the first step.
+ >
+ > Even though the underscore `_` (0x5F) is a valid character in the filename it is replaced to avoid situations
+ > where the conversion rule might lead to multiple consecutive underscores.
+ > As a result, a `/document/tracking/id` with the value `2022_#01-A` is converted into `2022_01-a` instead of `2022__01-a`.
+3. The file extension `.json` MUST be appended.
+
+*Examples 1:*
+
+```
+ cisco-sa-20190513-secureboot.json
+ example_company_-_2019-yh3234.json
+ rhba-2019_0024.json
+```
+
+> It is currently considered best practice to indicate that a CSAF document is invalid by
+> inserting `_invalid` into the filename in front of the file extension.
+
+*Examples 2:*
+
+```
+ cisco-sa-20190513-secureboot_invalid.json
+ example_company_-_2019-yh3234_invalid.json
+ rhba-2019_0024_invalid.json
+```
+
+## 5.2 Separation in Data Stream
+
+If multiple CSAF documents are transported via a data stream in a sequence without requests inbetween,
+they MUST be separated by the Record Separator in accordance with \[[RFC7464](#RFC7464)\].
+
+## 5.3 Sorting
+
+The keys within a CSAF document SHOULD be sorted alphabetically.
+
+-------
+
+# 6. Tests
+
+The following three subsections list a number of tests which all will have a short description and an excerpt of an example which fails the test.
+
+## 6.1 Mandatory Tests
+
+Mandatory tests MUST NOT fail at a valid CSAF document.
+A program MUST handle a test failure as an error.
+
+### 6.1.1 Missing Definition of Product ID
+
+For each element of type `/$defs/product_id_t` which is not inside a Full Product Name (type: `full_product_name_t`) and
+therefore reference an element within the `product_tree` it MUST be tested that the Full Product Name element with the matching `product_id` exists.
+The same applies for all items of elements of type `/$defs/products_t`.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/product_groups[]/product_ids[]
+ /product_tree/relationships[]/product_reference
+ /product_tree/relationships[]/relates_to_product_reference
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/known_not_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/recommended[]
+ /vulnerabilities[]/product_status/under_investigation[]
+ /vulnerabilities[]/remediations[]/product_ids[]
+ /vulnerabilities[]/scores[]/products[]
+ /vulnerabilities[]/threats[]/product_ids[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ }
+```
+
+> Neither `CSAFPID-9080700` nor `CSAFPID-9080701` were defined in the `product_tree`.
+
+### 6.1.2 Multiple Definition of Product ID
+
+For each Product ID (type `/$defs/product_id_t`) in Full Product Name elements (type: `/$defs/full_product_name_t`) it
+MUST be tested that the `product_id` was not already defined within the same document.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product B"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080700` was defined twice.
+
+### 6.1.3 Circular Definition of Product ID
+
+For each new defined Product ID (type `/$defs/product_id_t`) in items of relationships (`/product_tree/relationships`) it
+MUST be tested that the `product_id` does not end up in a circle.
+
+The relevant path for this test is:
+
+```
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+> As this can be quite complex a program for large CSAF documents, a program could check first whether
+> a Product ID defined in a relationship item is used as `product_reference` or `relates_to_product_reference`.
+> Only for those which fulfill this condition it is necessary to run the full check following the references.
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ],
+ "relationships": [
+ {
+ "category": "installed_on",
+ "full_product_name": {
+ "name": "Product B",
+ "product_id": "CSAFPID-9080701"
+ },
+ "product_reference": "CSAFPID-9080700",
+ "relates_to_product_reference": "CSAFPID-9080701"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080701` refers to itself - this is a circular definition.
+
+### 6.1.4 Missing Definition of Product Group ID
+
+For each element of type `/$defs/product_group_id_t` which is not inside a Product Group (`/product_tree/product_groups[]`) and
+therefore reference an element within the `product_tree` it MUST be tested that the Product Group element with the matching `group_id` exists.
+The same applies for all items of elements of type `/$defs/product_groups_t`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/remediations[]/group_ids
+ /vulnerabilities[]/threats[]/group_ids
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "threats": [
+ {
+ "category": "exploit_status",
+ "details": "Reliable exploits integrated in Metasploit.",
+ "group_ids": [
+ "CSAFGID-1020301"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> `CSAFGID-1020301` was not defined in the Product Tree.
+
+### 6.1.5 Multiple Definition of Product Group ID
+
+For each Product Group ID (type `/$defs/product_group_id_t`) Product Group elements (`/product_tree/product_groups[]`) it
+MUST be tested that the `group_id` was not already defined within the same document.
+
+The relevant path for this test is:
+
+```
+ /product_tree/product_groups[]/group_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ },
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+```
+
+> `CSAFGID-1020300` was defined twice.
+
+### 6.1.6 Contradicting Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that the same Product ID is not member of contradicting product status groups.
+The sets formed by the contradicting groups within one vulnerability item MUST be pairwise disjoint.
+
+Contradiction groups are:
+
+* Affected:
+
+ ```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ ```
+
+* Not affected:
+
+ ```
+ /vulnerabilities[]/product_status/known_not_affected[]
+ ```
+
+* Fixed:
+
+ ```
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+ ```
+
+* Under investigation:
+
+ ```
+ /vulnerabilities[]/product_status/under_investigation[]
+ ```
+
+> Note: An issuer might recommend (`/vulnerabilities[]/product_status/recommended`) a product version from any group - also from the affected group,
+> i.e. if it was discovered that fixed versions introduce a more severe vulnerability.
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` is a member of the two contradicting groups "Affected" and "Not affected".
+
+### 6.1.7 Multiple Scores with same Version per Product
+
+For each item in `/vulnerabilities` it MUST be tested that the same Product ID is not member of more than one CVSS-Vectors with the same version.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/scores[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ },
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+```
+
+> Two CVSS v3.1 scores are given for `CSAFPID-9080700`.
+
+### 6.1.8 Invalid CVSS
+
+It MUST be tested that the given CVSS object is valid according to the referenced schema.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5
+ }
+```
+
+> The required element `baseSeverity` is missing.
+
+> A tool MAY add one or more of the missing properties `version`, `baseScore` and `baseSeverity` based on
+> the values given in `vectorString` as quick fix.
+
+### 6.1.9 Invalid CVSS computation
+
+It MUST be tested that the given CVSS object has the values computed correctly according to the definition.
+
+> The `vectorString` SHOULD take precedence.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2/baseScore
+ /vulnerabilities[]/scores[]/cvss_v2/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v2/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseScore
+ /vulnerabilities[]/scores[]/cvss_v3/baseSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/temporalScore
+ /vulnerabilities[]/scores[]/cvss_v3/temporalSeverity
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalScore
+ /vulnerabilities[]/scores[]/cvss_v3/environmentalSeverity
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 10.0,
+ "baseSeverity": "LOW"
+ }
+```
+
+> Neither `baseScore` nor `baseSeverity` has the correct value according to the specification.
+
+> A tool MAY set the correct values as computed according to the specification as quick fix.
+
+### 6.1.10 Inconsistent CVSS
+
+It MUST be tested that the given CVSS properties do not contradict the CVSS vector.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v2
+ /vulnerabilities[]/scores[]/cvss_v3
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
+ "baseScore": 9.8,
+ "baseSeverity": "CRITICAL",
+ "attackVector": "LOCAL",
+ "attackComplexity": "LOW",
+ "privilegesRequired": "NONE",
+ "userInteraction": "NONE",
+ "scope": "CHANGED",
+ "confidentialityImpact": "HIGH",
+ "integrityImpact": "HIGH",
+ "availabilityImpact": "LOW"
+ }
+```
+
+> The values in CVSS vector differs from values of the properties `attackVector`, `scope` and `availabilityImpact`.
+
+> A tool MAY overwrite contradicting values according to the `vectorString` as quick fix.
+
+### 6.1.11 CWE
+
+It MUST be tested that given CWE exists and is valid.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cwe
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cwe": {
+ "id": "CWE-79",
+ "name": "Improper Input Validation"
+ }
+```
+
+> The `CWE-79` exists. However, its name is `Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')`.
+
+### 6.1.12 Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code is valid and exists.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "EZ"
+```
+
+> `EZ` is not a valid language. It is the subtag for the region "Eurozone".
+
+> For any deprecated subtag, a tool MAY replace it with its preferred value as a quick fix.
+
+### 6.1.13 PURL
+
+It MUST be tested that given PURL is valid.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/purl
+ /product_tree/full_product_names[]/product_identification_helper/purl
+ /product_tree/relationships[]/full_product_name/product_identification_helper/purl
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "purl": "pkg:maven/@1.3.4"
+ }
+ }
+ ]
+ }
+```
+
+> Any valid purl has a name component.
+
+### 6.1.14 Sorted Revision History
+
+It MUST be tested that the value of `number` of items of the revision history are sorted ascending when the items are sorted ascending by `date`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The first item has a higher version number than the second.
+
+### 6.1.15 Translator
+
+It MUST be tested that `/document/source_lang` is present and set if the value `translator` is used for `/document/publisher/category`.
+
+The relevant path for this test is:
+
+```
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "publisher": {
+ "category": "translator",
+ "name": "CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "title": "Mandatory test: Translator (failing example 1)",
+ // ...
+ }
+```
+
+> The required element `source_lang` is missing.
+
+### 6.1.16 Latest Document Version
+
+It MUST be tested that document version has the same value as the `number` in the last item of Revision History when
+it is sorted ascending by `date`. Build metadata is ignored in the comparison.
+Any pre-release part is also ignored if the document status is `draft`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "1"
+ }
+```
+
+> The value of `number` of the last item after sorting is `2`. However, the document version is `1`.
+
+### 6.1.17 Document Status Draft
+
+It MUST be tested that document status is `draft` if the document version is `0` or `0.y.z` or contains the pre-release part.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/status
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "status": "final",
+ "version": "0.9.5"
+ }
+```
+
+> The `/document/tracking/version` is `0.9.5` but the document status is `final`.
+
+### 6.1.18 Released Revision History
+
+It MUST be tested that no item of the revision history has a `number` of `0` or `0.y.z` when the document status is `final` or `interim`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2023-09-17T10:00:00.000Z",
+ "number": "0",
+ "summary": "First draft"
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+```
+
+> The document status is `final` but the revision history includes an item which has `0` as value for `number`.
+
+### 6.1.19 Revision History Entries for Pre-release Versions
+
+It MUST be tested that no item of the revision history has a `number` which includes pre-release information.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1.0.0-rc",
+ "summary": "Release Candidate for initial version."
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The revision history contains an item which has a `number` that indicates that this is pre-release.
+
+### 6.1.20 Non-draft Document Version
+
+It MUST be tested that document version does not contain a pre-release part if the document status is `final` or `interim`.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "status": "interim",
+ "version": "1.0.0-alpha"
+ }
+```
+
+> The document status is `interim` but the document version contains the pre-release part `-alpha`.
+
+### 6.1.21 Missing Item in Revision History
+
+It MUST be tested that items of the revision history do not omit a version number when the items are sorted ascending by `date`.
+In the case of semantic versioning, this applies only to the Major version.
+It MUST also be tested that the first item in such a sorted list has either the version number 0 or 1 in the case of integer versioning or
+a Major version of 0 or 1 in the case of semantic versioning.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Some other changes."
+ }
+ ]
+```
+
+> The item for version `2` is missing.
+
+### 6.1.22 Multiple Definition in Revision History
+
+It MUST be tested that items of the revision history do not contain the same version number.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2021-07-20T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2021-07-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Some other changes."
+ }
+ ]
+```
+
+> The revision history contains two items with the version number `1`.
+
+### 6.1.23 Multiple Use of Same CVE
+
+It MUST be tested that a CVE is not used in multiple vulnerability items.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cve
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145"
+ },
+ {
+ "cve": "CVE-2017-0145"
+ }
+ ]
+```
+
+> The vulnerabilities array contains two items with the same CVE identifier `CVE-2017-0145`.
+
+### 6.1.24 Multiple Definition in Involvements
+
+It MUST be tested that items of the list of involvements do not contain the same `party` regardless of its `status` more than once at any `date`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/involvements
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "completed"
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+```
+
+> The list of involvements contains two items with the same tuple `party` and `date`.
+
+### 6.1.25 Multiple Use of Same Hash Algorithm
+
+It MUST be tested that the same hash algorithm is not used multiple times in one item of hashes.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha256",
+ "value": "026a37919b182ef7c63791e82c9645e2f897a3f0b73c7a6028c7febf62e93838"
+ },
+ {
+ "algorithm": "sha256",
+ "value": "0a853ce2337f0608489ac596a308dc5b7b19d35a52b10bf31261586ac368b175"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `sha256` is used two times in one item of hashes.
+
+### 6.1.26 Prohibited Document Category Name
+
+It MUST be tested that the document category is not equal to the (case insensitive) name (without the prefix `csaf_`) or
+value of any other profile than "CSAF Base". Any occurrences of dash, whitespace,
+and underscore characters are removed from the values on both sides before the match.
+Also the value MUST NOT start with the reserved prefix `csaf_` except if the value is `csaf_base`.
+
+This test does only apply for CSAF documents with the profile "CSAF Base".
+Therefore, it MUST be skipped if the document category matches one of the values defined for the profile other than "CSAF Base".
+
+> For CSAF 2.0, the test must be skipped for the following values in `/document/category`:
+>
+> ```
+> csaf_base
+> csaf_security_incident_response
+> csaf_informational_advisory
+> csaf_security_advisory
+> csaf_vex
+> ```
+
+This is the only mandatory test related to the profile "CSAF Base" as the required fields SHALL be checked by validating the JSON schema.
+
+The relevant path for this test is:
+
+```
+ /document/category
+```
+
+*Examples 1 (for currently prohibited values):*
+
+```
+ Csaf_a
+ Informational Advisory
+ security-incident-response
+ Security Advisory
+ veX
+ V_eX
+```
+
+*Example 2 (which fails the test):*
+
+```
+ "category": "Security_Incident_Response"
+```
+
+> The value `Security_Incident_Response` is the name of a profile where the space was replaced with underscores.
+
+### 6.1.27 Profile Tests
+
+This subsubsection structures the tests for the profiles. Not all tests apply for all profiles.
+Tests SHOULD be skipped if the document category does not match the one given in the test.
+Each of the following tests SHOULD be treated as they where listed similar to the other tests.
+
+> An application MAY group these tests by profiles when providing the additional function to only run one or more selected tests.
+> This results in one virtual test per profile.
+
+#### 6.1.27.1 Document Notes
+
+It MUST be tested that at least one item in `/document/notes` exists which has a `category` of `description`, `details`, `general` or `summary`.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_informational_advisory
+ csaf_security_incident_response
+```
+
+The relevant path for this test is:
+
+```
+ /document/notes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "notes": [
+ {
+ "category": "legal_disclaimer",
+ "text": "The CSAF document is provided to You \"AS IS\" and \"AS AVAILABLE\" and with all faults and defects without warranty of any kind.",
+ "title": "Terms of Use"
+ }
+ ]
+```
+
+> The document notes do not contain an item which has a `category` of `description`, `details`, `general` or `summary`.
+
+#### 6.1.27.2 Document References
+
+It MUST be tested that at least one item in `/document/references` exists that has links to an `external` source.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_informational_advisory
+ csaf_security_incident_response
+```
+
+The relevant path for this test is:
+
+```
+ /document/references
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "category": "self",
+ "summary": "The canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json"
+ }
+ ]
+```
+
+> The document references do not contain any item which has the category `external`.
+
+#### 6.1.27.3 Vulnerabilities
+
+It MUST be tested that the element `/vulnerabilities` does not exist.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_informational_advisory
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item that SHALL NOT exist"
+ }
+ ]
+```
+
+> The element `/vulnerabilities` exists.
+
+> A tool MAY change the `/document/category` to `csaf_base` as a quick fix.
+
+#### 6.1.27.4 Product Tree
+
+It MUST be tested that the element `/product_tree` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /product_tree
+```
+
+*Example 1 (which fails the test):*
+
+```
+ {
+ "document": {
+ // ...
+ },
+ "vulnerabilities": [
+ // ...
+ ]
+ }
+```
+
+> The element `/product_tree` does not exist.
+
+#### 6.1.27.5 Vulnerability Notes
+
+For each item in `/vulnerabilities` it MUST be tested that the element `notes` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/notes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a note"
+ }
+ ]
+```
+
+> The vulnerability item has no `notes` element.
+
+#### 6.1.27.6 Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that the element `product_status` exists.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_security_advisory
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/product_status
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a product status"
+ }
+ ]
+```
+
+> The vulnerability item has no `product_status` element.
+
+#### 6.1.27.7 VEX Product Status
+
+For each item in `/vulnerabilities` it MUST be tested that at least one of the elements `fixed`, `known_affected`, `known_not_affected`,
+or `under_investigation` is present in `product_status`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/fixed
+ /vulnerabilities[]/product_status/known_affected
+ /vulnerabilities[]/product_status/known_not_affected
+ /vulnerabilities[]/product_status/under_investigation
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_status": {
+ "first_fixed": [
+ // ...
+ ],
+ "recommended": [
+ // ...
+ ]
+ }
+```
+
+> None of the elements `fixed`, `known_affected`, `known_not_affected`, or `under_investigation` is present in `product_status`.
+
+#### 6.1.27.8 Vulnerability ID
+
+For each item in `/vulnerabilities` it MUST be tested that at least one of the elements `cve` or `ids` is present.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/cve
+ /vulnerabilities[]/ids
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a CVE or ID"
+ }
+ ]
+```
+
+> None of the elements `cve` or `ids` is present.
+
+#### 6.1.27.9 Impact Statement
+
+For each item in `/vulnerabilities[]/product_status/known_not_affected` it MUST be tested that
+a corresponding impact statement exist in `/vulnerabilities[]/flags` or `/vulnerabilities[]/threats`.
+For the latter one, the `category` value for such a statement MUST be `impact`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags
+ /vulnerabilities[]/threats
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> There is no impact statement for `CSAFPID-9080702`.
+>
+> Note: The impact statement for `CSAFPID-9080700` and `CSAFPID-9080701` is given through `CSAFGID-0001`.
+
+#### 6.1.27.10 Action Statement
+
+For each item in `/vulnerabilities[]/product_status/known_affected` it MUST be tested that
+a corresponding action statement exist in `/vulnerabilities[]/remediations`.
+
+The relevant value for `/document/category` is:
+
+```
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/remediations
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ],
+ "summary": "EOL products"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> There is no action statement for `CSAFPID-9080702`.
+>
+> Note: The action statement for `CSAFPID-9080700` and `CSAFPID-9080701` is given through `CSAFGID-0001`.
+
+#### 6.1.27.11 Vulnerabilities
+
+It MUST be tested that the element `/vulnerabilities` exists.
+
+The relevant values for `/document/category` are:
+
+```
+ csaf_security_advisory
+ csaf_vex
+```
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities
+```
+
+*Example 1 (which fails the test):*
+
+```
+ {
+ "document": {
+ // ...
+ },
+ "product_tree": [
+ // ...
+ ]
+ }
+```
+
+> The element `/vulnerabilities` does not exist.
+
+### 6.1.28 Translation
+
+It MUST be tested that the given source language and document language are not the same.
+
+The relevant path for this test is:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "lang": "en-US",
+ // ...
+ "source_lang": "en-US",
+ // ...
+ }
+```
+
+> The document language and the source language have the same value `en-US`.
+>
+> Note: A translation from `en-US` to `en-GB` would pass the test.
+
+> A tool MAY remove the source language as quick fix.
+
+### 6.1.29 Remediation without Product Reference
+
+For each item in `/vulnerabilities[]/remediations` it MUST be tested that it includes at least one of the elements `group_ids` or `product_ids`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/remediations[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided."
+ }
+ ]
+```
+
+> The given remediation does not specify to which products it should be applied.
+
+> A tool MAY add all products of the affected group of this vulnerability to the remediation as quick fix.
+
+### 6.1.30 Mixed Integer and Semantic Versioning
+
+It MUST be tested that all elements of type `/$defs/version_t` follow either integer versioning or
+semantic versioning homogeneously within the same document.
+
+The relevant paths for this test are:
+
+```
+ /document/tracking/revision_history[]/number
+ /document/tracking/version
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ "version": "2"
+ }
+```
+
+> The document started with semantic versioning (`1.0.0`) and switched to integer versioning (`2`).
+
+> A tool MAY assign all items their corresponding value according to integer versioning as a quick fix.
+> In such case, the old `number` SHOULD be stored in `legacy_version`.
+
+### 6.1.31 Version Range in Product Version
+
+For each element of type `/$defs/branches_t` with `category` of `product_version` it MUST be tested that
+the value of `name` does not contain a version range.
+
+> To implement this test it is deemed sufficient that, when converted to lower case,
+> the value of `name` does not contain any of the following strings:
+>
+> ```
+> <
+> <=
+> >
+> >=
+> after
+> all
+> before
+> earlier
+> later
+> prior
+> versions
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "prior to 4.2",
+ // ...
+ }
+ ]
+```
+
+> The version range `prior to 4.2` is given for the branch category `product_version`.
+
+### 6.1.32 Flag without Product Reference
+
+For each item in `/vulnerabilities[]/flags` it MUST be tested that it includes at least one of the elements `group_ids` or `product_ids`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "flags": [
+ {
+ "label": "component_not_present"
+ }
+ ]
+```
+
+> The given flag does not specify to which products it should be applied.
+
+### 6.1.33 Multiple Flags with VEX Justification Codes per Product
+
+For each item in `/vulnerabilities[]` it MUST be tested that a Product is not member of more than one Flag item with
+a VEX justification code (see section [3.2.3.5](#vulnerabilities-property-flags)).
+This takes indirect relations through Product Groups into account.
+
+> Additional flags with a different purpose might be provided in later versions of CSAF.
+> Through the explicit reference of VEX justification codes the test is specified to be forward-compatible.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/flags
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ // ...
+ "flags": [
+ {
+ "label": "component_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ },
+ {
+ "label": "vulnerable_code_cannot_be_controlled_by_adversary",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ // ...
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+```
+
+> There are two flags given for `CSAFPID-9080700` - one indirect through `CSAFGID-0001` and one direct.
+
+## 6.2 Optional Tests
+
+Optional tests SHOULD NOT fail at a valid CSAF document without a good reason. Failing such a test does not make the CSAF document invalid.
+These tests may include information about features which are still supported but expected to be deprecated in a future version of CSAF.
+A program MUST handle a test failure as a warning.
+
+### 6.2.1 Unused Definition of Product ID
+
+For each Product ID (type `/$defs/product_id_t`) in Full Product Name elements (type: `/$defs/full_product_name_t`) it MUST be tested that
+the `product_id` is referenced somewhere within the same document.
+
+This test SHALL be skipped for CSAF documents conforming the profile "Informational Advisory".
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_id
+ /product_tree/full_product_names[]/product_id
+ /product_tree/relationships[]/full_product_name/product_id
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ }
+```
+
+> `CSAFPID-9080700` was defined but never used.
+
+> A tool MAY remove the unused definition as quick fix. However, such quick fix shall not be applied if the test was skipped.
+
+### 6.2.2 Missing Remediation
+
+For each Product ID (type `/$defs/product_id_t`) in the Product Status groups Affected and Under investigation it MUST be tested that
+a remediation exists.
+
+> The remediation might be of the category `none_available` or `no_fix_planned`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+ /vulnerabilities[]/product_status/under_investigation[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` has in Product Status `last_affected` but there is no remediation object for this Product ID.
+
+### 6.2.3 Missing Score
+
+For each Product ID (type `/$defs/product_id_t`) in the Product Status groups Affected it MUST be tested that
+a score object exists which covers this product.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/product_status/first_affected[]
+ /vulnerabilities[]/product_status/known_affected[]
+ /vulnerabilities[]/product_status/last_affected[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+```
+
+> `CSAFPID-9080700` has in Product Status `first_affected` but there is no score object which covers this Product ID.
+
+### 6.2.4 Build Metadata in Revision History
+
+For each item in revision history it MUST be tested that `number` does not include build metadata.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/revision_history[]/number
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "revision_history": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0+exp.sha.ac00785",
+ "summary": "Initial version."
+ }
+ ]
+```
+
+> The revision history contains an item which has a `number` that includes the build metadata `+exp.sha.ac00785`.
+
+### 6.2.5 Older Initial Release Date than Revision History
+
+It MUST be tested that the Initial Release Date is not older than the `date` of the oldest item in Revision History.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/initial_release_date
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ // ...
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+```
+
+> The initial release date `2023-08-22T10:00:00.000Z` is older than `2023-09-06T10:00:00.000Z` which is the `date` of
+> the oldest item in Revision History.
+
+### 6.2.6 Older Current Release Date than Revision History
+
+It MUST be tested that the Current Release Date is not older than the `date` of the newest item in Revision History.
+
+The relevant path for this test is:
+
+```
+ /document/tracking/current_release_date
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "tracking": {
+ "current_release_date": "2023-09-06T10:00:00.000Z",
+ // ...
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ // ...
+ }
+```
+
+> The current release date `2023-09-06T10:00:00.000Z` is older than `2023-09-23T1100:00.000Z` which is the `date` of
+> the newest item in Revision History.
+
+### 6.2.7 Missing Date in Involvements
+
+For each item in the list of involvements it MUST be tested that it includes the property `date`.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/involvements
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "party": "vendor",
+ "status": "in_progress"
+ }
+ ]
+ }
+ ]
+```
+
+> The list of involvements contains an item which does not contain the property `date`.
+
+### 6.2.8 Use of MD5 as the only Hash Algorithm
+
+It MUST be tested that the hash algorithm `md5` is not the only one present.
+
+> Since collision attacks exist for MD5 such value should be accompanied by a second cryptographically stronger hash.
+> This will allow users to double check the results.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md5",
+ "value": "6ae24620ea9656230f49234efd078935"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `md5` is used in one item of hashes without being accompanied by a second hash algorithm.
+
+### 6.2.9 Use of SHA-1 as the only Hash Algorithm
+
+It MUST be tested that the hash algorithm `sha1` is not the only one present.
+
+> Since collision attacks exist for SHA-1 such value should be accompanied by a second cryptographically stronger hash.
+> This will allow users to double check the results.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha1",
+ "value": "e067035314dd8673fe1c9fc6b01414fe0950fdc4"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The hash algorithm `sha1` is used in one item of hashes without being accompanied by a second hash algorithm.
+
+### 6.2.10 Missing TLP label
+
+It MUST be tested that `/document/distribution/tlp/label` is present and valid.
+
+> TLP labels support the machine-readability and automated distribution.
+
+The relevant path for this test is:
+
+```
+ /document/distribution/tlp/label
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "distribution": {
+ "text": "Distribute freely."
+ }
+```
+
+> The CSAF document has no TLP label.
+
+### 6.2.11 Missing Canonical URL
+
+It MUST be tested that the CSAF document has a canonical URL.
+
+> To implement this test it is deemed sufficient that one item in `/document/references` fulfills all of the following:
+>
+> * It has the category `self`.
+> * The `url` starts with `https://`.
+> * The `url` ends with the valid filename for the CSAF document according to the rules in section [5.1](#filename).
+
+The relevant path for this test is:
+
+```
+ /document/references
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "references": [
+ {
+ "category": "self",
+ "summary": "A non-canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2.1-2024-6-2-11-01_1.json"
+ }
+ ],
+ // ...
+ "tracking": {
+ // ...
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-11-01",
+ // ...
+ "version": "1"
+ },
+ // ...
+ }
+```
+
+> The only element where the `category` is `self` has a URL that does not fulfill the requirement of a valid filename for a CSAF document.
+
+### 6.2.12 Missing Document Language
+
+It MUST be tested that the document language is present and set.
+
+The relevant path for this test is:
+
+```
+ /document/lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ // ...
+ },
+ // ...
+ }
+```
+
+> The document language is not defined.
+
+### 6.2.13 Sorting
+
+It MUST be tested that all keys in a CSAF document are sorted alphabetically.
+
+The relevant path for this test is:
+
+```
+ /
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "csaf_version": "2.1",
+ "category": "csaf_base",
+ // ...
+ }
+```
+
+> The key `csaf_version` is not at the right place.
+
+> A tool MAY sort the keys as a quick fix.
+
+### 6.2.14 Use of Private Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code does not contain subtags reserved for private use.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "qtx"
+```
+
+> The language code `qtx` is reserved for private use.
+
+> A tool MAY remove such subtag as a quick fix.
+
+### 6.2.15 Use of Default Language
+
+For each element of type `/$defs/language_t` it MUST be tested that the language code is not `i-default`.
+
+The relevant paths for this test are:
+
+```
+ /document/lang
+ /document/source_lang
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "lang": "i-default"
+```
+
+> The language code `i-default` is used.
+
+> A tool MAY remove such element as a quick fix.
+
+### 6.2.16 Missing Product Identification Helper
+
+For each element of type `/$defs/full_product_name_t` it MUST be tested that it includes the property `product_identification_helper`.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product
+ /product_tree/full_product_names[]
+ /product_tree/relationships[]/full_product_name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+```
+
+> The product `CSAFPID-9080700` does not provide any Product Identification Helper at all.
+
+### 6.2.17 CVE in field IDs
+
+For each item in `/vulnerabilities[]/ids` it MUST be tested that it is not a CVE ID.
+
+> It is sufficient to check, whether the property `text` matches the regex `^CVE-[0-9]{4}-[0-9]{4,}$`.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/ids[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "ids": [
+ {
+ "system_name": "CVE Project",
+ "text": "CVE-2021-44228"
+ }
+ ]
+```
+
+> The `CVE-2021-44228` is listed in an item of the `ids` array instead under `cve`.
+
+> A tool MAY set such element as value for the `cve` property as a quick fix, if that didn't exist before.
+> Alternatively, it MAY remove such element as a quick fix.
+
+### 6.2.18 Product Version Range without vers
+
+For each element of type `/$defs/branches_t` with `category` of `product_version_range` it MUST be tested that
+the value of `name` conforms the vers specification.
+
+> To implement this test it is deemed sufficient that the value of `name` matches the following regex:
+>
+> ```
+> ^vers:[a-z\\.\\-\\+][a-z0-9\\.\\-\\+]*/.+
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": ">4.2",
+ // ...
+ }
+ ]
+```
+
+> The version range `>4.2` is a valid vsl but not valid according to the vers specification.
+
+### 6.2.19 CVSS for Fixed Products
+
+For each item the fixed products group (`first_fixed` and `fixed`) it MUST be tested that
+a CVSS applying to this product has an environmental score of `0`.
+The test SHALL pass if none of the Product IDs listed within product status `fixed` or
+`first_fixed` is found in `products` of any item of the `scores` element.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/product_status/first_fixed[]
+ /vulnerabilities[]/product_status/fixed[]
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> Neither the `environmentalScore` nor the properties `modifiedIntegrityImpact`, `modifiedAvailabilityImpact`, `modifiedConfidentialityImpact` nor
+> the corresponding attributes in the `vectorString` have been set.
+
+> A tool MAY set the properties `modifiedIntegrityImpact`, `modifiedAvailabilityImpact`, `modifiedConfidentialityImpact` accordingly and
+> compute the `environmentalScore` as quick fix.
+
+### 6.2.20 Additional Properties
+
+It MUST be tested that there is no additional property in the CSAF document that was not defined in the CSAF JSON schema.
+
+The relevant path for this test is:
+
+```
+ /
+```
+
+> To implement this test it is deemed sufficient to validate the CSAF document against a "strict" version schema that
+> sets `additionalProperties` to `false` for every key of type `object`.
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "custom_property": "any",
+ // ...
+ }
+```
+
+> The key `custom_property` is not defined in the JSON schema.
+
+> A tool MAY remove such keys as a quick fix.
+
+## 6.3 Informative Test
+
+Informative tests provide insights in common mistakes and bad practices.
+They MAY fail at a valid CSAF document.
+It is up to the issuing party to decide whether this was an intended behavior and can be ignore or should be treated.
+These tests MAY include information about recommended usage.
+A program MUST handle a test failure as a information.
+
+### 6.3.1 Use of CVSS v2 as the only Scoring System
+
+For each item in the list of scores which contains the `cvss_v2` object it MUST be tested that is not the only scoring item present.
+The test SHALL pass if a second scoring object is available.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/scores
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ }
+ }
+ ]
+ }
+ ]
+```
+
+> There is only a CVSS v2 score given for `CSAFPID-9080700`.
+
+Recommendation:
+
+It is recommended to (also) use the CVSS v3.1.
+
+### 6.3.2 Use of CVSS v3.0
+
+For each item in the list of scores which contains the `cvss_v3` object it MUST be tested that CVSS v3.0 is not used.
+
+The relevant paths for this test are:
+
+```
+ /vulnerabilities[]/scores[]/cvss_v3/version
+ /vulnerabilities[]/scores[]/cvss_v3/vectorString
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+```
+
+> The CVSS v3.0 is used.
+
+Recommendation:
+
+It is recommended to upgrade to CVSS v3.1.
+
+> A tool MAY upgrade to CVSS v3.1 as quick fix.
+> However, if such quick fix is supported the tool SHALL also recompute the `baseScore` and `baseSeverity`.
+> The same applies for `temporalScore` and `temporalSeverity` respectively `environmentalScore` and `environmentalSeverity` if
+> the necessary fields for computing their value are present and set.
+
+### 6.3.3 Missing CVE
+
+It MUST be tested that the CVE number is given.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cve
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "title": "BlueKeep"
+ }
+ ]
+```
+
+> The CVE number is not given.
+
+Recommendation:
+
+It is recommended to provide a CVE number to support the users efforts to find more details about a vulnerability and
+potentially track it through multiple advisories.
+If no CVE exists for that vulnerability, it is recommended to get one assigned.
+
+### 6.3.4 Missing CWE
+
+It MUST be tested that the CWE is given.
+
+The relevant path for this test is:
+
+```
+ /vulnerabilities[]/cwe
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ }
+ ]
+```
+
+> The CWE number is not given.
+
+### 6.3.5 Use of Short Hash
+
+It MUST be tested that the length of the hash value is not shorter than 64 characters.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value
+ /product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md4",
+ "value": "3202b50e2e5b2fcd75e284c3d9d5f8d6"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+```
+
+> The length of the hash value is only 32 characters long.
+
+### 6.3.6 Use of non-self referencing URLs Failing to Resolve
+
+For each URL which is not in the category `self` it MUST be tested that it resolves with a HTTP status code from
+the 2xx (Successful) or 3xx (Redirection) class.
+
+> This test does not apply for any item in an array of type `references_t` with the category `self`.
+> For details about the HTTP status code classes see \[[RFC7231](#RFC7231)\].
+
+The relevant paths for this test are:
+
+```
+ /document/acknowledgments[]/urls[]
+ /document/aggregate_severity/namespace
+ /document/distribution/tlp/url
+ /document/references[]/url
+ /document/publisher/namespace
+ /product_tree/branches[]/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/full_product_names[]/product_identification_helper/sbom_urls[]
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri
+ /product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace
+ /product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri
+ /vulnerabilities[]/acknowledgments[]/urls[]
+ /vulnerabilities[]/references[]/url
+ /vulnerabilities[]/remediations[]/url
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+```
+
+> The `category` is not set and therefore treated as its default value `external`.
+> A request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+### 6.3.7 Use of self referencing URLs Failing to Resolve
+
+For each item in an array of type `references_t` with the category `self` it MUST be tested that
+the URL referenced resolves with a HTTP status code less than 400.
+
+> This test will most likely fail if the CSAF document is in a status before the initial release.
+> For details about the HTTP status code classes see \[[RFC7231](#RFC7231)\].
+
+The relevant paths for this test are:
+
+```
+ /document/references[]/url
+ /vulnerabilities[]/references[]/url
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "references": [
+ {
+ "category": "self",
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ]
+```
+
+> The `category` is `self` and a request to that URL does not resolve with a status code from the 2xx (Successful) or 3xx (Redirection) class.
+
+### 6.3.8 Spell check
+
+If the document language is given it MUST be tested that a spell check for the given language does not find any mistakes.
+The test SHALL be skipped if not document language is set. It SHALL fail it the given language is not supported.
+The value of `/document/category` SHOULD NOT be tested if the CSAF document does not use the profile "CSAF Base".
+
+The relevant paths for this test are:
+
+```
+ /document/acknowledgments[]/names[]
+ /document/acknowledgments[]/organization
+ /document/acknowledgments[]/summary
+ /document/aggregate_severity/text
+ /document/category
+ /document/distribution/text
+ /document/notes[]/audience
+ /document/notes[]/text
+ /document/notes[]/title
+ /document/publisher/issuing_authority
+ /document/publisher/name
+ /document/references[]/summary
+ /document/title
+ /document/tracking/aliases[]
+ /document/tracking/generator/engine/name
+ /document/tracking/revision_history[]/summary
+ /product_tree/branches[](/branches[])*/name
+ /product_tree/branches[](/branches[])*/product/name
+ /product_tree/branches[]/name
+ /product_tree/branches[]/product/name
+ /product_tree/full_product_names[]/name
+ /product_tree/product_groups[]/summary
+ /product_tree/relationships[]/full_product_name/name
+ /vulnerabilities[]/acknowledgments[]/names[]
+ /vulnerabilities[]/acknowledgments[]/organization
+ /vulnerabilities[]/acknowledgments[]/summary
+ /vulnerabilities[]/involvements[]/summary
+ /vulnerabilities[]/notes[]/audience
+ /vulnerabilities[]/notes[]/text
+ /vulnerabilities[]/notes[]/title
+ /vulnerabilities[]/references[]/summary
+ /vulnerabilities[]/remediations[]/details
+ /vulnerabilities[]/remediations[]/entitlements[]
+ /vulnerabilities[]/remediations[]/restart_required/details
+ /vulnerabilities[]/threats[]/details
+ /vulnerabilities[]/title
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "document": {
+ // ...
+ "lang": "en",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "Secruity researchers found multiple vulnerabilities in XYZ."
+ }
+ ],
+ // ...
+ }
+```
+
+> There is a spelling mistake in `Secruity`.
+
+### 6.3.9 Branch Categories
+
+For each element of type `/$defs/full_product_name_t` in `/product_tree/branches` it MUST be tested that
+ancestor nodes along the path exist which use the following branch categories `vendor` -> `product_name` -> `product_version` in that
+order starting with the Product tree node.
+
+> Other branch categories can be used before, after or between the aforementioned branch categories without making the test invalid.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-0002",
+ "name": "Example Company Product A Update 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+```
+
+> The product `CSAFPID-9080700` does not have any ancestor with the branch category `product_version`.
+
+### 6.3.10 Usage of Product Version Range
+
+For each element of type `/$defs/branches_t` it MUST be tested that the `category` is not `product_version_range`.
+
+> It is usually hard decide for machines whether a product version matches a product version ranges.
+> Therefore, it is recommended to avoid version ranges and enumerate versions wherever possible.
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/category
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "category": "product_version_range",
+```
+
+> The category `product_version_range` was used.
+
+### 6.3.11 Usage of V as Version Indicator
+
+For each element of type `/$defs/branches_t` with `category` of `product_version` it MUST be tested that
+the value of `name` does not start with `v` or `V` before the version.
+
+> To implement this test it is deemed sufficient that the value of `name` does not match the following regex:
+>
+> ```
+> ^[vV][0-9].*$
+> ```
+
+The relevant paths for this test are:
+
+```
+ /product_tree/branches[](/branches[])*/name
+```
+
+*Example 1 (which fails the test):*
+
+```
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "v4.2",
+ // ...
+ }
+ ]
+```
+
+> The product version starts with a `v`.
+
+-------
+
+# 7. Distributing CSAF documents
+
+This section lists requirements and roles defined for distributing CSAF documents.
+The first subsection provides all requirements - the second one the roles.
+It is mandatory to fulfill the basic role "CSAF publisher". The last section provides specific rules for the process of retrieving CSAF documents.
+
+## 7.1 Requirements
+
+The requirements in this subsection are consecutively numbered to be able to refer to them directly.
+The order does not give any hint about the importance.
+Not all requirements have to be fulfilled to conform to this specification - the sets of
+requirements per conformance clause are defined in section [7.2](#roles).
+
+### 7.1.1 Requirement 1: Valid CSAF document
+
+The document is a valid CSAF document (cf. Conformance clause 1).
+
+### 7.1.2 Requirement 2: Filename
+
+The CSAF document has a filename according to the rules in section [5.1](#filename).
+
+### 7.1.3 Requirement 3: TLS
+
+The CSAF document is per default retrievable from a website which uses TLS for encryption and server authenticity.
+The CSAF document MUST NOT be downloadable from a location which does not encrypt the transport when crossing organizational
+boundaries to maintain the chain of custody.
+
+### 7.1.4 Requirement 4: TLP:WHITE
+
+If the CSAF document is labeled TLP:WHITE, it MUST be freely accessible.
+
+This does not exclude that such a document is also available in an access protected customer portal.
+However, there MUST be one copy of the document available for people without access to the portal.
+
+> Reasoning: If an advisory is already in the media, an end user should not be forced to collect the pieces of information from a
+> press release but be able to retrieve the CSAF document.
+
+### 7.1.5 Requirement 5: TLP:AMBER and TLP:RED
+
+CSAF documents labeled TLP:AMBER or TLP:RED MUST be access protected.
+If they are provided via a web server this SHALL be done under a different path than for TLP:WHITE,
+TLP:GREEN and unlabeled CSAF documents. TLS client authentication, access tokens or any other automatable authentication method SHALL be used.
+
+An issuing party MAY agree with the recipients to use any kind of secured drop at the recipients' side to avoid putting them on their own website.
+However, it MUST be ensured that the documents are still access protected.
+
+### 7.1.6 Requirement 6: No Redirects
+
+Redirects SHOULD NOT be used. If they are inevitable only HTTP Header redirects are allowed.
+
+> Reasoning: Clients should not parse the payload for navigation and some, as e.g. `curl`, do not follow any other kind of redirects.
+
+### 7.1.7 Requirement 7: provider-metadata.json
+
+The party MUST provide a valid `provider-metadata.json` according to the schema
+[CSAF provider metadata](https://docs.oasis-open.org/csaf/csaf/v2.0/provider_json_schema.json) for its own metadata.
+The `publisher` object SHOULD match the one used in the CSAF documents of the issuing party but can be set to whatever value a
+CSAF aggregator SHOULD display over any individual `publisher` values in the CSAF documents themselves.
+
+> This information is used to collect the data for CSAF aggregators, listers and end users.
+> The CSAF provider metadata schema ensures the consistency of the metadata for a CSAF provider across the ecosystem.
+> Other approaches, like extracting the `publisher` object from CSAF documents, are likely to fail if the object differs between CSAF documents.
+>
+> It is suggested to put the file `provider-metadata.json` adjacent to the ROLIE feed documents (requirement 15)
+> or in the main directory adjacent to the year folders (requirement 14), `changes.csv` (requirement 13) and the `index.txt` (requirement 12).
+> Suggested locations to store the `provider-metadata.json` are:
+>
+> * https://www.example.com/.well-known/csaf/provider-metadata.json
+> * https://domain.tld/security/data/csaf/provider-metadata.json
+> * https://psirt.domain.tld/advisories/csaf/provider-metadata.json
+> * https://domain.tld/security/csaf/provider-metadata.json
+
+*Example 1 (minimal with ROLIE document):*
+
+```
+ {
+ "canonical_url": "https://www.example.com/.well-known/csaf/provider-metadata.json",
+ "distributions": [
+ {
+ "rolie": {
+ "feeds": [
+ {
+ "summary": "All TLP:WHITE advisories of Example Company.",
+ "tlp_label": "WHITE",
+ "url": "https://www.example.com/.well-known/csaf/feed-tlp-white.json"
+ }
+ ]
+ }
+ }
+ ],
+ "last_updated": "2024-01-24T20:20:56.169Z",
+ "list_on_CSAF_aggregators": true,
+ "metadata_version": "2.1",
+ "mirror_on_CSAF_aggregators": true,
+ "public_openpgp_keys": [
+ {
+ "fingerprint": "8F5F267907B2C4559DB360DB2294BA7D2B2298B1",
+ "url": "https://keys.example.net/vks/v1/by-fingerprint/8F5F267907B2C4559DB360DB2294BA7D2B2298B1"
+ }
+ ],
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "role": "csaf_trusted_provider"
+ }
+```
+
+If a CSAF publisher (cf. section [7.2.1](#role-csaf-publisher)) does not provide the `provider-metadata.json`,
+an aggregator SHOULD contact the CSAF publisher in question to determine the values for `list_on_CSAF_aggregators` and `mirror_on_CSAF_aggregators`.
+If that is impossible or if the CSAF publisher is unresponsive the following values MUST be used:
+
+```
+ "list_on_CSAF_aggregators": true,
+ "mirror_on_CSAF_aggregators": false
+```
+
+> This prevents that CSAF documents of a CSAF publisher which have been collected by one CSAF aggregator A are mirrored again on a
+> second CSAF aggregator B. Such cascades are prone to outdated information.
+> If the first aggregator A collects the CSAF documents on best effort and B copies the files from A and announces that this is done weekly,
+> one might assume that B's CSAF documents are more recent.
+> However, that is not the case as B's information depends on A.
+
+### 7.1.8 Requirement 8: security.txt
+
+In the security.txt there MUST be at least one field `CSAF` which points to the `provider-metadata.json` (requirement 7).
+If this field indicates a web URI, then it MUST begin with "https://" (as per section 2.7.2 of \[[RFC7230](#RFC7230)\]).
+See \[[SECURITY-TXT](#SECURITY-TXT)\] for more details.
+
+> The security.txt was published as \[[RFC9116](#RFC9116)\] in April 2022. At the time of this writing,
+> the `CSAF` field is in the process of being officially added.
+
+*Examples 1:*
+
+```
+CSAF: https://domain.tld/security/data/csaf/provider-metadata.json
+CSAF: https://psirt.domain.tld/advisories/csaf/provider-metadata.json
+CSAF: https://domain.tld/security/csaf/provider-metadata.json
+CSAF: https://www.example.com/.well-known/csaf/provider-metadata.json
+```
+
+It is possible to advertise more than one `provider-metadata.json` by adding multiple `CSAF` fields,
+e.g. in case of changes to the organizational structure through merges or acquisitions.
+However, this SHOULD NOT be done and removed as soon as possible.
+If one of the URLs fulfills requirement 9, this MUST be used as the first CSAF entry in the security.txt.
+
+### 7.1.9 Requirement 9: Well-known URL for provider-metadata.json
+
+The URL path `/.well-known/csaf/provider-metadata.json` under the main domain of the issuing authority serves directly
+the `provider-metadata.json` according to requirement 7.
+The use of the scheme "HTTPS" is required. See \[[RFC8615](#RFC8615)\] for more details.
+
+*Example 1:*
+
+```
+ https://www.example.com/.well-known/csaf/provider-metadata.json
+```
+
+### 7.1.10 Requirement 10: DNS path
+
+The DNS record `csaf.data.security.domain.tld` SHALL resolve as a web server which serves directly
+the `provider-metadata.json` according to requirement 7.
+The use of the scheme "HTTPS" is required.
+
+### 7.1.11 Requirement 11: One folder per year
+
+The CSAF documents MUST be located within folders named `` where `` is the year given in the
+value of `/document/tracking/initial_release_date`.
+
+*Examples 1:*
+
+```
+2021
+2020
+```
+
+### 7.1.12 Requirement 12: index.txt
+
+The index.txt file within MUST provide a list of all filenames of CSAF documents which are located in the sub-directories with their filenames.
+
+*Example 1:*
+
+```
+2020/example_company_-_2020-yh4711.json
+2019/example_company_-_2019-yh3234.json
+2018/example_company_-_2018-yh2312.json
+```
+
+> This can be used to download all CSAF documents.
+
+### 7.1.13 Requirement 13: changes.csv
+
+The file changes.csv MUST contain the filename as well as the value of `/document/tracking/current_release_date` for each
+CSAF document in the sub-directories without a heading; lines MUST be sorted by the `current_release_date` timestamp with the latest one first.
+
+*Example 1:*
+
+```
+"2020/example_company_-_2020-yh4711.json","2020-07-01T10:09:07Z"
+"2018/example_company_-_2018-yh2312.json","2020-07-01T10:09:01Z"
+"2019/example_company_-_2019-yh3234.json","2019-04-17T15:08:41Z"
+"2018/example_company_-_2018-yh2312.json","2019-03-01T06:01:00Z"
+```
+
+### 7.1.14 Requirement 14: Directory listings
+
+Directory listing SHALL be enabled to support manual navigation.
+
+### 7.1.15 Requirement 15: ROLIE feed
+
+Resource-Oriented Lightweight Information Exchange (ROLIE) is a standard to ease discovery of security content.
+ROLIE is built on top of the Atom Publishing Format and Protocol, with specific requirements that support publishing security content.
+All CSAF documents with the same TLP level MUST be listed in a single ROLIE feed.
+At least one of the feeds
+
+* TLP:WHITE
+* TLP:GREEN
+* unlabeled
+
+MUST exist.
+Each ROLIE feed document MUST be a JSON file that conforms with \[[RFC8322](#RFC8322)\].
+
+*Example 1:*
+
+```
+ {
+ "feed": {
+ "id": "example-csaf-feed-tlp-white",
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json"
+ }
+ ],
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ],
+ "updated": "2024-01-01T12:00:00.000Z",
+ "entry": [
+ {
+ "id": "ESA-2024-001",
+ "title": "Multiple vulnerabilities in ABC 0.0.2",
+ "link": [
+ {
+ "rel": "self",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json"
+ },
+ {
+ "rel": "hash",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json.sha512"
+ },
+ {
+ "rel": "signature",
+ "href": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json.asc"
+ }
+ ],
+ "published": "2024-01-01T11:00:00.000Z",
+ "updated": "2024-01-01T12:00:00.000Z",
+ "summary": {
+ "content": "Multiple vulnerabilities were fixed in ABC 0.0.3"
+ },
+ "content": {
+ "type": "application/json",
+ "src": "https://psirt.domain.tld/advisories/csaf/2024/esa-2024-001.json"
+ },
+ "format": {
+ "schema": "https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json",
+ "version": "2.1"
+ }
+ }
+ ]
+ }
+ }
+```
+
+Any existing hash file (requirement 18) MUST be listed in the corresponding entry of the ROLIE feed as an item of
+the array `link` having the `rel` value of `hash`.
+Any existing signature file (requirement 19) MUST be listed in the corresponding entry of the ROLIE feed as an item of the array `link`
+having the `rel` value of `signature`.
+
+### 7.1.16 Requirement 16: ROLIE service document
+
+The use and therefore the existence of ROLIE service document is optional.
+If it is used, each ROLIE service document MUST be a JSON file that conforms with \[[RFC8322](#RFC8322)\] and lists the ROLIE feed documents.
+
+*Example 1:*
+
+```
+ {
+ "service": {
+ "workspace": [
+ {
+ "title": "Public CSAF feed",
+ "collection": [
+ {
+ "title": "Example CSAF feed (TLP:WHITE)",
+ "href": "https://psirt.domain.tld/advisories/csaf/feed-tlp-white.json",
+ "categories": {
+ "category": [
+ {
+ "scheme": "urn:ietf:params:rolie:category:information-type",
+ "term": "csaf"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+```
+
+### 7.1.17 Requirement 17: ROLIE category document
+
+The use and therefore the existence of ROLIE category document is optional.
+If it is used, each ROLIE category document MUST be a JSON file that conforms with \[[RFC8322](#RFC8322)\].
+ROLIE categories SHOULD be used for to further dissect CSAF documents by one or more of the following criteria:
+
+* document category
+* document language
+* values of the branch category within the Product Tree including but not limited to
+ * `vendor`
+ * `product_family`
+ * `product_name`
+ * `product_version`
+* type of product
+
+ *Examples 1:*
+
+ ```
+ CPU
+ Firewall
+ Monitor
+ PLC
+ Printer
+ Router
+ Sensor
+ Server
+ ```
+
+* areas or sectors, the products are used in
+
+ *Examples 2:*
+
+ ```
+ Chemical
+ Commercial
+ Communication
+ Critical Manufacturing
+ Dams
+ Energy
+ Healthcare
+ Water
+ ```
+
+* any other categorization useful to the consumers
+
+*Example 3:*
+
+```
+ {
+ "categories": {
+ "category": [
+ {
+ "term": "Example Company Product A"
+ },
+ {
+ "term": "Example Company Product B"
+ }
+ ]
+ }
+ }
+```
+
+### 7.1.18 Requirement 18: Integrity
+
+All CSAF documents SHALL have at least one hash file computed with a secure cryptographic hash algorithm (e.g. SHA-512 or SHA-3)
+to ensure their integrity. The filename is constructed by appending the file extension which is given by the algorithm.
+
+MD5 and SHA1 SHOULD NOT be used.
+
+*Example 1:*
+
+```
+File name of CSAF document: example_company_-_2019-yh3234.json
+File name of SHA-256 hash file: example_company_-_2019-yh3234.json.sha256
+File name of SHA-512 hash file: example_company_-_2019-yh3234.json.sha512
+```
+
+The file content SHALL start with the first byte of the hexadecimal hash value.
+Any subsequent data (like a filename) which is optional SHALL be separated by at least one space.
+
+*Example 2:*
+
+```
+ea6a209dba30a958a78d82309d6cdcc6929fcb81673b3dc4d6b16fac18b6ff38 example_company_-_2019-yh3234.json
+```
+
+If a ROLIE feed exists, each hash file MUST be listed in it as described in requirement 15.
+
+### 7.1.19 Requirement 19: Signatures
+
+All CSAF documents SHALL have at least one OpenPGP signature file which is provided under the same filename which is
+extended by the appropriate extension. See \[[RFC4880](#RFC4880)\] for more details.
+
+*Example 1:*
+
+```
+File name of CSAF document: example_company_-_2019-yh3234.json
+File name of signature file: example_company_-_2019-yh3234.json.asc
+```
+
+If a ROLIE feed exists, each signature file MUST be listed in it as described in requirement 15.
+
+### 7.1.20 Requirement 20: Public OpenPGP Key
+
+The public part of the OpenPGP key used to sign the CSAF documents MUST be available.
+It SHOULD also be available at a public key server.
+
+> For example, the public part of the OpenPGP key could be placed in a directory `openpgp` adjacent to the `provider-metadata.json`.
+
+The OpenPGP key SHOULD have a strength that is considered secure.
+
+> Guidance on OpenPGP key strength can be retrieved from technical guidelines of competent authorities.
+
+### 7.1.21 Requirement 21: List of CSAF providers
+
+The file `aggregator.json` MUST be present and valid according to the
+JSON schema [CSAF aggregator](https://docs.oasis-open.org/csaf/csaf/v2.0/aggregator_json_schema.json).
+It MUST NOT be stored adjacent to a `provider-metadata.json`.
+
+> Suggested locations to store the `aggregator.json` are:
+>
+> * https://www.example.com/.well-known/csaf-aggregator/aggregator.json
+> * https://domain.tld/security/data/aggregator/csaf/aggregator.json
+> * https://psirt.domain.tld/advisories/aggregator/csaf/aggregator.json
+> * https://domain.tld/security/aggregator/csaf/aggregator.json
+
+The file `aggregator.json` SHOULD only list the latest version of the metadata of a CSAF provider.
+
+*Example 1:*
+
+```
+ {
+ "aggregator": {
+ "category": "lister",
+ "contact_details": "Example CSAF Lister can be reached at contact_us@lister.example, or via our website at https://lister.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example CSAF Lister",
+ "namespace": "https://lister.example"
+ },
+ "aggregator_version": "2.1",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ }
+ },
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ }
+ }
+ ],
+ "last_updated": "2024-01-24T22:35:38.978Z"
+ }
+```
+
+### 7.1.22 Requirement 22: Two disjoint issuing parties
+
+The file `aggregator.json` (requirement 21) lists at least two disjoint CSAF providers (including CSAF trusted providers)
+or one CSAF publisher and one CSAF provider (including CSAF trusted provider).
+
+### 7.1.23 Requirement 23: Mirror
+
+The CSAF documents for each issuing party that is mirrored MUST be in a different folder.
+The folder name SHOULD be retrieved from the name of the issuing authority.
+This folders MUST be adjacent to the `aggregator.json` (requirement 21).
+Each such folder MUST at least:
+
+* provide a `provider-metadata.json` for the current issuing party.
+* provide the ROLIE feed document according to requirement 15 which links to the local copy of the CSAF document.
+
+*Example 1:*
+
+```
+ {
+ "aggregator": {
+ "category": "aggregator",
+ "contact_details": "Example Aggregator can be reached at contact_us@aggregator.example, or via our website at https://aggregator.example/security/csaf/aggregator/contact.",
+ "issuing_authority": "This service is provided as it is. It is free for everybody.",
+ "name": "Example Aggregator",
+ "namespace": "https://aggregator.example"
+ },
+ "aggregator_version": "2.1",
+ "canonical_url": "https://aggregator.example/.well-known/csaf-aggregator/aggregator.json",
+ "csaf_providers": [
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T20:20:56.169Z",
+ "publisher": {
+ "category": "vendor",
+ "name": "Example Company ProductCERT",
+ "namespace": "https://psirt.example.com"
+ },
+ "url": "https://www.example.com/.well-known/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Company_ProductCERT/provider-metadata.json"
+ ]
+ },
+ {
+ "metadata": {
+ "last_updated": "2024-01-12T21:35:38.000Z",
+ "publisher": {
+ "category": "coordinator",
+ "name": "Example Coordinator CERT",
+ "namespace": "https://cert.example"
+ },
+ "url": "https://cert.example/advisories/csaf/provider-metadata.json"
+ },
+ "mirrors": [
+ "https://aggregator.example/.well-known/csaf-aggregator/Example_Coordinator_CERT/provider-metadata.json"
+ ]
+ }
+ ],
+ "last_updated": "2024-01-24T22:35:38.978Z"
+ }
+```
+
+## 7.2 Roles
+
+This subsection groups the requirements from the previous subsection into named sets which target the roles with the same name.
+This allows end users to request their suppliers to fulfill a certain set of requirements.
+A supplier can use roles for advertising and marketing.
+
+The roles "CSAF publisher", "CSAF provider", and "CSAF trusted provider" are intended directly for issuing parties and form the first group.
+The second group consists of the roles "CSAF lister" and "CSAF aggregator".
+They collect data from the aforementioned issuing parties of the first group and provide them in a single place to aid in automation.
+Parties of the second group can also issue their own advisories.
+However, they MUST follow the rules for the first group for that.
+
+Both, a CSAF lister and a CSAF aggregator, decide based on their own rules which issuing parties to list respectively to mirror.
+However, an issuing party MAY apply to be listed or mirrored.
+
+Issuing parties MUST indicate through the value `false` in `list_on_CSAF_aggregators` if they do not want to be listed.
+Issuing parties MUST indicate through the value `false` in `mirror_on_CSAF_aggregators` if they do not want to be mirrored.
+
+The values are independent.
+The combination of the value `false` in `list_on_CSAF_aggregators` and `true` in `mirror_on_CSAF_aggregators` implies that
+the issuing party does not want to be listed without having the CSAF documents mirrored.
+Therefore, a CSAF aggregator can list that issuing party if it mirrors the files.
+
+### 7.2.1 Role: CSAF publisher
+
+A distributing party satisfies the "CSAF publisher" role if the party:
+
+* satisfies the requirements 1 to 4 in section [7.1](#requirements).
+* distributes only CSAF documents on behalf of its own.
+
+### 7.2.2 Role: CSAF provider
+
+A CSAF publisher satisfies the "CSAF provider" role if the party fulfills the following three groups of requirements:
+
+Firstly, the party:
+
+* satisfies the "CSAF publisher" role profile.
+* additionally satisfies the requirements 5 to 7 in section [7.1](#requirements).
+
+Secondly, the party:
+
+* satisfies at least one of the requirements 8 to 10 in section [7.1](#requirements).
+
+Thirdly, the party:
+
+* satisfies the requirements 11 to 14 in section [7.1](#requirements) or requirements 15 to 17 in section [7.1](#requirements).
+
+> If the party uses the ROLIE-based distribution, it MUST also satisfy requirements 15 to 17.
+> If it uses the directory-based distribution, it MUST also satisfy requirements 11 to 14.
+
+### 7.2.3 Role: CSAF trusted provider
+
+A CSAF provider satisfies the "CSAF trusted provider" role if the party:
+
+* satisfies the "CSAF provider" role profile.
+* additionally satisfies the requirements 18 to 20 in section [7.1](#requirements).
+
+### 7.2.4 Role: CSAF lister
+
+A distributing party satisfies the "CSAF lister" role if the party:
+
+* satisfies the requirements 6, 21 and 22 in section [7.1](#requirements).
+* uses the value `lister` for `/aggregator/category`.
+* does not list any mirror pointing to a domain under its own control.
+
+> The purpose of this role is to provide a list of URLs where to find CSAF documents.
+> It is not assumed that the list will be complete.
+
+### 7.2.5 Role: CSAF aggregator
+
+A distributing party satisfies the "CSAF aggregator" role if the party:
+
+* satisfies the requirements 1 to 6 and 21 to 23 in section [7.1](#requirements).
+* uses the value `aggregator` for `/aggregator/category`.
+* lists a mirror for at least two disjoint issuing parties pointing to a domain under its own control.
+* links the public part of the OpenPGP key used to sign CSAF documents for each mirrored issuing party in
+ the corresponding `provider-metadata.json`.
+* provides for each CSAF document that is mirrored a signature (requirement 19) and a hash (requirement 18).
+ Both SHALL be listed in the ROLIE feed. If the issuing party provides those files for a CSAF document, they SHOULD be copied as well.
+ If the issuing party does not provide those files, they SHALL be created by the CSAF aggregator.
+ Such a signature does not imply any liability of CSAF aggregator for the content of the corresponding CSAF document.
+ It just confirms that the CSAF document provided has not been modified after being downloaded from the issuing party.
+ A CSAF aggregator MAY add additional signatures and hashes for a CSAF document.
+
+Additionally, a CSAF aggregator MAY list one or more issuing parties that it does not mirror.
+
+> The purpose of this role is to provide a single point where CSAF documents can be retrieved.
+> Multiple CSAF aggregators are expected to exist around the world. None of them is required to mirror all CSAF documents of all issuing parties.
+> CSAF aggregators can be provided for free or as a paid service.
+>
+> To aid in automation, CSAF aggregators MAY mirror CSAF documents from CSAF publishers.
+> Regarding the terms of use they SHOULD consult with the issuing party.
+> The purpose of this option is that a consumer can retrieve CSAF documents from a CSAF publisher as if this issuing party would be a
+> CSAF trusted provider. To reach that goal, a CSAF aggregator collects the CSAF documents from the CSAF publisher and mirrors it.
+> The collection process MAY be automated or manual. CSAF aggregators announce the collection interval through the field `update_interval` in
+> the corresponding item of the CSAF publishers list (`csaf_publishers`) in their `aggregator.json`.
+> To minimize the implementation efforts and process overhead, a CSAF aggregator MAY upload the CSAF documents of a CSAF publisher into
+> an internal instance of a CSAF provider software.
+> Such construct is called "CSAF proxy provider" as it can be mirrored by the CSAF aggregator software.
+> However, such a CSAF proxy provider MUST NOT be accessible from anyone else than the CSAF aggregator itself.
+> Otherwise, that would violate the second rule of section [7.2.1](#role-csaf-publisher).
+> Therefore, it is recommended to expose the CSAF proxy provider only on localhost and allow the access only from the CSAF aggregator software.
+
+## 7.3 Retrieving rules
+
+The retrieving process executes in two phases: Finding the `provider-metadata.json` (requirement 7 in section [7.1](#requirements)) and
+retrieving CSAF documents.
+
+> A retrieving party SHOULD do the first phase every time.
+> Based on the setup and use case of the retrieving party it MAY choose to do it less often,
+> e.g. only when adding new or updating distributing parties.
+> In that case, it SHOULD to check regularly whether new information is available.
+
+### 7.3.1 Finding provider-metadata.json
+
+**Direct locating**: The following process SHOULD be used to determine the location of a `provider-metadata.json`
+(requirement 7 in section [7.1](#requirements)) based on the main domain of the issuing party:
+
+1. Checking the Well-known URL (requirement 9 in section [7.1](#requirements))
+2. Checking the security.txt (requirement 8 in section [7.1](#requirements))
+3. Checking the DNS path (requirement 10 in section [7.1](#requirements))
+4. Select one or more `provider-metadata.json` to use.
+
+> The term "checking" used in the listing above SHOULD be understood as follows:
+> Try to access the resource and test whether the response provides an expected result as defined in the requirement in section 7.1.
+> If that is the case, the step was successful - otherwise not.
+
+The first two steps SHOULD be performed in all cases as the security.txt MAY advertise additional `provider-metadata.json`.
+The third step SHOULD only be performed if the first two did not result in the location of at least one `provider-metadata.json`.
+
+**Indirect locating**: A retrieving party MAY choose to determine the location of a `provider-metadata.json` by retrieving
+its location from an `aggregator.json` (requirement 21 in section [7.1](#requirements)) of a CSAF lister or CSAF aggregator.
+
+### 7.3.2 Retrieving CSAF documents
+
+Given a `provider-metadata.json`, the following process SHOULD be used to retrieve CSAF documents:
+
+1. Parse the `provider-metadata.json` to determine whether the directory-based (requirements 11 to 14 in section [7.1](#requirements))
+ or ROLIE-based distribution (requirements 15 to 17 in section [7.1](#requirements)) is used.
+ If both are present, the ROLIE information SHOULD be preferred.
+2. For any CSAF trusted provider, the hash and signature files (requirements 18 to 19 in section [7.1](#requirements)) SHOULD be retrieved together
+ with the CSAF document.
+ They MUST be checked before further processing the CSAF document.
+3. Test the CSAF document against the schema.
+4. Execute mandatory tests on the CSAF document.
+
+-------
+
+# 8. Safety, Security, and Data Protection Considerations
+
+CSAF documents are based on JSON, thus the security considerations of \[[RFC8259](#RFC8259)\] apply and are repeated here as service for the reader:
+> Generally, there are security issues with scripting languages. JSON is a subset of JavaScript but excludes assignment and invocation.
+>
+> Since JSON's syntax is borrowed from JavaScript, it is possible to use that language's `eval()` function to parse most JSON texts
+> (but not all; certain characters such as `U+2028 LINE SEPARATOR` and `U+2029 PARAGRAPH SEPARATOR` are legal in JSON but not JavaScript).
+> This generally constitutes an unacceptable security risk, since the text could contain executable code along with data declarations.
+> The same consideration applies to the use of eval()-like functions in any other programming language in which JSON texts conform to
+> that language's syntax.
+
+In addition, CSAF documents may be rendered by consumers in various human-readable formats like HTML or PDF.
+Thus, for security reasons, CSAF producers and consumers SHALL adhere to the following:
+
+* CSAF producers SHOULD NOT emit messages that contain HTML, even though all variants of Markdown permit it.
+ To include HTML, source code, or any other content that may be interpreted or executed by a CSAF consumer,
+ e.g. to provide a proof-of-concept, the issuing party SHALL use Markdown's fenced code blocks or inline code option.
+* Deeply nested markup can cause a stack overflow in the Markdown processor \[[GFMENG](#GFMENG)\].
+ To reduce this risk, CSAF consumers SHALL use a Markdown processor that is hardened against such attacks.
+ **Note**: One example is the GitHub fork of the `cmark` Markdown processor \[[GFMCMARK](#GFMCMARK)\].
+* To reduce the risk posed by possibly malicious CSAF files that do contain arbitrary HTML (including, for example, javascript: links),
+ CSAF consumers SHALL either disable HTML processing (for example, by using an option such as the --safe option in the cmark Markdown processor)
+ or run the resulting HTML through an HTML sanitizer.
+CSAF consumers that are not prepared to deal with the security implications of formatted messages SHALL NOT attempt to
+render them and SHALL instead fall back to the corresponding plain text messages. As also any other programming code can
+be contained within a CSAF document, CSAF consumers SHALL ensure that none of the values of a CSAF document is run as code.
+Moreover, it SHALL be treated as unsafe (user) input.
+ > Additional, supporting mitigation measures like retrieving only CSAF documents from trusted sources and check their integrity and
+ > signature before parsing the document SHOULD be in place to reduce the risk further.
+
+-------
+
+# 9. Conformance
+
+In the only subsection of this section, the conformance targets and clauses are listed.
+The clauses, matching the targets one to one, are listed in separate sub-subsections of the targets listing subsection.
+
+Informative Comments:
+
+> The order in which targets, and their corresponding clauses appear is somewhat arbitrary as there is
+> no natural order on such diverse roles participating in the document exchanging ecosystem.
+>
+> Except for the target **CSAF document**, all other 16 targets span a taxonomy of the complex CSAF ecosystems existing
+> in and between diverse security advisory generating, sharing, and consuming communities.
+>
+> In any case, there are no capabilities organized in increasing quality levels for targets because
+> the security advisory sharing communities follow the chain link model.
+> Instead, a single minimum capability level for every target is given to maintain important goals of providing
+> a common framework for security advisories:
+>
+> * Fast production, sharing, and actionable consumption of security advisories
+> * Consistent end to end automation through collaborating actors
+> * Clear baseline across the communities per this specification
+> * Additional per-community cooperative extensions which may flow back into future updates of this specification
+
+## 9.1 Conformance Targets
+
+This document defines requirements for the CSAF file format and for certain software components that interact with it.
+The entities ("conformance targets") for which this document defines requirements are:
+
+* **CSAF document**: A security advisory text document in the format defined by this document.
+* **CSAF producer**: A program which emits output in the CSAF format.
+* **CSAF direct producer**: An analysis tool which acts as a CSAF producer.
+* **CSAF converter**: A CSAF producer that transforms the output of an analysis tool from its native output format into the CSAF format.
+* **CVRF CSAF converter**: A CSAF producer which takes a CVRF document as input and converts it into a valid CSAF document.
+* **CSAF content management system**: A program that is able to create,
+ review and manage CSAF documents and is able to preview their details as required by CSAF viewer.
+* **CSAF post-processor**: A CSAF producer that transforms an existing CSAF document into a new CSAF document,
+ for example, by removing or redacting elements according to sharing policies.
+* **CSAF modifier**: A CSAF post-processor which takes a CSAF document as input and modifies the structure or values of properties.
+ The output is a valid CSAF document.
+* **CSAF translator**: A CSAF post-processor which takes a CSAF document as input and translates values of properties into another language.
+ The output is a valid CSAF document.
+* **CSAF consumer**: A program that reads and interprets a CSAF document.
+* **CSAF viewer**: A CSAF consumer that reads a CSAF document, displays a list of the results it contains,
+ and allows an end user to view each result in the context of the artifact in which it occurs.
+* **CSAF management system**: A program that is able to manage CSAF documents and is able to display their details as required by CSAF viewer.
+* **CSAF asset matching system**: A program that connects to or is an asset database and is able to manage CSAF documents as required
+ by CSAF management system as well as matching them to assets of the asset database.
+* **CSAF basic validator**: A program that reads a document and checks it against the JSON schema and performs mandatory tests.
+* **CSAF extended validator**: A CSAF basic validator that additionally performs optional tests.
+* **CSAF full validator**: A CSAF extended validator that additionally performs informative tests.
+* **CSAF SBOM matching system**: A program that connects to or is an SBOM database and is able to manage CSAF documents as required
+ by CSAF management system as well as matching them to SBOM components of the SBOM database.
+
+### 9.1.1 Conformance Clause 1: CSAF document
+
+A text file or data stream satisfies the "CSAF document" conformance profile if it:
+
+* conforms to the syntax and semantics defined in section [3](#schema-elements).
+* satisfies at least one profile defined in section [4](#profiles).
+* does not fail any mandatory test defined in section [6.1](#mandatory-tests).
+
+### 9.1.2 Conformance Clause 2: CSAF producer
+
+A program satisfies the "CSAF producer" conformance profile if the program:
+
+* produces output in the CSAF format, according to the conformance profile "CSAF document" .
+* satisfies those normative requirements in section [3](#schema-elements) and [8](#safety-security-and-data-protection-considerations) that
+ are designated as applying to CSAF producers.
+
+### 9.1.3 Conformance Clause 3: CSAF direct producer
+
+An analysis tool satisfies the "CSAF direct producer" conformance profile if the analysis tool:
+
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [3](#schema-elements) that are designated as applying to "direct producers" or
+ to "analysis tools".
+* does not emit any objects, properties, or values which, according to section [3](#schema-elements),
+ are intended to be produced only by converters.
+
+### 9.1.4 Conformance Clause 4: CSAF converter
+
+A converter satisfies the “CSAF converter” conformance profile if the converter:
+
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [3](#schema-elements) that are designated as applying to converters.
+* does not emit any objects, properties, or values which, according to section [3](#schema-elements),
+ are intended to be produced only by direct producers.
+
+### 9.1.5 Conformance Clause 5: CVRF CSAF converter
+
+A program satisfies the "CVRF CSAF converter" conformance profile if the program fulfills the following two groups of requirements:
+
+Firstly, the program:
+
+* satisfies the "CSAF producer" conformance profile.
+* takes only CVRF documents as input.
+* additionally satisfies the normative requirements given below.
+
+Secondly, the program fulfills the following for all items of:
+
+* type `/$defs/branches_t`: If any `prod:Branch` instance has the type `Realm` or `Resource`,
+ the CVRF CSAF converter replaces those with the category `product_name`.
+ In addition, the converter outputs a warning that those types do not exist in CSAF and have been replaced with the category `product_name`.
+* type `/$defs/version_t`: If any element doesn't match the semantic versioning,
+ replace the all elements of type `/$defs/version_t` with the corresponding integer version.
+ For that, CVRF CSAF converter sorts the items of `/document/tracking/revision_history` by `number` ascending according to the rules of CVRF.
+ Then, it replaces the value of `number` with the index number in the array (starting with 1).
+ The value of `/document/tracking/version` is replaced by value of `number` of the corresponding revision item.
+ The match MUST be calculated by the original values used in the CVRF document.
+ If this conversion was applied, for each Revision the original value of `cvrf:Number` MUST be set as `legacy_version` in the converted document.
+* `/document/acknowledgments[]/organization` and `/vulnerabilities[]/acknowledgments[]/organization`:
+ If more than one `cvrf:Organization` instance is given, the CVRF CSAF converter converts the first one into the `organization`.
+ In addition, the converter outputs a warning that information might be lost during conversion of document or vulnerability acknowledgment.
+* `/document/lang`: If one or more CVRF element containing an `xml:lang` attribute exist and contain the exact same value,
+ the CVRF CSAF converter converts this value into `lang`.
+ If the values of `xml:lang` attributes are not equal, the CVRF CSAF converter outputs a warning that the language could not be
+ determined and possibly a document with multiple languages was produced.
+ In addition, it SHOULD also present all values of `xml:lang` attributes as a set in the warning.
+* `/document/publisher/name` and `/document/publisher/namespace`:
+ Sets the value as given in the configuration of the program or the corresponding argument the program was invoked with.
+ If values from both sources are present, the program SHOULD prefer the latter one.
+ The program SHALL NOT use hard-coded values.
+* `/document/tracking/id`: If the element `cvrf:ID` contains any line breaks or leading or trailing white space,
+ the CVRF CSAF converter removes those characters.
+ In addition, the converter outputs a warning that the ID was changed.
+* `/product_tree/relationships[]`: If more than one `prod:FullProductName` instance is given,
+ the CVRF CSAF converter converts the first one into the `full_product_name`.
+ In addition, the converter outputs a warning that information might be lost during conversion of product relationships.
+* `/vulnerabilities[]/cwe`: If more than one `vuln:CWE` instance is given,
+ the CVRF CSAF converter converts the first one into `cwe`.
+ In addition, the converter outputs a warning that information might be lost during conversion of the CWE.
+* `/vulnerabilities[]/ids`: If a `vuln:ID` element is given, the CVRF CSAF converter converts it into the first item of the `ids` array.
+* `/vulnerabilities[]/remediation[]`: If no `product_ids` or `group_ids` is given,
+ the CVRF CSAF converter appends all Product IDs which are listed under `../product_status` in the arrays `known_affected`,
+ `first_affected` and `last_affected` into `product_ids`.
+ If none of these arrays exist, the CVRF CSAF converter outputs an error that no matching Product ID was found for this remediation element.
+* `/vulnerabilities[]/scores[]`:
+ * For any CVSS v3 element, the CVRF CSAF converter MUST compute the `baseSeverity` from the `baseScore` according to
+ the rules of the applicable CVSS standard.
+ * If no `product_id` is given, the CVRF CSAF converter appends all Product IDs which are listed under `../product_status` in
+ the arrays `known_affected`, `first_affected` and `last_affected`.
+ If none of these arrays exist, the CVRF CSAF converter outputs an error that no matching Product ID was found for this score element.
+ * If a `vectorString` is missing, the CVRF CSAF converter outputs an error that the CVSS element could not be converted as
+ the CVSS vector was missing.
+ A CVRF CSAF converter MAY offer a configuration option to delete such elements.
+ * If there are CVSS v3.0 and CVSS v3.1 Vectors available for the same product, the CVRF CSAF converter discards
+ the CVSS v3.0 information and provide in CSAF only the CVSS v3.1 information.
+ * To determine, which minor version of CVSS v3 is used, the CVRF CSAF converter uses the following steps:
+ 1. Retrieve the CVSS version from the CVSS vector, if present.
+
+ *Example 1:*
+
+ ```
+ CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H => 3.1
+ ```
+
+ 2. Retrieve the CVSS version from the CVSS element's namespace, if present.
+ The CVRF CSAF converter outputs a warning that this value was guessed from the element's namespace.
+
+ *Example 2:*
+
+ ```
+ xmlns:cvssv31="https://www.first.org/cvss/cvss-v3.1.xsd"
+
+
+ ```
+
+ is handled the same as
+
+ *Example 3:*
+
+ ```
+
+ ```
+
+ 3. Retrieve the CVSS version from the CVSS namespace given in the root element, if present.
+ The CVRF CSAF converter outputs a warning that this value was guessed from the global namespace.
+ If more than one CVSS namespace is present and the element is not clearly defined via the namespace,
+ this step MUST be skipped without a decision.
+
+ *Example 4:*
+
+ ```
+ xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" => 3.0
+ ```
+
+ 4. Retrieve the CVSS version from a config value, which defaults to `3.0`.
+ (As CSAF CVRF v1.2 predates CVSS v3.1.) The CVRF CSAF converter outputs a warning that this value was taken from the config.
+
+### 9.1.6 Conformance Clause 6: CSAF content management system
+
+A CSAF content management system satisfies the "CSAF content management system" conformance profile if the content management system:
+
+* satisfies the "CSAF producer" conformance profile.
+* satisfies the "CSAF viewer" conformance profile.
+* provides at least the following management functions:
+
+ * create new CSAF documents
+ * prefill CSAF documents based on values given in the configuration (see below)
+ * create a new version of an existing CSAF document
+ * checkout old versions of a CSAF document
+ * show all differences between versions of a CSAF document
+ * list all CSAF documents within the system
+ * delete CSAF documents from the system
+ * review CSAF documents in the system
+ * approve CSAF documents
+ * search for CSAF documents by values of required fields at `document`-level or their children within the system
+ * search for CSAF documents by values of `cve` within the system
+ * search for CSAF documents based on properties of `product_tree`
+ * filter on all properties which it is required to search for
+ * export of CSAF documents
+ * show an audit log for each CSAF document
+ * identify the latest version of CSAF documents with the same `/document/tracking/id`
+ * suggest a `/document/tracking/id` based on the given configuration.
+ * track of the version of CSAF documents automatically and increment according to the versioning scheme
+ (see also subsections of [3.1.11](#version-type)) selected in the configuration.
+ * check that the document version is set correctly based on the changes in comparison to the previous version
+ (see also subsections of [3.1.11](#version-type)).
+ * suggest to use the document status `interim` if a CSAF document is updated more frequent than the given threshold in
+ the configuration (default: 3 weeks)
+ * suggest to publish a new version of the CSAF document with the document status `final` if the document status was
+ `interim` and no new release has be done during the given threshold in the configuration (default: 6 weeks)
+ * support the following workflows:
+
+ * "New Advisory": create a new advisory, request a review, provide review comments or approve it, resolve review comments;
+ if the review approved it, the approval for publication can be requested;
+ if granted the document status changes to `final` (or `ìnterim` based on the selection in approval or configuration)
+ and the advisory is provided for publication (manual or time-based)
+ * "Update Advisory": open an existing advisory, create new revision & change content, request a review,
+ provide review comments or approve it, resolve review comments;
+ if the review approved it, the approval for publication can be requested;
+ if granted the document status changes to `final` (or `ìnterim` based on the selection in approval or configuration)
+ and the advisory is provided for publication (manual or time-based)
+
+* offers both: publication immediately or at a given date/time.
+* automates handling of date/time and version.
+* provides an API to retrieve all CSAF documents which are currently in the status published.
+* optionally provides an API to import or create new advisories from outside systems (e.g. bug tracker, CVD platform,...).
+* provides a user management and support at least the following roles:
+
+ * _Registered_: Able to see all published CSAF documents (but only in the published version).
+ * _Author_: inherits _Registered_ permissions and also can Create and Edit Own (mostly used for automated creation, see above)
+ * _Editor_: inherits _Author_ permissions and can Edit (mostly used in PSIRT)
+ * _Publisher_: inherits _Editor_ permissions and can Change state and Review any (mostly used as HEAD of PSIRT or team lead)
+ * _Reviewer_: inherits _Registered_ permissions and can Review advisories assigned to him (might be a subject matter expert or management)
+ * _Manager_: inherits _Publisher_ permissions and can Delete; User management up to _Publisher_
+ * _Administrator_: inherits _Manager_ permissions and can Change the configuration
+
+* may use groups to support client separation (multitenancy) and therefore restrict the roles to actions within their group.
+ In this case, there MUST be a _Group configurator_ which is able to change the values which are used to prefill fields in
+ new advisories for that group. He might also do the user management for the group up to a configured level.
+* prefills the following fields in new CSAF documents with the values given below or based on the templates from configuration:
+
+ * `/document/csaf_version` with the value `2.0`
+ * `/document/language`
+ * `/document/notes`
+ * `legal_disclaimer` (Terms of use from the configuration)
+ * `general` (General Security recommendations from the configuration)
+ * `/document/tracking/current_release_date` with the current date
+ * `/document/tracking/generator` and children
+ * `/document/tracking/initial_release_date` with the current date
+ * `/document/tracking/revision_history`
+ * `date` with the current date
+ * `number` (based on the templates according to the versioning scheme configured)
+ * `summary` (based on the templates from configuration; default: "Initial version.")
+ * `/document/tracking/status` with `draft`
+ * `/document/tracking/version` with the value of `number` the latest `/document/tracking/revision_history[]` element
+ * `/document/publisher` and children
+ * `/document/category` (based on the templates from configuration)
+
+* When updating an existing CSAF document:
+
+ * prefills all fields which have be present in the existing CSAF document
+ * adds a new item in `/document/tracking/revision_history[]`
+ * updates the following fields with the values given below or based on the templates from configuration:
+ * `/document/csaf_version` with the value `2.0`
+ * `/document/language`
+ * `/document/notes`
+ * `legal_disclaimer` (Terms of use from the configuration)
+ * `general` (General Security recommendations from the configuration)
+ * `/document/tracking/current_release_date` with the current date
+ * `/document/tracking/generator` and children
+ * the new item in `/document/tracking/revision_history[]`
+ * `date` with the current date
+ * `number` (based on the templates according to the versioning scheme configured)
+ * `/document/tracking/status` with `draft`
+ * `/document/tracking/version` with the value of `number` the latest `/document/tracking/revision_history[]` element
+ * `/document/publisher` and children
+
+### 9.1.7 Conformance Clause 7: CSAF post-processor
+
+A CSAF post-processor satisfies the "CSAF post-processor" conformance profile if the post-processor:
+
+* satisfies the "CSAF consumer" conformance profile.
+* satisfies the "CSAF producer" conformance profile.
+* additionally satisfies those normative requirements in section [3](#schema-elements) that are designated as applying to post-processors.
+
+### 9.1.8 Conformance Clause 8: CSAF modifier
+
+A program satisfies the "CSAF modifier" conformance profile if the program fulfills the two following groups of requirements:
+
+The program:
+
+* satisfies the "CSAF post-processor" conformance profile.
+* adds, deletes or modifies at least one property, array, object or value of a property or item of an array.
+* does not emit any objects, properties, or values which, according to section [9](#conformance),
+ are intended to be produced only by CSAF translators.
+* satisfies the normative requirements given below.
+
+The resulting modified document:
+
+* does not have the same `/document/tracking/id` as the original document.
+ The modified document can use a completely new `/document/tracking/id` or compute one by appending the original `/document/tracking/id` as
+ a suffix after an ID from the naming scheme of the issuer of the modified version.
+ It SHOULD NOT use the original `/document/tracking/id` as a prefix.
+* includes a reference to the original advisory as first element of the array `/document/references[]`.
+
+### 9.1.9 Conformance Clause 9: CSAF translator
+
+A program satisfies the "CSAF translator" conformance profile if the program fulfills the two following groups of requirements:
+
+The program:
+
+* satisfies the "CSAF post-processor" conformance profile.
+* translates at least one value.
+* preserves the same semantics and form across translations.
+* satisfies the normative requirements given below and does not add or remove other elements than required below.
+
+The resulting translated document:
+
+* does not use the same `/document/tracking/id` as the original document.
+ The translated document can use a completely new `/document/tracking/id` or compute one by using the original `/document/tracking/id` as
+ a prefix and adding an ID from the naming scheme of the issuer of the translated version.
+ It SHOULD NOT use the original `/document/tracking/id` as a suffix.
+ If an issuer uses a CSAF translator to publish his advisories in multiple languages they MAY use the combination of
+ the original `/document/tracking/id` and translated `/document/lang` as a `/document/tracking/id` for the translated document.
+* provides the `/document/lang` property with a value matching the language of the translation.
+* provides the `/document/source_lang` to contain the language of the original document (and SHOULD only be set by CSAF translators).
+* has the value `translator` set in `/document/publisher/category`
+* includes a reference to the original advisory as first element of the array `/document/references[]`.
+* MAY contain translations for elements in arrays of `references_t` after the first element.
+ However, it MUST keep the original URLs as references at the end.
+
+### 9.1.10 Conformance Clause 10: CSAF consumer
+
+A processor satisfies the "CSAF consumer" conformance profile if the processor:
+
+* reads CSAF documents and interprets them according to the semantics defined in section [3](#schema-elements).
+* satisfies those normative requirements in section [3](#schema-elements) and [8](#safety-security-and-data-protection-considerations) that
+ are designated as applying to CSAF consumers.
+
+### 9.1.11 Conformance Clause 11: CSAF viewer
+
+A viewer satisfies the "CSAF viewer" conformance profile if the viewer fulfills the two following groups of requirements:
+
+The viewer:
+
+* satisfies the "CSAF consumer" conformance profile.
+* satisfies the normative requirements given below.
+
+For each CVSS-Score in `/vulnerabilities[]/scores[]` the viewer:
+
+* preferably shows the `vector` if there is an inconsistency between the `vector` and any other sibling attribute.
+* SHOULD prefer the item of `scores[]` for each `product_id` which has the highest CVSS Base Score and newest CVSS version
+ (in that order) if a `product_id` is listed in more than one item of `scores[]`.
+
+### 9.1.12 Conformance Clause 12: CSAF management system
+
+A CSAF management system satisfies the "CSAF management system" conformance profile if the management system:
+
+* satisfies the "CSAF viewer" conformance profile.
+* provides at least the following management functions:
+ * add new CSAF documents (e.g. from file system or URL) to the system
+ * list all CSAF documents within the system
+ * delete CSAF documents from the system
+ * comment on CSAF documents in the system
+ * mark CSAF documents as read in the system
+ * search for CSAF documents by values of required fields at `document`-level or their children within the system
+ * search for CSAF documents by values of `cve` within the system
+ * search for CSAF documents based on properties of `/product_tree`
+ * filter on all properties which it is required to search for
+ * sort on all properties which it is required to search for
+ * sort on CVSS scores and `/document/aggregate_severity/text`
+* identifies the latest version of CSAF documents with the same `/document/tracking/id`.
+* is able to show the difference between 2 versions of a CSAF document with the same `/document/tracking/id`.
+
+### 9.1.13 Conformance Clause 13: CSAF asset matching system
+
+A CSAF asset matching system satisfies the "CSAF asset matching system" conformance profile if the asset matching system:
+
+* satisfies the "CSAF management system" conformance profile.
+* is an asset database or connects to one.
+* matches the CSAF documents within the system to the respective assets.
+ This might be done with a probability which gives the end user the chance to broaden or narrow the results.
+ The process of matching is also referred to as "run of the asset matching module".
+* provides for each product of the asset database a list of matched advisories.
+* provides for each asset of the asset database a list of matched advisories.
+* provides for each CSAF document a list of matched product of the asset database.
+* provides for each CSAF document a list of matched asset of the asset database.
+* provides for each vulnerability within a CSAF document the option to mark a matched asset in the asset database as "not remediated",
+ "remediation in progress", or "remediation done". A switch to mark all assets at once MAY be implemented.
+* does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched product or asset has not changed.
+* detects the usage semantic version (as described in section [3.1.11.2](#version-type-semantic-versioning)).
+* is able to trigger a run of the asset matching module:
+ * manually:
+ * per CSAF document
+ * per list of CSAF documents
+ * per asset
+ * per list of assets
+ * automatically:
+ * when a new CSAF document is inserted (for this CSAF document)
+ * when a new asset is inserted (for this asset)
+ * when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+ > These also apply if more than one CSAF document or asset was added.
+ > To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+ * Manually and automatically triggered runs SHOULD NOT be pooled.
+* provides at least the following statistics for the count of assets:
+ * matching that CSAF document at all
+ * marked with a given status
+
+### 9.1.14 Conformance Clause 14: CSAF basic validator
+
+A program satisfies the "CSAF basic validator" conformance profile if the program:
+
+* reads documents and performs a check against the JSON schema.
+* performs all mandatory tests as given in section [6.1](#mandatory-tests).
+* does not change the CSAF documents.
+
+A CSAF basic validator MAY provide one or more additional functions:
+
+* Only run one or more selected mandatory tests.
+* Apply quick fixes as specified in the standard.
+* Apply additional quick fixes as implemented by the vendor.
+
+### 9.1.15 Conformance Clause 15: CSAF extended validator
+
+A CSAF basic validator satisfies the "CSAF extended validator" conformance profile if the CSAF basic validator:
+
+* satisfies the "CSAF basic validator" conformance profile.
+* additionally performs all optional tests as given in section [6.2](#optional-tests).
+
+A CSAF extended validator MAY provide an additional function to only run one or more selected optional tests.
+
+### 9.1.16 Conformance Clause 16: CSAF full validator
+
+A CSAF extended validator satisfies the "CSAF full validator" conformance profile if the CSAF extended validator:
+
+* satisfies the "CSAF extended validator" conformance profile.
+* additionally performs all informative tests as given in section [6.3](#informative-test).
+
+A CSAF full validator MAY provide an additional function to only run one or more selected informative tests.
+
+### 9.1.17 Conformance Clause 17: CSAF SBOM matching system
+
+A CSAF SBOM matching system satisfies the "CSAF SBOM matching system" conformance profile if the SBOM matching system:
+
+* satisfies the "CSAF management system" conformance profile.
+* is an SBOM database or connects to one.
+ > A repository or any other location that can be queried for SBOMs and their content is also considered an SBOM database.
+* matches the CSAF documents within the system to the respective SBOM components.
+ This might be done with a probability which gives the user the chance to broaden or narrow the results.
+ The process of matching is also referred to as "run of the SBOM matching module".
+* provides for each SBOM of the SBOM database a list of matched advisories.
+* provides for each SBOM component of the SBOM database a list of matched advisories.
+* provides for each CSAF document a list of matched SBOMs of the SBOM database.
+* provides for each CSAF document a list of matched SBOM components of the SBOM database.
+* provides for each vulnerability within a CSAF document the option to mark a matched SBOM component in the SBOM database as "not remediated",
+ "remediation in progress", or "remediation done".
+ A switch to mark all SBOM component at once MAY be implemented.
+* does not bring up a newer revision of a CSAF document as a new match if the remediation for the matched SBOM or SBOM component has not changed.
+* detects the usage semantic version (as described in section [3.1.11.2](#version-type-semantic-versioning)).
+* is able to trigger a run of the asset matching module:
+ * manually:
+ * per CSAF document
+ * per list of CSAF documents
+ * per SBOM component
+ * per list of SBOM components
+ * automatically:
+ * when a new CSAF document is inserted (for this CSAF document)
+ * when a new SBOM component is inserted (for this SBOM component)
+ * when the Major version in a CSAF document with semantic versioning changes (for this CSAF document)
+ > These also apply if more than one CSAF document or SBOM component was added.
+ > To reduce the computational efforts the runs can be pooled into one run which fulfills all the tasks at once (batch mode).
+ > Manually and automatically triggered runs should not be pooled.
+* provides at least the following statistics for the count of SBOM component:
+ * matching that CSAF document at all
+ * marked with a given status
+
+-------
+
+# Appendix A. Acknowledgments
+
+The following individuals were members of the OASIS CSAF Technical Committee during the creation of this specification and their contributions are gratefully acknowledged:
+
+**CSAF TC Members:**
+
+| First Name | Last Name | Company |
+|:-----------|:-----------------|:------------------------------------------------------|
+| Alexandre | Dulaunoy | CIRCL |
+| Anthony | Berglas | Cryptsoft Pty Ltd. |
+| Art | Manion | Carnegie Mellon University |
+| Aukjan | van Belkum | EclecticIQ |
+| Ben | Sooter | Electric Power Research Institute (EPRI) |
+| Bernd | Grobauer | Siemens AG |
+| Bruce | Rich | Cryptsoft Pty Ltd. |
+| Chok | Poh | Oracle |
+| Dan | West | Microsoft |
+| David | Waltermire | NIST |
+| Denny | Page | TIBCO Software Inc. |
+| Duncan | Sparrell | sFractal Consulting LLC |
+| Eric | Johnson | TIBCO Software Inc. |
+| Ethan | Rahn | Arista Networks |
+| Feng | Cao | Oracle |
+| Greg | Scott | Cryptsoft Pty Ltd. |
+| Harold | Booth | NIST |
+| Jason | Masters | TELUS |
+| Jennifer | Victor | Dell |
+| Jessica | Fitzgerald-McKay | National Security Agency |
+| Jonathan | Bitle | Kaiser Permanente |
+| Justin | Corlett | Cryptsoft Pty Ltd. |
+| Kazuo | Noguchi | Hitachi, Ltd. |
+| Kent | Landfield | McAfee |
+| Langley | Rock | Red Hat |
+| Martin | Prpic | Red Hat |
+| Masato | Terada | Hitachi, Ltd. |
+| Mike | Gorski | Cisco Systems |
+| Nicole | Parrish | Mitre Corporation |
+| Omar | Santos | Cisco Systems |
+| Patrick | Maroney | AT&T |
+| Rhonda | Levy | Cisco Systems |
+| Richard | Struse | Mitre Corporation |
+| Ritwik | Ghoshal | Oracle |
+| Robert | Coderre | Accenture |
+| Robert | Keith | Accenture |
+| Stefan | Hagen | Individual |
+| Tania | Ward | Dell |
+| Ted | Bedwell | Cisco Systems |
+| Thomas | Proell | Siemens AG |
+| Thomas | Schmidt | Federal Office for Information Security (BSI) Germany |
+| Tim | Hudson | Cryptsoft Pty Ltd. |
+| Tobias | Limmer | Siemens AG |
+| Tony | Cox | Cryptsoft Pty Ltd. |
+| Vincent | Danen | Red Hat |
+| Will | Rideout | Arista Networks |
+| Xiaoyu | Ge | Huawei Technologies Co., Ltd. |
+
+The following individuals were members of the OASIS CSAF Technical Committee during the creation of the previous version (CVRF v1.2) of this specification and their contributions are gratefully acknowledged:
+
+**CSAF TC Members:**
+
+| First Name | Last Name | Company |
+|:-----------|:-----------------|:------------------------------------------------------|
+| Adam | Montville | CIS |
+| Allan | Thomson | LookingGlass |
+| Anthony | Berglas | Cryptsoft Pty Ltd. |
+| Art | Manion | Carnegie Mellon University |
+| Aukjan | van Belkum | EclecticIQ |
+| Ben | Sooter | Electric Power Research Institute |
+| Bernd | Grobauer | Siemens AG |
+| Beth | Pumo | Kaiser Permanente |
+| Bret | Jordan | Symantec Corp. |
+| Bruce | Rich | Cryptsoft Pty Ltd. |
+| Chet | Ensign | OASIS |
+| Chok | Poh | Oracle |
+| Chris | Rouland | Individual |
+| David | Waltermire | NIST |
+| Denny | Page | TIBCO Software Inc. |
+| Doron | Shiloach | IBM |
+| Duncan | Sparrell | sFractal Consulting LLC |
+| Eric | Johnson | TIBCO Software Inc. |
+| Feng | Cao | Oracle |
+| Greg | Reaume | TELUS |
+| Greg | Scott | Cryptsoft Pty Ltd. |
+| Harold | Booth | NIST |
+| Jamison | Day | LookingGlass |
+| Jared | Semrau | "FireEye, Inc." |
+| Jason | Masters | TELUS |
+| Jerome | Athias | Individual |
+| Jessica | Fitzgerald-McKay | National Security Agency |
+| Jonathan | Bitle | Kaiser Permanente |
+| Justin | Corlett | Cryptsoft Pty Ltd. |
+| Karen | Scarfone | Individual |
+| Kazuo | Noguchi | "Hitachi, Ltd." |
+| Kent | Landfield | McAfee |
+| Lothar | Braun | Siemens AG |
+| Louis | Ronnau | Cisco Systems |
+| Mark | Davidson | NC4 |
+| Mark-David | McLaughlin | Cisco Systems |
+| Masato | Terada | "Hitachi, Ltd." |
+| Masood | Nasir | TELUS |
+| Nicole | Gong | Mitre Corporation |
+| Omar | Santos | Cisco Systems |
+| Patrick | Maroney | Wapack Labs LLC |
+| Paul | Patrick | "FireEye, Inc." |
+| Peter | Allor | IBM |
+| Phillip | Boles | "FireEye, Inc." |
+| Ravi | Balupari | Netskope |
+| Rich | Reybok | ServiceNow |
+| Richard | Struse | DHS Office of Cybersecurity and Communications (CS&C) |
+| Ritwik | Ghoshal | Oracle |
+| Robert | Coderre | VeriSign |
+| Robin | Cover | OASIS |
+| Rupert | Wimmer | Siemens AG |
+| Sanjiv | Kalkar | Individual |
+| Sean | Barnum | Mitre Corporation |
+| Stefan | Hagen | Individual |
+| Ted | Bedwell | Cisco Systems |
+| Thomas | Schreck | Siemens AG |
+| Tim | Hudson | Cryptsoft Pty Ltd. |
+| Tony | Cox | Cryptsoft Pty Ltd. |
+| Trey | Darley | "Kingfisher Operations, sprl" |
+| Vincent | Danen | Red Hat |
+| Zach | Turk | Microsoft |
+
+-------
+
+# Appendix B. Revision History
+
+| Revision | Date | Editor | Changes Made |
+|:-------------------------|:-----------|:--------------------------------|:--------------------------------------------------------------------------------------|
+| csaf-v2.0-wd20240124-dev | 2024-01-24 | Stefan Hagen and Thomas Schmidt | Preparing initial Editor Revision |
+
+-------
+
+# Appendix C. Guidance on the Size of CSAF Documents
+
+This appendix provides informative guidance on the size of CSAF documents.
+
+The TC carefully considered all known aspects to provide size limits for CSAF documents for this version of the specification with
+the result that hard limits SHOULD NOT be enforced.
+However, since there is the need for guidance to ensure interoperability in the ecosystem, the TC provides a set of soft limits.
+A CSAF document which exceeds those, can still be valid but it might not be processable for some parties.
+
+All _CSAF consumers_ SHOULD be able to process CSAF documents which comply with the limits below.
+All _CSAF producers_ SHOULD NOT produce CSAF documents which exceed those limits.
+
+> If you come across a case where these limits are exceeded, please provide feedback to the TC.
+
+## C.1 File size
+
+A CSAF document in the specified JSON format encoded in UTF-8 SHOULD conform to known size limits of current technologies parsing JSON content,
+e.g.: 15 MB.
+
+> At least one database technology in wide use for storing CSAF documents rejects insert attempts when
+> the transformed BSON size exceeds 16 megabytes.
+> The BSON format optimizes for accessibility and not size.
+> So, small integers and small strings may incur more overhead in the BSON format than in JSON.
+> In addition, the BSON format adds length information for the entries inside the document,
+> which adds to the size when storing CSAF document content in a BSON format.
+
+## C.2 Array length
+
+An array SHOULD NOT have more than:
+
+* 10 000 items for
+ * `/document/acknowledgments`
+ * `/document/acknowledgments[]/names`
+ * `/document/acknowledgments[]/urls`
+ * `/document/tracking/aliases`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/branches[]/product/product_identification_helper/sbom_urls`
+ * `/product_tree/branches[]/product/product_identification_helper/x_generic_uris`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/full_product_names[]/product_identification_helper/sbom_urls`
+ * `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris`
+ * `/vulnerabilities[]/acknowledgments`
+ * `/vulnerabilities[]/acknowledgments[]/names`
+ * `/vulnerabilities[]/acknowledgments[]/urls`
+ * `/vulnerabilities[]/ids`
+ * `/vulnerabilities[]/remediations[]/entitlements`
+
+* 40 000 items for
+ * `/document/notes`
+ * `/document/references`
+ * `/vulnerabilities[]/involvements`
+ * `/vulnerabilities[]/notes`
+ * `/vulnerabilities[]/references`
+
+* 100 000 for
+ * `/document/tracking/revision_history`
+ * `/product_tree/branches`
+ * `/product_tree(/branches[])*/branches`
+ * `/product_tree/branches[]/product/product_identification_helper/model_numbers`
+ * `/product_tree/branches[]/product/product_identification_helper/serial_numbers`
+ * `/product_tree/branches[]/product/product_identification_helper/skus`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/skus`
+ * `/product_tree/full_product_names`
+ * `/product_tree/full_product_names[]/product_identification_helper/model_numbers`
+ * `/product_tree/full_product_names[]/product_identification_helper/serial_numbers`
+ * `/product_tree/full_product_names[]/product_identification_helper/skus`
+ * `/product_tree/product_groups[]/product_ids`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/skus`
+ * `/vulnerabilities`
+
+* 10 000 000 for
+ * `/product_tree/relationships`
+ * `/product_tree/product_groups`
+ * `/vulnerabilities[]/remediations[]/group_ids`
+
+* 100 000 000 for
+ * `/vulnerabilities[]/flags`
+ * `/vulnerabilities[]/flags[]/group_ids`
+ * `/vulnerabilities[]/flags[]/product_ids`
+ * `/vulnerabilities[]/product_status/first_affected`
+ * `/vulnerabilities[]/product_status/first_fixed`
+ * `/vulnerabilities[]/product_status/fixed`
+ * `/vulnerabilities[]/product_status/known_affected`
+ * `/vulnerabilities[]/product_status/known_not_affected`
+ * `/vulnerabilities[]/product_status/last_affected`
+ * `/vulnerabilities[]/product_status/recommended`
+ * `/vulnerabilities[]/product_status/under_investigation`
+ * `/vulnerabilities[]/remediations`
+ * `/vulnerabilities[]/remediations[]/product_ids`
+ * `/vulnerabilities[]/scores`
+ * `/vulnerabilities[]/scores[]/products`
+ * `/vulnerabilities[]/threats`
+ * `/vulnerabilities[]/threats[]/group_ids`
+ * `/vulnerabilities[]/threats[]/product_ids`
+
+## C.3 String length
+
+A string SHOULD NOT have a length greater than:
+
+* 1000 for
+ * `/document/acknowledgments[]/names[]`
+ * `/document/acknowledgments[]/organization`
+ * `/document/aggregate_severity/text`
+ * `/document/category`
+ * `/document/lang`
+ * `/document/notes[]/audience`
+ * `/document/notes[]/title`
+ * `/document/publisher/name`
+ * `/document/source_lang`
+ * `/document/title`
+ * `/document/tracking/aliases[]`
+ * `/document/tracking/generator/engine/name`
+ * `/document/tracking/generator/engine/version`
+ * `/document/tracking/id`
+ * `/document/tracking/revision_history[]/legacy_version`
+ * `/document/tracking/revision_history[]/number`
+ * `/document/tracking/version`
+ * `/product_tree/branches[]/name`
+ * `/product_tree/branches[]/product/name`
+ * `/product_tree/branches[]/product/product_id`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/branches[]/product/product_identification_helper/hashes[]/filename`
+ * `/product_tree/branches[]/product/product_identification_helper/model_numbers[]`
+ * `/product_tree/branches[]/product/product_identification_helper/serial_numbers[]`
+ * `/product_tree/branches[]/product/product_identification_helper/skus[]`
+ * `/product_tree/branches[](/branches[])*/name`
+ * `/product_tree/branches[](/branches[])*/product/name`
+ * `/product_tree/branches[](/branches[])*/product/product_id`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/hashes[]/filename`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/model_numbers[]`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/serial_numbers[]`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/skus[]`
+ * `/product_tree/full_product_names[]/name`
+ * `/product_tree/full_product_names[]/product_id`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/full_product_names[]/product_identification_helper/hashes[]/filename`
+ * `/product_tree/full_product_names[]/product_identification_helper/model_numbers[]`
+ * `/product_tree/full_product_names[]/product_identification_helper/serial_numbers[]`
+ * `/product_tree/full_product_names[]/product_identification_helper/skus[]`
+ * `/product_tree/product_groups[]/group_id`
+ * `/product_tree/product_groups[]/product_ids[]`
+ * `/product_tree/relationships[]/full_product_name/name`
+ * `/product_tree/relationships[]/full_product_name/product_id`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/algorithm`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/file_hashes[]/value`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/hashes[]/filename`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/model_numbers[]`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/serial_numbers[]`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/skus[]`
+ * `/product_tree/relationships[]/product_reference`
+ * `/product_tree/relationships[]/relates_to_product_reference`
+ * `/vulnerabilities[]/acknowledgments[]/names[]`
+ * `/vulnerabilities[]/acknowledgments[]/organization`
+ * `/vulnerabilities[]/cve`
+ * `/vulnerabilities[]/cwe/id`
+ * `/vulnerabilities[]/cwe/name`
+ * `/vulnerabilities[]/flags[]/group_ids[]`
+ * `/vulnerabilities[]/flags[]/product_ids[]`
+ * `/vulnerabilities[]/ids[]/system_name`
+ * `/vulnerabilities[]/ids[]/text`
+ * `/vulnerabilities[]/notes[]/audience`
+ * `/vulnerabilities[]/notes[]/title`
+ * `/vulnerabilities[]/product_status/first_affected[]`
+ * `/vulnerabilities[]/product_status/first_fixed[]`
+ * `/vulnerabilities[]/product_status/fixed[]`
+ * `/vulnerabilities[]/product_status/known_affected[]`
+ * `/vulnerabilities[]/product_status/known_not_affected[]`
+ * `/vulnerabilities[]/product_status/last_affected[]`
+ * `/vulnerabilities[]/product_status/recommended[]`
+ * `/vulnerabilities[]/product_status/under_investigation[]`
+ * `/vulnerabilities[]/remediations[]/group_ids[]`
+ * `/vulnerabilities[]/remediations[]/product_ids[]`
+ * `/vulnerabilities[]/scores[]/cvss_v2/vectorString`
+ * `/vulnerabilities[]/scores[]/cvss_v3/vectorString`
+ * `/vulnerabilities[]/scores[]/products[]`
+ * `/vulnerabilities[]/threats[]/group_ids[]`
+ * `/vulnerabilities[]/threats[]/product_ids[]`
+ * `/vulnerabilities[]/title`
+
+* 10 000 for
+ * `/document/acknowledgments[]/summary`
+ * `/document/distribution/text`
+ * `/document/publisher/contact_details`
+ * `/document/publisher/issuing_authority`
+ * `/document/references[]/summary`
+ * `/document/tracking/revision_history[]/summary`
+ * `/product_tree/branches[]/product/product_identification_helper/cpe`
+ * `/product_tree/branches[]/product/product_identification_helper/purl`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/cpe`
+ * `/product_tree/branches[](/branches[])*/product/product_identification_helper/purl`
+ * `/product_tree/full_product_names[]/product_identification_helper/cpe`
+ * `/product_tree/full_product_names[]/product_identification_helper/purl`
+ * `/product_tree/product_groups[]/summary`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/cpe`
+ * `/product_tree/relationships[]/full_product_name/product_identification_helper/purl`
+ * `/vulnerabilities[]/acknowledgments[]/summary`
+ * `/vulnerabilities[]/involvements[]/summary`
+ * `/vulnerabilities[]/references[]/summary`
+ * `/vulnerabilities[]/remediations[]/entitlements[]`
+
+* 30 000 for
+ * `/document/notes[]/text`
+ * `/vulnerabilities[]/notes[]/text`
+
+* 250 000 for
+ * `/vulnerabilities[]/remediations[]/details`
+ * `/vulnerabilities[]/remediations[]/restart_required/details`
+ * `/vulnerabilities[]/threats[]/details`
+
+## C.4 URI length
+
+A string with format `uri` SHOULD NOT have a length greater than 20000. This applies to:
+
+* `/document/acknowledgments[]/urls[]`
+* `/document/aggregate_severity/namespace`
+* `/document/distribution/tlp/url`
+* `/document/references[]/url`
+* `/document/publisher/namespace`
+* `/product_tree/branches[]/product/product_identification_helper/sbom_urls[]`
+* `/product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/branches[]/product/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/sbom_urls[]`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/branches[](/branches[])*/product/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/full_product_names[]/product_identification_helper/sbom_urls[]`
+* `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/full_product_names[]/product_identification_helper/x_generic_uris[]/uri`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/sbom_urls[]`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/namespace`
+* `/product_tree/relationships[]/full_product_name/product_identification_helper/x_generic_uris[]/uri`
+* `/vulnerabilities[]/acknowledgments[]/urls[]`
+* `/vulnerabilities[]/references[]/url`
+* `/vulnerabilities[]/remediations[]/url`
+
+## C.5 Enum
+
+A string which is an enum has a fixed maximum length given by its longest value.
+
+> Later versions of CSAF might add, modify or delete possible value which could change the longest value.
+> Therefore, this sizes should not be implemented as fixed limits if forward compatibility is desired.
+
+It seems to be safe to assume that the length of each value is not greater than 50. This applies to:
+
+* `/document/csaf_version` (3)
+* `/document/distribution/tlp/label` (5)
+* `/document/notes[]/category` (16)
+* `/document/publisher/category` (11)
+* `/document/references[]/category` (8)
+* `/document/tracking/status` (7)
+* `/product_tree/branches[]/category` (15)
+* `/product_tree/branches[](/branches[])*/category` (15)
+* `/product_tree/relationships[]/category` (21)
+* `/vulnerabilities[]/flags[]/label` (49)
+* `/vulnerabilities[]/involvements[]/party` (11)
+* `/vulnerabilities[]/involvements[]/status` (17)
+* `/vulnerabilities[]/notes[]/category` (16)
+* `/vulnerabilities[]/references[]/category` (8)
+* `/vulnerabilities[]/remediations[]/category` (14)
+* `/vulnerabilities[]/remediations[]/restart_required/category` (20)
+* `/vulnerabilities[]/scores[]/cvss_v2/version` (3)
+* `/vulnerabilities[]/scores[]/cvss_v2/accessVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v2/accessComplexity` (6)
+* `/vulnerabilities[]/scores[]/cvss_v2/authentication` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/confidentialityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/integrityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/availabilityImpact` (8)
+* `/vulnerabilities[]/scores[]/cvss_v2/exploitability` (16)
+* `/vulnerabilities[]/scores[]/cvss_v2/remediationLevel` (13)
+* `/vulnerabilities[]/scores[]/cvss_v2/reportConfidence` (14)
+* `/vulnerabilities[]/scores[]/cvss_v2/collateralDamagePotential` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/targetDistribution` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/confidentialityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/integrityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v2/availabilityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/version` (3)
+* `/vulnerabilities[]/scores[]/cvss_v3/attackVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/attackComplexity` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/privilegesRequired` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/userInteraction` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/scope` (9)
+* `/vulnerabilities[]/scores[]/cvss_v3/confidentialityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/integrityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/availabilityImpact` (4)
+* `/vulnerabilities[]/scores[]/cvss_v3/baseSeverity` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/exploitCodeMaturity` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/remediationLevel` (13)
+* `/vulnerabilities[]/scores[]/cvss_v3/reportConfidence` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/temporalSeverity` (8)
+* `/vulnerabilities[]/scores[]/cvss_v3/confidentialityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/integrityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/availabilityRequirement` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAttackVector` (16)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAttackComplexity` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedPrivilegesRequired` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedUserInteraction` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedScope` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedConfidentialityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedIntegrityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/modifiedAvailabilityImpact` (11)
+* `/vulnerabilities[]/scores[]/cvss_v3/environmentalSeverity` (8)
+* `/vulnerabilities[]/threats[]/category` (14)
+
+## C.6 Date
+
+The maximum length of strings representing a temporal value is given by the format specifier. This applies to:
+
+* `/document/tracking/current_release_date`
+* `/document/tracking/generator/date`
+* `/document/tracking/initial_release_date`
+* `/document/tracking/revision_history[]/date`
+* `/vulnerabilities[]/discovery_date`
+* `/vulnerabilities[]/flags[]/date`
+* `/vulnerabilities[]/release_date`
+* `/vulnerabilities[]/involvements[]/date`
+* `/vulnerabilities[]/remediations[]/date`
+* `/vulnerabilities[]/threats[]/date`
diff --git a/csaf_2.1/prose/share/style/README.md b/csaf_2.1/prose/share/style/README.md
new file mode 100644
index 00000000..2f1550a0
--- /dev/null
+++ b/csaf_2.1/prose/share/style/README.md
@@ -0,0 +1,65 @@
+# README - style
+
+We define the styles for HTML construction per a base stylesheet derived from
+the OASIS initial provisioned stylesheet (cf. below "Changes") and name the
+file containing these base CSS style definitions `base.css`.
+
+We add the style layer that provides most of the look of published OASIS workproducts
+per the local stylesheet `skin.css`.
+
+## Changes
+
+We started from
+and then added custom styles to maintain a clean normative source in markdown and stiil
+produce an easy to navigate and read HTML format document.
+
+Later we added the `markdown-styles-v1.7.3b.css` stylesheet, a customization from Heiko Theißen
+of the OData TC that adds local fonts to the OASIS provisioned stylesheet and is available at
+.
+The change is documented at
+while the real changes are per:
+
+within the old file (name with the `a`).
+
+As a service:
+
+```diff
+--- markdown-styles-v1.7.3a.css 2023-12-09 13:11:55
++++ markdown-styles-v1.7.3b.css 2023-12-09 13:30:03
+@@ -12,11 +12,12 @@
+ /* pk 2019-05-23 - v1.7.2 (based on 1.7.1) changed monospace "code" font to Courier New */
+ /* pk 2019-08-01 - v1.7.3 substitute PostScript name for fonts (LiberationSans for "Liberation Sans" and CourierNew for "Courier New") to address a flaw in "wkhtmltopdf" which rendered all text as bold. Changed "bigtitle" to "h1big"*/
+ /* dk 2020-10-21 - v1.7.3a (unofficial for jadn, based on 1.7.3) update block quotes and code blocks */
++/* Heiko Theißen 2023-06-02 - v1.7.3b (unofficial for odata-data-aggregation-ext, based on v1.7.3a) include local font names "Liberation Sans" and "Courier New" */
+
+ body {
+ margin-left: 3pc;
+ margin-right: 3pc;
+- font-family: LiberationSans, Arial, Helvetica, sans-serif;
++ font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;
+ font-size:12pt;
+ line-height:1.2;
+ }
+@@ -26,10 +27,10 @@
+ /* styles for section headings - levels 1-5 (maybe include heading1, etc. later) */
+ h1{font-size:18pt}h2{font-size:14pt}h3{font-size:13pt}h4{font-size:12pt}h5{font-size:11pt}
+ h1big{font-size: 24pt}
+-h1,h2,h3,h4,h5,h1big{font-family: LiberationSans, Arial, Helvetica, sans-serif;font-weight: bold;margin:8pt 0;color: #446CAA}
++h1,h2,h3,h4,h5,h1big{font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;font-weight: bold;margin:8pt 0;color: #446CAA}
+ /* style for h6, for use as Reference tag */
+ h6{font-size:12pt; line-height:1.0}
+-h6{font-family: LiberationSans, Arial, Helvetica, sans-serif;font-weight: bold;margin:0pt;}
++h6{font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;font-weight: bold;margin:0pt;}
+ /* not needed - can just use brackets in the label itself */
+ /* h6::before {content: "["} */
+ /* h6::after {content: "]"} */
+@@ -72,7 +73,7 @@
+ }
+
+ code,kbd,samp{
+- font-family:CourierNew, monospace;
++ font-family:CourierNew, "Courier New", monospace;
+ white-space: pre-wrap;
+ font-size: 10pt;
+ }
+```
diff --git a/csaf_2.1/prose/share/style/base.css b/csaf_2.1/prose/share/style/base.css
new file mode 100644
index 00000000..f102f0ac
--- /dev/null
+++ b/csaf_2.1/prose/share/style/base.css
@@ -0,0 +1,91 @@
+/* OASIS specification styles for HTML generated from Markdown or similar sources */
+/* usually used after basic w3.css */
+/* Paul Knight 2018-09-27 */
+/* pk 2018-10-01 - v1.2 reduced section header and title (h*) font sizes */
+/* pk 2018-10-02 - v1.3 added right margin; allowed text wrapping in code blocks and scrolling for overflowing text */
+/* pk 2018-10-19 - v1.4 added display:inline to avoid page-wide background coloring */
+/* pk 2018-10-25 - v1.5 added use of as citation tag for References section or elsewhere */
+/* pk 2018-10-26 - v1.5.1 (experimental) and v1.6 added use of as a page break when generating PDF from the HTML */
+/* pk 2018-11-14 - v1.6.1 - lighter gray background color for code blocks */
+/* pk 2019-02-18 - v1.7 - Use Liberation Sans and Liberation Mono fonts if possible */
+/* pk 2019-02-18 - v1.7.1 (experimental) changed px to pt (and reduced numbers) for fonts and tables; added bigtitle style */
+/* pk 2019-05-23 - v1.7.2 (based on 1.7.1) changed monospace "code" font to Courier New */
+/* pk 2019-08-01 - v1.7.3 substitute PostScript name for fonts (LiberationSans for "Liberation Sans" and CourierNew for "Courier New") to address a flaw in "wkhtmltopdf" which rendered all text as bold. Changed "bigtitle" to "h1big"*/
+/* dk 2020-10-21 - v1.7.3a (unofficial for jadn, based on 1.7.3) update block quotes and code blocks */
+/* Heiko Theißen 2023-06-02 - v1.7.3b (unofficial for odata-data-aggregation-ext, based on v1.7.3a) include local font names "Liberation Sans" and "Courier New" */
+
+body {
+ margin-left: 3pc;
+ margin-right: 3pc;
+ font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;
+ font-size:12pt;
+ line-height:1.2;
+ }
+
+html{overflow-x:auto}
+
+ /* styles for section headings - levels 1-5 (maybe include heading1, etc. later) */
+h1{font-size:18pt}h2{font-size:14pt}h3{font-size:13pt}h4{font-size:12pt}h5{font-size:11pt}
+h1big{font-size: 24pt}
+h1,h2,h3,h4,h5,h1big{font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;font-weight: bold;margin:8pt 0;color: #446CAA}
+ /* style for h6, for use as Reference tag */
+h6{font-size:12pt; line-height:1.0}
+h6{font-family: LiberationSans, "Liberation Sans", Arial, Helvetica, sans-serif;font-weight: bold;margin:0pt;}
+ /* not needed - can just use brackets in the label itself */
+ /* h6::before {content: "["} */
+ /* h6::after {content: "]"} */
+
+ /* style for hr to insert a page break before each ruled line (generated in markdown by 3 or more hyphens alone on a line) */
+hr{page-break-before: always;}
+
+
+/* Table styles - bordered with option for striped */
+table {
+ border-collapse: collapse;
+}
+
+table {
+ border-collapse:collapse;
+ border-spacing:0;
+ width:100%;
+ display:table;
+ font-size:12pt;
+ margin-top: 6pt;
+ }
+
+table, th, td {
+ border: 1pt solid black;
+ padding:6pt 6pt;
+ text-align:left;
+ vertical-align:top;
+}
+th {
+ color:#ffffff;
+ background-color: #446CAA;
+ }
+ /* "table-striped" tag is not generated by pandoc - add manually in HTML if wanted */
+.table-striped tbody tr:nth-child(even){background-color:#d6f3ff}
+
+/* style for code blocks */
+pre {
+ background-color:#f0f0f0;
+ padding: 6px;
+}
+
+code,kbd,samp{
+ font-family:CourierNew, "Courier New", monospace;
+ white-space: pre-wrap;
+ font-size: 10pt;
+}
+
+/* offset block quote */
+blockquote {
+ background-color:#f0f0f0;
+ padding-left: 10px;
+ border-left: solid lightgray 6px;
+}
+
+/* space bullets a bit */
+li {
+ margin: 3px 0;
+}
diff --git a/csaf_2.1/prose/share/style/skin.css b/csaf_2.1/prose/share/style/skin.css
new file mode 100644
index 00000000..fda4b096
--- /dev/null
+++ b/csaf_2.1/prose/share/style/skin.css
@@ -0,0 +1,205 @@
+code{white-space: pre-wrap;}
+span.smallcaps{font-variant: small-caps;}
+div.columns{display: flex; gap: min(4vw, 1.5em);}
+div.column{flex: auto; overflow-x: auto;}
+div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+/* The extra [class] is a hack that increases specificity enough to
+ override a similar rule in reveal.js */
+ul.task-list[class]{list-style: none;}
+ul.task-list li input[type="checkbox"] {
+ font-size: inherit;
+ width: 0.8em;
+ margin: 0 0.8em 0.2em -1.6em;
+ vertical-align: middle;
+}
+.display.math{display: block; text-align: center; margin: 0.5rem auto;}
+/* CSS for syntax highlighting */
+pre > code.sourceCode { white-space: pre; position: relative; }
+pre > code.sourceCode > span { line-height: 1.25; }
+pre > code.sourceCode > span:empty { height: 1.2em; }
+.sourceCode { overflow: visible; }
+code.sourceCode > span { color: inherit; text-decoration: inherit; }
+div.sourceCode { margin: 1em 0; }
+pre.sourceCode { margin: 0; }
+@media screen {
+div.sourceCode { overflow: auto; }
+}
+@media print {
+pre > code.sourceCode { white-space: pre-wrap; }
+pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
+}
+pre.numberSource code
+ { counter-reset: source-line 0; }
+pre.numberSource code > span
+ { position: relative; left: -4em; counter-increment: source-line; }
+pre.numberSource code > span > a:first-child::before
+ { content: counter(source-line);
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; display: inline-block;
+ -webkit-touch-callout: none; -webkit-user-select: none;
+ -khtml-user-select: none; -moz-user-select: none;
+ -ms-user-select: none; user-select: none;
+ padding: 0 4px; width: 4em;
+ color: #aaaaaa;
+ }
+pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
+div.sourceCode
+ { }
+@media screen {
+pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
+}
+code span.al { color: #ff0000; font-weight: bold; } /* Alert */
+code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
+code span.at { color: #7d9029; } /* Attribute */
+code span.bn { color: #40a070; } /* BaseN */
+code span.bu { color: #008000; } /* BuiltIn */
+code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
+code span.ch { color: #4070a0; } /* Char */
+code span.cn { color: #880000; } /* Constant */
+code span.co { color: #60a0b0; font-style: italic; } /* Comment */
+code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
+code span.do { color: #ba2121; font-style: italic; } /* Documentation */
+code span.dt { color: #902000; } /* DataType */
+/*xxx code span.dv { color: #40a070; } xxx*//* DecVal */
+/*xxx code span.er { color: #ff0000; font-weight: bold; } xxx*//* Error */
+code span.ex { } /* Extension */
+/*xxx code span.fl { color: #40a070; } xxx*//* Float */
+code span.fu { color: #06287e; } /* Function */
+code span.im { color: #008000; font-weight: bold; } /* Import */
+code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
+code span.kw { color: #007020; font-weight: bold; } /* Keyword */
+code span.op { color: #666666; } /* Operator */
+code span.ot { color: #007020; } /* Other */
+code span.pp { color: #bc7a00; } /* Preprocessor */
+code span.sc { color: #4070a0; } /* SpecialChar */
+code span.ss { color: #bb6688; } /* SpecialString */
+code span.st { color: #4070a0; } /* String */
+code span.va { color: #19177c; } /* Variable */
+code span.vs { color: #4070a0; } /* VerbatimString */
+code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+
+code span.dv { color: #000000; } /* DecVal */
+code span.er { color: #000000; } /* Error */
+code span.fl { color: #000000; } /* Float */
+
+p {
+ margin-top:4.0pt;
+ margin-right:0in;
+ margin-bottom:4.0pt;
+ margin-left:0in;
+ font-size:10.0pt;
+ font-family:"Liberation Sans",sans-serif;
+}
+p.title, li.title, div.title {
+ margin-top:0in;
+ margin-right:0in;
+ margin-bottom:10.0pt;
+ margin-left:0in;
+ border:none;
+ padding:0in;
+ font-size:24.0pt;
+ font-family:"Liberation Sans",sans-serif;
+ color:#446CAA;
+ font-weight:bold;
+}
+p.sub-title, li.sub-title, div.sub-title {
+ margin-top:0in;
+ margin-right:0in;
+ margin-bottom:10.0pt;
+ margin-left:0in;
+ border:none;
+ padding:0in;
+ font-size:18.0pt;
+ font-family:"Liberation Sans",sans-serif;
+ color:#446CAA;
+ font-weight:bold;
+}
+p.titlepage-info, li.titlepage-info, div.titlepage-info {
+ margin-top:6.0pt;
+ margin-right:0in;
+ margin-bottom:0in;
+ margin-left:0in;
+ page-break-after:avoid;
+ font-size:10.0pt;
+ font-family:"Liberation Sans",sans-serif;
+ color:#446CAA;
+ font-weight:bold;
+}
+
+p.notices, li.notices, div.notices {
+ margin-top:0in;
+ margin-right:0in;
+ margin-bottom:10.0pt;
+ margin-left:0in;
+ page-break-before:always;
+ border:none;
+ padding:0in;
+ font-size:18.0pt;
+ font-family:"Liberation Sans",sans-serif;
+ color:#446CAA;
+ font-weight:bold;
+}
+
+p.dense {
+ line-height: 1.2;
+}
+
+a {
+ text-decoration: none;
+}
+
+dt {
+ font-weight: bold;
+}
+
+@counter-style offset-1 {
+ system: numeric;
+ prefix: "1.";
+}
+
+@counter-style offset-2 {
+ system: numeric;
+ prefix: "2.";
+}
+
+ol.toc-1 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: -2.5em;
+ font-size: 1rem;
+}
+
+ol.toc-2 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: -1.8em;
+ font-size: 0.9rem;
+}
+
+ol.toc-3 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: -1.2em;
+ font-size: 0.8rem;
+}
+
+ol.toc-4 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: -0.6em;
+ font-size: 0.7rem;
+}
+
+ol.toc-5 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: -0.2em;
+ font-size: 0.7rem;
+}
+
+ol.toc-6 {
+ list-style-type: none;
+ list-style-position: outside;
+ margin-left: 0.1em;
+ font-size: 0.7rem;
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v2.0.json b/csaf_2.1/referenced_schema/first/cvss-v2.0.json
new file mode 100644
index 00000000..efe9917a
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v2.0.json
@@ -0,0 +1,104 @@
+{
+ "license": [
+ "Copyright (c) 2017, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "JSON Schema for Common Vulnerability Scoring System version 2.0",
+ "id": "https://www.first.org/cvss/cvss-v2.0.json?20170531",
+ "type": "object",
+ "definitions": {
+ "accessVectorType": {
+ "type": "string",
+ "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL" ]
+ },
+ "accessComplexityType": {
+ "type": "string",
+ "enum": [ "HIGH", "MEDIUM", "LOW" ]
+ },
+ "authenticationType": {
+ "type": "string",
+ "enum": [ "MULTIPLE", "SINGLE", "NONE" ]
+ },
+ "ciaType": {
+ "type": "string",
+ "enum": [ "NONE", "PARTIAL", "COMPLETE" ]
+ },
+ "exploitabilityType": {
+ "type": "string",
+ "enum": [ "UNPROVEN", "PROOF_OF_CONCEPT", "FUNCTIONAL", "HIGH", "NOT_DEFINED" ]
+ },
+ "remediationLevelType": {
+ "type": "string",
+ "enum": [ "OFFICIAL_FIX", "TEMPORARY_FIX", "WORKAROUND", "UNAVAILABLE", "NOT_DEFINED" ]
+ },
+ "reportConfidenceType": {
+ "type": "string",
+ "enum": [ "UNCONFIRMED", "UNCORROBORATED", "CONFIRMED", "NOT_DEFINED" ]
+ },
+ "collateralDamagePotentialType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "LOW_MEDIUM", "MEDIUM_HIGH", "HIGH", "NOT_DEFINED" ]
+ },
+ "targetDistributionType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
+ },
+ "ciaRequirementType": {
+ "type": "string",
+ "enum": [ "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
+ },
+ "scoreType": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 10
+ }
+ },
+ "properties": {
+ "version": {
+ "description": "CVSS Version",
+ "type": "string",
+ "enum": [ "2.0" ]
+ },
+ "vectorString": {
+ "type": "string",
+ "pattern": "^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"
+ },
+ "accessVector": { "$ref": "#/definitions/accessVectorType" },
+ "accessComplexity": { "$ref": "#/definitions/accessComplexityType" },
+ "authentication": { "$ref": "#/definitions/authenticationType" },
+ "confidentialityImpact": { "$ref": "#/definitions/ciaType" },
+ "integrityImpact": { "$ref": "#/definitions/ciaType" },
+ "availabilityImpact": { "$ref": "#/definitions/ciaType" },
+ "baseScore": { "$ref": "#/definitions/scoreType" },
+ "exploitability": { "$ref": "#/definitions/exploitabilityType" },
+ "remediationLevel": { "$ref": "#/definitions/remediationLevelType" },
+ "reportConfidence": { "$ref": "#/definitions/reportConfidenceType" },
+ "temporalScore": { "$ref": "#/definitions/scoreType" },
+ "collateralDamagePotential": { "$ref": "#/definitions/collateralDamagePotentialType" },
+ "targetDistribution": { "$ref": "#/definitions/targetDistributionType" },
+ "confidentialityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "integrityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "availabilityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "environmentalScore": { "$ref": "#/definitions/scoreType" }
+ },
+ "required": [ "version", "vectorString", "baseScore" ]
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json b/csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
new file mode 100644
index 00000000..ec74f1af
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
@@ -0,0 +1,195 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "additionalProperties": false,
+ "definitions": {
+ "accessComplexityType": {
+ "enum": [
+ "HIGH",
+ "MEDIUM",
+ "LOW"
+ ],
+ "type": "string"
+ },
+ "accessVectorType": {
+ "enum": [
+ "NETWORK",
+ "ADJACENT_NETWORK",
+ "LOCAL"
+ ],
+ "type": "string"
+ },
+ "authenticationType": {
+ "enum": [
+ "MULTIPLE",
+ "SINGLE",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "ciaRequirementType": {
+ "enum": [
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "ciaType": {
+ "enum": [
+ "NONE",
+ "PARTIAL",
+ "COMPLETE"
+ ],
+ "type": "string"
+ },
+ "collateralDamagePotentialType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "LOW_MEDIUM",
+ "MEDIUM_HIGH",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "exploitabilityType": {
+ "enum": [
+ "UNPROVEN",
+ "PROOF_OF_CONCEPT",
+ "FUNCTIONAL",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "remediationLevelType": {
+ "enum": [
+ "OFFICIAL_FIX",
+ "TEMPORARY_FIX",
+ "WORKAROUND",
+ "UNAVAILABLE",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "reportConfidenceType": {
+ "enum": [
+ "UNCONFIRMED",
+ "UNCORROBORATED",
+ "CONFIRMED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "scoreType": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "number"
+ },
+ "targetDistributionType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ }
+ },
+ "id": "https://www.first.org/cvss/cvss-v2.0.json?20170531",
+ "license": [
+ "Copyright (c) 2017, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+ "properties": {
+ "accessComplexity": {
+ "$ref": "#/definitions/accessComplexityType"
+ },
+ "accessVector": {
+ "$ref": "#/definitions/accessVectorType"
+ },
+ "authentication": {
+ "$ref": "#/definitions/authenticationType"
+ },
+ "availabilityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "availabilityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "baseScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "collateralDamagePotential": {
+ "$ref": "#/definitions/collateralDamagePotentialType"
+ },
+ "confidentialityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "confidentialityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "environmentalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "exploitability": {
+ "$ref": "#/definitions/exploitabilityType"
+ },
+ "integrityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "integrityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "remediationLevel": {
+ "$ref": "#/definitions/remediationLevelType"
+ },
+ "reportConfidence": {
+ "$ref": "#/definitions/reportConfidenceType"
+ },
+ "targetDistribution": {
+ "$ref": "#/definitions/targetDistributionType"
+ },
+ "temporalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "vectorString": {
+ "pattern": "^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$",
+ "type": "string"
+ },
+ "version": {
+ "description": "CVSS Version",
+ "enum": [
+ "2.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "vectorString",
+ "baseScore"
+ ],
+ "title": "JSON Schema for Common Vulnerability Scoring System version 2.0",
+ "type": "object"
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v3.0.json b/csaf_2.1/referenced_schema/first/cvss-v3.0.json
new file mode 100644
index 00000000..af09ec62
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v3.0.json
@@ -0,0 +1,143 @@
+{
+ "license": [
+ "Copyright (c) 2017, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "JSON Schema for Common Vulnerability Scoring System version 3.0",
+ "id": "https://www.first.org/cvss/cvss-v3.0.json?20170531",
+ "type": "object",
+ "definitions": {
+ "attackVectorType": {
+ "type": "string",
+ "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL", "PHYSICAL" ]
+ },
+ "modifiedAttackVectorType": {
+ "type": "string",
+ "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL", "PHYSICAL", "NOT_DEFINED" ]
+ },
+ "attackComplexityType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW" ]
+ },
+ "modifiedAttackComplexityType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NOT_DEFINED" ]
+ },
+ "privilegesRequiredType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NONE" ]
+ },
+ "modifiedPrivilegesRequiredType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NONE", "NOT_DEFINED" ]
+ },
+ "userInteractionType": {
+ "type": "string",
+ "enum": [ "NONE", "REQUIRED" ]
+ },
+ "modifiedUserInteractionType": {
+ "type": "string",
+ "enum": [ "NONE", "REQUIRED", "NOT_DEFINED" ]
+ },
+ "scopeType": {
+ "type": "string",
+ "enum": [ "UNCHANGED", "CHANGED" ]
+ },
+ "modifiedScopeType": {
+ "type": "string",
+ "enum": [ "UNCHANGED", "CHANGED", "NOT_DEFINED" ]
+ },
+ "ciaType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "HIGH" ]
+ },
+ "modifiedCiaType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "HIGH", "NOT_DEFINED" ]
+ },
+ "exploitCodeMaturityType": {
+ "type": "string",
+ "enum": [ "UNPROVEN", "PROOF_OF_CONCEPT", "FUNCTIONAL", "HIGH", "NOT_DEFINED" ]
+ },
+ "remediationLevelType": {
+ "type": "string",
+ "enum": [ "OFFICIAL_FIX", "TEMPORARY_FIX", "WORKAROUND", "UNAVAILABLE", "NOT_DEFINED" ]
+ },
+ "confidenceType": {
+ "type": "string",
+ "enum": [ "UNKNOWN", "REASONABLE", "CONFIRMED", "NOT_DEFINED" ]
+ },
+ "ciaRequirementType": {
+ "type": "string",
+ "enum": [ "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
+ },
+ "scoreType": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 10
+ },
+ "severityType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL" ]
+ }
+ },
+ "properties": {
+ "version": {
+ "description": "CVSS Version",
+ "type": "string",
+ "enum": [ "3.0" ]
+ },
+ "vectorString": {
+ "type": "string",
+ "pattern": "^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"
+ },
+ "attackVector": { "$ref": "#/definitions/attackVectorType" },
+ "attackComplexity": { "$ref": "#/definitions/attackComplexityType" },
+ "privilegesRequired": { "$ref": "#/definitions/privilegesRequiredType" },
+ "userInteraction": { "$ref": "#/definitions/userInteractionType" },
+ "scope": { "$ref": "#/definitions/scopeType" },
+ "confidentialityImpact": { "$ref": "#/definitions/ciaType" },
+ "integrityImpact": { "$ref": "#/definitions/ciaType" },
+ "availabilityImpact": { "$ref": "#/definitions/ciaType" },
+ "baseScore": { "$ref": "#/definitions/scoreType" },
+ "baseSeverity": { "$ref": "#/definitions/severityType" },
+ "exploitCodeMaturity": { "$ref": "#/definitions/exploitCodeMaturityType" },
+ "remediationLevel": { "$ref": "#/definitions/remediationLevelType" },
+ "reportConfidence": { "$ref": "#/definitions/confidenceType" },
+ "temporalScore": { "$ref": "#/definitions/scoreType" },
+ "temporalSeverity": { "$ref": "#/definitions/severityType" },
+ "confidentialityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "integrityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "availabilityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "modifiedAttackVector": { "$ref": "#/definitions/modifiedAttackVectorType" },
+ "modifiedAttackComplexity": { "$ref": "#/definitions/modifiedAttackComplexityType" },
+ "modifiedPrivilegesRequired": { "$ref": "#/definitions/modifiedPrivilegesRequiredType" },
+ "modifiedUserInteraction": { "$ref": "#/definitions/modifiedUserInteractionType" },
+ "modifiedScope": { "$ref": "#/definitions/modifiedScopeType" },
+ "modifiedConfidentialityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "modifiedIntegrityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "modifiedAvailabilityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "environmentalScore": { "$ref": "#/definitions/scoreType" },
+ "environmentalSeverity": { "$ref": "#/definitions/severityType" }
+ },
+ "required": [ "version", "vectorString", "baseScore", "baseSeverity" ]
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json b/csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
new file mode 100644
index 00000000..ee97e9b8
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
@@ -0,0 +1,284 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "additionalProperties": false,
+ "definitions": {
+ "attackComplexityType": {
+ "enum": [
+ "HIGH",
+ "LOW"
+ ],
+ "type": "string"
+ },
+ "attackVectorType": {
+ "enum": [
+ "NETWORK",
+ "ADJACENT_NETWORK",
+ "LOCAL",
+ "PHYSICAL"
+ ],
+ "type": "string"
+ },
+ "ciaRequirementType": {
+ "enum": [
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "ciaType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "HIGH"
+ ],
+ "type": "string"
+ },
+ "confidenceType": {
+ "enum": [
+ "UNKNOWN",
+ "REASONABLE",
+ "CONFIRMED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "exploitCodeMaturityType": {
+ "enum": [
+ "UNPROVEN",
+ "PROOF_OF_CONCEPT",
+ "FUNCTIONAL",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedAttackComplexityType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedAttackVectorType": {
+ "enum": [
+ "NETWORK",
+ "ADJACENT_NETWORK",
+ "LOCAL",
+ "PHYSICAL",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedCiaType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedPrivilegesRequiredType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NONE",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedScopeType": {
+ "enum": [
+ "UNCHANGED",
+ "CHANGED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedUserInteractionType": {
+ "enum": [
+ "NONE",
+ "REQUIRED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "privilegesRequiredType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "remediationLevelType": {
+ "enum": [
+ "OFFICIAL_FIX",
+ "TEMPORARY_FIX",
+ "WORKAROUND",
+ "UNAVAILABLE",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "scopeType": {
+ "enum": [
+ "UNCHANGED",
+ "CHANGED"
+ ],
+ "type": "string"
+ },
+ "scoreType": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "number"
+ },
+ "severityType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "CRITICAL"
+ ],
+ "type": "string"
+ },
+ "userInteractionType": {
+ "enum": [
+ "NONE",
+ "REQUIRED"
+ ],
+ "type": "string"
+ }
+ },
+ "id": "https://www.first.org/cvss/cvss-v3.0.json?20170531",
+ "license": [
+ "Copyright (c) 2017, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+ "properties": {
+ "attackComplexity": {
+ "$ref": "#/definitions/attackComplexityType"
+ },
+ "attackVector": {
+ "$ref": "#/definitions/attackVectorType"
+ },
+ "availabilityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "availabilityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "baseScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "baseSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "confidentialityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "confidentialityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "environmentalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "environmentalSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "exploitCodeMaturity": {
+ "$ref": "#/definitions/exploitCodeMaturityType"
+ },
+ "integrityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "integrityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "modifiedAttackComplexity": {
+ "$ref": "#/definitions/modifiedAttackComplexityType"
+ },
+ "modifiedAttackVector": {
+ "$ref": "#/definitions/modifiedAttackVectorType"
+ },
+ "modifiedAvailabilityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedConfidentialityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedIntegrityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedPrivilegesRequired": {
+ "$ref": "#/definitions/modifiedPrivilegesRequiredType"
+ },
+ "modifiedScope": {
+ "$ref": "#/definitions/modifiedScopeType"
+ },
+ "modifiedUserInteraction": {
+ "$ref": "#/definitions/modifiedUserInteractionType"
+ },
+ "privilegesRequired": {
+ "$ref": "#/definitions/privilegesRequiredType"
+ },
+ "remediationLevel": {
+ "$ref": "#/definitions/remediationLevelType"
+ },
+ "reportConfidence": {
+ "$ref": "#/definitions/confidenceType"
+ },
+ "scope": {
+ "$ref": "#/definitions/scopeType"
+ },
+ "temporalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "temporalSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "userInteraction": {
+ "$ref": "#/definitions/userInteractionType"
+ },
+ "vectorString": {
+ "pattern": "^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$",
+ "type": "string"
+ },
+ "version": {
+ "description": "CVSS Version",
+ "enum": [
+ "3.0"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "vectorString",
+ "baseScore",
+ "baseSeverity"
+ ],
+ "title": "JSON Schema for Common Vulnerability Scoring System version 3.0",
+ "type": "object"
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v3.1.json b/csaf_2.1/referenced_schema/first/cvss-v3.1.json
new file mode 100644
index 00000000..0c2b2dd3
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v3.1.json
@@ -0,0 +1,143 @@
+{
+ "license": [
+ "Copyright (c) 2021, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "title": "JSON Schema for Common Vulnerability Scoring System version 3.1",
+ "$id": "https://www.first.org/cvss/cvss-v3.1.json?20211103",
+ "type": "object",
+ "definitions": {
+ "attackVectorType": {
+ "type": "string",
+ "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL", "PHYSICAL" ]
+ },
+ "modifiedAttackVectorType": {
+ "type": "string",
+ "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL", "PHYSICAL", "NOT_DEFINED" ]
+ },
+ "attackComplexityType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW" ]
+ },
+ "modifiedAttackComplexityType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NOT_DEFINED" ]
+ },
+ "privilegesRequiredType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NONE" ]
+ },
+ "modifiedPrivilegesRequiredType": {
+ "type": "string",
+ "enum": [ "HIGH", "LOW", "NONE", "NOT_DEFINED" ]
+ },
+ "userInteractionType": {
+ "type": "string",
+ "enum": [ "NONE", "REQUIRED" ]
+ },
+ "modifiedUserInteractionType": {
+ "type": "string",
+ "enum": [ "NONE", "REQUIRED", "NOT_DEFINED" ]
+ },
+ "scopeType": {
+ "type": "string",
+ "enum": [ "UNCHANGED", "CHANGED" ]
+ },
+ "modifiedScopeType": {
+ "type": "string",
+ "enum": [ "UNCHANGED", "CHANGED", "NOT_DEFINED" ]
+ },
+ "ciaType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "HIGH" ]
+ },
+ "modifiedCiaType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "HIGH", "NOT_DEFINED" ]
+ },
+ "exploitCodeMaturityType": {
+ "type": "string",
+ "enum": [ "UNPROVEN", "PROOF_OF_CONCEPT", "FUNCTIONAL", "HIGH", "NOT_DEFINED" ]
+ },
+ "remediationLevelType": {
+ "type": "string",
+ "enum": [ "OFFICIAL_FIX", "TEMPORARY_FIX", "WORKAROUND", "UNAVAILABLE", "NOT_DEFINED" ]
+ },
+ "confidenceType": {
+ "type": "string",
+ "enum": [ "UNKNOWN", "REASONABLE", "CONFIRMED", "NOT_DEFINED" ]
+ },
+ "ciaRequirementType": {
+ "type": "string",
+ "enum": [ "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
+ },
+ "scoreType": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 10
+ },
+ "severityType": {
+ "type": "string",
+ "enum": [ "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL" ]
+ }
+ },
+ "properties": {
+ "version": {
+ "description": "CVSS Version",
+ "type": "string",
+ "enum": [ "3.1" ]
+ },
+ "vectorString": {
+ "type": "string",
+ "pattern": "^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"
+ },
+ "attackVector": { "$ref": "#/definitions/attackVectorType" },
+ "attackComplexity": { "$ref": "#/definitions/attackComplexityType" },
+ "privilegesRequired": { "$ref": "#/definitions/privilegesRequiredType" },
+ "userInteraction": { "$ref": "#/definitions/userInteractionType" },
+ "scope": { "$ref": "#/definitions/scopeType" },
+ "confidentialityImpact": { "$ref": "#/definitions/ciaType" },
+ "integrityImpact": { "$ref": "#/definitions/ciaType" },
+ "availabilityImpact": { "$ref": "#/definitions/ciaType" },
+ "baseScore": { "$ref": "#/definitions/scoreType" },
+ "baseSeverity": { "$ref": "#/definitions/severityType" },
+ "exploitCodeMaturity": { "$ref": "#/definitions/exploitCodeMaturityType" },
+ "remediationLevel": { "$ref": "#/definitions/remediationLevelType" },
+ "reportConfidence": { "$ref": "#/definitions/confidenceType" },
+ "temporalScore": { "$ref": "#/definitions/scoreType" },
+ "temporalSeverity": { "$ref": "#/definitions/severityType" },
+ "confidentialityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "integrityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "availabilityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
+ "modifiedAttackVector": { "$ref": "#/definitions/modifiedAttackVectorType" },
+ "modifiedAttackComplexity": { "$ref": "#/definitions/modifiedAttackComplexityType" },
+ "modifiedPrivilegesRequired": { "$ref": "#/definitions/modifiedPrivilegesRequiredType" },
+ "modifiedUserInteraction": { "$ref": "#/definitions/modifiedUserInteractionType" },
+ "modifiedScope": { "$ref": "#/definitions/modifiedScopeType" },
+ "modifiedConfidentialityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "modifiedIntegrityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "modifiedAvailabilityImpact": { "$ref": "#/definitions/modifiedCiaType" },
+ "environmentalScore": { "$ref": "#/definitions/scoreType" },
+ "environmentalSeverity": { "$ref": "#/definitions/severityType" }
+ },
+ "required": [ "version", "vectorString", "baseScore", "baseSeverity" ]
+}
diff --git a/csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json b/csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
new file mode 100644
index 00000000..8929048b
--- /dev/null
+++ b/csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
@@ -0,0 +1,284 @@
+{
+ "$id": "https://www.first.org/cvss/cvss-v3.1.json?20211103",
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "definitions": {
+ "attackComplexityType": {
+ "enum": [
+ "HIGH",
+ "LOW"
+ ],
+ "type": "string"
+ },
+ "attackVectorType": {
+ "enum": [
+ "NETWORK",
+ "ADJACENT_NETWORK",
+ "LOCAL",
+ "PHYSICAL"
+ ],
+ "type": "string"
+ },
+ "ciaRequirementType": {
+ "enum": [
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "ciaType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "HIGH"
+ ],
+ "type": "string"
+ },
+ "confidenceType": {
+ "enum": [
+ "UNKNOWN",
+ "REASONABLE",
+ "CONFIRMED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "exploitCodeMaturityType": {
+ "enum": [
+ "UNPROVEN",
+ "PROOF_OF_CONCEPT",
+ "FUNCTIONAL",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedAttackComplexityType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedAttackVectorType": {
+ "enum": [
+ "NETWORK",
+ "ADJACENT_NETWORK",
+ "LOCAL",
+ "PHYSICAL",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedCiaType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "HIGH",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedPrivilegesRequiredType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NONE",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedScopeType": {
+ "enum": [
+ "UNCHANGED",
+ "CHANGED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "modifiedUserInteractionType": {
+ "enum": [
+ "NONE",
+ "REQUIRED",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "privilegesRequiredType": {
+ "enum": [
+ "HIGH",
+ "LOW",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "remediationLevelType": {
+ "enum": [
+ "OFFICIAL_FIX",
+ "TEMPORARY_FIX",
+ "WORKAROUND",
+ "UNAVAILABLE",
+ "NOT_DEFINED"
+ ],
+ "type": "string"
+ },
+ "scopeType": {
+ "enum": [
+ "UNCHANGED",
+ "CHANGED"
+ ],
+ "type": "string"
+ },
+ "scoreType": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "number"
+ },
+ "severityType": {
+ "enum": [
+ "NONE",
+ "LOW",
+ "MEDIUM",
+ "HIGH",
+ "CRITICAL"
+ ],
+ "type": "string"
+ },
+ "userInteractionType": {
+ "enum": [
+ "NONE",
+ "REQUIRED"
+ ],
+ "type": "string"
+ }
+ },
+ "license": [
+ "Copyright (c) 2021, FIRST.ORG, INC.",
+ "All rights reserved.",
+ "",
+ "Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
+ "following conditions are met:",
+ "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
+ " disclaimer.",
+ "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
+ " following disclaimer in the documentation and/or other materials provided with the distribution.",
+ "3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
+ " products derived from this software without specific prior written permission.",
+ "",
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
+ "INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
+ "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
+ "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
+ "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
+ "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
+ "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ],
+ "properties": {
+ "attackComplexity": {
+ "$ref": "#/definitions/attackComplexityType"
+ },
+ "attackVector": {
+ "$ref": "#/definitions/attackVectorType"
+ },
+ "availabilityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "availabilityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "baseScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "baseSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "confidentialityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "confidentialityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "environmentalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "environmentalSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "exploitCodeMaturity": {
+ "$ref": "#/definitions/exploitCodeMaturityType"
+ },
+ "integrityImpact": {
+ "$ref": "#/definitions/ciaType"
+ },
+ "integrityRequirement": {
+ "$ref": "#/definitions/ciaRequirementType"
+ },
+ "modifiedAttackComplexity": {
+ "$ref": "#/definitions/modifiedAttackComplexityType"
+ },
+ "modifiedAttackVector": {
+ "$ref": "#/definitions/modifiedAttackVectorType"
+ },
+ "modifiedAvailabilityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedConfidentialityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedIntegrityImpact": {
+ "$ref": "#/definitions/modifiedCiaType"
+ },
+ "modifiedPrivilegesRequired": {
+ "$ref": "#/definitions/modifiedPrivilegesRequiredType"
+ },
+ "modifiedScope": {
+ "$ref": "#/definitions/modifiedScopeType"
+ },
+ "modifiedUserInteraction": {
+ "$ref": "#/definitions/modifiedUserInteractionType"
+ },
+ "privilegesRequired": {
+ "$ref": "#/definitions/privilegesRequiredType"
+ },
+ "remediationLevel": {
+ "$ref": "#/definitions/remediationLevelType"
+ },
+ "reportConfidence": {
+ "$ref": "#/definitions/confidenceType"
+ },
+ "scope": {
+ "$ref": "#/definitions/scopeType"
+ },
+ "temporalScore": {
+ "$ref": "#/definitions/scoreType"
+ },
+ "temporalSeverity": {
+ "$ref": "#/definitions/severityType"
+ },
+ "userInteraction": {
+ "$ref": "#/definitions/userInteractionType"
+ },
+ "vectorString": {
+ "pattern": "^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$",
+ "type": "string"
+ },
+ "version": {
+ "description": "CVSS Version",
+ "enum": [
+ "3.1"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "vectorString",
+ "baseScore",
+ "baseSeverity"
+ ],
+ "title": "JSON Schema for Common Vulnerability Scoring System version 3.1",
+ "type": "object"
+}
diff --git a/csaf_2.1/submit/README.md b/csaf_2.1/submit/README.md
new file mode 100644
index 00000000..8bcd74ea
--- /dev/null
+++ b/csaf_2.1/submit/README.md
@@ -0,0 +1,3 @@
+# Submission request to advance CSAF v2.1 to an International Standard
+
+TBD
diff --git a/csaf_2.1/test/aggregator_schema/run_tests.sh b/csaf_2.1/test/aggregator_schema/run_tests.sh
new file mode 100755
index 00000000..cd370bd0
--- /dev/null
+++ b/csaf_2.1/test/aggregator_schema/run_tests.sh
@@ -0,0 +1,50 @@
+#!/bin/bash
+
+STRICT_BUILD=csaf_2.1/build
+ORIG_SCHEMA=csaf_2.1/json_schema/aggregator_json_schema.json
+AGGREGATOR_STRICT_SCHEMA=${STRICT_BUILD}/aggregator_strict_schema.json
+CSAF_STRICT_SCHEMA=${STRICT_BUILD}/csaf_strict_schema.json
+CVSS_20_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
+CVSS_30_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
+CVSS_31_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
+PROVIDER_STRICT_SCHEMA=${STRICT_BUILD}/provider_strict_schema.json
+VALIDATOR=csaf_2.1/test/validator.py
+STRICT_GENERATOR=csaf_2.1/test/generate_strict_schema.py
+TESTPATH=csaf_2.1/examples/aggregator/*.json
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+validate() {
+ printf "%s" "Testing file $1 against schema ${SCHEMA} ... "
+ if python3 ${VALIDATOR} ${SCHEMA} $1 ${CSAF_STRICT_SCHEMA} ${CVSS_20_STRICT_SCHEMA} ${CVSS_30_STRICT_SCHEMA} ${CVSS_31_STRICT_SCHEMA} ${PROVIDER_STRICT_SCHEMA}; then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+
+}
+
+
+test_all() {
+ for i in ${TESTPATH}
+ do
+ validate $i
+ done
+}
+
+SCHEMA=${ORIG_SCHEMA}
+test_all
+
+printf "%s" "Generating strict schema ... "
+mkdir -p ${STRICT_BUILD}
+python3 "${STRICT_GENERATOR}" "${ORIG_SCHEMA}" > "${AGGREGATOR_STRICT_SCHEMA}"
+printf "%s\n" "done"
+
+SCHEMA=${AGGREGATOR_STRICT_SCHEMA}
+test_all
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/cpe/run_tests.sh b/csaf_2.1/test/cpe/run_tests.sh
new file mode 100755
index 00000000..8c6b7345
--- /dev/null
+++ b/csaf_2.1/test/cpe/run_tests.sh
@@ -0,0 +1,61 @@
+#!/bin/bash
+
+SCHEMA=csaf_2.1/json_schema/csaf_json_schema.json
+VALIDATOR=csaf_2.1/test/cpe/test-regex.js
+CPE_BASE_URL=https://nvd.nist.gov/feeds/xml/cpe/dictionary/
+CPE_2_3=official-cpe-dictionary_v2.3
+CPE_2_2=official-cpe-dictionary_v2.2
+
+FAIL=0
+
+# go to root of git repository
+cd "$(dirname "$0")"/../../.. || exit
+
+get_dictionary() {
+ rm "${2}"*
+ wget "$1$2"
+ gunzip -f "$2"
+}
+
+prepare_23_dictionary() {
+ # Get CPE 2.3 fields
+ # Correctly decode special characters
+ grep ' $//' \
+ | sed -e 's/\\&/\\\&/g' \
+ | sed -e 's/\\"/\\"/g' \
+ > "$CPE".txt
+}
+
+prepare_22_dictionary() {
+ # Get CPE 2.2 fields
+ # Correctly decode special characters
+ grep '$//' > "$CPE".txt
+}
+
+validate() {
+ printf "Testing file %s against cpe regex from %s ... \n" "$1" "$SCHEMA"
+ if node "$VALIDATOR" "$SCHEMA" "$1"; then
+ printf "SUCCESS\n"
+ else
+ printf "FAILED\n"
+ FAIL=1
+ fi
+
+}
+
+echo -n "Test CPE 2.3 ... "
+CPE=$CPE_2_3
+get_dictionary $CPE_BASE_URL ${CPE}.xml.gz
+prepare_23_dictionary $CPE
+validate $CPE.txt
+printf "done\n"
+
+echo -n "Test CPE 2.2 ... "
+CPE=$CPE_2_2
+get_dictionary $CPE_BASE_URL ${CPE}.xml.gz
+prepare_22_dictionary $CPE
+validate $CPE.txt
+printf "done\n"
+
+
+exit $FAIL
diff --git a/csaf_2.1/test/cpe/test-regex.js b/csaf_2.1/test/cpe/test-regex.js
new file mode 100644
index 00000000..567ba08e
--- /dev/null
+++ b/csaf_2.1/test/cpe/test-regex.js
@@ -0,0 +1,26 @@
+const { exit } = require('process')
+const fs = require('fs')
+
+const args = process.argv.slice(2);
+const obj = JSON.parse(fs.readFileSync(args[0], 'utf8'))
+
+const pattern = obj.$defs.full_product_name_t.properties.product_identification_helper.properties.cpe.pattern
+const r = new RegExp(pattern)
+
+console.log('Current regex to test:', '\n', pattern)
+
+const cpeStr = fs.readFileSync(args[1], 'utf8').split('\n')
+
+let failed = false
+
+cpeStr.forEach(element => {
+ if (element.length > 0) {
+ const result = (r.exec(element) != null)
+ failed = failed | !result
+ if (!result) {
+ console.log(result, '\t', element)
+ }
+ }
+});
+
+exit(failed)
diff --git a/csaf_2.1/test/csaf_schema/run_tests.sh b/csaf_2.1/test/csaf_schema/run_tests.sh
new file mode 100755
index 00000000..1f7517ae
--- /dev/null
+++ b/csaf_2.1/test/csaf_schema/run_tests.sh
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+STRICT_BUILD=csaf_2.1/build
+ORIG_SCHEMA=csaf_2.1/json_schema/csaf_json_schema.json
+CSAF_STRICT_SCHEMA=${STRICT_BUILD}/csaf_strict_schema.json
+CVSS_20_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
+CVSS_30_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
+CVSS_31_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
+VALIDATOR=csaf_2.1/test/validator.py
+STRICT_GENERATOR=csaf_2.1/test/generate_strict_schema.py
+TESTPATH=csaf_2.1/examples/csaf/$1/*.json
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+validate() {
+ printf "%s" "Testing file $1 against schema ${SCHEMA} ... "
+ if python3 ${VALIDATOR} ${SCHEMA} $1 ${CVSS_20_STRICT_SCHEMA} ${CVSS_30_STRICT_SCHEMA} ${CVSS_31_STRICT_SCHEMA}; then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+
+}
+
+test_all() {
+ for i in ${TESTPATH}
+ do
+ validate $i
+ done
+}
+
+SCHEMA=${ORIG_SCHEMA}
+test_all
+
+
+printf "%s" "Generating strict schema ... "
+mkdir -p ${STRICT_BUILD}
+python3 "${STRICT_GENERATOR}" "${ORIG_SCHEMA}" > "${CSAF_STRICT_SCHEMA}"
+printf "%s\n" "done"
+
+SCHEMA=${CSAF_STRICT_SCHEMA}
+test_all
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/filenames/data/invalid/OASIS_CSAF_TC-CSAF_2.1-2024-5-1-01.json b/csaf_2.1/test/filenames/data/invalid/OASIS_CSAF_TC-CSAF_2.1-2024-5-1-01.json
new file mode 100644
index 00000000..8644910e
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/invalid/OASIS_CSAF_TC-CSAF_2.1-2024-5-1-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-5-1-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/data/invalid/oasis-open_csaf_tc-csaf_21-2024-5-1-02.json b/csaf_2.1/test/filenames/data/invalid/oasis-open_csaf_tc-csaf_21-2024-5-1-02.json
new file mode 100644
index 00000000..3be821bb
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/invalid/oasis-open_csaf_tc-csaf_21-2024-5-1-02.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-5-1-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/data/invalid/oasis____csaf_tc-csaf_2_1-2024-5-1-03.json b/csaf_2.1/test/filenames/data/invalid/oasis____csaf_tc-csaf_2_1-2024-5-1-03.json
new file mode 100644
index 00000000..c310ca41
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/invalid/oasis____csaf_tc-csaf_2_1-2024-5-1-03.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS: #/CSAF_TC-CSAF_2.1-2024-5-1-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-11.json b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-11.json
new file mode 100644
index 00000000..f983b5dc
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-11.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-5-1-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-12.json b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-12.json
new file mode 100644
index 00000000..5b2b4c1c
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-12.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-5-1-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-13.json b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-13.json
new file mode 100644
index 00000000..21217a6b
--- /dev/null
+++ b/csaf_2.1/test/filenames/data/valid/oasis_csaf_tc-csaf_2_1-2024-5-1-13.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Filename (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS: #/CSAF_TC-CSAF_2.1-2024-5-1-13",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/filenames/run_invalid_tests.sh b/csaf_2.1/test/filenames/run_invalid_tests.sh
new file mode 100755
index 00000000..4954c100
--- /dev/null
+++ b/csaf_2.1/test/filenames/run_invalid_tests.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+TESTPATH=$*
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+check() {
+ printf "%s" "Testing that filename of $1 is invalid ... "
+ paikalta --labels FAILED,SUCCESS $1 && FAIL=1
+}
+
+test_all() {
+ for i in ${TESTPATH}
+ do
+ check $i
+ done
+}
+
+test_all
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/filenames/run_tests.sh b/csaf_2.1/test/filenames/run_tests.sh
new file mode 100755
index 00000000..a6f089d7
--- /dev/null
+++ b/csaf_2.1/test/filenames/run_tests.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+TESTPATH=$*
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+check() {
+ printf "%s" "Testing filename of $1 ... "
+ paikalta --labels SUCCESS,FAILED $1 || FAIL=1
+}
+
+test_all() {
+ for i in ${TESTPATH}
+ do
+ check $i
+ done
+}
+
+test_all
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/generate_strict_schema.py b/csaf_2.1/test/generate_strict_schema.py
new file mode 100644
index 00000000..8b07da9f
--- /dev/null
+++ b/csaf_2.1/test/generate_strict_schema.py
@@ -0,0 +1,23 @@
+import jsonschema
+import simplejson as json
+import sys
+import jsonpath_rw
+from pprint import pprint
+
+if len(sys.argv)!=2:
+ print("%s " % (sys.argv[0]))
+ sys.exit(1)
+
+
+json_schema = sys.argv[1]
+with open(json_schema, 'r') as f:
+ schema_data = f.read()
+ schema = json.loads(schema_data)
+
+for i in jsonpath_rw.parse("$..* where properties").find(schema):
+ i.value['additionalProperties'] = False
+
+# Don't forget to add it at the root level
+schema['additionalProperties'] = False
+
+print(json.dumps(schema, sort_keys=True, indent=2))
diff --git a/csaf_2.1/test/provider_schema/run_tests.sh b/csaf_2.1/test/provider_schema/run_tests.sh
new file mode 100755
index 00000000..59372cc1
--- /dev/null
+++ b/csaf_2.1/test/provider_schema/run_tests.sh
@@ -0,0 +1,49 @@
+#!/bin/bash
+
+STRICT_BUILD=csaf_2.1/build
+ORIG_SCHEMA=csaf_2.1/json_schema/provider_json_schema.json
+CSAF_STRICT_SCHEMA=${STRICT_BUILD}/csaf_strict_schema.json
+CVSS_20_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
+CVSS_30_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
+CVSS_31_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
+PROVIDER_STRICT_SCHEMA=${STRICT_BUILD}/provider_strict_schema.json
+VALIDATOR=csaf_2.1/test/validator.py
+STRICT_GENERATOR=csaf_2.1/test/generate_strict_schema.py
+TESTPATH=csaf_2.1/examples/provider-metadata/*.json
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+validate() {
+ printf "%s" "Testing file $1 against schema ${SCHEMA} ... "
+ if python3 ${VALIDATOR} ${SCHEMA} $1 ${CSAF_STRICT_SCHEMA} ${CVSS_20_STRICT_SCHEMA} ${CVSS_30_STRICT_SCHEMA} ${CVSS_31_STRICT_SCHEMA}; then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+
+}
+
+
+test_all() {
+ for i in ${TESTPATH}
+ do
+ validate $i
+ done
+}
+
+SCHEMA=${ORIG_SCHEMA}
+test_all
+
+printf "%s" "Generating strict schema ... "
+mkdir -p ${STRICT_BUILD}
+python3 "${STRICT_GENERATOR}" "${ORIG_SCHEMA}" > "${PROVIDER_STRICT_SCHEMA}"
+printf "%s\n" "done"
+
+SCHEMA=${PROVIDER_STRICT_SCHEMA}
+test_all
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/validator.py b/csaf_2.1/test/validator.py
new file mode 100644
index 00000000..8a441cc6
--- /dev/null
+++ b/csaf_2.1/test/validator.py
@@ -0,0 +1,38 @@
+import jsonschema
+from jsonschema.validators import Draft202012Validator
+from referencing import Registry, Resource
+import simplejson as json
+import sys
+
+if len(sys.argv) < 3:
+ print(" [ [.. ]]")
+ sys.exit(1)
+
+
+json_schema = sys.argv[1]
+json_input = sys.argv[2]
+json_referenced_schemas = sys.argv[3:]
+
+with open(json_schema, 'r') as f:
+ schema_data = f.read()
+ schema = json.loads(schema_data)
+
+resource = Resource.from_contents(schema)
+registry = Registry().with_resource(resource.id(), resource)
+
+with open(json_input, 'r') as f:
+ input_data = f.read()
+ input_obj = json.loads(input_data)
+
+if len(json_referenced_schemas) > 0:
+ for i in json_referenced_schemas:
+ with open(i, 'r') as f:
+ current_ref_schema_data = f.read()
+ current_ref_schema = json.loads(current_ref_schema_data)
+ current_resource = Resource.from_contents(current_ref_schema)
+ registry = registry.combine(Registry().with_resource(current_resource.id().split('?')[0], current_resource))
+
+registry = registry.crawl()
+
+validator = Draft202012Validator(schema, registry=registry, format_checker=Draft202012Validator.FORMAT_CHECKER)
+validator.validate(input_obj)
diff --git a/csaf_2.1/test/validator/check_testcases.sh b/csaf_2.1/test/validator/check_testcases.sh
new file mode 100755
index 00000000..54e073b3
--- /dev/null
+++ b/csaf_2.1/test/validator/check_testcases.sh
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+SCHEMA=csaf_2.1/test/validator/testcases_json_schema.json
+VALIDATOR=csaf_2.1/test/validator.py
+TESTPATH=csaf_2.1/test/validator/data/
+TESTFILE=testcases.json
+
+FAIL=0
+DIRFILES=""
+TESTFILES=""
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+validate() {
+ printf "%s" "Testing file $1 against schema ${SCHEMA} ... "
+ if python3 $VALIDATOR $SCHEMA $1; then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+
+}
+
+collect_dir_files() {
+ printf "%s\n" "Collect list of files in $1 ... "
+ cd $1
+ DIRFILES=$(ls -1 */*.json | sort)
+}
+
+collect_test_files() {
+ printf "%s\n" "Collect list of files in $1 ..."
+ NEGATIVE=$(jq '.tests[].failures[].name' $1 -r)
+ POSITIVE=$(jq '.tests[].valid[]?.name' $1 -r)
+ TESTFILES=$(echo -e "${NEGATIVE}\n${POSITIVE}" | sort)
+}
+
+check_files_exist() {
+ printf "%s" "Testing files in ${TESTPATH} and ${TESTFILE} are the same... "
+ if diff -b <(echo "$1") <(echo "$2"); then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+}
+
+validate "${TESTPATH}${TESTFILE}"
+collect_dir_files ${TESTPATH}
+collect_test_files "${TESTFILE}"
+check_files_exist "${DIRFILES}" "${TESTFILES}"
+
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-01.json
new file mode 100644
index 00000000..08c81a3f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v2 as the only Scoring System (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-01-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-02.json
new file mode 100644
index 00000000..464fa2b4
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-02.json
@@ -0,0 +1,84 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v2 as the only Scoring System (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-01-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
+ "baseScore": 5.5
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
+ "baseScore": 4.3
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-11.json
new file mode 100644
index 00000000..6a3ec791
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-11.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v2 as the only Scoring System (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-01-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-12.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-12.json
new file mode 100644
index 00000000..32eaee3c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-12.json
@@ -0,0 +1,96 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v2 as the only Scoring System (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-01-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
+ "baseScore": 5.5
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
+ "baseScore": 6.4,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
+ "baseScore": 10
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
+ "baseScore": 4.3
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N",
+ "baseScore": 3.1,
+ "baseSeverity": "LOW"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-01.json
new file mode 100644
index 00000000..8b9852df
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-01.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v3.0 (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-02-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-02.json
new file mode 100644
index 00000000..d11abb34
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-02.json
@@ -0,0 +1,81 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v3.0 (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-02-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
+ "baseScore": 7.1,
+ "baseSeverity": "HIGH"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.0",
+ "vectorString": "CVSS:3.0/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.1,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-11.json
new file mode 100644
index 00000000..ab6d5f1e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-11.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v3.0 (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-02-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-12.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-12.json
new file mode 100644
index 00000000..39f43aea
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-12.json
@@ -0,0 +1,81 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of CVSS v3.0 (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-02-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
+ "baseScore": 7.1,
+ "baseSeverity": "HIGH"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.1,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-01.json
new file mode 100644
index 00000000..7aef3316
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CVE (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-03-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "BlueKeep"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-02.json
new file mode 100644
index 00000000..d22121a1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-02.json
@@ -0,0 +1,38 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CVE (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-03-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "BlueKeep"
+ },
+ {
+ "cve": "CVE-2014-0160",
+ "title": "Heartbleed"
+ },
+ {
+ "title": "EternalBlue"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-11.json
new file mode 100644
index 00000000..b1c6356d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-11.json
@@ -0,0 +1,32 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CVE (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-03-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-12.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-12.json
new file mode 100644
index 00000000..b6209c54
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-12.json
@@ -0,0 +1,40 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CVE (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-03-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ },
+ {
+ "cve": "CVE-2014-0160",
+ "title": "Heartbleed"
+ },
+ {
+ "cve": "CVE-2017-0144",
+ "title": "EternalBlue"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-01.json
new file mode 100644
index 00000000..5fee7376
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-01.json
@@ -0,0 +1,32 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CWE (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-04-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-02.json
new file mode 100644
index 00000000..249a7ae5
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-02.json
@@ -0,0 +1,44 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CWE (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-04-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "title": "BlueKeep"
+ },
+ {
+ "cve": "CVE-2014-0160",
+ "cwe": {
+ "id": "CWE-119",
+ "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer"
+ },
+ "title": "Heartbleed"
+ },
+ {
+ "cve": "CVE-2017-0144",
+ "title": "EternalBlue"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-11.json
new file mode 100644
index 00000000..58fd9cb8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-11.json
@@ -0,0 +1,36 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CWE (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-04-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "cwe": {
+ "id": "CWE-416",
+ "name": "Use After Free"
+ },
+ "title": "BlueKeep"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-12.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-12.json
new file mode 100644
index 00000000..b8cd819a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-12.json
@@ -0,0 +1,52 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Missing CWE (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-04-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2019-0708",
+ "cwe": {
+ "id": "CWE-416",
+ "name": "Use After Free"
+ },
+ "title": "BlueKeep"
+ },
+ {
+ "cve": "CVE-2014-0160",
+ "cwe": {
+ "id": "CWE-119",
+ "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer"
+ },
+ "title": "Heartbleed"
+ },
+ {
+ "cve": "CVE-2017-0144",
+ "cwe": {
+ "id": "CWE-20",
+ "name": "Improper Input Validation"
+ },
+ "title": "EternalBlue"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-05-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-05-01.json
new file mode 100644
index 00000000..e074cf9c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-05-01.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of Short Hash (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-05-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md4",
+ "value": "3202b50e2e5b2fcd75e284c3d9d5f8d6"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-01.json
new file mode 100644
index 00000000..2da97e70
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-01.json
@@ -0,0 +1,32 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ],
+ "title": "Informative test: Use of non-self referencing URLs Failing to Resolve (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-06-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-02.json
new file mode 100644
index 00000000..d6142b2c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-02.json
@@ -0,0 +1,34 @@
+{
+ "document": {
+ "acknowledgments": [
+ {
+ "summary": "A URL that does resolve with HTTP status code 400.",
+ "urls": [
+ "https://github.com/oasis-tcs/csaf/not-available"
+ ]
+ }
+ ],
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Use of non-self referencing URLs Failing to Resolve (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-06-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-11.json
new file mode 100644
index 00000000..6aa55eb9
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-11.json
@@ -0,0 +1,32 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "summary": "A URL that does resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.net"
+ }
+ ],
+ "title": "Informative test: Use of non-self referencing URLs Failing to Resolve (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-06-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-01.json
new file mode 100644
index 00000000..55ed5428
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-01.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "self",
+ "summary": "A URL that does not resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.invalid"
+ }
+ ],
+ "title": "Informative test: Use of self referencing URLs Failing to Resolve (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-07-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-11.json
new file mode 100644
index 00000000..58690073
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-11.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "self",
+ "summary": "A URL that does resolve with HTTP status code in the interval between (including) 200 and (excluding) 400.",
+ "url": "https://example.net"
+ }
+ ],
+ "title": "Informative test: Use of self referencing URLs Failing to Resolve (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-07-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-01.json
new file mode 100644
index 00000000..60cc6ae8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-01.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "Secruity researchers found multiple vulnerabilities in XYZ."
+ }
+ ],
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Spell check (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-08-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-11.json
new file mode 100644
index 00000000..1529e474
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-11.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "Security researchers found multiple vulnerabilities in XYZ."
+ }
+ ],
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Spell check (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-08-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-01.json
new file mode 100644
index 00000000..631a9421
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A Update 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-02.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-02.json
new file mode 100644
index 00000000..afc5c269
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-02.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "product_family",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 91"
+ }
+ },
+ {
+ "category": "product_version",
+ "name": "92",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company Product A 92"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-03.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-03.json
new file mode 100644
index 00000000..4f4cdd4c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-03.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "product_family",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 91"
+ }
+ },
+ {
+ "category": "product_name",
+ "name": "Product B",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company Product B 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-04.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-04.json
new file mode 100644
index 00000000..75d1263f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-04.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 91"
+ }
+ },
+ {
+ "category": "product_name",
+ "name": "Product B",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company Product B 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-05.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-05.json
new file mode 100644
index 00000000..d43385ef
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-05.json
@@ -0,0 +1,100 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "host_name",
+ "name": "unknown-host",
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "branches": [
+ {
+ "category": "language",
+ "name": "XYZ",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "architecture",
+ "name": "x86",
+ "branches": [
+ {
+ "category": "service_pack",
+ "name": "1",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "104",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "unknown-host Example Company XYZ Product A x86 Version 91 SP1 Update 104"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "category": "architecture",
+ "name": "amd64",
+ "branches": [
+ {
+ "category": "service_pack",
+ "name": "1",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "104",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "unknown-host Example Company XYZ Product A amd64 Version 91 SP1 Update 104"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-06.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-06.json
new file mode 100644
index 00000000..2d7b8e2d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-06.json
@@ -0,0 +1,70 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-06",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "host_name",
+ "name": "unknown-hostname",
+ "branches": [
+ {
+ "category": "architecture",
+ "name": "x86",
+ "branches": [
+ {
+ "category": "language",
+ "name": "XYZ",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "unknown-hostname x86 XYZ"
+ }
+ }
+ ]
+ },
+ {
+ "category": "architecture",
+ "name": "amd64",
+ "branches": [
+ {
+ "category": "service_pack",
+ "name": "1",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "104",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "unknown-hostname amd64 SP1 Update 104"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-11.json
new file mode 100644
index 00000000..e6d3c89f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-11.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-12.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-12.json
new file mode 100644
index 00000000..576b6dcc
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-12.json
@@ -0,0 +1,64 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_family",
+ "name": "ABC Products",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company ABC Products Product A 91"
+ }
+ },
+ {
+ "category": "product_version",
+ "name": "92",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company ABC Products Product A 92"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-13.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-13.json
new file mode 100644
index 00000000..29ff17aa
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-13.json
@@ -0,0 +1,70 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-13",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_family",
+ "name": "ABC Products",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company ABC Products Product A 91"
+ }
+ }
+ ]
+ },
+ {
+ "category": "product_name",
+ "name": "Product B",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company ABC Products Product B 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-14.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-14.json
new file mode 100644
index 00000000..13fa3e40
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-14.json
@@ -0,0 +1,64 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-14",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 91"
+ }
+ }
+ ]
+ },
+ {
+ "category": "product_name",
+ "name": "Product B",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company Product B 91"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-15.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-15.json
new file mode 100644
index 00000000..6e629fd6
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-15.json
@@ -0,0 +1,112 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Branch Categories (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-09-15",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "host_name",
+ "name": "unknown-host",
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_family",
+ "name": "ABC Products",
+ "branches": [
+ {
+ "category": "language",
+ "name": "XYZ",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "architecture",
+ "name": "x86",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "branches": [
+ {
+ "category": "service_pack",
+ "name": "1",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "104",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "unknown-host Example Company ABC Products XYZ Product A x86 Version 91 SP1 Update 104"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "category": "architecture",
+ "name": "amd64",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "91",
+ "branches": [
+ {
+ "category": "service_pack",
+ "name": "1",
+ "branches": [
+ {
+ "category": "patch_level",
+ "name": "104",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "unknown-host Example Company ABC Products XYZ Product A amd64 Version 91 SP1 Update 104"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-01.json
new file mode 100644
index 00000000..d529b659
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Usage of Product Version Range (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-10-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": "vers:npm/>=2.2.0|<2.3.0",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A between 2.2.0 and 2.3.0"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-11.json
new file mode 100644
index 00000000..a48dcf14
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-11.json
@@ -0,0 +1,66 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Usage of Product Version Range (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-10-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "2.2.0",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 2.2.0"
+ }
+ },
+ {
+ "category": "product_version",
+ "name": "2.2.1",
+ "product": {
+ "product_id": "CSAFPID-9080701",
+ "name": "Example Company Product A 2.2.1"
+ }
+ },
+ {
+ "category": "product_version",
+ "name": "2.2.2",
+ "product": {
+ "product_id": "CSAFPID-9080702",
+ "name": "Example Company Product A 2.2.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-01.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-01.json
new file mode 100644
index 00000000..b0e4a3d1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Usage of V as Version Indicator (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-11-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "v4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-11.json b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-11.json
new file mode 100644
index 00000000..732fd0bf
--- /dev/null
+++ b/csaf_2.1/test/validator/data/informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-11.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Informative test: Usage of V as Version Indicator (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-3-11-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-01-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-01-01.json
new file mode 100644
index 00000000..e803cc28
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-01-01.json
@@ -0,0 +1,37 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Definition of Product ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-01-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-02-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-02-01.json
new file mode 100644
index 00000000..aa36bf3c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-02-01.json
@@ -0,0 +1,38 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition of Product ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-02-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product B"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-03-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-03-01.json
new file mode 100644
index 00000000..bf44664a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-03-01.json
@@ -0,0 +1,45 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Circular Definition of Product ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-03-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ],
+ "relationships": [
+ {
+ "category": "installed_on",
+ "full_product_name": {
+ "name": "Product B",
+ "product_id": "CSAFPID-9080701"
+ },
+ "product_reference": "CSAFPID-9080700",
+ "relates_to_product_reference": "CSAFPID-9080701"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-04-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-04-01.json
new file mode 100644
index 00000000..955ef348
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-04-01.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Definition of Product Group ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-04-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "threats": [
+ {
+ "category": "exploit_status",
+ "details": "Reliable exploits integrated in Metasploit.",
+ "group_ids": [
+ "CSAFGID-1020301"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-05-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-05-01.json
new file mode 100644
index 00000000..7f7530b5
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-05-01.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition of Product Group ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-05-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ },
+ {
+ "group_id": "CSAFGID-1020300",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-01.json
new file mode 100644
index 00000000..cb1805d8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-01.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-02.json
new file mode 100644
index 00000000..01060d1e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-02.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-03.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-03.json
new file mode 100644
index 00000000..56811689
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-03.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ],
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-04.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-04.json
new file mode 100644
index 00000000..53ab9a16
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-04.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080701"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080701"
+ ],
+ "last_affected": [
+ "CSAFPID-9080700"
+ ],
+ "under_investigation": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-05.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-05.json
new file mode 100644
index 00000000..44dda4ec
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-05.json
@@ -0,0 +1,67 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ],
+ "first_fixed": [
+ "CSAFPID-9080702"
+ ],
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080701"
+ ],
+ "last_affected": [
+ "CSAFPID-9080702"
+ ],
+ "under_investigation": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-11.json
new file mode 100644
index 00000000..c8a04e28
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-11.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "recommended": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-12.json
new file mode 100644
index 00000000..af8adc30
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-12.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-13.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-13.json
new file mode 100644
index 00000000..e630900b
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-13.json
@@ -0,0 +1,46 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-13",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-14.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-14.json
new file mode 100644
index 00000000..2bd52301
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-14.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-14",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_fixed": [
+ "CSAFPID-9080701"
+ ],
+ "fixed": [
+ "CSAFPID-9080701"
+ ],
+ "recommended": [
+ "CSAFPID-9080700"
+ ],
+ "under_investigation": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-15.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-15.json
new file mode 100644
index 00000000..3cf080ec
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-15.json
@@ -0,0 +1,67 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Contradicting Product Status (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-06-15",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ],
+ "first_fixed": [
+ "CSAFPID-9080702"
+ ],
+ "fixed": [
+ "CSAFPID-9080702"
+ ],
+ "known_affected": [
+ "CSAFPID-9080700"
+ ],
+ "known_not_affected": [
+ "CSAFPID-9080701"
+ ],
+ "recommended": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-01.json
new file mode 100644
index 00000000..ba36a764
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-01.json
@@ -0,0 +1,62 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Scores with same Version per Product (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-07-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ },
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-11.json
new file mode 100644
index 00000000..5fc75ca8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-11.json
@@ -0,0 +1,66 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Scores with same Version per Product (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-07-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "CRITICAL"
+ }
+ }
+ ]
+ },
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-12.json
new file mode 100644
index 00000000..74d05f82
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-12.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Scores with same Version per Product (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-07-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v2": {
+ "version": "2.0",
+ "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
+ "baseScore": 5.5
+ },
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
+ "baseScore": 6.4,
+ "baseSeverity": "MEDIUM"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-08-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-08-01.json
new file mode 100644
index 00000000..80b906dc
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-08-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Invalid CVSS (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-08-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 6.5
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-09-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-09-01.json
new file mode 100644
index 00000000..add85541
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-09-01.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Invalid CVSS computation (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-09-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "baseScore": 10,
+ "baseSeverity": "LOW"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-10-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-10-01.json
new file mode 100644
index 00000000..2dbb9a57
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-10-01.json
@@ -0,0 +1,59 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Inconsistent CVSS (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-10-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "scores": [
+ {
+ "products": [
+ "CSAFPID-9080700"
+ ],
+ "cvss_v3": {
+ "version": "3.1",
+ "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
+ "baseScore": 9.8,
+ "baseSeverity": "CRITICAL",
+ "attackVector": "LOCAL",
+ "attackComplexity": "LOW",
+ "privilegesRequired": "NONE",
+ "userInteraction": "NONE",
+ "scope": "CHANGED",
+ "confidentialityImpact": "HIGH",
+ "integrityImpact": "HIGH",
+ "availabilityImpact": "LOW"
+ }
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-11-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-11-01.json
new file mode 100644
index 00000000..9179c0d4
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-11-01.json
@@ -0,0 +1,34 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: CWE (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-11-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cwe": {
+ "id": "CWE-79",
+ "name": "Improper Input Validation"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-12-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-12-01.json
new file mode 100644
index 00000000..fcb95bac
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-12-01.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "EZ",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Language (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-12-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-13-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-13-01.json
new file mode 100644
index 00000000..39760f37
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-13-01.json
@@ -0,0 +1,37 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: PURL (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-13-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "purl": "pkg:maven/@1.3.4"
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-01.json
new file mode 100644
index 00000000..ba234b87
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-01",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-02.json
new file mode 100644
index 00000000..c035e2ac
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-02.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-02",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-03.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-03.json
new file mode 100644
index 00000000..705d6003
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-03.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-03",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-04.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-04.json
new file mode 100644
index 00000000..f9372dd9
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-04.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-04",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-05.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-05.json
new file mode 100644
index 00000000..8de54dd3
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-05.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-05",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-06.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-06.json
new file mode 100644
index 00000000..76b62005
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-06.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-06",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "4",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "5",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "6",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "7",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "8",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "9",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "10",
+ "summary": "Tenth version."
+ }
+ ],
+ "status": "final",
+ "version": "9"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-07.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-07.json
new file mode 100644
index 00000000..44bd4599
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-07.json
@@ -0,0 +1,76 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-07",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.1.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.2.0",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.3.0",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.4.0",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.5.0",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.6.0",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.7.0",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.8.0",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1.9.0",
+ "summary": "Tenth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.10.0",
+ "summary": "Eleventh version."
+ }
+ ],
+ "status": "final",
+ "version": "1.9.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-08.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-08.json
new file mode 100644
index 00000000..5fecd1af
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-08.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (failing example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.00010Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-08",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.00010Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-11.json
new file mode 100644
index 00000000..37a3d3b0
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-11.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-11",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-12.json
new file mode 100644
index 00000000..99238abf
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-12.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-12",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-13.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-13.json
new file mode 100644
index 00000000..e7536183
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-13.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-13",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-14.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-14.json
new file mode 100644
index 00000000..eb12894f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-14.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-14",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-15.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-15.json
new file mode 100644
index 00000000..887fde9d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-15.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-23T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-15",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-23T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-16.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-16.json
new file mode 100644
index 00000000..873978a2
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-16.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-16",
+ "initial_release_date": "2024-01-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-17.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-17.json
new file mode 100644
index 00000000..94c139bf
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-17.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-17",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "4",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "5",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "6",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "7",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "8",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "9",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "10",
+ "summary": "Tenth version."
+ }
+ ],
+ "status": "final",
+ "version": "10"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-18.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-18.json
new file mode 100644
index 00000000..b62239eb
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-18.json
@@ -0,0 +1,76 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-22T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-18",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.1.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.2.0",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.3.0",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.4.0",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.5.0",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.6.0",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.7.0",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.8.0",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.9.0",
+ "summary": "Tenth version."
+ },
+ {
+ "date": "2024-01-22T10:00:00.000Z",
+ "number": "1.10.0",
+ "summary": "Eleventh version."
+ }
+ ],
+ "status": "final",
+ "version": "1.10.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-19.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-19.json
new file mode 100644
index 00000000..eaa65856
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-19.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Sorted Revision History (valid example 9)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.00010Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-19",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.00010Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-01.json
new file mode 100644
index 00000000..353eedfb
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "translator",
+ "name": "OASIS CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "title": "Mandatory test: Translator (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-15-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-02.json
new file mode 100644
index 00000000..a725e170
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-02.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "translator",
+ "name": "OASIS CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "title": "Mandatory test: Translator (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-15-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-11.json
new file mode 100644
index 00000000..3364e714
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-11.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "translator",
+ "name": "OASIS CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "source_lang": "de-DE",
+ "title": "Mandatory test: Translator (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-15-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-12.json
new file mode 100644
index 00000000..b8aa3ae6
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-12.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "translator",
+ "name": "OASIS CSAF TC Translator",
+ "namespace": "https://csaf.io/translator"
+ },
+ "source_lang": "de-DE",
+ "title": "Mandatory test: Translator (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-15-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-01.json
new file mode 100644
index 00000000..e1a232d0
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-01",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-02.json
new file mode 100644
index 00000000..ec65694a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-02.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-02",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-03.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-03.json
new file mode 100644
index 00000000..b129e837
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-03.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-03",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-04.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-04.json
new file mode 100644
index 00000000..893eb4d8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-04.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-04",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-05.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-05.json
new file mode 100644
index 00000000..e1990a34
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-05.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-05",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-06.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-06.json
new file mode 100644
index 00000000..fca03c12
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-06.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-06",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "4",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "5",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "6",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "7",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "8",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "9",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "10",
+ "summary": "Tenth version."
+ }
+ ],
+ "status": "final",
+ "version": "9"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-07.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-07.json
new file mode 100644
index 00000000..591269a6
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-07.json
@@ -0,0 +1,76 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-07",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.1.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.2.0",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.3.0",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.4.0",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.5.0",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.6.0",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.7.0",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.8.0",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.9.0",
+ "summary": "Tenth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.10.0",
+ "summary": "Eleventh version."
+ }
+ ],
+ "status": "final",
+ "version": "1.9.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-08.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-08.json
new file mode 100644
index 00000000..cc01d2fd
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-08.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (failing example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-08",
+ "initial_release_date": "2024-01-21T10:00:00.00000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.00000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-11.json
new file mode 100644
index 00000000..92f7579a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-11.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-11",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-12.json
new file mode 100644
index 00000000..9d0072b5
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-12.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-12",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0+21AF26D3"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-13.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-13.json
new file mode 100644
index 00000000..4162e60c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-13.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-13",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0+143D5",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0+21AF26D3"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-14.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-14.json
new file mode 100644
index 00000000..3bbf6120
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-14.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-14",
+ "initial_release_date": "2024-01-21T09:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-15.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-15.json
new file mode 100644
index 00000000..96e84822
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-15.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-15",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-16.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-16.json
new file mode 100644
index 00000000..2c558723
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-16.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-16",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-17.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-17.json
new file mode 100644
index 00000000..f7470b67
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-17.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-17",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-18.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-18.json
new file mode 100644
index 00000000..1b7f7530
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-18.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-18",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "4",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "5",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "6",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "7",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "8",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "9",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "10",
+ "summary": "Tenth version."
+ }
+ ],
+ "status": "final",
+ "version": "10"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-19.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-19.json
new file mode 100644
index 00000000..41d5d369
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-19.json
@@ -0,0 +1,76 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 9)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-19",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.1.0",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.2.0",
+ "summary": "Third version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.3.0",
+ "summary": "Fourth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.4.0",
+ "summary": "Fifth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.5.0",
+ "summary": "Sixth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.6.0",
+ "summary": "Seventh version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.7.0",
+ "summary": "Eighth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.8.0",
+ "summary": "Ninth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.9.0",
+ "summary": "Tenth version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.10.0",
+ "summary": "Eleventh version."
+ }
+ ],
+ "status": "final",
+ "version": "1.10.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-31.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-31.json
new file mode 100644
index 00000000..895cdcca
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-31.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Latest Document Version (valid example 10)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-31",
+ "initial_release_date": "2024-01-21T10:00:00.00000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T10:00:00.00000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-17-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-17-01.json
new file mode 100644
index 00000000..79f17da3
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-17-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Document Status Draft (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-17-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "0.9.5",
+ "summary": "Initial draft version."
+ }
+ ],
+ "status": "final",
+ "version": "0.9.5"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-18-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-18-01.json
new file mode 100644
index 00000000..cc8af54d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-18-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Released Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-18-01",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-17T10:00:00.000Z",
+ "number": "0",
+ "summary": "First draft"
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-01.json
new file mode 100644
index 00000000..c4fe97b2
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Revision History Entries for Pre-release Versions (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-19-01",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1.0.0-rc",
+ "summary": "Release Candidate for initial version."
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-02.json
new file mode 100644
index 00000000..4c6b0a8a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-02.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Revision History Entries for Pre-release Versions (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-19-02",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0-rc",
+ "summary": "Release Candidate for initial version."
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-20-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-20-01.json
new file mode 100644
index 00000000..4091711f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-20-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Non-draft Document Version (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-20-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "interim",
+ "version": "1.0.0-alpha"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-01.json
new file mode 100644
index 00000000..de28cfa0
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Item in Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-01",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Some other changes."
+ }
+ ],
+ "status": "final",
+ "version": "3"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-02.json
new file mode 100644
index 00000000..fbb04d5e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-02.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Item in Revision History (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-02",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "3",
+ "summary": "Some other changes."
+ }
+ ],
+ "status": "final",
+ "version": "3"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-11.json
new file mode 100644
index 00000000..ab4b5d8a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-11.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Item in Revision History (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-11",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Some other changes."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-12.json
new file mode 100644
index 00000000..264c3947
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-12.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Item in Revision History (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-12",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-07-22T10:00:00.000Z",
+ "number": "0",
+ "summary": "Draft version."
+ },
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial public release."
+ }
+ ],
+ "status": "draft",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-13.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-13.json
new file mode 100644
index 00000000..7c1553d7
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-13.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Missing Item in Revision History (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-13",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-22T10:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1.1.0",
+ "summary": "Some other changes."
+ }
+ ],
+ "status": "final",
+ "version": "1.1.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-22-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-22-01.json
new file mode 100644
index 00000000..788da309
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-22-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition in Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-22-01",
+ "initial_release_date": "2024-01-20T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-20T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "1",
+ "summary": "Some other changes."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-23-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-23-01.json
new file mode 100644
index 00000000..2df6d586
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-23-01.json
@@ -0,0 +1,34 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Use of Same CVE (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-23-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145"
+ },
+ {
+ "cve": "CVE-2017-0145"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-01.json
new file mode 100644
index 00000000..5d6b88d9
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-01.json
@@ -0,0 +1,43 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition in Involvements (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-24-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "completed"
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-02.json
new file mode 100644
index 00000000..77a291e0
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-02.json
@@ -0,0 +1,43 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition in Involvements (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-24-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress"
+ },
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-11.json
new file mode 100644
index 00000000..ccd84eab
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-11.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition in Involvements (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-24-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "completed"
+ }
+ ]
+ },
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-12.json
new file mode 100644
index 00000000..1f7a2ae0
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-12.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Definition in Involvements (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-24-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress"
+ }
+ ]
+ },
+ {
+ "involvements": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "party": "vendor",
+ "status": "in_progress",
+ "summary": "The vendor has released a mitigation and is working to fully resolve the issue."
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-25-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-25-01.json
new file mode 100644
index 00000000..18c6ab50
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-25-01.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Use of Same Hash Algorithm (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-25-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha256",
+ "value": "026a37919b182ef7c63791e82c9645e2f897a3f0b73c7a6028c7febf62e93838"
+ },
+ {
+ "algorithm": "sha256",
+ "value": "0a853ce2337f0608489ac596a308dc5b7b19d35a52b10bf31261586ac368b175"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-26-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-26-01.json
new file mode 100644
index 00000000..dfd6af78
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-26-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "Security_Incident_Response",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Prohibited Document Category Name (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-26-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-01-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-01-01.json
new file mode 100644
index 00000000..15086b28
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-01-01.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_security_incident_response",
+ "csaf_version": "2.1",
+ "notes": [
+ {
+ "category": "legal_disclaimer",
+ "text": "The CSAF document is provided to You \"AS IS\" and \"AS AVAILABLE\" and with all faults and defects without warranty of any kind.",
+ "title": "Terms of Use"
+ }
+ ],
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Document Notes (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-01-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json
new file mode 100644
index 00000000..ac55ed61
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_informational_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "self",
+ "summary": "The canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json"
+ }
+ ],
+ "title": "Mandatory test: Document References (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-02-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-03-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-03-01.json
new file mode 100644
index 00000000..8b0b3095
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-03-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_informational_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Vulnerabilities (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-03-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item that SHALL NOT exist"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-04-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-04-01.json
new file mode 100644
index 00000000..9a3a3c48
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-04-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_security_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Product Tree (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-04-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item that can't reference any product as the product_tree does not exist."
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-05-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-05-01.json
new file mode 100644
index 00000000..c02465fb
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-05-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_security_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Vulnerability Notes (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-05-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a note"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-06-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-06-01.json
new file mode 100644
index 00000000..85f54fd2
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-06-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_security_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Product Status (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-06-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a product status"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-07-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-07-01.json
new file mode 100644
index 00000000..e7d6e28a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-07-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: VEX Product Status (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-07-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_fixed": [
+ "CSAFPID-9080700"
+ ],
+ "recommended": [
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-08-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-08-01.json
new file mode 100644
index 00000000..f3c0785e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-08-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Vulnerability ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-08-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "title": "A vulnerability item without a CVE or ID"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-01.json
new file mode 100644
index 00000000..e25b760f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-01.json
@@ -0,0 +1,79 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-02.json
new file mode 100644
index 00000000..32ede114
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-02.json
@@ -0,0 +1,78 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-03.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-03.json
new file mode 100644
index 00000000..0814dab9
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-03.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-04.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-04.json
new file mode 100644
index 00000000..c863b525
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-04.json
@@ -0,0 +1,70 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-05.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-05.json
new file mode 100644
index 00000000..5fa905ee
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-05.json
@@ -0,0 +1,78 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-06.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-06.json
new file mode 100644
index 00000000..5e1b5f9a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-06.json
@@ -0,0 +1,148 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-06",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0143",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0144, CVE-2017-0145, CVE-2017-0146, and CVE-2017-0148.",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ },
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ },
+ {
+ "cve": "CVE-2017-0146",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0145, and CVE-2017-0148.",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-11.json
new file mode 100644
index 00000000..3806a25c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-11.json
@@ -0,0 +1,82 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ],
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-12.json
new file mode 100644
index 00000000..b8b5865d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-12.json
@@ -0,0 +1,81 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ],
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-13.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-13.json
new file mode 100644
index 00000000..fe802410
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-13.json
@@ -0,0 +1,72 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-13",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-14.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-14.json
new file mode 100644
index 00000000..7b20b44c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-14.json
@@ -0,0 +1,71 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-14",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-15.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-15.json
new file mode 100644
index 00000000..a70c8084
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-15.json
@@ -0,0 +1,79 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-15",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-16.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-16.json
new file mode 100644
index 00000000..b3b41e5a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-16.json
@@ -0,0 +1,149 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Impact Statement (valid example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-09-16",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0143",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0144, CVE-2017-0145, CVE-2017-0146, and CVE-2017-0148.",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ },
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148. ",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ },
+ {
+ "cve": "CVE-2017-0146",
+ "flags": [
+ {
+ "label": "vulnerable_code_not_present",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ],
+ "notes": [
+ {
+ "category": "description",
+ "text": "The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka \"Windows SMB Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0145, and CVE-2017-0148.",
+ "title": "CVE description"
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "threats": [
+ {
+ "category": "impact",
+ "details": "The vulnerable code is not present in these products.",
+ "product_ids": [
+ "CSAFPID-9080702"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-10-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-10-01.json
new file mode 100644
index 00000000..2ca42717
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-10-01.json
@@ -0,0 +1,73 @@
+{
+ "document": {
+ "category": "csaf_vex",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Action Statement (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-10-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ },
+ {
+ "product_id": "CSAFPID-9080702",
+ "name": "Product C"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ],
+ "summary": "EOL products"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701",
+ "CSAFPID-9080702"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided.",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-11-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-11-01.json
new file mode 100644
index 00000000..f76dd621
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-11-01.json
@@ -0,0 +1,34 @@
+{
+ "document": {
+ "category": "csaf_security_advisory",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Vulnerabilities (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-27-11-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-01.json
new file mode 100644
index 00000000..ec899492
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-01.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "en-US",
+ "title": "Mandatory test: Translation (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-28-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-11.json
new file mode 100644
index 00000000..908d0183
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-11.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "en-GB",
+ "title": "Mandatory test: Translation (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-28-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-01.json
new file mode 100644
index 00000000..511d7a0d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Remediation without Product Reference (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-29-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided."
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-11.json
new file mode 100644
index 00000000..0226b755
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-11.json
@@ -0,0 +1,53 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Remediation without Product Reference (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-29-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "remediations": [
+ {
+ "category": "no_fix_planned",
+ "details": "These products are end-of-life. Therefore, no fix will be provided.",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-12.json
new file mode 100644
index 00000000..3e7f581c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-12.json
@@ -0,0 +1,44 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Remediation without Product Reference (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-29-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-01.json
new file mode 100644
index 00000000..a64ce6f6
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Mixed Integer and Semantic Versioning (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-30-01",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-11.json
new file mode 100644
index 00000000..ecaaa19a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-11.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Mixed Integer and Semantic Versioning (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-30-11",
+ "initial_release_date": "2024-01-21T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-21T09:00:00.000Z",
+ "number": "1.0.0",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T10:00:00.000Z",
+ "number": "2.0.0",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-01.json
new file mode 100644
index 00000000..901b104e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "prior to 4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A prior to 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-02.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-02.json
new file mode 100644
index 00000000..9c3bdc0f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-02.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "<4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A prior to 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-03.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-03.json
new file mode 100644
index 00000000..4c9a176c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-03.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "<=4.1",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A <= 4.1"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-04.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-04.json
new file mode 100644
index 00000000..b499939b
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-04.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "<= 4.1",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A <= 4.1"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-05.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-05.json
new file mode 100644
index 00000000..a1e7a37c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-05.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "4.1 and earlier",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 4.1 and earlier"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-06.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-06.json
new file mode 100644
index 00000000..3fd36c4d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-06.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-06",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "all",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A all versions"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-07.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-07.json
new file mode 100644
index 00000000..f80323d1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-07.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-07",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "before 4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A before 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-08.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-08.json
new file mode 100644
index 00000000..ec6ff344
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-08.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-08",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "4.2 and later",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 4.2 and later"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-09.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-09.json
new file mode 100644
index 00000000..3387b4d9
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-09.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (failing example 9)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-09",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "3.X versions",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 3.X versions"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-11.json
new file mode 100644
index 00000000..3a1742cb
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-11.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": "<4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A prior to 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-12.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-12.json
new file mode 100644
index 00000000..0461363b
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-12.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Version Range in Product Version (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-31-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "after-eight",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A after-eight"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-01.json
new file mode 100644
index 00000000..d6db5258
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-01.json
@@ -0,0 +1,49 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Flag without Product Reference (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-32-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "flags": [
+ {
+ "label": "component_not_present"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-11.json
new file mode 100644
index 00000000..ac85eb42
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-11.json
@@ -0,0 +1,52 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Flag without Product Reference (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-32-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "flags": [
+ {
+ "label": "component_not_present",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-01.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-01.json
new file mode 100644
index 00000000..315a827d
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-01.json
@@ -0,0 +1,72 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Flags with VEX Justification Codes per Product (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-33-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "component_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ },
+ {
+ "label": "vulnerable_code_cannot_be_controlled_by_adversary",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-11.json b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-11.json
new file mode 100644
index 00000000..ff5e3e4e
--- /dev/null
+++ b/csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-11.json
@@ -0,0 +1,82 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Mandatory test: Multiple Flags with VEX Justification Codes per Product (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-33-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ },
+ {
+ "product_id": "CSAFPID-9080701",
+ "name": "Product B"
+ }
+ ],
+ "product_groups": [
+ {
+ "group_id": "CSAFGID-0001",
+ "product_ids": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "cve": "CVE-2017-0145",
+ "flags": [
+ {
+ "label": "component_not_present",
+ "group_ids": [
+ "CSAFGID-0001"
+ ]
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700",
+ "CSAFPID-9080701"
+ ]
+ }
+ },
+ {
+ "cve": "CVE-2020-44228",
+ "flags": [
+ {
+ "label": "vulnerable_code_cannot_be_controlled_by_adversary",
+ "product_ids": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ],
+ "product_status": {
+ "known_not_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/oasis_csaf_tc-csaf_2_1-2024-TEMPLATE.json b/csaf_2.1/test/validator/data/oasis_csaf_tc-csaf_2_1-2024-TEMPLATE.json
new file mode 100644
index 00000000..fff06c03
--- /dev/null
+++ b/csaf_2.1/test/validator/data/oasis_csaf_tc-csaf_2_1-2024-TEMPLATE.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Template for generating CSAF files for Validator examples",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-TEMPLATE",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-01.json
new file mode 100644
index 00000000..c58424df
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-01.json
@@ -0,0 +1,34 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Unused Definition of Product ID (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-01-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-11.json
new file mode 100644
index 00000000..3fd2d828
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-11.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_informational_advisory",
+ "csaf_version": "2.1",
+ "notes": [
+ {
+ "category": "summary",
+ "text": "A summary of the informational advisory."
+ }
+ ],
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "external",
+ "summary": "A valid reference.",
+ "url": "https://example.net"
+ }
+ ],
+ "title": "Optional test: Unused Definition of Product ID (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-01-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-02-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-02-01.json
new file mode 100644
index 00000000..5f3462cf
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-02-01.json
@@ -0,0 +1,43 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Remediation (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-02-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "last_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-03-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-03-01.json
new file mode 100644
index 00000000..cba0d973
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-03-01.json
@@ -0,0 +1,43 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Score (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-03-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_affected": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-04-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-04-01.json
new file mode 100644
index 00000000..f1408d64
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-04-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Build Metadata in Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-04-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-08-23T10:00:00.000Z",
+ "number": "1.0.0+exp.sha.ac00785",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-01.json
new file mode 100644
index 00000000..2cd68d6a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Older Initial Release Date than Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-21T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-05-01",
+ "initial_release_date": "2023-08-22T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-06-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-06-01.json
new file mode 100644
index 00000000..7076019a
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-06-01.json
@@ -0,0 +1,31 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Older Current Release Date than Revision History (failing example 1)",
+ "tracking": {
+ "current_release_date": "2023-09-06T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-06-01",
+ "initial_release_date": "2023-09-06T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2023-09-06T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ },
+ {
+ "date": "2024-01-21T11:00:00.000Z",
+ "number": "2",
+ "summary": "Second version."
+ }
+ ],
+ "status": "final",
+ "version": "2"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-07-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-07-01.json
new file mode 100644
index 00000000..14d24eaf
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-07-01.json
@@ -0,0 +1,36 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Date in Involvements (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-07-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "involvements": [
+ {
+ "party": "vendor",
+ "status": "in_progress"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-01.json
new file mode 100644
index 00000000..bdac1c7f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-01.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of MD5 as the only Hash Algorithm (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-08-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md5",
+ "value": "6ae24620ea9656230f49234efd078935"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-02.json
new file mode 100644
index 00000000..94b61704
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-02.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of MD5 as the only Hash Algorithm (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-08-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "md5",
+ "value": "6ae24620ea9656230f49234efd078935"
+ },
+ {
+ "algorithm": "md5",
+ "value": "e1b027e19683bf1c3c8df2d62fc500cf"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-01.json
new file mode 100644
index 00000000..51db4756
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-01.json
@@ -0,0 +1,47 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of SHA-1 as the only Hash Algorithm (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-09-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha1",
+ "value": "e067035314dd8673fe1c9fc6b01414fe0950fdc4"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-02.json
new file mode 100644
index 00000000..732090d1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-02.json
@@ -0,0 +1,51 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of SHA-1 as the only Hash Algorithm (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-09-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "name": "Product A",
+ "product_id": "CSAFPID-9080700",
+ "product_identification_helper": {
+ "hashes": [
+ {
+ "file_hashes": [
+ {
+ "algorithm": "sha1",
+ "value": "e067035314dd8673fe1c9fc6b01414fe0950fdc4"
+ },
+ {
+ "algorithm": "sha1",
+ "value": "0ea8daf2551fdd075aefa894e8c51b99b71e1be0"
+ }
+ ],
+ "filename": "product_a.so"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-10-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-10-01.json
new file mode 100644
index 00000000..388acd01
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-10-01.json
@@ -0,0 +1,29 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "distribution": {
+ "text": "Distribute freely."
+ },
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing TLP label (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-10-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-01.json
new file mode 100644
index 00000000..bb5cca36
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-01.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "self",
+ "summary": "A non-canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2.1-2024-6-2-11-01_1.json"
+ }
+ ],
+ "title": "Optional test: Missing Canonical URL (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-11-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-11.json
new file mode 100644
index 00000000..d31df969
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-11.json
@@ -0,0 +1,33 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "references": [
+ {
+ "category": "self",
+ "summary": "A canonical URL.",
+ "url": "https://example.com/security/data/csaf/2024/oasis_csaf_tc-csaf_2.1-2024-6-2-11-11.json"
+ }
+ ],
+ "title": "Optional test: Missing Canonical URL (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-11-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-12-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-12-01.json
new file mode 100644
index 00000000..599e9e8f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-12-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Document Language (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-12-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-13-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-13-01.json
new file mode 100644
index 00000000..1bdcdd66
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-13-01.json
@@ -0,0 +1,26 @@
+{
+ "document": {
+ "csaf_version": "2.1",
+ "category": "csaf_base",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Sorting (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-13-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-01.json
new file mode 100644
index 00000000..1e603319
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-01.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "qtx",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-02.json
new file mode 100644
index 00000000..afea5b76
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-02.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "qcb",
+ "title": "Optional test: Use of Private Language (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-03.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-03.json
new file mode 100644
index 00000000..bedacf4c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-03.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "qdq",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "qcb",
+ "title": "Optional test: Use of Private Language (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-04.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-04.json
new file mode 100644
index 00000000..395acaa1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-04.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-QM",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-05.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-05.json
new file mode 100644
index 00000000..7368b328
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-05.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-XP",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-06.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-06.json
new file mode 100644
index 00000000..64ef1844
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-06.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-Qabc",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-06",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-07.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-07.json
new file mode 100644
index 00000000..cb68f7dd
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-07.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-AA",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-07",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-08.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-08.json
new file mode 100644
index 00000000..f1a89550
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-08.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "fr-ZZ",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (failing example 8)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-08",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-11.json
new file mode 100644
index 00000000..8a1cbdb1
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-11.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Private Language (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-12.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-12.json
new file mode 100644
index 00000000..ebac4e68
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-12.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en-US",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "de-DE",
+ "title": "Optional test: Use of Private Language (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-14-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-01.json
new file mode 100644
index 00000000..13c39b4b
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-01.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "i-default",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Default Language (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-15-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-02.json
new file mode 100644
index 00000000..eeb1ce48
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-02.json
@@ -0,0 +1,28 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "source_lang": "i-default",
+ "title": "Optional test: Use of Default Language (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-15-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-11.json
new file mode 100644
index 00000000..b9a1d5d2
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-11.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "lang": "en",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Use of Default Language (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-15-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-01.json
new file mode 100644
index 00000000..6066c292
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-01.json
@@ -0,0 +1,43 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Product Identification Helper (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-16-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-02.json
new file mode 100644
index 00000000..4f624d2f
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-02.json
@@ -0,0 +1,59 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Product Identification Helper (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-16-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version",
+ "name": "6.7",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A 6.7"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-11.json
new file mode 100644
index 00000000..3a6b668c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-11.json
@@ -0,0 +1,48 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Missing Product Identification Helper (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-16-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A",
+ "product_identification_helper": {
+ "serial_numbers": [
+ "98765?43210-BCD*"
+ ]
+ }
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-01.json
new file mode 100644
index 00000000..02a1c8a8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-01.json
@@ -0,0 +1,36 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVE in field IDs (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-17-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "ids": [
+ {
+ "system_name": "CVE Project",
+ "text": "CVE-2021-44228"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-11.json
new file mode 100644
index 00000000..0cf9e391
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-11.json
@@ -0,0 +1,36 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVE in field IDs (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-17-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "vulnerabilities": [
+ {
+ "ids": [
+ {
+ "system_name": "GitHub Issue",
+ "text": "csaf-tools/CVRF-CSAF-Converter#78"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-01.json
new file mode 100644
index 00000000..19f6c225
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-01.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Product Version Range without vers (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-18-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": ">4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A later than 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-11.json
new file mode 100644
index 00000000..632b2dbc
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-11.json
@@ -0,0 +1,50 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Product Version Range without vers (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-18-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "branches": [
+ {
+ "category": "vendor",
+ "name": "Example Company",
+ "branches": [
+ {
+ "category": "product_name",
+ "name": "Product A",
+ "branches": [
+ {
+ "category": "product_version_range",
+ "name": "vers:generic/>4.2",
+ "product": {
+ "product_id": "CSAFPID-9080700",
+ "name": "Example Company Product A later than 4.2"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-01.json
new file mode 100644
index 00000000..159fb5c3
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-01.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-02.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-02.json
new file mode 100644
index 00000000..4d879118
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-02.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-02",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "modifiedConfidentialityImpact": "NONE",
+ "modifiedIntegrityImpact": "NONE",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-03.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-03.json
new file mode 100644
index 00000000..23bb21a3
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-03.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-03",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v2": {
+ "baseScore": 6.8,
+ "targetDistribution": "LOW",
+ "vectorString": "AV:A/AC:L/Au:N/C:P/I:N/A:C",
+ "version": "2.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-04.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-04.json
new file mode 100644
index 00000000..85513ff8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-04.json
@@ -0,0 +1,55 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-04",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v2": {
+ "baseScore": 6.8,
+ "vectorString": "AV:A/AC:L/Au:N/C:P/I:N/A:C",
+ "version": "2.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-05.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-05.json
new file mode 100644
index 00000000..0c3784ed
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-05.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-05",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-06.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-06.json
new file mode 100644
index 00000000..4d48456c
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-06.json
@@ -0,0 +1,58 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (failing example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-06",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "modifiedConfidentialityImpact": "NONE",
+ "modifiedIntegrityImpact": "NONE",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-11.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-11.json
new file mode 100644
index 00000000..7c3ddbc8
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-11.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-11",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H/MC:N/MI:N/MA:N",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-12.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-12.json
new file mode 100644
index 00000000..b409342b
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-12.json
@@ -0,0 +1,59 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 2)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-12",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "modifiedAvailabilityImpact": "NONE",
+ "modifiedConfidentialityImpact": "NONE",
+ "modifiedIntegrityImpact": "NONE",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-13.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-13.json
new file mode 100644
index 00000000..14783a94
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-13.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 3)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-13",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v2": {
+ "baseScore": 6.8,
+ "targetDistribution": "NONE",
+ "vectorString": "AV:A/AC:L/Au:N/C:P/I:N/A:C",
+ "version": "2.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-14.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-14.json
new file mode 100644
index 00000000..d32a1a51
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-14.json
@@ -0,0 +1,55 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 4)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-14",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v2": {
+ "baseScore": 6.8,
+ "vectorString": "AV:A/AC:L/Au:N/C:P/I:N/A:C/TD:N",
+ "version": "2.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-15.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-15.json
new file mode 100644
index 00000000..7158edce
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-15.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 5)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-15",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "first_fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H/MC:N/MI:N/MA:N",
+ "version": "3.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-16.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-16.json
new file mode 100644
index 00000000..afd92299
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-16.json
@@ -0,0 +1,59 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 6)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-16",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "fixed": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "modifiedAvailabilityImpact": "NONE",
+ "modifiedConfidentialityImpact": "NONE",
+ "modifiedIntegrityImpact": "NONE",
+ "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.0"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-17.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-17.json
new file mode 100644
index 00000000..f46495a7
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-17.json
@@ -0,0 +1,56 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: CVSS for Fixed Products (valid example 7)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-19-17",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ },
+ "product_tree": {
+ "full_product_names": [
+ {
+ "product_id": "CSAFPID-9080700",
+ "name": "Product A"
+ }
+ ]
+ },
+ "vulnerabilities": [
+ {
+ "product_status": {
+ "known_affected": [
+ "CSAFPID-9080700"
+ ]
+ },
+ "scores": [
+ {
+ "cvss_v3": {
+ "baseScore": 6.5,
+ "baseSeverity": "MEDIUM",
+ "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "version": "3.1"
+ },
+ "products": [
+ "CSAFPID-9080700"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-20-01.json b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-20-01.json
new file mode 100644
index 00000000..11d44154
--- /dev/null
+++ b/csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-20-01.json
@@ -0,0 +1,27 @@
+{
+ "document": {
+ "category": "csaf_base",
+ "csaf_version": "2.1",
+ "custom_property": "any",
+ "publisher": {
+ "category": "other",
+ "name": "OASIS CSAF TC",
+ "namespace": "https://csaf.io"
+ },
+ "title": "Optional test: Additional Properties (failing example 1)",
+ "tracking": {
+ "current_release_date": "2024-01-24T10:00:00.000Z",
+ "id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-20-01",
+ "initial_release_date": "2024-01-24T10:00:00.000Z",
+ "revision_history": [
+ {
+ "date": "2024-01-24T10:00:00.000Z",
+ "number": "1",
+ "summary": "Initial version."
+ }
+ ],
+ "status": "final",
+ "version": "1"
+ }
+ }
+}
\ No newline at end of file
diff --git a/csaf_2.1/test/validator/data/testcases.json b/csaf_2.1/test/validator/data/testcases.json
new file mode 100644
index 00000000..7443b698
--- /dev/null
+++ b/csaf_2.1/test/validator/data/testcases.json
@@ -0,0 +1,1374 @@
+{
+ "$schema": "https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.1/test/validator/testcases_json_schema.json",
+ "testschema_version": "2.1",
+ "tests": [
+ {
+ "id": "6.1.1",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-01-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.2",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-02-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.3",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-03-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.4",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-04-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.5",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-05-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.6",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-02.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-03.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-04.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-05.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-12.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-13.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-14.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-06-15.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.7",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-07-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.8",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-08-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.9",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-09-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.10",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-10-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.11",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-11-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.12",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-12-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.13",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-13-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.14",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-02.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-03.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-04.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-05.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-06.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-07.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-08.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-12.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-13.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-14.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-15.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-16.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-17.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-18.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-19.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.15",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-02.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-15-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.16",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-02.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-03.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-04.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-05.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-06.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-07.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-08.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-12.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-13.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-14.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-15.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-16.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-17.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-18.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-19.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-31.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.17",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-17-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.18",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-18-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.19",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-19-02.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.20",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-20-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.21",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-02.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-12.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-13.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.22",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-22-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.23",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-23-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.24",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-02.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-24-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.25",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-25-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.26",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-26-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.1",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-01-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.2",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-02-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.3",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-03-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.4",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-04-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.5",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-05-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.6",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-06-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.7",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-07-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.8",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-08-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.9",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-02.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-03.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-04.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-05.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-06.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-12.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-13.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-14.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-15.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-09-16.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.10",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-10-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.27.11",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-27-11-01.json",
+ "valid": false
+ }
+ ]
+ },
+ {
+ "id": "6.1.28",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-28-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.29",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-29-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.30",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-30-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.31",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-01.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-02.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-03.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-04.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-05.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-06.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-07.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-08.json",
+ "valid": false
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-09.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-11.json",
+ "valid": true
+ },
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-31-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.32",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-32-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.1.33",
+ "group": "mandatory",
+ "failures": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-01.json",
+ "valid": false
+ }
+ ],
+ "valid": [
+ {
+ "name": "mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-33-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.1",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-01-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.2",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-02-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.3",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-03-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.4",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-04-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.5",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.6",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-06-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.7",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-07-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.8",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-08-02.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.9",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-09-02.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.10",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-10-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.11",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-11-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.12",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-12-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.13",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-13-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.14",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-02.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-03.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-04.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-05.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-06.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-07.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-08.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-11.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-14-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.15",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-15-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.16",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-16-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.17",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-17-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.18",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-18-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.19",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-01.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-02.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-03.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-04.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-05.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-06.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-11.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-12.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-13.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-14.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-15.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-16.json",
+ "valid": true
+ },
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-19-17.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.2.20",
+ "group": "optional",
+ "failures": [
+ {
+ "name": "optional/oasis_csaf_tc-csaf_2_1-2024-6-2-20-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.1",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-11.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-01-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.2",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-11.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-02-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.3",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-11.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-03-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.4",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-11.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-04-12.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.5",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-05-01.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.6",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-02.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-06-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.7",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-07-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.8",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-08-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.9",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-01.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-02.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-03.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-04.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-05.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-06.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-11.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-12.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-13.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-14.json",
+ "valid": true
+ },
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-09-15.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.10",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-10-11.json",
+ "valid": true
+ }
+ ]
+ },
+ {
+ "id": "6.3.11",
+ "group": "informative",
+ "failures": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-01.json",
+ "valid": true
+ }
+ ],
+ "valid": [
+ {
+ "name": "informative/oasis_csaf_tc-csaf_2_1-2024-6-3-11-11.json",
+ "valid": true
+ }
+ ]
+ }
+ ]
+}
diff --git a/csaf_2.1/test/validator/run_tests.sh b/csaf_2.1/test/validator/run_tests.sh
new file mode 100755
index 00000000..073e7995
--- /dev/null
+++ b/csaf_2.1/test/validator/run_tests.sh
@@ -0,0 +1,57 @@
+#!/bin/bash
+
+STRICT_BUILD=csaf_2.1/build
+ORIG_SCHEMA=csaf_2.1/json_schema/csaf_json_schema.json
+CSAF_STRICT_SCHEMA=${STRICT_BUILD}/csaf_strict_schema.json
+CVSS_20_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v2.0_strict.json
+CVSS_30_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.0_strict.json
+CVSS_31_STRICT_SCHEMA=csaf_2.1/referenced_schema/first/cvss-v3.1_strict.json
+VALIDATOR=csaf_2.1/test/validator.py
+STRICT_GENERATOR=csaf_2.1/test/generate_strict_schema.py
+TESTPATH=csaf_2.1/test/validator/data/$1/*.json
+EXCLUDE=oasis_csaf_tc-csaf_2_1-2024-6-1-08-01.json
+EXCLUDE_STRICT=oasis_csaf_tc-csaf_2_1-2024-6-2-20-01.json
+
+FAIL=0
+
+# go to root of git repository
+cd `dirname $0`/../../..
+
+validate() {
+ printf "%s" "Testing file $1 against schema ${SCHEMA} ... "
+ if python3 $VALIDATOR $SCHEMA $1 ${CVSS_20_STRICT_SCHEMA} ${CVSS_30_STRICT_SCHEMA} ${CVSS_31_STRICT_SCHEMA}; then
+ printf "%s\n" SUCCESS
+ else
+ printf "%s\n" FAILED
+ FAIL=1
+ fi
+
+}
+
+test_all() {
+ for i in $(ls -1 ${TESTPATH} | grep -v $EXCLUDE)
+ do
+ validate $i
+ done
+}
+
+test_all_strict() {
+ for i in $(ls -1 ${TESTPATH} | grep -v $EXCLUDE | grep -v ${EXCLUDE_STRICT})
+ do
+ validate $i
+ done
+}
+
+SCHEMA=$ORIG_SCHEMA
+test_all
+
+
+printf "%s" "Generating strict schema ... "
+mkdir -p ${STRICT_BUILD}
+python3 "${STRICT_GENERATOR}" "${ORIG_SCHEMA}" > "${CSAF_STRICT_SCHEMA}"
+printf "%s\n" "done"
+
+SCHEMA=${CSAF_STRICT_SCHEMA}
+test_all_strict
+
+exit ${FAIL}
diff --git a/csaf_2.1/test/validator/testcases_json_schema.json b/csaf_2.1/test/validator/testcases_json_schema.json
new file mode 100644
index 00000000..9d8f99e5
--- /dev/null
+++ b/csaf_2.1/test/validator/testcases_json_schema.json
@@ -0,0 +1,103 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.1/test/validator/testcases_json_schema.json",
+ "title": "Test cases for CSAF",
+ "description": "Representation of the data provided for test cases from section 6 of the specification.",
+ "type": "object",
+ "$defs": {
+ "file_t": {
+ "title": "File information",
+ "description": "Contains information about a single test file.",
+ "type": "object",
+ "required": [
+ "name",
+ "valid"
+ ],
+ "properties": {
+ "name": {
+ "title": "Name of the test file",
+ "description": "Contains the filename and path relative to the JSON that includes this object.",
+ "type": "string",
+ "pattern": "^.+\\.json$"
+ },
+ "valid": {
+ "title": "Evaluation result",
+ "description": "States whether the test file is valid according to the CSAF standard.",
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "test_t": {
+ "title": "Test",
+ "description": "Contains test data for a single test.",
+ "type": "object",
+ "required": [
+ "failures",
+ "id",
+ "group"
+ ],
+ "properties": {
+ "failures": {
+ "title": "List of failing examples",
+ "description": "Contains a list of files of examples that fail that specific test.",
+ "type": "array",
+ "uniqueItems": true,
+ "minItems": 1,
+ "items": {
+ "$ref": "#/$defs/file_t"
+ }
+ },
+ "group": {
+ "title": "Test group",
+ "description": "Contains the name of the group the test belongs to.",
+ "type": "string",
+ "enum": [
+ "mandatory",
+ "informative",
+ "optional"
+ ]
+ },
+ "id": {
+ "title": "Number of the test",
+ "description": "Contains the section number of the test in the specification.",
+ "type": "string",
+ "pattern": "^6\\.(([1-3]\\.[1-9])|([12]\\.1[0-9])|(3\\.1[01])|([12]\\.20)|(1\\.2[1-68-9])|(1\\.27\\.([1-9]|10|11))|(1\\.3[0-3]))$"
+ },
+ "valid": {
+ "title": "List of valid examples",
+ "description": "Contains a list of files of examples that pass that specific test.",
+ "type": "array",
+ "uniqueItems": true,
+ "minItems": 1,
+ "items": {
+ "$ref": "#/$defs/file_t"
+ }
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "tests",
+ "testschema_version"
+ ],
+ "properties": {
+ "tests": {
+ "title": "List of tests",
+ "description": "Contains a list of test data.",
+ "type": "array",
+ "minItems": 1,
+ "uniqueItems": true,
+ "items": {
+ "$ref": "#/$defs/test_t"
+ }
+ },
+ "testschema_version": {
+ "title": "Test schema version",
+ "description": "Contains the current version of this schema",
+ "type": "string",
+ "enum": ["2.1"]
+ }
+ }
+}