This topic explains how to use the API features for vulnerabilities in the Knowledge module.
More:
Create Vulnerability