Commands
tracee apps
Run any action of a connected app, or call its API.
search
Find actions in connected apps. Matching actions with their slug, risk (read, write, destructive) and required inputs.
tracee apps search --query <query> [--apps <apps>] [--limit <limit>]--querystringrequiredThe query
up to 300 characters
--appsstring[]Limit search to these toolkit slugs Repeat the flag or separate values with commas.
--limitintegerThe limit.
1–25
tracee apps search --query "send a slack message" --limit 5schema
An app action's inputs.
tracee apps schema <slug><slug>argumentrequiredThe slug. From GET /api/v1/apps/actions query=<what you want to do>
up to 200 characters
tracee apps schema SLACK_SEND_MESSAGErun
Run an app action. read actions run straight away; write and destructive ones become an approval request and run as soon as a person approves.
tracee apps run <slug> [--args <args>] [--connection-id <connection_id>] [--note <note>]<slug>argumentrequiredThe slug. From GET /api/v1/apps/actions query=<what you want to do>
up to 200 characters
--argsobjectThe args JSON text or @file.json.
any keys
--connection-idstringWhich connection, if the app has several. From GET /api/v1/connections (connectedApps[].connection_id).
--notestringContext for the approver
up to 500 characters
--data <json|@file|-> sends the whole body instead of flags.
tracee apps run SLACK_SEND_MESSAGE \
--args '{"channel":"#launches","text":"The dashboard post is live"}' \
--note "Tell the team"request
Call a connected app's own API. Signed with the workspace's connection, for anything no action covers. GET runs straight away; anything else becomes an approval request.
tracee apps request <app> --endpoint <endpoint> [--method <method>] [--params <params>] [--body <body>] [--connection-id <connection_id>] [--note <note>]<app>argumentrequiredThe toolkit slug, e.g. hubspot. From GET /api/v1/connections (connectedApps[].app)
up to 60 characters
--endpointstringrequiredA path relative to the app's API, or a full URL on its domain
up to 1,000 characters
--methodstringDefault GET
Available options:
GETPOSTPUTPATCHDELETE--paramsobjectQuery string parameters JSON text or @file.json.
any keys
--bodyanyThe JSON body JSON text or @file.json.
--connection-idstringWhich connection, if the app has several. From GET /api/v1/connections (connectedApps[].connection_id).
--notestringContext for the approver
up to 500 characters
--data <json|@file|-> sends the whole body instead of flags.
tracee apps request hubspot \
--method GET \
--endpoint /crm/v3/objects/contacts