Orca Security

App · 19 actions

Triage Orca Security alerts (search, comment, change status or score, snooze, verify), look up and rescan cloud assets, run Sonar queries, and follow new and changed alerts and new assets.

Actions

ActionWhat it does
Add alert commentAdd a comment to an alert, shown in its history.
Change alert scoreOverride an alert's Orca score, which sets its risk level.
Get alertGet an alert's details: what was found, on which asset, its risk and how to fix it.
Get assetGet an asset's details: its type, cloud account, labels and risk.
Get organizationGet the Orca organization the API token belongs to.
List alert categoriesList the categories Orca files alerts under, such as Data at risk or IAM misconfigurations.
List alert historyList an alert's history: status and score changes, comments and verifications.
List business unitsList your business units, the slices of your cloud estate Orca reports on separately.
List groupsList the user groups in your Orca organization.
List usersList the people in your Orca organization, with their status and whether they use multi-factor sign-in.
Reset alert scorePut an alert's Orca score back to the one Orca gave it.
Run Sonar queryRun any Orca Sonar query, the JSON the Discovery page's query builder makes, and get the matching records.
Scan assetStart a new Orca scan of an asset now, rather than waiting for the next scheduled one.
Search alertsFind alerts by status, risk level, category, type, asset, Orca score or date, newest or riskiest first.
Search assetsFind assets in your cloud inventory by name, type or Orca score.
Search cloud accountsList the AWS, Azure, Google Cloud and other accounts connected to Orca.
Snooze alertHide an alert for a number of days; it reopens when the snooze ends.
Update alert statusMove an alert to open, in progress, closed or dismissed.
Verify alertAsk Orca to re-check an alert's asset now, to confirm whether the issue is fixed.

Add alert comment

Add a comment to an alert, shown in its history.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
CommentcommenttextRequired
The comment.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "alert_id": "example",
    "asset_unique_id": "example",
    "create_time": "example",
    "details": {
      "comment": "example",
      "description": "example",
      "severity": "example",
      "to": "example"
    },
    "id": "example",
    "type": "example",
    "unique_id": "example",
    "user_email": "example",
    "user_name": "example"
  }
}

Change alert score

Override an alert's Orca score, which sets its risk level.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
Orca scoreorca_scorenumberRequired
The new Orca score, from 0 to 10.From 0 to 10.
Reasonreasontext
Why you're making the change, kept in the alert's history.
Justificationjustificationtext
More detail on the change, kept in the alert's history.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "alert_id": "example",
    "asset_unique_id": "example",
    "create_time": "example",
    "details": {
      "comment": "example",
      "description": "example",
      "severity": "example",
      "to": "example"
    },
    "id": "example",
    "type": "example",
    "unique_id": "example",
    "user_email": "example",
    "user_name": "example"
  }
}

Get alert

Get an alert's details: what was found, on which asset, its risk and how to fix it.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "alert_labels": [
      "example"
    ],
    "asset_name": "example",
    "asset_type": "example",
    "asset_type_string": "example",
    "asset_unique_id": "example",
    "category": "example",
    "cloud_provider": "example",
    "cloud_provider_id": "example",
    "description": "example",
    "recommendation": "example",
    "source": "example",
    "state": {
      "alert_id": "example",
      "created_at": "example",
      "last_seen": "example",
      "last_updated": "example",
      "orca_score": 1,
      "risk_level": "example",
      "score": 1,
      "severity": "example",
      "status": "example"
    },
    "type": "example",
    "type_string": "example"
  }
}

Get asset

Get an asset's details: its type, cloud account, labels and risk.

Inputs

Assetasset_idtextRequired
The asset's unique ID (its GroupUniqueId in search results).

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "asset_labels": [
      "example"
    ],
    "asset_name": "example",
    "asset_state": "example",
    "asset_type": "example",
    "asset_type_string": "example",
    "asset_unique_id": "example",
    "cloud_provider": "example",
    "cloud_provider_id": "example",
    "internet_facing": true,
    "state": {
      "orca_score": 1,
      "risk_level": "example",
      "score": 1,
      "severity": "example"
    }
  }
}

