mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Mention the single quote limitation of the jsonpath implementation
This commit is contained in:
parent
69dda45bac
commit
ad5c678abf
1 changed files with 2 additions and 1 deletions
|
|
@ -113,9 +113,10 @@ The following example file documents all available configuration options:
|
|||
# test succeeds the rules are applied recursively to
|
||||
# collect all strings in the result.
|
||||
# Suggested expressions are:
|
||||
# - vendor, product family and product names: "expr:$.product_tree..branches[?(@.category=='vendor' || @.category=='product_family' || @.category=='product_name')].name"
|
||||
# - vendor, product family and product names: "expr:$.product_tree..branches[?(@.category==\"vendor\" || @.category==\"product_family\" || @.category==\"product_name\")].name"
|
||||
# - CVEs: "expr:$.vulnerabilities[*].cve"
|
||||
# - CWEs: "expr:$.vulnerabilities[*].cwe.id"
|
||||
# s implementation of JsonPath expressions does not support the use of single-quotes. Double quotes have to be quoted.
|
||||
# Strings not starting with `expr:` are taken verbatim.
|
||||
# By default no category documents are created.
|
||||
# This example provides an overview over the syntax,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue