Operations¶
Operation (campaign) CRUD, event logging, global settings.
Auto-generated
This page is generated from source code by the schema extractor. Do not edit by hand — changes will be overwritten.
mythic_get_operations¶
Get a list of all operations in the Mythic instance
No parameters.
mythic_get_operation¶
Get details of a specific operation by ID
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation to retrieve |
mythic_create_operation¶
Create a new operation (campaign/engagement)
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | required | Name of the new operation |
webhook | *string | optional | Webhook URL for notifications |
channel | *string | optional | Slack/Discord channel for notifications |
admin_id | *int | optional | Operator ID to set as admin |
mythic_update_operation¶
Update an existing operation's properties
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation to update |
name | *string | optional | New name for the operation |
webhook | *string | optional | Webhook URL for notifications |
channel | *string | optional | Slack/Discord channel |
complete | *bool | optional | Mark operation as complete |
admin_id | *int | optional | New admin operator ID |
banner_text | *string | optional | Banner text for operation |
banner_color | *string | optional | Banner color (hex code) |
mythic_set_current_operation¶
Set the current operation context for the client
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation to set as current |
mythic_get_current_operation¶
Get the currently active operation context
No parameters.
mythic_get_operation_operators¶
Get list of operators (users) in a specific operation
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation |
mythic_create_event_log¶
Create an event log entry for an operation
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation |
message | string | required | Event log message |
level | *string | optional | Log level (info/warning/error) |
source | *string | optional | Source of the event |
mythic_get_event_log¶
Get event log entries for an operation
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
operation_id | int | required | ID of the operation |
limit | int | optional | Maximum number of log entries to return (default 100) |
mythic_get_global_settings¶
Get global Mythic server settings
No parameters.
mythic_update_global_settings¶
Update global Mythic server settings
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
settings | map[string]any | required | Settings to update (key-value pairs) |