forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(suse): added SUSE Linux Enterprise Micro support
This adds support for the SUSE Linux Enterprise Micro family. This also fixes also purl logic for SUSE and openSUSE to match standard expectations better. aquasecurity#7221 Signed-off-by: Marcus Meissner <[email protected]>
- Loading branch information
Showing
26 changed files
with
13,522 additions
and
732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- bucket: "SUSE Linux Enterprise 15-SP3" | ||
pairs: | ||
- bucket: libopenssl1_1 | ||
pairs: | ||
- key: "SUSE-SU-2022:2251-1" | ||
value: | ||
FixedVersion: 1.1.1d-150200.11.48.1 | ||
- bucket: openssl-1_1 | ||
pairs: | ||
- key: "SUSE-SU-2022:2251-1" | ||
value: | ||
FixedVersion: 1.1.1d-150200.11.48.1 | ||
- bucket: "SUSE Linux Enterprise Micro 5.3" | ||
pairs: | ||
- bucket: libopenssl1_1 | ||
pairs: | ||
- key: "SUSE-SU-2023:0311-1" | ||
value: | ||
FixedVersion: 1.1.1l-150400.7.22.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ | |
"PkgID": "[email protected]_64", | ||
"PkgName": "libopenssl1_1", | ||
"PkgIdentifier": { | ||
"PURL": "pkg:rpm/opensuse.leap/[email protected]?arch=x86_64\u0026distro=opensuse.leap-15.1", | ||
"PURL": "pkg:rpm/opensuse/[email protected]?arch=x86_64\u0026distro=opensuse.leap-15.1", | ||
"UID": "898b73ddd0412f57" | ||
}, | ||
"InstalledVersion": "1.1.0i-lp151.8.3.1", | ||
|
@@ -99,7 +99,7 @@ | |
"PkgID": "[email protected]_64", | ||
"PkgName": "openssl-1_1", | ||
"PkgIdentifier": { | ||
"PURL": "pkg:rpm/opensuse.leap/[email protected]?arch=x86_64\u0026distro=opensuse.leap-15.1", | ||
"PURL": "pkg:rpm/opensuse/[email protected]?arch=x86_64\u0026distro=opensuse.leap-15.1", | ||
"UID": "58980d005de43f54" | ||
}, | ||
"InstalledVersion": "1.1.0i-lp151.8.3.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ | |
"PkgID": "[email protected]_64", | ||
"PkgName": "libopenssl3", | ||
"PkgIdentifier": { | ||
"PURL": "pkg:rpm/opensuse.tumbleweed/[email protected]?arch=x86_64\u0026distro=opensuse.tumbleweed-20240607", | ||
"PURL": "pkg:rpm/opensuse/[email protected]?arch=x86_64\u0026distro=opensuse.tumbleweed-20240607", | ||
"UID": "f051425f385d2b99" | ||
}, | ||
"InstalledVersion": "3.1.4-9.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"SchemaVersion": 2, | ||
"CreatedAt": "2021-08-25T12:20:30.000000005Z", | ||
"ArtifactName": "testdata/fixtures/images/sle-micro-rancher-5.4_ndb.tar.gz", | ||
"ArtifactType": "container_image", | ||
"Metadata": { | ||
"OS": { | ||
"Family": "suse linux enterprise micro", | ||
"Name": "5.4" | ||
}, | ||
"ImageID": "sha256:c45ec974938acac29c893b5d273d73e4ebdd7e6a97b6fa861dfbd8dd430b9016", | ||
"DiffIDs": [ | ||
"sha256:7cdd3aec849d122d63dc83a5e1e2fb89b341c67b03e25979131ca335a463bb57" | ||
], | ||
"ImageConfig": { | ||
"architecture": "amd64", | ||
"author": "SUSE LLC (https://www.suse.com/)", | ||
"created": "2024-09-03T17:54:39Z", | ||
"history": [ | ||
{ | ||
"author": "SUSE LLC \u003chttps://www.suse.com/\u003e", | ||
"created": "2024-09-03T17:54:39Z", | ||
"created_by": "KIWI 9.24.43" | ||
} | ||
], | ||
"os": "linux", | ||
"rootfs": { | ||
"type": "layers", | ||
"diff_ids": [ | ||
"sha256:7cdd3aec849d122d63dc83a5e1e2fb89b341c67b03e25979131ca335a463bb57" | ||
] | ||
}, | ||
"config": { | ||
"Cmd": [ | ||
"/bin/bash" | ||
], | ||
"Labels": { | ||
"com.suse.eula": "sle-eula", | ||
"com.suse.image-type": "sle-micro", | ||
"com.suse.release-stage": "released", | ||
"com.suse.sle.micro.rancher.created": "2024-09-03T17:53:32.129328086Z", | ||
"com.suse.sle.micro.rancher.description": "Image containing a micro environment for containers based on the SLE Micro for Rancher.", | ||
"com.suse.sle.micro.rancher.disturl": "obs://build.suse.de/SUSE:SLE-15-SP4:Update:Products:Micro54:Update:CR/images/fcaa3a91b132f1955fa900b902aef7f2-SLE-Micro-Rancher", | ||
"com.suse.sle.micro.rancher.reference": "registry.suse.com/suse/sle-micro-rancher/5.4:%PKG_VERSION%-%RELEASE", | ||
"com.suse.sle.micro.rancher.title": "SLE Micro for Rancher Base Container", | ||
"com.suse.sle.micro.rancher.url": "https://www.suse.com/products/micro/", | ||
"com.suse.sle.micro.rancher.vendor": "SUSE LLC", | ||
"com.suse.sle.micro.rancher.version": "5.4", | ||
"com.suse.supportlevel": "l3", | ||
"org.openbuildservice.disturl": "obs://build.suse.de/SUSE:SLE-15-SP4:Update:Products:Micro54:Update:CR/images/fcaa3a91b132f1955fa900b902aef7f2-SLE-Micro-Rancher", | ||
"org.opencontainers.image.created": "2024-09-03T17:53:32.129328086Z", | ||
"org.opencontainers.image.description": "Image containing a micro environment for containers based on the SLE Micro for Rancher.", | ||
"org.opencontainers.image.title": "SLE Micro for Rancher Base Container", | ||
"org.opencontainers.image.url": "https://www.suse.com/products/micro/", | ||
"org.opencontainers.image.vendor": "SUSE LLC", | ||
"org.opencontainers.image.version": "5.4", | ||
"org.suse.reference": "registry.suse.com/suse/sle-micro-rancher/5.4:%PKG_VERSION%-%RELEASE" | ||
} | ||
} | ||
} | ||
}, | ||
"Results": [ | ||
{ | ||
"Target": "testdata/fixtures/images/sle-micro-rancher-5.4_ndb.tar.gz (suse linux enterprise micro 5.4)", | ||
"Class": "os-pkgs", | ||
"Type": "suse linux enterprise micro" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
NAME="SLE Micro" | ||
VERSION="5.3" | ||
VERSION_ID="5.3" | ||
PRETTY_NAME="SUSE Linux Enterprise Micro 5.3" | ||
ID="sle-micro" | ||
ID_LIKE="suse" | ||
ANSI_COLOR="0;32" | ||
CPE_NAME="cpe:/o:suse:sle-micro:5.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
NAME="SLE Micro" | ||
VERSION="5.4" | ||
VERSION_ID="5.4" | ||
PRETTY_NAME="SUSE Linux Enterprise Micro for Rancher 5.4" | ||
ID="sle-micro-rancher" | ||
ID_LIKE="suse" | ||
ANSI_COLOR="0;32" | ||
CPE_NAME="cpe:/o:suse:sle-micro-rancher:5.4" | ||
IMAGE_REPO="registry.suse.com/rancher/elemental-teal/5.4" | ||
IMAGE_TAG="1.2.3-3.2.153" | ||
IMAGE="registry.suse.com/rancher/elemental-teal/5.4:1.2.3-3.2.153" | ||
TIMESTAMP=20240419051540 | ||
GRUB_ENTRY_NAME="Elemental" |
Oops, something went wrong.