Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL OVAL deprecation. New errata workflow #998

Merged
merged 20 commits into from
Oct 24, 2024

Conversation

Add `/errata/new/` endpoint that accept POST requests.
This new endpoint and crud method ensures that all the required data
about an errata is inserted into database.

Resolves: AlmaLinux/build-system#346
Includes:
* Add endpoints for single and bulk errata release.
* Generate OVAL data based on errata data
* Ensure the errata packages mapping for OVAL generation

Package mapping for pulp, and pulp resources creation/publication remain
the same as before.

Resolves: AlmaLinux/build-system#347
* Add new endpoint `/errata/get_new_oval_xml/`
* Generate OVAL XML based on the errata data coming from database

Resolves: AlmaLinux/build-system#348
alws/crud/errata.py Outdated Show resolved Hide resolved
alws/crud/errata.py Outdated Show resolved Hide resolved
alws/crud/errata.py Outdated Show resolved Hide resolved
This way, the OpenSCAP html reports include links to CVEs involved in
every advisory.
Also, skip mapped packages from pulp whose sourcerpm is empty
Copy link
Member

@soksanichenko soksanichenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* upstream/master: (39 commits)
  Bump sqlalchemy from 2.0.35 to 2.0.36
  Bump pyfakefs from 5.7.0 to 5.7.1
  Bump fastapi from 0.115.0 to 0.115.2
  Bump uvicorn from 0.31.0 to 0.32.0
  Create new event loop for tests (AlmaLinux/build-system#367)
  Fix x86_64_v2 repos for ALK10
  Fixed setting up proxy while bootstraping repositories
  Update urls
  - Change export path for almalinux-kitten-10
  - Renave extras repo to extras-common
  Preparing errata bulk releases for UI (AlmaLinux/build-system#325)
  - Adding force parameter to bulk releases errata
  - Setting IN_PROGRESS status in router
  - black formatting
  Add ability to add new platforms to the product (AlmaLinux#1008)
  Bump aiohttp from 3.10.9 to 3.10.10
  Bump pyfakefs from 5.6.0 to 5.7.0
  Bug fixes in the product-exporter script
  Bump black from 24.8.0 to 24.10.0
  Bump sentry-sdk[fastapi] from 2.15.0 to 2.16.0
  Fix path appending in the products-exporter script
  Add ppc64le repository for EPEL-7 flavor
  Add ppc64le repos for CentOS7 platform.
  Bump aiohttp from 3.10.8 to 3.10.9
  ...
@javihernandez javihernandez merged commit df50659 into AlmaLinux:master Oct 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants