using ./scripts/generate-oval --pkg-oval -d --oval-release=jammy --packages linux --output-dir <output_dir> --pkg-cache-dir <cache> to test:
1. 22040000107620 (CVE-2023-3359) should pop up in the current oval as a <cve> tag and <criterion> tag with two different id's, and will now match when run with this patch
2. I have reviewed and yeah, my None check in `_add_kernel_elements` was not needed. It is now removed and things look better.
using ./scripts/ generate- oval --pkg-oval -d --oval- release= jammy --packages linux --output-dir <output_dir> --pkg-cache-dir <cache> to test:
1. 22040000107620 (CVE-2023-3359) should pop up in the current oval as a <cve> tag and <criterion> tag with two different id's, and will now match when run with this patch
2. I have reviewed and yeah, my None check in `_add_kernel_ elements` was not needed. It is now removed and things look better.
Will continue to test