oc_trivy
Runs Trivy scans inside a selected engagement namespace to detect vulnerabilities and IaC misconfigurations via direct argv execution without shell parsing.
Instructions
Run trivy from the OpenCyber cloud container iac toolkit. The container executes trivy directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"engagement_id": "<engagement_id>",
"arguments": "<arguments>"
},
"name": "oc_trivy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| arguments | Yes | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||