Live Policy Analysis
After you have reviewed and approved the set of network security policies generated by automatic policy discovery, and before you enforce the policies, you should use live policy analysis to observe how the policies would affect actual traffic on your network.
Some questions that live policy analysis can help you answer:
-
What would be the impact on this scope's application(s) if the policies in this workspace are enforced now?
-
Could we have prevented a previously known security attack/risk by enforcing the new set of policies?
See Policy Experiments.
-
Are our policies working the way we expect them to?
You should run policy analysis on any workspace that has policies. Because workloads in any particular scope can be affected by policies in other scopes, you should not run policy analysis only for a single scope before enforcing policy for that scope. Consider analyzing policies for all scopes that may affect traffic in a particular scope.
For example:
-
Policies defined in scopes above this scope in the tree may apply to workloads in this scope.
-
If workloads in this scope communicate with workloads in a different scope, policies in that scope may affect these communications. When policy analysis is started in that scope (or latest policies are analyzed after a policy change there), this can affect this scope's policy analysis results.
You should perform policy analysis any time you revise policies, to ensure that changes don't break applications.
Running live policy analysis on a workspace is sometimes referred to as "publishing" a workspace.