mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-21 23:00:42 -08:00
feat: add support for scanning azure ARM (#3011)
Signed-off-by: Owen Rumney <owen.rumney@aquasec.com>
This commit is contained in:
@@ -52,80 +52,80 @@ func TestTar(t *testing.T) {
|
||||
Format: "json",
|
||||
Input: "testdata/fixtures/images/alpine-39.tar.gz",
|
||||
SkipFiles: []string{
|
||||
"/etc",
|
||||
"/etc/TZ",
|
||||
"/etc/alpine-release",
|
||||
"/etc/apk",
|
||||
"/etc/apk/arch",
|
||||
"/etc/apk/keys",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub",
|
||||
"/etc/apk/protected_paths.d",
|
||||
"/etc/apk/repositories",
|
||||
"/etc/apk/world",
|
||||
"/etc/conf.d",
|
||||
"/etc/crontabs",
|
||||
"/etc/crontabs/root",
|
||||
"/etc/fstab",
|
||||
"/etc/group",
|
||||
"/etc/hostname",
|
||||
"/etc/hosts",
|
||||
"/etc/init.d",
|
||||
"/etc/inittab",
|
||||
"/etc/issue",
|
||||
"/etc/logrotate.d",
|
||||
"/etc/logrotate.d/acpid",
|
||||
"/etc/modprobe.d",
|
||||
"/etc/modprobe.d/aliases.conf",
|
||||
"/etc/modprobe.d/blacklist.conf",
|
||||
"/etc/modprobe.d/i386.conf",
|
||||
"/etc/modprobe.d/kms.conf",
|
||||
"/etc/modules",
|
||||
"/etc/modules-load.d",
|
||||
"/etc/motd",
|
||||
"/etc/mtab",
|
||||
"/etc/network",
|
||||
"/etc/network/if-down.d",
|
||||
"/etc/network/if-post-down.d",
|
||||
"/etc/network/if-post-up.d",
|
||||
"/etc/network/if-pre-down.d",
|
||||
"/etc/network/if-pre-up.d",
|
||||
"/etc/network/if-up.d",
|
||||
"/etc/network/if-up.d/dad",
|
||||
"/etc/opt",
|
||||
"/etc/os-release",
|
||||
"/etc/passwd",
|
||||
"/etc/periodic",
|
||||
"/etc/periodic/15min",
|
||||
"/etc/periodic/daily",
|
||||
"/etc/periodic/hourly",
|
||||
"/etc/periodic/monthly",
|
||||
"/etc/periodic/weekly",
|
||||
"/etc/profile",
|
||||
"/etc/profile.d",
|
||||
"/etc/profile.d/color_prompt",
|
||||
"/etc/protocols",
|
||||
"/etc/securetty",
|
||||
"/etc/services",
|
||||
"/etc/shadow",
|
||||
"/etc/shells",
|
||||
"/etc/ssl",
|
||||
"/etc/ssl/cert.pem",
|
||||
"/etc/ssl/certs",
|
||||
"/etc/ssl/ct_log_list.cnf",
|
||||
"/etc/ssl/ct_log_list.cnf.dist",
|
||||
"/etc/ssl/misc",
|
||||
"/etc/ssl/misc/CA.pl",
|
||||
"/etc/ssl/misc/tsget",
|
||||
"/etc/ssl/misc/tsget.pl",
|
||||
"/etc/ssl/openssl.cnf",
|
||||
"/etc/ssl/openssl.cnf.dist",
|
||||
"/etc/ssl/private",
|
||||
"/etc/sysctl.conf",
|
||||
"/etc/sysctl.d",
|
||||
"/etc/sysctl.d/00-alpine.conf",
|
||||
"/etc/udhcpd.conf",
|
||||
"/etc",
|
||||
"/etc/TZ",
|
||||
"/etc/alpine-release",
|
||||
"/etc/apk",
|
||||
"/etc/apk/arch",
|
||||
"/etc/apk/keys",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub",
|
||||
"/etc/apk/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub",
|
||||
"/etc/apk/protected_paths.d",
|
||||
"/etc/apk/repositories",
|
||||
"/etc/apk/world",
|
||||
"/etc/conf.d",
|
||||
"/etc/crontabs",
|
||||
"/etc/crontabs/root",
|
||||
"/etc/fstab",
|
||||
"/etc/group",
|
||||
"/etc/hostname",
|
||||
"/etc/hosts",
|
||||
"/etc/init.d",
|
||||
"/etc/inittab",
|
||||
"/etc/issue",
|
||||
"/etc/logrotate.d",
|
||||
"/etc/logrotate.d/acpid",
|
||||
"/etc/modprobe.d",
|
||||
"/etc/modprobe.d/aliases.conf",
|
||||
"/etc/modprobe.d/blacklist.conf",
|
||||
"/etc/modprobe.d/i386.conf",
|
||||
"/etc/modprobe.d/kms.conf",
|
||||
"/etc/modules",
|
||||
"/etc/modules-load.d",
|
||||
"/etc/motd",
|
||||
"/etc/mtab",
|
||||
"/etc/network",
|
||||
"/etc/network/if-down.d",
|
||||
"/etc/network/if-post-down.d",
|
||||
"/etc/network/if-post-up.d",
|
||||
"/etc/network/if-pre-down.d",
|
||||
"/etc/network/if-pre-up.d",
|
||||
"/etc/network/if-up.d",
|
||||
"/etc/network/if-up.d/dad",
|
||||
"/etc/opt",
|
||||
"/etc/os-release",
|
||||
"/etc/passwd",
|
||||
"/etc/periodic",
|
||||
"/etc/periodic/15min",
|
||||
"/etc/periodic/daily",
|
||||
"/etc/periodic/hourly",
|
||||
"/etc/periodic/monthly",
|
||||
"/etc/periodic/weekly",
|
||||
"/etc/profile",
|
||||
"/etc/profile.d",
|
||||
"/etc/profile.d/color_prompt",
|
||||
"/etc/protocols",
|
||||
"/etc/securetty",
|
||||
"/etc/services",
|
||||
"/etc/shadow",
|
||||
"/etc/shells",
|
||||
"/etc/ssl",
|
||||
"/etc/ssl/cert.pem",
|
||||
"/etc/ssl/certs",
|
||||
"/etc/ssl/ct_log_list.cnf",
|
||||
"/etc/ssl/ct_log_list.cnf.dist",
|
||||
"/etc/ssl/misc",
|
||||
"/etc/ssl/misc/CA.pl",
|
||||
"/etc/ssl/misc/tsget",
|
||||
"/etc/ssl/misc/tsget.pl",
|
||||
"/etc/ssl/openssl.cnf",
|
||||
"/etc/ssl/openssl.cnf.dist",
|
||||
"/etc/ssl/private",
|
||||
"/etc/sysctl.conf",
|
||||
"/etc/sysctl.d",
|
||||
"/etc/sysctl.d/00-alpine.conf",
|
||||
"/etc/udhcpd.conf",
|
||||
},
|
||||
},
|
||||
golden: "testdata/alpine-39-skip.json.golden",
|
||||
|
||||
Reference in New Issue
Block a user