For openSUSE Tumbleweed and d l g run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:Factory:git-workflow:staging:dirkmueller:trivy:4/openSUSE_Tumbleweed_and_d_l_g/devel:Factory:git-workflow:staging:dirkmueller:trivy:4.repo
zypper refresh
zypper install trivy
For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:Factory:git-workflow:staging:dirkmueller:trivy:4/openSUSE_Tumbleweed/devel:Factory:git-workflow:staging:dirkmueller:trivy:4.repo
zypper refresh
zypper install trivy
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:Factory:git-workflow:staging:dirkmueller:trivy:4/15.6/devel:Factory:git-workflow:staging:dirkmueller:trivy:4.repo
zypper refresh
zypper install trivy
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:Factory:git-workflow:staging:dirkmueller:trivy:4/15.5/devel:Factory:git-workflow:staging:dirkmueller:trivy:4.repo
zypper refresh
zypper install trivy