from pathlib import Path import datetime RELEASES = { 8: {'rhel_oval_url': 'https://www.redhat.com/security/data/oval/v2/RHEL8/rhel-8.oval.xml.bz2', 'alma_oval_url': 'https://repo.almalinux.org/security/oval/org.almalinux.alsa-8.xml.bz2', 'alma_errata_url': "https://errata.almalinux.org/8/errata.full.json", }, 9: {'rhel_oval_url': 'https://www.redhat.com/security/data/oval/v2/RHEL9/rhel-9.oval.xml.bz2', 'alma_oval_url': 'https://repo.almalinux.org/security/oval/org.almalinux.alsa-9.xml.bz2', 'alma_errata_url': "https://errata.almalinux.org/9/errata.full.json", } } LOG_FILE = Path('logs/albs-oval-errata-diff.log') DIFF_FILE = Path('results/diff.json') DOWNLOAD_DIR = Path('/tmp') # not checking anything before RHEL-9.0 release NOT_BEFORE = datetime.datetime(2022, 5, 18) UPDATE_INTERVAL_MINUTES = 30 SERVER_PORT = 3001 SERVER_IP = "127.0.0.1" SA_EXCLUDE = [] PACKAGES_EXCLUDE = ["dotnet-sdk-3.1-source-built-artifacts"]