API To create security alert

I am running a tool similar to gitleaks and git secrets that finds secrets in our repositories. It would be great if i could create a security alert with the findings. However, upon searching the API docs i am unable to find the API documentation for creating these Security Alerts. Am I missing something?



There currently isn’t an API to create security advisories or alerts since the advisories are being brought in from specific sources. The best solution I can think of for what you’re describing is to open an issue on the repository to notify them of the problem. If you’re concerned about pointing nefarious individuals straight at the open hole, you could perhaps post a link to a website you control that only allows the owners of the repository to see the information?

Let us know if you have more questions.