Building a Data-Driven Security AI Framework Using Machine Learning Models