Integrate security queries