APIs for security management framework