update_policy
Modify an existing policy by updating storage locations, filter conditions, compression, and evidence transfer settings for Windows, Linux, and macOS endpoints in Binalyze AIR MCP Server.
Instructions
Update an existing policy with specific storage and filter settings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compression | Yes | Compression and encryption settings | |
cpu | No | CPU usage limits | |
filter | No | Filter conditions to determine which endpoints the policy applies to | |
id | Yes | The ID of the policy to update | |
name | Yes | Name for the policy | |
organizationIds | No | Organization IDs to associate with policy. Defaults to [0]. | |
saveTo | Yes | Configuration for where to save evidence | |
sendTo | Yes | Configuration for where to send evidence |
Input Schema (JSON Schema)
{
"properties": {
"compression": {
"description": "Compression and encryption settings",
"properties": {
"enabled": {
"description": "Whether compression is enabled",
"type": "boolean"
},
"encryption": {
"properties": {
"enabled": {
"description": "Whether encryption is enabled",
"type": "boolean"
},
"password": {
"description": "Password for encryption when enabled",
"type": "string"
}
},
"required": [
"enabled"
],
"type": "object"
}
},
"required": [
"enabled",
"encryption"
],
"type": "object"
},
"cpu": {
"description": "CPU usage limits",
"properties": {
"limit": {
"description": "CPU usage limit percentage (1-100)",
"type": "number"
}
},
"type": "object"
},
"filter": {
"description": "Filter conditions to determine which endpoints the policy applies to",
"properties": {
"conditions": {
"description": "Array of conditions for policy filtering",
"items": {
"type": "object"
},
"type": "array"
},
"operator": {
"description": "Logical operator for combining conditions (e.g., \"and\", \"or\")",
"type": "string"
}
},
"type": "object"
},
"id": {
"description": "The ID of the policy to update",
"type": "string"
},
"name": {
"description": "Name for the policy",
"type": "string"
},
"organizationIds": {
"description": "Organization IDs to associate with policy. Defaults to [0].",
"oneOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "number"
},
{
"type": "string"
}
]
},
"saveTo": {
"description": "Configuration for where to save evidence",
"properties": {
"linux": {
"properties": {
"location": {
"description": "Storage location for Linux (e.g., \"local\")",
"type": "string"
},
"path": {
"description": "Path for evidence storage on Linux",
"type": "string"
},
"tmp": {
"description": "Temporary folder path for Linux",
"type": "string"
},
"useMostFreeVolume": {
"description": "Whether to use volume with most free space",
"type": "boolean"
},
"volume": {
"description": "Volume to use for Linux (e.g., \"/\")",
"type": "string"
}
},
"required": [
"location",
"path",
"useMostFreeVolume",
"volume"
],
"type": "object"
},
"macos": {
"properties": {
"location": {
"description": "Storage location for macOS (e.g., \"local\")",
"type": "string"
},
"path": {
"description": "Path for evidence storage on macOS",
"type": "string"
},
"tmp": {
"description": "Temporary folder path for macOS",
"type": "string"
},
"useMostFreeVolume": {
"description": "Whether to use volume with most free space",
"type": "boolean"
},
"volume": {
"description": "Volume to use for macOS (e.g., \"/\")",
"type": "string"
}
},
"required": [
"location",
"path",
"useMostFreeVolume",
"volume"
],
"type": "object"
},
"windows": {
"properties": {
"location": {
"description": "Storage location for Windows (e.g., \"local\")",
"type": "string"
},
"path": {
"description": "Path for evidence storage on Windows",
"type": "string"
},
"tmp": {
"description": "Temporary folder path for Windows",
"type": "string"
},
"useMostFreeVolume": {
"description": "Whether to use volume with most free space",
"type": "boolean"
},
"volume": {
"description": "Volume to use for Windows (e.g., \"C:\")",
"type": "string"
}
},
"required": [
"location",
"path",
"useMostFreeVolume",
"volume"
],
"type": "object"
}
},
"required": [
"windows",
"linux",
"macos"
],
"type": "object"
},
"sendTo": {
"description": "Configuration for where to send evidence",
"properties": {
"location": {
"description": "Location to send evidence to (e.g., \"user-local\")",
"type": "string"
}
},
"required": [
"location"
],
"type": "object"
}
},
"required": [
"id",
"name",
"saveTo",
"compression",
"sendTo"
],
"type": "object"
}