A method includes running a set of policies simultaneously using two
levels of optimizations. After selecting the policies to be run, the
number of technical controls performed is minimized by coalescing
(unioning) the technical controls of the policies in the first level of
optimization. Further, the number of queries performed is minimized by
coalescing (unioning) the queries of the technical controls in the second
level of optimization. The technical controls and queries performed are
determined by the set of polices that are to be run, in a policy driven
manner.