1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Extract more than one string from expr: category fields.

This commit is contained in:
Sascha L. Teichmann 2023-01-22 20:55:26 +01:00
parent 1d0499ddea
commit 8c8ccf6a2e
4 changed files with 64 additions and 6 deletions

View file

@ -106,6 +106,12 @@ The following example file documents all available configuration options:
# If a list item starts with `expr:`
# the rest of the string is used as a JsonPath expression
# to extract a string from the incoming advisories.
# If the result of the expression is a string this string
# is used. If the result is an array each element of
# this array is tested if it is a string or an array.
# If this test fails the expression fails. If the
# test succeeds the rules are applied recursively to
# collect all strings in the result.
# Strings not starting with `expr:` are taken verbatim.
# By default no category documents are created.
# This example provides an overview over the syntax,