Aller au contenu principal
Version : la plus récente

Creating policies

Policies define the conditions under which access to a Safe is allowed, denied, or requires additional approval. This guide walks you through creating a new policy.

Prerequisites

  • Role: Org Admin or Policy Manager
  • At least one Safe to assign the policy to

Create a policy

  1. Go to Policies in the VaultPAM console sidebar.
  2. Click New policy.
  3. Enter a name and optional description for the policy.
  4. In the Conditions section, add one or more conditions. Each condition limits when the policy applies (see the condition types table below).
  5. Under Action, select the outcome when conditions are met: Allow, Deny, or Require approval.
  6. Click Assign to Safe and select the Safe(s) this policy applies to.
  7. Review the policy summary and click Activate.

Success state: The policy appears in the Policies list with status Active. The assigned Safe(s) show the policy name under Settings > Policies.

Policy condition types

Condition typeDescriptionExample
Time windowRestrict access to specific hours or daysAllow Mon-Fri 08:00-18:00 only
Source IPRestrict access to requests from specified IP rangesAllow only from corporate VPN (10.0.0.0/8)
MFA requiredRequire MFA verification before access is grantedRequire MFA even if not globally enforced
Resource typeApply the policy only to specific resource typesApply only to RDP resources

Test your policy

After activating a policy:

  1. Log in as a test user who is a member of the assigned Safe.
  2. Attempt to access a resource covered by the policy.
  3. Verify the expected behaviour (access granted, denied, or approval requested).
  4. Check the audit log for a policy evaluation event.

If the policy does not behave as expected, go to Policies > select the policy > Edit to review the conditions and action.