Skip to content

Commit

Permalink
chore: added filter to exclude cves not ready for publication (#4869)
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding authored Dec 4, 2024
1 parent db85b2d commit e376df8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions utils/cves/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ async function generateCVEs() {
field: "spec.impact.impactedDeployments.connected",
operator: "ex",
},
{
field: "status.state",
options: ["Analyzed", "Modified"],
operator: "in",
},
],
});
const paletteAirgap = await getSecurityBulletins({
Expand All @@ -73,6 +78,11 @@ async function generateCVEs() {
field: "spec.impact.impactedDeployments.airgap",
operator: "ex",
},
{
field: "status.state",
options: ["Analyzed", "Modified"],
operator: "in",
},
],
});
const vertex = await getSecurityBulletins({
Expand All @@ -90,6 +100,11 @@ async function generateCVEs() {
field: "spec.impact.impactedDeployments.connected",
operator: "ex",
},
{
field: "status.state",
options: ["Analyzed", "Modified"],
operator: "in",
},
],
});
const vertexAirgap = await getSecurityBulletins({
Expand All @@ -107,6 +122,11 @@ async function generateCVEs() {
field: "spec.impact.impactedDeployments.airgap",
operator: "ex",
},
{
field: "status.state",
options: ["Analyzed", "Modified"],
operator: "in",
},
],
});

Expand Down

0 comments on commit e376df8

Please sign in to comment.