CreateProjectRequest
This method can be used for the following functionality: Create a new Request for Project in AttackForge
Last updated
{
"code": "..."
}{
"groups": ["...", "...", "..."]
}{
"scope": ["...", "...", "..."]
}{
"testsuites": ["...", "...", "..."]
}{
"startDate": "2021-06-03T00:00:00.000Z"
}{
"endDate": "2021-06-03T00:00:00.000Z"
}{
"test_window": ["Weekdays-BusinessHours", "Weekends"]
}{
"onsite_testing": "Yes"
}{
"reason_for_testing": "..."
}{
"organization_code": "..."
}{
"custom_fields": [{"key": "...", "value": "..."}]
}curl -X POST 'https://demo.attackforge.com/api/ss/request' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"name": "ACME Corp Web App Pentest",
"code": "DEMO9999",
"groups": ["ACME Corp Digital Team", "Pentest Team"],
"scope": ["test.com", "192.168.0.1"],
"testsuites": ["ASVS Level 2 Web Application", "OSSTMM v3.0 Infrastructure"],
"startDate": "2021-06-03T00:00:00.000Z",
"endDate": "2021-06-04T00:00:00.000Z",
"test_window": ["Weekdays-BusinessHours", "Weekends"],
"onsite_testing": "Yes",
"reason_for_testing": "Application is about to go-live.",
"custom_fields": [{"key": "customer_name", "value": "WAYNE TECHNOLOGIES."}]
}'{
"request": {
"id": "...",
"created": "...",
"last_updated": "...",
"name": "...",
"code": "...",
"groups": [
"..."
],
"scope": [
"..."
],
"testsuites": [
"..."
],
"startDate": "...",
"endDate": "...",
"test_window": [
"..."
],
"onsite_testing": "...",
"reason_for_testing": "...",
"custom_fields": [
{
"key": "...",
"value": "..."
}
]
}
}