Share this page

# 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 packages are kept in a vault before they are removed. 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: Select Enable automatic deletion of packages using retention policy. 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.*. Each delivered package is matched 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:

- Review and approve packages
- Deploy packages

https://admhelp.microfocus.com PulseUno 8942
Tips to improve your search results... PulseUno Help Center PulseUno Help 24.2 - 25.2 All View Local Help Center View Online Help Center Version: