curl --request PUT \
--url https://bloodhound.specterops.io/openapi.json/api/v2/attack-paths/{attack_path_id}/acceptance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"risk_type": "<string>",
"accept_until": "2023-11-07T05:31:56Z",
"accepted": true
}
'{
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"Principal": "<string>",
"PrincipalKind": "<string>",
"Finding": "<string>",
"DomainSID": "<string>",
"Props": {},
"AcceptedUntil": "2023-11-07T05:31:56Z",
"ImpactPercentage": 123,
"ImpactCount": 123,
"Severity": "critical"
}
}Updates an attack path as an accepted or unaccepted risk until a given time.
curl --request PUT \
--url https://bloodhound.specterops.io/openapi.json/api/v2/attack-paths/{attack_path_id}/acceptance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"risk_type": "<string>",
"accept_until": "2023-11-07T05:31:56Z",
"accepted": true
}
'{
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": {
"time": "2023-11-07T05:31:56Z",
"valid": true
},
"Principal": "<string>",
"PrincipalKind": "<string>",
"Finding": "<string>",
"DomainSID": "<string>",
"Props": {},
"AcceptedUntil": "2023-11-07T05:31:56Z",
"ImpactPercentage": 123,
"ImpactCount": 123,
"Severity": "critical"
}
}Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
Attack Path ID
The request body for updating risk acceptance
OK
Show child attributes