diff options
author | Marta Rybczynska <rybczynska@gmail.com> | 2022-04-22 16:17:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-03 17:50:06 +0100 |
commit | dcd40cfa375c272eda1ccc3063a48c5ec0a50ab5 (patch) | |
tree | 51411d9ff97fc5923fb1652ac0a41d4ce9906b01 /meta-yocto-bsp/recipes-bsp | |
parent | 5b0093ecee4b249da588524ec13c5a86029fe1c1 (diff) | |
download | poky-dcd40cfa375c272eda1ccc3063a48c5ec0a50ab5.tar.gz |
cve-check: add json format
Backport to dunfell from master df567de36ae5964bee433ebb97e8bf702034994a
Add an option to output the CVE check in a JSON-based format.
This format is easier to parse in software than the original
text-based one and allows post-processing by other tools.
Output formats are now handed by CVE_CHECK_FORMAT_TEXT and
CVE_CHECK_FORMAT_JSON. The text format is enabled by default
to maintain compatibility, while the JSON format is disabled
by default.
The JSON output format gets generated in a similar way to the
text format with the exception of the manifest: appending to
JSON arrays requires parsing the file. Because of that we
first write JSON fragments and then assemble them in one pass
at the end.
(From OE-Core rev: 92b6011ab25fd36e2f8900a4db6883cdebc3cd3d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/recipes-bsp')
0 files changed, 0 insertions, 0 deletions