Skip to content
215 changes: 215 additions & 0 deletions docs/tutorials/catalogs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
---
sidebar_label: Catalogs and profiles
description: Build a catalog of controls in the CCF UI, import an OSCAL catalog, and create a profile that selects controls from a catalog.
---

import StartDemoEnvironment from './_start-demo-environment.mdx';

# Catalogs and profiles

*Takes 10–15 minutes.* In this tutorial you build a catalog of controls in the Continuous Compliance Framework (CCF) UI, import a ready-made OSCAL catalog, and create a profile that selects controls from your catalog. It is for compliance and GRC users who want to see how the pieces CCF measures compliance against are put together.

## Before you start

You need a CCF instance you can sign in to with an account that can create catalogs and profiles; the demo environment you create in the first step is such an instance. The UI labels below are the labels CCF shows, so you can follow along screen by screen. No earlier tutorial is required.

<Steps>
<Step title="Create a demo environment">

<StartDemoEnvironment />

</Step>
<Step title="Create a catalog">

A **catalog** is a set of controls grouped under one title. Under **Control Definitions**, go to **Catalogs** and select **Create Catalog**.

In **New Catalog**, fill in:

- **ID**: the unique identifier of the catalog. Select **Generate UUID** next to the field and CCF fills one in.
- **Title**: `Example access controls`.
- **Type**: pick **Standard**, then select **Create Catalog**.

The **Type** decides which tab your catalog is listed under on **Catalogs** (**Standards**, **Policies**, **Procedures**, **Internal Catalogs**, **Other**), and you can't change it afterwards. Pick the tab where you want to find the catalog later.

<Checkpoint
src="/img/tutorials/catalogs/catalogs-page-new-catalog.png"
alt="The Catalogs page of the CCF UI with the Standards tab open, listing a card titled Example access controls"
>

**Catalogs** opens on the **Standards** tab and lists a card titled **Example access controls**. Select the card to open your catalog.

</Checkpoint>

</Step>
<Step title="Add a group and controls">

Controls live inside a group. On your catalog's page, select **Add Group**. In the dialog, give the group an **ID** of `ac` and a **Title** of `Example access controls`, then select **Create Group**.

On the new group, select **+ Control**. In the **Create Control** dialog, give the control an **ID** of `ac-1` and a **Title** of `Least privilege for shared accounts`, and select **Create Control**. Add a second control the same way, with an **ID** of `ac-2` and a **Title** of `Quarterly access review`.

A control's requirement is its **statement**. Expand the `ac-1` control, select **Add Statement**, enter the statement text (for example `Shared accounts are limited to the permissions their role needs.`) and select **Save Text**. Give `ac-2` a statement too.

<Checkpoint
src="/img/tutorials/catalogs/catalog-group-with-controls.png"
alt="The Example access controls catalog page in the CCF UI, with the group Example access controls expanded showing controls ac-1 and ac-2, and the ac-1 control expanded showing its statement"
>

Your catalog page shows the group **Example access controls** with the controls `ac-1` and `ac-2`, and the expanded control shows its statement text.

</Checkpoint>

</Step>
<Step title="Import an OSCAL catalog">

CCF also accepts catalogs in OSCAL JSON. Under **Integrations**, go to **Import**. In **Import OSCAL Content**, choose the file with **click to browse** and select **Import**. Then read the **Import Results**, which list each file and what CCF made of it.

Download the sample catalog and import it:

[example-access-catalog.json](/samples/example-access-catalog.json)

<CopyBlock title="example-access-catalog.json" language="json">
{`{
"catalog": {
"uuid": "4f6b2c81-9d3e-4a7b-8f1c-2e5d9a7c3b60",
"metadata": {
"title": "Example Access Catalog (fictional)",
"published": "2026-01-05T09:00:00.000000+00:00",
"last-modified": "2026-01-05T09:00:00.000000+00:00",
"version": "1.0",
"oscal-version": "1.1.2",
"remarks": "A tiny fictional catalog for the Catalogs and profiles tutorial. The controls and their text are invented for the tutorial: they do not come from any real standard."
},
"groups": [
{
"id": "example-access",
"title": "Example Access",
"props": [
{ "name": "label", "value": "EA" }
],
"controls": [
{
"id": "example-access-1",
"title": "Least privilege for shared accounts",
"props": [
{ "name": "label", "value": "EA-1" }
],
"parts": [
{
"id": "example-access-1_smt",
"name": "statement",
"prose": "Shared accounts are limited to the permissions their role needs."
}
]
},
{
"id": "example-access-2",
"title": "Quarterly access review",
"props": [
{ "name": "label", "value": "EA-2" }
],
"parts": [
{
"id": "example-access-2_smt",
"name": "statement",
"prose": "Access to the example system is reviewed every quarter."
}
]
},
{
"id": "example-access-3",
"title": "Prompt removal of access",
"props": [
{ "name": "label", "value": "EA-3" }
],
"parts": [
{
"id": "example-access-3_smt",
"name": "statement",
"prose": "Access is removed within one working day of a person leaving the example team."
}
]
}
]
}
]
}
}`}
</CopyBlock>

The box says **Drag and drop OSCAL JSON files here**, but dragging doesn't work on this page: click **click to browse** to pick the file.

A catalog with no type is listed under **Standards**, so open **Catalogs** on that tab and find **Example Access Catalog (fictional)** next to the catalog you built.

<Checkpoint
src="/img/tutorials/catalogs/catalogs-page-imported-catalog.png"
alt="The Catalogs page of the CCF UI with the Standards tab open, listing both Example access controls and Example Access Catalog (fictional)"
>

**Catalogs** on the **Standards** tab now lists two catalogs: **Example access controls** and **Example Access Catalog (fictional)**.

</Checkpoint>

</Step>
<Step title="Create a profile and bind it to a catalog">

A **profile** selects controls from one or more catalogs. Under **Control Definitions**, go to **Profiles** and select **Create New Profile**. Give it a **Title** of `Example profile` and select **Create Profile**.

On the profile's **Controls** tab, select **Add Catalog Import**. In the **Add Catalog** dialog, find **Example access controls** and select **Import** next to it.

Expand the imported catalog and select **Create Group** to add a group of selected controls. In the group's **By ID** field, enter `ac-1`, select **Add**, then do the same for `ac-2`. Select **Save** at the bottom of the import.

The **Imported Catalogs** and **Included Controls** counters at the top of the tab update as you work: after this step they read 1 and 2.

Profiles also have a **Compliance** tab, which turns the selected controls into compliance answers from evidence. It needs evidence first, so the Evidence tutorial takes it up after this one: see the [Tutorials overview](./index.md) for where it sits.

<Checkpoint
src="/img/tutorials/catalogs/profile-controls-tab.png"
alt="The Example profile Controls tab in the CCF UI, with the counters Imported Catalogs 1 and Included Controls 2, and the imported catalog Example access controls expanded showing a selected group with controls ac-1 and ac-2"
>

The profile's **Controls** tab shows **Imported Catalogs** 1 and **Included Controls** 2, with the imported catalog expanded and its selected group holding `ac-1` and `ac-2`.

</Checkpoint>

</Step>
<Step title="See what you built">

Open the profile's **JSON** tab. The OSCAL profile shows an **imports** entry pointing at your catalog and, under it, a `controls` entry listing the two controls you selected by ID. That JSON is exactly what CCF reads when it works out what your profile covers.

<Checkpoint
src="/img/tutorials/catalogs/profile-json-tab.png"
alt="The Example profile JSON tab in the CCF UI, showing the OSCAL profile with an import referencing the Example access controls catalog and included controls ac-1 and ac-2"
>

The **JSON** tab shows the import of your catalog and the selected controls `ac-1` and `ac-2`.

</Checkpoint>

</Step>
</Steps>

## Check your work

You should now have, in the UI:

- **Catalogs** on the **Standards** tab: your **Example access controls** catalog, with its group and two controls, and the imported **Example Access Catalog (fictional)**.
- **Profiles**: your **Example profile**, whose **Controls** tab counts 1 imported catalog and 2 included controls, and whose **JSON** tab shows the import and the selected controls.

There is a second way to make a profile: **Build Profile by Props**, on **Profiles**, picks the controls of a catalog that match prop rules you give it, in one step, instead of adding controls by ID.

The rest of what you built here opens onto other tutorials: a profile only produces compliance answers once evidence backs its controls (the **Compliance** tab and a control's **Findings**, in the Evidence tutorial), evidence is found again through **Evidence Filters** (imported on the same page, covered by the Filter tutorial), and a profile is attached to a system in the System tutorial.

## Next steps

<CardGroup cols={2}>
<Card title="Tutorials overview" icon="🧭" href="/tutorials">

The tutorial groups, and the Evidence, Filter and System tutorials that build on this one.

</Card>
<Card title="Catalogs, profiles and evidence" href="/concepts">

How the pieces you built here fit together in CCF.

</Card>
</CardGroup>
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const sidebars = {

// Curated by hand; the navbar "Tutorials" item links to this sidebar
// (see the docSidebar item in docusaurus.config.ts).
tutorialsSidebar: ['tutorials/index', 'tutorials/evidence', 'tutorials/components', 'tutorials/workflows'],
tutorialsSidebar: ['tutorials/index', 'tutorials/evidence', 'tutorials/catalogs', 'tutorials/workflows', 'tutorials/components'],
};

module.exports = sidebars;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions static/samples/example-access-catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"catalog": {
"uuid": "4f6b2c81-9d3e-4a7b-8f1c-2e5d9a7c3b60",
"metadata": {
"title": "Example Access Catalog (fictional)",
"published": "2026-01-05T09:00:00.000000+00:00",
"last-modified": "2026-01-05T09:00:00.000000+00:00",
"version": "1.0",
"oscal-version": "1.1.2",
"remarks": "A tiny fictional catalog for the Catalogs and profiles tutorial. The controls and their text are invented for the tutorial: they do not come from any real standard."
},
"groups": [
{
"id": "example-access",
"title": "Example Access",
"props": [
{
"name": "label",
"value": "EA"
}
],
"controls": [
{
"id": "example-access-1",
"title": "Least privilege for shared accounts",
"props": [
{
"name": "label",
"value": "EA-1"
}
],
"parts": [
{
"id": "example-access-1_smt",
"name": "statement",
"prose": "Shared accounts are limited to the permissions their role needs."
}
]
},
{
"id": "example-access-2",
"title": "Quarterly access review",
"props": [
{
"name": "label",
"value": "EA-2"
}
],
"parts": [
{
"id": "example-access-2_smt",
"name": "statement",
"prose": "Access to the example system is reviewed every quarter."
}
]
},
{
"id": "example-access-3",
"title": "Prompt removal of access",
"props": [
{
"name": "label",
"value": "EA-3"
}
],
"parts": [
{
"id": "example-access-3_smt",
"name": "statement",
"prose": "Access is removed within one working day of a person leaving the example team."
}
]
}
]
}
]
}
}
Loading