Skip to content

Commit

Permalink
Update oval_feed_url for Ubuntu
Browse files Browse the repository at this point in the history
Replace outdated broken links with current feeds from
https://security-metadata.canonical.com/oval/
  • Loading branch information
mpurg committed Nov 18, 2024
1 parent b2127bf commit ba8ef80
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion products/ubuntu1604/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pkg_manager: "apt_get"
pkg_manager_config_file: "/etc/apt/apt.conf"

init_system: "systemd"
oval_feed_url: "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.xenial.cve.oval.xml"
oval_feed_url: "https://security-metadata.canonical.com/oval/com.ubuntu.xenial.usn.oval.xml.bz2"


chrony_conf_path: "/etc/chrony/chrony.conf"
Expand Down
1 change: 1 addition & 0 deletions products/ubuntu1804/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pkg_manager: "apt_get"
pkg_manager_config_file: "/etc/apt/apt.conf"

init_system: "systemd"
oval_feed_url: "https://security-metadata.canonical.com/oval/com.ubuntu.bionic.usn.oval.xml.bz2"


chrony_conf_path: "/etc/chrony/chrony.conf"
Expand Down
2 changes: 1 addition & 1 deletion products/ubuntu2004/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pkg_manager: "apt_get"
pkg_manager_config_file: "/etc/apt/apt.conf"

init_system: "systemd"
oval_feed_url: "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.focal.cve.oval.xml"
oval_feed_url: "https://security-metadata.canonical.com/oval/com.ubuntu.focal.usn.oval.xml.bz2"

sshd_distributed_config: "true"

Expand Down
2 changes: 1 addition & 1 deletion products/ubuntu2204/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pkg_manager: "apt_get"
pkg_manager_config_file: "/etc/apt/apt.conf"

init_system: "systemd"
oval_feed_url: "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.jammy.cve.oval.xml"
oval_feed_url: "https://security-metadata.canonical.com/oval/com.ubuntu.jammy.usn.oval.xml.bz2"

sshd_distributed_config: "true"

Expand Down
2 changes: 1 addition & 1 deletion products/ubuntu2404/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pkg_manager: "apt_get"
pkg_manager_config_file: "/etc/apt/apt.conf"

init_system: "systemd"
oval_feed_url: "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.jammy.cve.oval.xml"
oval_feed_url: "https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2"

sshd_distributed_config: "true"

Expand Down
2 changes: 1 addition & 1 deletion tests/data/product_stability/ubuntu1604.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ init_system: systemd
major_version_ordinal: 1604
nobody_gid: 65534
nobody_uid: 65534
oval_feed_url: https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.xenial.cve.oval.xml
oval_feed_url: https://security-metadata.canonical.com/oval/com.ubuntu.xenial.usn.oval.xml.bz2
pkg_manager: apt_get
pkg_manager_config_file: /etc/apt/apt.conf
pkg_system: dpkg
Expand Down
1 change: 1 addition & 0 deletions tests/data/product_stability/ubuntu1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ init_system: systemd
major_version_ordinal: 1804
nobody_gid: 65534
nobody_uid: 65534
oval_feed_url: https://security-metadata.canonical.com/oval/com.ubuntu.bionic.usn.oval.xml.bz2
pkg_manager: apt_get
pkg_manager_config_file: /etc/apt/apt.conf
pkg_system: dpkg
Expand Down
2 changes: 1 addition & 1 deletion tests/data/product_stability/ubuntu2004.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ init_system: systemd
major_version_ordinal: 2004
nobody_gid: 65534
nobody_uid: 65534
oval_feed_url: https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.focal.cve.oval.xml
oval_feed_url: https://security-metadata.canonical.com/oval/com.ubuntu.focal.usn.oval.xml.bz2
pkg_manager: apt_get
pkg_manager_config_file: /etc/apt/apt.conf
pkg_system: dpkg
Expand Down
2 changes: 1 addition & 1 deletion tests/data/product_stability/ubuntu2204.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ init_system: systemd
major_version_ordinal: 2204
nobody_gid: 65534
nobody_uid: 65534
oval_feed_url: https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.jammy.cve.oval.xml
oval_feed_url: https://security-metadata.canonical.com/oval/com.ubuntu.jammy.usn.oval.xml.bz2
pkg_manager: apt_get
pkg_manager_config_file: /etc/apt/apt.conf
pkg_system: dpkg
Expand Down
3 changes: 2 additions & 1 deletion tests/data/product_stability/ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ benchmark_id: UBUNTU_24-04
benchmark_root: ../../linux_os/guide
chrony_conf_path: /etc/chrony/chrony.conf
chrony_d_path: /etc/chrony/conf.d/
components_root: ../../components
cpes:
- ubuntu2404:
check_id: installed_OS_is_ubuntu2404
Expand All @@ -33,7 +34,7 @@ init_system: systemd
major_version_ordinal: 2404
nobody_gid: 65534
nobody_uid: 65534
oval_feed_url: https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.noble.cve.oval.xml
oval_feed_url: https://security-metadata.canonical.com/oval/com.ubuntu.noble.usn.oval.xml.bz2
pkg_manager: apt_get
pkg_manager_config_file: /etc/apt/apt.conf
pkg_system: dpkg
Expand Down

0 comments on commit ba8ef80

Please sign in to comment.