Share this page

# Specify vault approval rules

Use vault approval rules to set the criteria for approving or rejecting packages in a vault.

In this topic:

## Available package approval rules

The following automated approval rules for vaults are included.

Rule | Description
--- | ---
defaultRule.js | Approves all packages that have no critical or high security issues and have an Apache-2.0 license.
rejectGPL | Rejects all packages that contain a GPL license.
rejectHighSeverity | Rejects all packages that contain high severity vulnerabilities.

Tip: You can write your own approval scripts.

Back to top

## Set a vault approval rule

You can apply the approval rule to all vaults or individual vaults. The rule you specify for an individual vault overrides the rule set for all vaults at the space level.

To set a vault approval rule:

1. On the top navigation bar, select a space from the spaces list.

2. Set a rule for all vaults or individual vaults:

   Option | Process
   --- | ---
   All vaults | On the sidebar, select Settings > Vault Defaults.
   Individual vaults | On the sidebar, select Vaults. On the Vaults page, open a local or remote vault. You can also open vaults inside virtual vaults. On the sidebar, select Settings > Approving Changes.

3. For the Approval Rules option, select Enable automated approval and rejection using rule scripts.

4. Select a rule from the list.

5. Click Save.

Back to top

See also:

- Review and approve packages
- Use vault approval check lists

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: