Repository navigation
Description
Part of the Tutorials work (#204): everything a reader does with catalogs and profiles in the UI. Follow the STYLE.md "Tutorials page" section (one tutorial per topic, 10–15 minutes, a checkpoint after each step). Use the tutorial components (showcased in docs/tutorials/components.mdx), the <Checkpoint> component from #214, and the shared first step docs/tutorials/_start-demo-environment.mdx from #216, imported as the tutorial's first <Step>.
The tutorial: Catalogs and profiles
docs/tutorials/catalogs.mdx, added to tutorialsSidebar after the Evidence tutorial. Update the overview's "Evidence and Catalog" group to link to it.
The reader starts from the clean-slate demo environment and ends with a catalog they built, a catalog they imported, and a profile that selects controls from one of them. Steps, with labels checked against compliance-framework/ui main (use them exactly as the UI shows them, in bold):
- Create a catalog. Under Control Definitions, go to Catalogs and select Create Catalog. In New Catalog, fill in ID (the Generate UUID button next to it fills one in), Title and Type, then select Create Catalog. Say that the type decides which tab the catalog is listed under on Catalogs (Standards, Policies, Procedures, Internal Catalogs, Other) and can't be changed afterwards.
- Add a group and controls. On the catalog page, select Add Group (an ID such as
acand a Title). On the group, select + Control to add a control (ac-1) and a second one. Expand a control and use Add Statement to give it its text (Save Text). - Import an OSCAL catalog. Under Integrations, go to Import. In Import OSCAL Content, choose the file with click to browse, then select Import and read the Import Results. Drag and drop isn't wired up on that page, so tell readers to click. Then find the imported catalog on Catalogs: one without a type is listed under Standards.
- Ship a small sample OSCAL catalog for this step, so the reader has a file to import: a few fictional controls, valid OSCAL JSON, under
static/and offered with a download link and aCopyBlock. Check that it imports cleanly.
- Ship a small sample OSCAL catalog for this step, so the reader has a file to import: a few fictional controls, valid OSCAL JSON, under
- Create a profile and bind it to a catalog. Under Control Definitions, go to Profiles and select Create New Profile. Give it a Title and select Create Profile. On its Controls tab, select Add Catalog Import and Import next to one of the catalogs. Expand the imported catalog, select Create Group, add controls By ID (for example
ac-1), and select Save. The Imported Catalogs and Included Controls counters update. - See what you built. Open the profile's JSON tab and point out the import and the selected controls in the OSCAL profile.
Mention Build Profile by Props (on Profiles) in a sentence as the other way to make a profile: it picks controls from a catalog by prop rules in one step. Don't walk through it.
Leave out what other tutorials cover: the profile's Compliance tab and a control's Findings (they need evidence: the Evidence tutorial), evidence filters (the Filter tutorial), and attaching a profile to a system (the System tutorial). Mention each in a sentence where it fits and link to it from Next steps. Leave out the hidden Merge tab and Control Links.
Write each step as concrete UI instructions. After the first step, each <Step> ends with a <Checkpoint> with a screenshot of what the reader should now see. Then Check your work, and Next steps as a CardGroup pointing to the next tutorials in the overview. Link the planned pages from the overview only; don't create stub pages for them.
Check in the running UI: on a profile with a freshly imported catalog, Create Group works (the code pushes into the import's included controls, which may be empty on a fresh import). If it fails, say so in the PR rather than working around it in the tutorial.
If the whole thing doesn't fit in 15 minutes, keep steps 1, 3 and 4 here and say in the PR which part should become its own tutorial.
Media
- Take the screenshots of the CCF UI from the real UI, not mock-ups or placeholders.
- Images go in
static/img/tutorials/catalogs/. Name them for what they show, give each one alt text, and keep them within the STYLE.md media limits.
Done when
-
docs/tutorials/catalogs.mdxstarts with the shared first step, covers the steps above, follows the Tutorials page skeleton, says how long it takes (10–15 minutes), and every step after the first ends with a<Checkpoint>with a real screenshot. - The sample OSCAL catalog is in
static/, linked from the page, and imports cleanly. - Every UI label and route the page names was checked against compliance-framework/ui
main. -
yarn test,yarn typecheck,yarn spellcheckandyarn buildpass.
Depends on #214 (<Checkpoint>) and #216 (the shared first step and STYLE.md rules).
Activity
ccf-factory commentedon Nov 30, 2026
🏭 Tracked by CCF Factory — view
ccf-factory commentedon Nov 30, 2026
🙋 The factory needs a person here.
implementrun failed (its agent reported it failed): "limit: limit maxWallClock reached: the run took longer than 1h30m0s"run_b26139de9f3d5ba40558-1, in the Factory UIescalate-needs-humanrule, which also added theneeds-humanlabel.needs-humanonce it's handled. To stop the factory here, addfactory:stop.ccf-factory commentedon Nov 30, 2026
🙋 The factory needs a person here.
mergerun endedblocked: All merge gates passed for Tutorial: Catalogs and profiles #224 (approved at head a9c3869 by ccf-factory-reviewer[bot], build check succeeded, no unresolved threads, no hold label, no newer human change request), but GitHub refused the merge: the PR has merge conflicts with main (mergeable_state: dirty), so the provider refused the pr.merge effect. The branch needs its conflicts with main resolved before it can be merged.run_5d25ee61cd7f056ec26b-1, in the Factory UIescalate-needs-humanrule, which also added theneeds-humanlabel.needs-humanonce it's handled. To stop the factory here, addfactory:stop.