activity
Create Activity
Changed onCreate a new activity for an assessment.
post/api/v1/assessments/{assessment_id}/activity/
Request
- The document declares no server URL.
- Auth: OAuth 2 (password, token URL /api/v1/auth/token)
Path parameters
assessment_idstring uuid required
Request body
Example request
{
"mitre_tactic": "TA0002",
"mitre_technique": "T1204.001",
"name": "Windows: Malicious Link Execution on Client"
}Response
Successful Response
Example response
{
"activity_actions": "",
"activity_end_time": "2026-01-01T11:00:00Z",
"activity_group_id": "00000000-0000-0000-0000-000000000000",
"activity_notes": "",
"activity_position": 1,
"activity_rationale": "Users or attackers might visit known malicious sites from the system.",
"activity_requirements": "Standard Windows workplace with Internet access.",
"activity_sources": "",
"activity_start_time": "2026-01-01T10:00:00Z",
"activity_targets": "",
"activity_tools": "",
"alert_notes": "",
"alert_severity": "Low",
"alert_sources": [
"77777777-7777-7777-7777-777777777777"
],
"alert_time": "2026-01-01T10:35:00Z",
"alerted": false,
"deleted": false,
"evaluation": {
"activity_coverage_score": 100,
"alert_severity_applicable": true,
"alert_severity_data": "2026-01-01T10:00:00Z",
"alert_severity_evaluation": true,
"alert_to_stakeholder_applicable": true,
"alert_to_stakeholder_data": "2026-01-01T10:00:00Z",
"alert_to_stakeholder_evaluation": true,
"alerted_evaluation": true,
"dynamic_questions": [
{
"applicable": true,
"data": "Dynamic question data",
"evaluation": true,
"evaluation_template_id": "00000000-0000-0000-0000-000000000000",
"position": 1
}
],
"event_to_alert_applicable": true,
"event_to_alert_data": "2026-01-01T10:00:00Z",
"event_to_alert_evaluation": true,
"logged_evaluation": true,
"prevented_evaluation": true,
"stakeholder_notification_severity_applicable": true,
"stakeholder_notification_severity_data": "2026-01-01T10:00:00Z",
"stakeholder_notification_severity_evaluation": true,
"stakeholder_notified_evaluation": true
},
"expected_alert_creation": true,
"expected_prevention": true,
"expected_severity": "Medium",
"expected_stakeholder_notification": false,
"id": "00000000-0000-0000-0000-000000000000",
"linked_knowledge_base_articles": [
"88888888-8888-8888-8888-888888888888"
],
"log_notes": "",
"log_sources": [
"55555555-5555-5555-5555-555555555555"
],
"logged": false,
"mitre_tactic": "TA0002",
"mitre_technique": "T1204.001",
"name": "Windows: Malicious Link Execution on Client",
"prevent_notes": "",
"prevent_time": "2026-01-01T10:30:00Z",
"prevented": false,
"prevention_sources": [
"66666666-6666-6666-6666-666666666666"
],
"priority": "Medium",
"provider": "Compass Security",
"sources": [
"22222222-2222-2222-2222-222222222222",
"22222222-2222-2222-2222-333333333333"
],
"stakeholder_notification_created": false,
"stakeholder_notification_notes": "",
"stakeholder_notification_severity": "Low",
"stakeholder_notification_sources": [
"88888888-8888-8888-8888-888888888888"
],
"stakeholder_notification_time": "2026-01-01T10:40:00Z",
"state": "Pending",
"tags": [
"11111111-1111-1111-1111-111111111111"
],
"targets": [
"33333333-3333-3333-3333-333333333333"
],
"tools": [
"44444444-4444-4444-4444-444444444444"
],
"visible": false
}Changes
- info
the response property
became required for the status
- info