On this page
Resource actions
Every action obi offers on a specific resource type, such as acknowledging an incident or silencing an alert.
Besides the verbs that work on every type, obi has actions that belong to one
type: acknowledging an incident, silencing an alert, rotating an API key. Each
takes the type and, unless it acts on the whole type, the name:
Shell
obi VERB TYPE NAME [flags]
Run an action with no type, such as obi ack, to see which types it works on,
and obi help TYPE to see every action one type has.
Every action
| Action | Type | Usage | What it does |
|---|---|---|---|
duplicate (copy, clone) | dashboards | obi duplicate dashboard NAME [--name NEW_NAME] | Copy a dashboard |
rollback | dashboards | obi rollback dashboard NAME --to-revision N | Restore an earlier revision |
share | dashboards | obi share dashboard NAME --visibility private|shared|public | Change who can see a dashboard |
pin, unpin | dashboards | obi pin dashboard NAME [--folder FOLDER_ID] | Pin a dashboard to your sidebar, or unpin it |
duplicate (copy) | application-dashboards | obi duplicate application-dashboard NAME | Copy a library dashboard into your own dashboards to edit it |
hide, unhide | application-dashboards | obi hide application-dashboard NAME | Hide a library dashboard, or show it again |
pin, unpin | application-dashboards | obi pin application-dashboard NAME | Pin to your sidebar, or unpin |
silence (mute) | alerts | obi silence alert NAME [--for 1h | --until TIME] [--reason TEXT] | Silence an alert for a while |
pause, resume | alerts | obi pause alert NAME | Stop evaluating an alert, or start again |
reevaluate (evaluate) | alerts | obi reevaluate alert NAME | Evaluate an alert now instead of waiting for its schedule |
share | alerts | obi share alert NAME --visibility private|shared | Change who can see an alert |
dismiss | alert-events | obi dismiss alert-event NAME --alert ALERT | Dismiss one firing |
test | alert-notifications | obi test alert-notification NAME --alert ALERT | Send a test notification through this channel |
enable, disable, reset | host-alerts, applications-alerts, code-alerts, analytics-alerts | obi enable host-alert NAME | Switch a built-in alert on or off, or restore its default settings |
enable-all, disable-all | host-alerts, applications-alerts, code-alerts, analytics-alerts | obi disable-all host-alerts | Switch every built-in alert of that kind on or off |
acknowledge (ack) | incidents | obi ack incident 12 | Acknowledge an incident |
resolve | incidents | obi resolve incident 12 | Resolve an incident |
reopen | incidents | obi reopen incident 12 | Move a resolved incident back to open |
assign | incidents | obi assign incident 12 --to EMAIL_OR_NAME (or --unassign) | Assign an incident to a workspace member |
set-status | incidents | obi set-status incident 12 STATUS | Set an incident's status: open, acknowledged, or resolved |
delete-cleared | incidents | obi delete-cleared incidents | Permanently delete every resolved incident cleared off the board |
comment | tickets | obi comment ticket NAME TEXT | Add a comment to a ticket |
clear-done | tickets | obi clear-done tickets | Clear every done card off the board |
clear | search-history | obi clear search-history | Clear your whole search history |
rollback | lookup-tables | obi rollback lookup-table NAME --to-revision N | Restore an earlier revision of a lookup table |
pause, resume | checks | obi pause check NAME | Stop running a check, or start again |
test | api-source-notifications, flow-notifications, catalogue-notifications | obi test api-source-notification NAME | Send a test notification through this channel |
poll (poll-now) | api-sources | obi poll api-source NAME | Poll now |
run | scripted-inputs | obi run scripted-input NAME | Run a scripted input now |
enable, disable | scripted-inputs | obi enable scripted-input NAME | Turn a scripted input on or off |
publish | flows | obi publish flow NAME | Publish a draft flow |
archive | flows | obi archive flow NAME | Archive a flow |
rollback | flows | obi rollback flow NAME --to-revision N | Restore an earlier revision of a flow |
profile | catalogue | obi profile catalogue NAME | Re-profile a source's fields |
mute, unmute | findings | obi mute finding NAME | Mute a vulnerability finding, or unmute it |
stop | conversations | obi stop conversation NAME | Stop Obi mid-answer |
rotate | api-keys | obi rotate api-key NAME | Issue a new secret for a key; the old one stops working |
enable, disable | add-ons | obi enable add-on NAME | Switch an add-on on or off |
reply | support-tickets | obi reply support-ticket NAME TEXT | Reply to a support ticket |
run | backups | obi run backups | Start a backup now |
Actions that change many objects at once or cannot be undone, such as
disable-all, delete-cleared, clear, and rotate, ask before they run.
Pass --yes to skip the question, which a script must do: without a terminal
to ask on, obi refuses rather than guessing.