Exclude ios_apps and ipados_apps from normal vuln processing. (#21143)

#21142
This commit is contained in:
Victor Lyuboslavsky 2024-08-07 19:46:33 +02:00 committed by GitHub
parent ae211a3966
commit 647ffc6bf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -443,7 +443,8 @@ func TranslateSoftwareToCPE(
nonOvalIterator, err := ds.AllSoftwareIterator(
ctx,
fleet.SoftwareIterQueryOptions{
ExcludedSources: oval.SupportedSoftwareSources,
// Also exclude iOS and iPadOS apps until we enable vulnerabilities support for them.
ExcludedSources: append(oval.SupportedSoftwareSources, "ios_apps", "ipados_apps"),
},
)
if err != nil {