diff --git a/docs/developer-guide/02-projects/image-builder-frontend/index.md b/docs/developer-guide/02-projects/image-builder-frontend/index.md index 99efdc845..bf4d09391 100644 --- a/docs/developer-guide/02-projects/image-builder-frontend/index.md +++ b/docs/developer-guide/02-projects/image-builder-frontend/index.md @@ -189,7 +189,7 @@ https://github.com/RedHatInsights/image-builder-frontend/blob/c84b493eba82ce83a7 ##### Mocking flags for tests Flags can be mocked for the unit tests to access some feature. Checkout: -https://github.com/osbuild/image-builder-frontend/blob/9a464e416bc3769cfc8e23b62f1dd410eb0e0455/src/test/Components/CreateImageWizardV2/CreateImageWizard.test.tsx#L49 +https://github.com/osbuild/image-builder-frontend/blob/9a464e416bc3769cfc8e23b62f1dd410eb0e0455/src/test/Components/CreateImageWizard/CreateImageWizard.test.tsx#L49 If the two possible code path accessible via the toggles are defined in the code base, then it's good practice to test the two of them. If not, only test what's diff --git a/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.oscap.autotailor.md b/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.oscap.autotailor.md index 1287b8f12..05f4814b2 100644 --- a/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.oscap.autotailor.md +++ b/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.oscap.autotailor.md @@ -19,6 +19,7 @@ Notes: "additionalProperties": false, "required": [ "datastream", + "tailored_profile_id", "tailoring_file" ], "type": "object", @@ -28,6 +29,10 @@ Notes: "type": "string", "description": "The path to the datastream file" }, + "tailored_profile_id": { + "type": "string", + "description": "The id of the new customized (tailored) OpenSCAP profile" + }, "tailoring_file": { "type": "string", "description": "Path to the JSON file which contains tailoring options to be imported" @@ -38,8 +43,7 @@ Notes: "additionalProperties": false, "required": [ "profile_id", - "datastream", - "new_profile" + "datastream" ], "type": "object", "description": "OpenSCAP configuration variables", @@ -54,7 +58,11 @@ Notes: }, "new_profile": { "type": "string", - "description": "The name of the new customized OpenSCAP profile" + "description": "The id of the new customized (tailored) OpenSCAP profile" + }, + "tailored_profile_id": { + "type": "string", + "description": "The id of the new customized (tailored) OpenSCAP profile" }, "selected": { "type": "array",