From f0d723686ea4db882cfabdb7d2fc34ab4fb89644 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Wed, 3 Jul 2024 17:49:10 +0100 Subject: [PATCH] wizard/compliance: re-enable stig profiles The stig profiles have been fixed downstream, so we can re-enable these. --- .../CreateImageWizardV2/steps/Oscap/Oscap.tsx | 29 ++++++------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/Components/CreateImageWizardV2/steps/Oscap/Oscap.tsx b/src/Components/CreateImageWizardV2/steps/Oscap/Oscap.tsx index d4ccc7ad..f8697da0 100644 --- a/src/Components/CreateImageWizardV2/steps/Oscap/Oscap.tsx +++ b/src/Components/CreateImageWizardV2/steps/Oscap/Oscap.tsx @@ -208,26 +208,15 @@ const ProfileSelector = () => { onFilter={(_event, value) => { if (profiles) { return [].concat( - profiles - // stig and stig_gui don't boot at the moment, - // so we should filter them out - .filter((profile_id) => { - const brokenProfiles = [ - 'xccdf_org.ssgproject.content_profile_stig', - 'xccdf_org.ssgproject.content_profile_stig_gui', - ]; - - return !brokenProfiles.includes(profile_id); - }) - .map((profile_id, index) => { - return ( - - ); - }) + profiles.map((profile_id, index) => { + return ( + + ); + }) ); } }}