This commit adds the Compliance service's API, which we can query for a list of SCAP security policies. In a follow-up PR, we will allow the user to optionally select a policy when creating an image in the wizard.
13 lines
382 B
TypeScript
13 lines
382 B
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi';
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: '../schema/compliance.json',
|
|
apiFile: '../../src/store/emptyComplianceApi.ts',
|
|
apiImport: 'emptyComplianceApi',
|
|
outputFile: '../../src/store/complianceApi.ts',
|
|
exportName: 'complianceApi',
|
|
hooks: true,
|
|
filterEndpoints: ['listProfiles'],
|
|
};
|
|
|
|
export default config;
|