Skip to main content
With plerion triage decisions, you can manage the triage decisions in your tenant. A triage decision is a rule that picks out findings or vulnerabilities, plus an exemption that says why they’re exempt and until when.
Reading decisions needs the Finding:Read or Vulnerability:Read permission. Creating, editing, and deleting them needs Finding:Triage or Vulnerability:Triage. A tenant that still uses exemptions gets an error from every command. It manages exemptions with plerion profiles and plerion vulnerabilities exemptions instead.

Synopsis


Subcommands

list

Lists decisions. Decisions in force come first, then the rest, each newest first. When more decisions follow, the command prints the cursor for the next page to stderr, so the output itself stays clean for scripts.

get

Returns one decision. Table output shows the decision, then one row per rule condition.

create

Creates a decision. Pass each part as a flag, in a JSON file with --file, or both. A flag wins over the same field in the file. A rule for findings names exactly one check. A rule on one finding names its check and the finding. A rule on one vulnerability names its asset and its Common Vulnerabilities and Exposures (CVE) ID.

edit

Edits a decision. Pass at least one change. Anything you leave out keeps its current value. The edit is refused if someone changed the decision after the version you send as updatedAt. When that happens, run get again to see their change, then edit again.
Without --updated-at, on the flag or in --file, the CLI reads the decision first and sends the updatedAt it gets back. A change someone made before you ran the command is then overwritten. To be sure you’re editing the version you looked at, pass --updated-at, or edit the output of get --output json and send it back with --file.

delete

Deletes a decision and its history. The findings and vulnerabilities it exempted are no longer exempt by it.

Hidden values

An API key whose role covers only some integrations sees a decision that reaches other integrations with those values left out. Each condition that lost values shows HAS HIDDEN VALUES as true, and the note is empty. That key can’t edit or delete the decision. Use a key whose role covers every integration the decision reaches.

Examples


Output columns

get, create, and edit also show one row per rule condition. Use --output json to see every field, including createdAt and updatedBy.