Get organization

Get the Orca organization the API token belongs to.

Inputs

None.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "organization_id": "example",
    "organization_name": "example"
  }
}

List alert categories

List the categories Orca files alerts under, such as Data at risk or IAM misconfigurations.

Inputs

None.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "data": [
      "example"
    ]
  }
}

List alert history

List an alert's history: status and score changes, comments and verifications.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
Event typeevent_typetext
Only events of this type, such as comment.
How manylimitnumber
How many to return, up to 100. Leave empty for 20.From 1 to 100.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "event_log": [
      {
        "alert_id": "example",
        "asset_unique_id": "example",
        "create_time": "example",
        "details": {
          "comment": "example",
          "description": "example",
          "severity": "example",
          "to": "example"
        },
        "id": "example",
        "type": "example",
        "unique_id": "example",
        "user_email": "example",
        "user_name": "example"
      }
    ],
    "total_items": 1
  }
}

List business units

List your business units, the slices of your cloud estate Orca reports on separately.

Inputs

Namesearchtext
Only those whose name contains this text.
How manylimitnumber
How many to return, up to 300. Leave empty for 50.From 1 to 300.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "data": [
      {
        "application": "example",
        "bu_type": "example",
        "business_criticality": "example",
        "contact_emails": [
          "example"
        ],
        "deployment_stages": [
          "example"
        ],
        "id": "example",
        "name": "example",
        "owner_team": "example"
      }
    ],
    "status": "example",
    "total_items": 1
  }
}

List groups

List the user groups in your Orca organization.

Inputs

Namesearchtext
Only those whose name contains this text.
How manylimitnumber
How many to return, up to 300. Leave empty for 50.From 1 to 300.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "data": [
      {
        "description": "example",
        "id": "example",
        "name": "example",
        "sso_group": true,
        "users": [
          "example"
        ]
      }
    ],
    "status": "example",
    "total_items": 1
  }
}

List users

List the people in your Orca organization, with their status and whether they use multi-factor sign-in.

Inputs

How manylimitnumber
How many to return, up to 300. Leave empty for 50.From 1 to 300.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "data": [
      {
        "email": "example",
        "first": "example",
        "last": "example",
        "mfa_enabled": true,
        "mfa_required": true,
        "status": "example",
        "user_id": "example"
      }
    ],
    "status": "example",
    "total_items": 1
  }
}

Reset alert score

Put an alert's Orca score back to the one Orca gave it.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
Reasonreasontext
Why you're making the change, kept in the alert's history.
Justificationjustificationtext
More detail on the change, kept in the alert's history.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {}
}

Run Sonar query

Run any Orca Sonar query, the JSON the Discovery page's query builder makes, and get the matching records.

Inputs

QueryqueryobjectRequired
The Sonar query, such as {"models": ["Alert"], "with": {"type": "operation", "operator": "and", "values": [{"key": "Status", "type": "str", "operator": "in", "values": ["open"]}]}}.
Sort byorder_bytext
A field to sort by, with - in front for largest first, such as -OrcaScore.
How manylimitnumber
How many to return, up to 1000. Leave empty for 50.From 1 to 1000.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "results": [
      {}
    ],
    "total_items": 1
  }
}

Scan asset

Start a new Orca scan of an asset now, rather than waiting for the next scheduled one.

Inputs

Assetasset_idtextRequired
The asset's unique ID (its GroupUniqueId in search results).

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "asset_unique_ids": [
      "example"
    ],
    "scan_unique_id": "example",
    "status": "example",
    "version": "example"
  }
}

Search alerts

Find alerts by status, risk level, category, type, asset, Orca score or date, newest or riskiest first.

Inputs

Statusesstatuseslist
Only alerts with these statuses. Leave empty for all.One or more of: open, in_progress (In progress), snoozed, dismissed, closed.
Risk levelsrisk_levelslist
Only alerts at these risk levels. Leave empty for all.One or more of: critical, high, medium, low, informational.
Categoriescategorieslist
Only alerts in these categories. Leave empty for all.
Alert typealert_typetext
Only alerts of this type, such as aws_s3_bucket_public_read.
Assetasset_idtext
Only alerts on this asset.
Title containstitle_containstext
Only alerts whose title contains this text.
Minimum Orca scoremin_orca_scorenumber
Only alerts with at least this Orca score, from 0 to 10.From 0 to 10.
Created on or aftercreated_afterdate
Only alerts created on or after this day.
Ordersorttext
The order to return them in. Leave empty for newest first.One of: newest (Newest first), highest_score (Highest Orca score first), recently_updated (Recently updated first).
How manylimitnumber
How many to return, up to 1000. Leave empty for 50.From 1 to 1000.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "alerts": [
      {
        "AlertId": "example",
        "AlertType": "example",
        "Category": "example",
        "CreatedAt": "example",
        "Labels": [
          "example"
        ],
        "LastSeen": "example",
        "LastUpdated": "example",
        "OrcaScore": 1,
        "RiskLevel": "example",
        "Score": 1,
        "Source": "example",
        "Status": "example",
        "StatusTime": "example",
        "Title": "example",
        "group_unique_id": "example",
        "id": "example",
        "name": "example",
        "type": "example"
      }
    ],
    "total_items": 1
  }
}

Search assets

Find assets in your cloud inventory by name, type or Orca score.

Inputs

Name containsname_containstext
Only assets whose name contains this text.
Asset typeasset_typetext
Only assets of this type, such as AwsEc2Instance.
Minimum Orca scoremin_orca_scorenumber
Only assets with at least this Orca score, from 0 to 10.From 0 to 10.
Ordersorttext
The order to return them in. Leave empty for highest score first.One of: highest_score (Highest Orca score first), newest (Newest first), recently_seen (Recently seen first).
How manylimitnumber
How many to return, up to 1000. Leave empty for 50.From 1 to 1000.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "assets": [
      {
        "FirstSeen": "example",
        "GroupUniqueId": "example",
        "LastSeen": "example",
        "Name": "example",
        "OrcaScore": 1,
        "RiskLevel": "example",
        "Type": "example",
        "id": "example",
        "name": "example",
        "type": "example"
      }
    ],
    "total_items": 1
  }
}

Search cloud accounts

List the AWS, Azure, Google Cloud and other accounts connected to Orca.

Inputs

Name containsname_containstext
Only accounts whose name contains this text.
How manylimitnumber
How many to return, up to 1000. Leave empty for 50.From 1 to 1000.
Skipstart_at_indexnumber
How many to skip, to read the next page. Leave empty to start at the first.At least 0.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "cloud_accounts": [
      {
        "CloudProvider": "example",
        "Name": "example",
        "id": "example",
        "name": "example",
        "type": "example"
      }
    ],
    "total_items": 1
  }
}

Snooze alert

Hide an alert for a number of days; it reopens when the snooze ends.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
DaysdaysnumberRequired
How many days to snooze it for.From 1 to 365.
Reasonreasontext
Why you're making the change, kept in the alert's history.
Justificationjustificationtext
More detail on the change, kept in the alert's history.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {}
}

Update alert status

Move an alert to open, in progress, closed or dismissed.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.
StatusstatustextRequired
The alert's new status.One of: open, in_progress (In progress), closed, dismiss (Dismissed).
Reasonreasontext
Why you're making the change, kept in the alert's history.
Justificationjustificationtext
More detail on the change, kept in the alert's history.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "alert_id": "example",
    "asset_unique_id": "example",
    "create_time": "example",
    "details": {
      "comment": "example",
      "description": "example",
      "severity": "example",
      "to": "example"
    },
    "id": "example",
    "type": "example",
    "unique_id": "example",
    "user_email": "example",
    "user_name": "example"
  }
}

Verify alert

Ask Orca to re-check an alert's asset now, to confirm whether the issue is fixed.

Inputs

Alertalert_idtextRequired
The alert's ID, such as orca-12345.

Outputs

dataobject
The response from Orca Security.
Example output
{
  "data": {
    "status": "example"
  }
}

On this page