What is an access policy?
Access policies give you a rules-based way to control who can access content in your organizations Atlassian apps.
A policy checks information about each request, such as the user's email domain, whether the user is managed by your organization, or the IP address they connect from. When a request matches the policy's conditions, the policy allows or denies a user access.
Each policy is set up for a specific purpose. This means multiple policies with different requirements can run at the same time — both will be evaluated and the most restrictive control will apply.
Who can do this? |
How access policies work
Access policies are checked when someone requests content from Jira or Confluence, either through a browser session or with an API token. Atlassian Guard evaluates every Active policy that applies to the request.
If the request matches a policy's conditions, the policy applies the chosen control. When a policy denies access, the user will see a 403 error instead of the content. Changes to a policy can take a few minutes to apply.
If more than one policy matches a request, the most restrictive control applies, and access is denied.
Access policies work alongside your other security controls, such as IP allowlists and external user security. If any of these controls deny a request, the user won’t be able to access the content.
An access policy can't override a denial from another control.
Keep your existing IP allowlist and external user security settings turned on. Access policies don't yet cover every request those features cover.
States of a policy
You can move a policy through different states as your requirements change. These are the available states:
State | What happens | When to use |
|---|---|---|
Draft | The policy configuration is saved but isn’t checked or enforced. | Perfect for exploration. Stick to this state while you work out your configuration. |
Active | The policy is checked and applies its control when conditions are met. | Great for when the policy is ready to enforce. |
Inactive | The policy is saved but no longer checked or enforced. You can edit it and activate it again. | Best for when you want to stop enforcing a policy without deleting it, or to roll back an unexpected result. |
Keep in mind, access policies don’t have a monitored state. Consider how you may test your policy against some potential live requests before you activate it.
Whenever you edit and save a policy, you create a new version of that policy. Only one version of a policy can be active at a time.
You’ll find your policies, across all states and types in Security policies, then Policies.
Understand how to build a policy
When you set up a policy, you’ll make a few key decisions:
Where the policy applies. You can set up a policy to scan your entire organization or specific sites within your organization. You can also choose if there are certain sites where the policy does not apply.
What requests to check. You’ll decide how the condition operates, then what request is detected. This is a predefined list to include common factors like the user’s email domain, their IP address, authentication type, or whether the request comes from a mobile browser.
How to respond when a policy finds a match. You can either choose to deny or allow access.
Understand how to build an access policy
Was this helpful?