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 keeps 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. On the top navigation bar, select a space from the spaces list.

  2. On the sidebar, select Vaults.
  3. On the Vaults page, open a local or remote vault. You can also open vaults inside virtual vaults.
  4. On 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: