REST API - Pentests
Create a draft pentest of repositories or uploaded archives, optionally with live sites
Changed onpost/pentests
Request
- Base URLhttps://api.hacktron.ai/v1
- URLhttps://api.hacktron.ai/v1/pentests
- AuthAPI key in header X-Api-Key
Request body
Example request
{
"repos": [
{
"include_paths": [
"services/gateway/**"
],
"exclude_paths": [
"**/tests/**",
"vendor/",
"*.md"
],
"url": "https://github.com/owner/repo"
}
]
}Response
Example response
{
"repos": [
{
"include_paths": [
"services/gateway/**"
],
"exclude_paths": [
"**/tests/**",
"vendor/",
"*.md"
],
"url": "https://github.com/owner/repo"
}
]
}Changes
- info
endpoint added
- info