Set a vault content policy

Content policies define what packages can be delivered to a vault and what retention policy to use for keeping packages.

Note: A retention policy specifies how long PulseUno will keep packages in a vault before removing them. Before you can apply a retention policy, you need to create it. For details, see Create retention policies.

As an administrator or vault owner, you create a content policy to restrict specific packages from being uploaded. A content policy is set for each vault.

To set a vault's content policy:

  1. In PulseUno, open Spaces and select a space.
  2. In the sidebar, select Vaults.
  3. On the Vaults page, open a vault.
  4. In the sidebar, select Settings > Content Policy.
  5. On the Content Policy page, provide the following information:

    Field Description
    Retention policy

    Set a retention policy for the vault:

    1. Select Enable automatic deletion of packages using retention policy.
    2. Select a policy from the list.
    Exclude packages Specify the names of packages and versions to exclude from being delivered to the vault. Enter each name on a new line. Use Ant-style patterns and wildcards to exclude multiple packages, for example, com.acme.*.
    Include packages

    Specify the names of packages and versions that can be delivered to the vault. Enter each name on a new line. Use Ant-style patterns and wildcards to include multiple packages, for example, com.acme.test.*.

    PulseUno matches each delivered package against the exclude filter first and then against the include filter. Packages that do not pass the filters cannot be uploaded to the vault.

  6. Click Save.

Back to top

See also: