canonical / oci-factory

The CI/CD for shared container registry namespaces
9 stars 23 forks source link

Add CI-Level Trivy Skip-File for Pebble #291

Closed zhijie-yang closed 1 week ago

zhijie-yang commented 1 week ago

Ping the @canonical/rocks team.


Description

This PR adds CI-level trivy skip-file arguments to bypass the false positive vulnerability findings for the pebble binary in the bare-based rocks. The existing skip-file arguments only contain /bin/pebble, which works for Ubuntu 20.04 and 22.04, but not 24.04, as the pebble executable is in /usr/bin/pebble instead.

Related issues

https://github.com/canonical/chiselled-python/issues/26


This is another approach compared with #290 .