Investigate how Trivy detects the underlying OS, likely through reading /etc/os release or similar files. Add Fedora to the list of supported distributions by following the pattern of existing OS detection for Ubuntu or CentOS. Check the repository's issue comments for any specific implementation details or maintainer suggestions. The relevant code is probably in the pkg/detector or similar directory.
Support Fedora · aquasecurity/trivy#121 | Good First Issue