store/cockpitApi: empty get oscap profiles function

Create the boilerplate function for getting the Oscap profiles. We will
need to make a call to the `oscap` binary to get this information. So
we will leave it empty for now.
This commit is contained in:
Gianluca Zuccarelli 2025-01-10 12:49:21 +00:00 committed by Sanne Raymaekers
parent 34bf64debc
commit 5a70e31d5a
3 changed files with 22 additions and 1 deletions

View file

@ -24,6 +24,7 @@ import {
RHEL_10_BETA,
RHEL_10,
} from '../../../../constants';
import { useGetOscapProfilesQuery } from '../../../../store/backendApi';
import { usePoliciesQuery, PolicyRead } from '../../../../store/complianceApi';
import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
import {
@ -32,7 +33,6 @@ import {
Filesystem,
OpenScapProfile,
useGetOscapCustomizationsQuery,
useGetOscapProfilesQuery,
useLazyGetOscapCustomizationsQuery,
Services,
} from '../../../../store/imageBuilderApi';