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:
From the spaces list at the top right, select a space.
- In the sidebar, select Vaults.
- On the Vaults page, open a local or remote vault. You can also open vaults inside virtual vaults.
- In the sidebar, select Settings > Content Policy.
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.*.
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.
- Click Save.