Skip to content

Bundles

A bundle is a named list of policies. You assign a bundle to spaces or stacks, and Nimzo checks those stacks against its policies on the next pull request.

There are two kinds of bundle. Nimzo bundles come from Nimzo, and you cannot change them. Your own bundles belong to your organization, and you can edit, restore and delete them.

The Organization bundles page, with one card for each bundle

In the sidebar, select Bundles. The page is titled Organization bundles. It lists the Nimzo bundles you assigned and every bundle of your own. Each card shows:

  • The title of the bundle. Nimzo bundles carry the Nimzo mark.
  • What the bundle covers: Assigned to all stacks, Assigned to 3 stacks (with the number of stacks), or Not assigned to any stack.
  • The severity of its policies.
  • The number of policies.

Select a card to open the bundle.

To find a bundle, type in Filter bundles. The search covers the title and description of a bundle, and the title and ID of its policies. Select Filters, the filter icon after the search field, to narrow the list by Provider or Category. You can pick several values of each. The filters in use show in a bar under the search field. In the bar, change is any of to is not to leave the values out, or select Clear to remove every filter. Use the two buttons after Filters to switch between Grid view and List view.

If you have no bundle yet, the page says Your bundles library is empty. It offers Nimzo catalog and New bundle.

Use the Nimzo catalog to add a bundle that Nimzo maintains.

  1. On the Bundles page, select Nimzo catalog.
  2. Find the bundle. Type in Filter catalog, or select Filters to narrow the list by Provider or Category.
  3. On the card of the bundle, select Assign bundle.
  4. Select Assign to spaces or Assign to stacks.
  5. Select the spaces or stacks. Type in Search spaces to find a space by name. The sheet shows how many stacks each space holds.
  6. Select Save spaces or Save stacks.

Every card in the catalog shows the number of policies and the logo of the cloud provider of the bundle. The bundle page shows the logo with the full name of the provider, such as Amazon Web Services. A bundle with policies for several providers says Multiple providers. A bundle you already assigned shows where it is assigned in place of the button. The top of the page counts the bundles and the policies in the catalog.

The Nimzo catalog, with one card for each Nimzo bundle and the logo of its provider

For more on spaces, see Spaces.

Nimzo shows a Spaces saved or Stacks saved message. The bundle now appears on the Bundles page. Checks start on the next pull request. Nimzo does not check code that is already in your repositories until you run an audit.

You build your own bundle from policies. The policies come from Nimzo or from your organization.

  1. On the Bundles page, select New bundle.
  2. Select From scratch.
  3. On Add policies to your new bundle, select the policies to include. Type in Filter policies to search. Select Filters to narrow the list by Provider or Severity. Select a column title to sort the table.
  4. Select Continue. The button stays off until you select one policy.
  5. In Name, type a name for the bundle.
  6. In Description, say what the bundle checks. This field is optional.
  7. Select Create bundle.

If a policy you need does not exist yet, select Create policies at the top of the first screen. See Policies.

The second screen also shows the severity of the selected policies and the list under Policies to add. Select Select policies at the bottom to go back and change the selection.

Add policies to your new bundle, with three policies selected

Nimzo shows a Bundle created message and opens the bundle. The bundle is not assigned to anything yet. To start the checks, assign it.

Generate from your stacks in the New bundle menu is not available yet.

You can also start from the list of policies. This path also lets you set values and enforcement, then assign the bundle in one flow.

  1. In the sidebar, select Policies.
  2. Select the policies for the bundle.
  3. In the bar at the bottom, select Create bundle from 4 policies (with the number you selected).
  4. In Bundle name, type a name.
  5. In Description (optional), say what the bundle checks.
  6. Select Create and configure.

Nimzo shows a Bundle created message. The bundle keeps a link to each Nimzo policy and keeps receiving its updates. Your own policies move into the new bundle as they are.

The first screen is Configure policies. It lists the policies that read a parameter. If none of them does, Nimzo skips this screen.

  1. Select the pencil button in the Parameter keys column to set the values of one policy. Select Organization default values to set the values of all policies at once.
  2. Set a value in All values, or edit the YAML tab. Nimzo saves a value when you leave its field.
  3. Select Close.
  4. Select Continue. If you changed no value, you can select Skip — keep defaults instead.

Select a policy row to read its details. Use Cancel or Back to leave the flow.

The second screen is titled Enable bundles. Each bundle has a card with two parts.

  1. Under Spaces, select the spaces. The first checkbox selects every space.
  2. Under Stacks, select the stacks. A stack in a selected space is already governed, so it needs no selection.
  3. In the Enforcement · organization setting card, choose what a failed check blocks:
    • Errors only blocks on Critical and High.
    • Errors and warnings blocks on Critical, High and Medium.
    • All findings blocks on every failing policy, Low included.
  4. To use another mode for one stack, select Add stack override and pick the stack. Then choose its mode. Select the x button to remove the override.
  5. Select Review and enable.

The organization setting is shared by every bundle. You can also change it in Settings.

The last screen shows what Nimzo will enable. Each card lists Policies, Values, Targets, Forks and Source. A bundle with no target shows a warning: it is not enabled until you add a space or a stack.

  1. Read the cards and the Enforcement card.
  2. Select Enable 1 bundle (with the number of bundles).

Nimzo links the stacks one by one. The Enabling 1 bundle on 3 stacks card shows each stack as Queued, Syncing, Linked or Failed. Keep the page open. It usually takes less than a minute.

Checks start on the next pull request. Nimzo does not check existing code until you run an audit.

On the Bundles page, select a bundle. The page has four tabs.

  • Overview shows the description, the latest runs, and the bundle properties: Status (Enabled or Not enabled), Version, Provider, Policies, Author and Assigned to. Select See more next to Assigned to to open the Assignments tab. The severity of the policies and the controls they cover show on the right. Select the side button in the header to hide or show this column.
  • Policies lists the policies of the bundle. Type in Filter policies, or select Filters to filter by Provider or Severity. Select a policy to open it.
  • Assignments lists every space and stack the bundle is assigned to, with the enforcement mode for each. If there is none, it says This bundle is not assigned yet.
  • Versions lists the versions of the bundle, newest first. The current version carries the Current badge.

A bundle on its Overview tab, with its properties and severity on the right

You can assign any bundle from its page. You can also change the assignment later.

  1. Open the bundle.
  2. Select Assign bundle. On the other tabs, the button says Assign.
  3. Select Assign to spaces or Assign to stacks.
  4. Select the spaces or stacks, and clear the ones you want to remove.
  5. Select Save spaces or Save stacks. The button stays off until you change the selection.

Nimzo shows a Spaces saved or Stacks saved message.

The Assign spaces sheet of a bundle

You can edit your own bundles. You cannot edit a Nimzo bundle.

  1. Open the bundle.
  2. Select the Bundle actions button, then Edit bundle.
  3. In Details, change the Title and the Description. In Policies, Stacks and Spaces, change the selection.
  4. In Change summary (optional), say what you changed. If you leave it empty, Nimzo lists the changes for you. The summary shows in the Versions tab.
  5. Select Save bundle.

Nimzo shows a Bundle saved message and adds a version.

The Edit bundle sheet on its Details tab

A fork is a copy that belongs to your organization. Fork a Nimzo bundle when you want to change it.

  1. Open the bundle.
  2. Select Fork bundle.

Nimzo shows a Bundle forked message and opens the copy. It is titled Copy of followed by the original title. You can edit it.

You can restore a version of your own bundles. Nimzo bundles have no restore.

  1. Open the bundle and select the Versions tab.
  2. On the version you want, select Restore. The current version has no Restore button.
  3. Read the dialog. It restores the title, description and policies of that version. Stack and space assignments do not change.
  4. Select Restore version.

Nimzo shows a Version 2 restored message (with the version number).

You can delete your own bundles. The policies in the bundle stay available.

  1. Open the bundle.
  2. Select the Bundle actions button, then Delete.
  3. Select Delete bundle.

Nimzo shows a Bundle deleted message and goes back to the Bundles page.

Action Nimzo bundle Your bundle
Assign to spaces or stacks Yes Yes
Fork Yes Yes
Edit No Yes
Restore an earlier version No Yes
Delete No Yes
  • “Could not load the bundles. Check your connection and try again.” Select Retry. Other screens show the same kind of message for policies, versions and assignments.
  • “This bundle does not exist, or you cannot see it.” Select Back to bundles.
  • “Another bundle already uses this name. Pick a different one.” Type another name. The edit sheet shows “Another bundle already uses this title. Please use another title.”
  • “Enter a name for the bundle.” or “Enter a title for the bundle.” Fill in the field.
  • “Could not create the bundle. Check your connection and try again.” Select Retry. The dialog on the Policies page says “Could not create the bundle. Try again.”
  • “Some of the bundle policies no longer exist or are not published. Check the policies and try again.” Select the policies again and save.
  • “This bundle no longer exists. Refresh the page.” Someone deleted the bundle. Reload the page.
  • “Could not save the spaces. Try again.” or “Could not save the stacks. Try again.” Select the save button again.
  • “Could not fork the bundle” Select Retry in the message.
  • “Could not delete this bundle.” Select Delete bundle again.
  • “You do not have permission to do this. Ask an Admin of the organization.” Ask an Admin to do the action.
  • “Enable stopped: 1 of 3 stacks failed” Nimzo names the stack and the reason. Nothing is enforced on that stack. Select Retry, or select Continue with 2 stacks to go on without it.
  • “Enable stopped before any stack was linked” Select Retry.