securityAdvisoriesCreateRepositoryAdvisoryCveRequest
Request a CVE for a repository security advisory
Details
- Method:
POST - Path:
/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve - Operation ID:
security-advisories/create-repository-advisory-cve-request
Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"ghsa_id": {
"description": "The GHSA (GitHub Security Advisory) identifier of the advisory.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('github')
# Call this tool
result = await agent.call_tool('securityAdvisoriesCreateRepositoryAdvisoryCveRequest', {
# Add required parameters here
})