pycsw
pycsw copied to clipboard
add Dockerfile CVE check, update vulnerability scanning to use trivy action
Overview
add Dockerfile CVE check, update vulnerability scanning to use trivy action
Related Issue / Discussion
None
Additional Information
None
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)
- [x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
- [x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines
Testing only the docker image for vulnerabilities could give the impression that all deployment methods are tested as well.
In order to pass the tests here, we would also need to change the base docker image and put effort to catch up with OS security patches.
PR updated. Note that upgrading Dockerfile to python:3.10-slim-buster and adding apt upgrade passes the trivy image scan.