Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/grype-db-manager/include.d/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ expected-providers:
- nvd
- oracle
- rhel
- secureos
- sles
- ubuntu
- wolfi
Expand Down
1 change: 1 addition & 0 deletions config/grype-db/publish-nightly-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ provider:
- name: minimos
- name: oracle
- name: rhel
- name: secureos
- name: sles
- name: ubuntu
- name: wolfi
Expand Down
1 change: 1 addition & 0 deletions config/grype-db/publish-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ provider:
- name: minimos
- name: oracle
- name: rhel
- name: secureos
- name: sles
- name: ubuntu
- name: wolfi
Expand Down
1 change: 1 addition & 0 deletions manager/src/grype_db_manager/cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class Validate:
"nvd",
"oracle",
"rhel",
"secureos",
"sles",
"ubuntu",
"wolfi",
Expand Down
2 changes: 2 additions & 0 deletions manager/src/grype_db_manager/grypedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"redhat:distro:redhat:7",
"redhat:distro:redhat:8",
"redhat:distro:redhat:9",
"secureos:distro:secureos:rolling",
"sles:distro:sles:11",
"sles:distro:sles:11.1",
"sles:distro:sles:11.2",
Expand Down Expand Up @@ -191,6 +192,7 @@
"rhel:7",
"rhel:8",
"rhel:9",
"secureos:rolling",
"sles:11",
"sles:11.1",
"sles:11.2",
Expand Down
1 change: 1 addition & 0 deletions manager/tests/unit/cli/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def test_load_default():
- nvd
- oracle
- rhel
- secureos
- sles
- ubuntu
- wolfi
Expand Down
2 changes: 1 addition & 1 deletion pkg/process/v6/transformers/os/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func getPackageType(osName string) pkg.Type {
return pkg.RpmPkg
case "ubuntu", "debian", "echo":
return pkg.DebPkg
case "alpine", "chainguard", "wolfi", "minimos":
case "alpine", "chainguard", "wolfi", "minimos", "secureos":
return pkg.ApkPkg
case "windows":
return pkg.KbPkg
Expand Down
Loading