Apv
# Create Simulation
Changed onCreates a Gray-Box, Red-Team, or Black-Box simulation. GRAY_BOX/BLACK_BOX are agent-based (agent_id required; initial_machine additionally required for GRAY_BOX) and can be launched instantly or on a schedule. RED_TEAM is stager-based (stager_id required instead of agent_id) and only launches instantly - initial_machine and schedule are both rejected if sent.
post/v1/apv/simulations
Request
- Base URLhttps://api.picussecurity.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"agent_id": 101,
"description": "Quarterly lateral movement validation",
"initial_machine": {
"domain_controller_ip": "10.0.0.6",
"hostname": "10.0.0.6",
"password": "password",
"user_domain": "USER.DOMAIN",
"username": "username"
},
"name": "Q3 Gray-Box Simulation",
"policy": {
"assessment_duration": 4320,
"domain_name": "corp.local",
"enable_opc": true,
"exclusion": [
"10.0.0.5"
],
"inclusion": [
"10.0.0.0/24"
]
},
"schedule": {
"frequency": "WEEKLY",
"frequency_interval": 1,
"start_time": 1655984364000
},
"simulation_type": "GRAY_BOX",
"stager_id": "HONEYBADGER"
}Response
CreateSimulationResponseSwagger
Example response
{
"run_uuid": "r9y8x7w6-0000-0000-0000-000000000002",
"simulation_uuid": "a1b2c3d4-0000-0000-0000-000000000001"
}Changes
- info
endpoint added
- info