Skip to content

Commit

Permalink
adjusting oscap tests for rhel10
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk committed Dec 3, 2024
1 parent 5e0029d commit a267442
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit a267442

Please sign in to comment.