Open witchcraze opened 1 month ago
9.x may be same status
$ syft bitnami/mysql:9.0 | grep mysql
✔ Loaded image bitnami/mysql:9.0
✔ Parsed image sha256:852a5f421e215520df9bdb43cafda02eaa265e5edc1d572323fd
✔ Cataloged contents 2b1aa5928ee0f57620f4de8f4b82ab8934d235a4623d4cfb1d98d88c394
├── ✔ Packages [141 packages]
├── ✔ File digests [5,607 files]
├── ✔ File metadata [5,607 locations]
└── ✔ Executables [1,199 executables]
$
$ docker run -it --rm bitnami/mysql:9.0 mysql --version
mysql 11:48:06.47 INFO ==>
mysql 11:48:06.47 INFO ==> Welcome to the Bitnami mysql container
mysql 11:48:06.48 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
mysql 11:48:06.48 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
mysql 11:48:06.48 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
mysql 11:48:06.48 INFO ==>
mysql Ver 9.0.0 for Linux on x86_64 (Source distribution)
$
$ docker run -it --rm bitnami/mysql:9.0 strings /opt/bitnami/mysql/bin/mysql | grep -C 2 -E '9\.0\.0'
shutdown
SHOW PROCESSLIST
9.0.0
mysql_real_escape_string_quote
mysql_real_escape_string
What would you like to be added:
Support MySQL 8.x in binary detection // Since current check target file is mysql (not mysqld), I check file - mysql in this time.
Additional context: