IRP Playbooks
  • Initial page
  • Output Types
    • Number (Num)
    • Arrays
    • Objects
    • HR (Human Readable)
  • Components
    • Notifications
      • Send SMS
    • Start Playbook (Required)
      • Incident
    • Investigation
      • SearchEvents
      • SearchLogs
      • SearchWatchList
      • SearchIncidentData
    • Incident Response
      • AbuseEmail
    • Mange Incident
      • AddNote
      • Resolve
      • Escalate
      • AddToWatchList
    • Enrichements
      • Virustotal
      • ThreatIntel
      • WhoisURL
      • GeoIP
      • DomainAvailability
    • Filters
      • Each
    • Controls
      • PublicIp
  • Version
    • Changelog
Powered by GitBook
On this page
  • Examples
  • Incident Sources
  • How to use arrays
  • Length of Array
  • With simple elements
  • With Objects
  1. Output Types

Arrays

What is an Array Output

PreviousNumber (Num)NextObjects

Last updated 4 years ago

Examples

[168.26.26.26, 123.15.15.15, 45.55.68.3]

How to use arrays

Length of Array

Click on an array variable and choice List -> Length. This will return the total number of elements

With simple elements

['user1@email.com', 'user2@email.com', 'user3@email.com']

With Objects

[
    {
        "id": "vEIhynABwNtBtRIXXfQJ",
        "watch_list_value": "afalegkos",
        "watch_list_field": "username",
        "watch_list_score": 484,
        "watch_list_last_score": 481,
        "user_id": "2",
        "user_name": null,
        "status": true,
        "status_stamp": "2020-03-11T15:05:48.000+00:00",
        "created_at": "2020-03-11T15:05:48.000+00:00",
        "updated_at": "2020-10-13T14:04:41.000+00:00"
    },
    {
        "id": "Pg74r3ABwNtBtRIXTW_W",
        "watch_list_value": "odoo",
        "watch_list_field": "username",
        "watch_list_score": 483,
        "watch_list_last_score": 480,
        "user_id": "1",
        "user_name": null,
        "status": true,
        "status_stamp": "2020-03-06T13:10:50.000+00:00",
        "created_at": "2020-03-06T13:10:50.000+00:00",
        "updated_at": "2020-10-13T14:04:41.000+00:00"
    }
]

Incident Sources
Array outputs are lists of elements
Click on an array variable