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

adjusting oscap tests for rhel10 #17055

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
3 changes: 3 additions & 0 deletions robottelo/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1650,6 +1650,7 @@
'rhel7_content': 'Red Hat rhel7 default content',
'rhel8_content': 'Red Hat rhel8 default content',
'rhel9_content': 'Red Hat rhel9 default content',
'rhel10_content': 'Red Hat rhel10 default content',
'rhel_firefox': 'Red Hat firefox default content',
}

Expand All @@ -1659,6 +1660,7 @@
'dsrhel7': 'DISA STIG for Red Hat Enterprise Linux 7',
'dsrhel8': 'DISA STIG for Red Hat Enterprise Linux 8',
'dsrhel9': 'DISA STIG for Red Hat Enterprise Linux 9',
'dsrhel10': 'DISA STIG for Red Hat Enterprise Linux 10',
'esp': 'Example Server Profile',
'rhccp': 'Red Hat Corporate Profile for Certified Cloud Providers (RH CCP)',
'firefox': 'Mozilla Firefox STIG',
Expand All @@ -1671,6 +1673,7 @@
'cbrhel7': 'PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 7',
'cbrhel8': 'PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 8',
'cbrhel9': 'PCI-DSS v4.0 Control Baseline for Red Hat Enterprise Linux 9',
'cbrhel10': 'PCI-DSS v4.0 Control Baseline for Red Hat Enterprise Linux 10',
'ppgpo': 'Protection Profile for General Purpose Operating Systems',
'acscee': 'Australian Cyber Security Centre (ACSC) Essential Eight',
'ospp7': 'OSPP - Protection Profile for General Purpose Operating Systems v4.2.1',
Expand Down
4 changes: 4 additions & 0 deletions tests/foreman/longrun/test_oscap.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,25 @@
from robottelo.logging import logger

ak_name = {
'rhel10': f'ak_{gen_string("alpha")}_rhel10',
'rhel9': f'ak_{gen_string("alpha")}_rhel9',
'rhel8': f'ak_{gen_string("alpha")}_rhel8',
'rhel7': f'ak_{gen_string("alpha")}_rhel7',
}
cv_name = {
'rhel10': f'cv_{gen_string("alpha")}_rhel10',
'rhel9': f'cv_{gen_string("alpha")}_rhel9',
'rhel8': f'cv_{gen_string("alpha")}_rhel8',
'rhel7': f'cv_{gen_string("alpha")}_rhel7',
}
profiles = {
'rhel10': OSCAP_PROFILE['cbrhel10'],
'rhel9': OSCAP_PROFILE['cbrhel9'],
'rhel8': OSCAP_PROFILE['ospp8'],
'rhel7': OSCAP_PROFILE['security7'],
}
rhel_repos = {
'rhel10': settings.repos.rhel10_os,
'rhel9': settings.repos.rhel9_os,
'rhel8': settings.repos.rhel8_os,
'rhel7': settings.repos.rhel7_os,
Expand Down
Loading