XSOAR Storage

Facilitates the storage and retrieval of key/value pairs within XSOAR.

Utilities · XSOAR Storage

Details

IDXSOAR Storage
ProviderPalo Alto Networks
CategoryUtilities
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088
Supported ModulesAgentix XSIAM

README

Facilitates the storage and retrieval of key/value pairs within XSOAR.

Configure XSOAR Storage in Cortex

Parameter Required
Max Size of Store in bytes (Maximum of 1024000) True

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

xsoar-store-list


List the keys available.

Base Command

xsoar-store-list

Input

Argument Name Description Required
namespace The namespace to retrieve keys from. Optional

Context Output

Path Type Description
XSOAR.Store unknown The namespace and keys.

Command Example


#### Human Readable Output

### xsoar-store-put

***
Places data in the store under the provided key.

#### Base Command

`xsoar-store-put`

#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| key | The key to store data under. | Required |
| data | The data to store. | Required |
| namespace | The namespace to store data in. | Optional |

#### Context Output

There is no context output for this command.

#### Command Example

Human Readable Output

xsoar-store-get


Retrieve data stored in the provided key.

Base Command

xsoar-store-get

Input

Argument Name Description Required
key The Key value. Required
namespace The namespace to retrieve data from. Optional

Context Output

Path Type Description
XSOAR.Store unknown  

Command Example

``````

Human Readable Output

Configuration parameters

  • maxsize — Max Size of Store in bytes (Maximum of 1024000) (required)

Commands (3)

  • xsoar-store-get

    Retrieve data stored in the provided key.

  • xsoar-store-list

    List the keys available.

  • xsoar-store-put

    Places data in the store under the provided key.

category: Utilities
provider: Palo Alto Networks
commonfields:
  id: XSOAR Storage
  version: -1
configuration:
- defaultvalue: "1024"
  display: Max Size of Store in bytes (Maximum of 1024000)
  name: maxsize
  required: true
  type: 0
description: Facilitates the storage and retrieval of key/value pairs within XSOAR.
display: XSOAR Storage
name: XSOAR Storage
script:
  commands:
  - arguments:
    - description: The namespace to retrieve keys from.
      name: namespace
    description: List the keys available.
    name: xsoar-store-list
    outputs:
    - contextPath: XSOAR.Store
      description: The namespace and keys.
      type: string
  - arguments:
    - description: The key to store data under.
      name: key
      required: true
    - description: The data to store.
      name: data
      required: true
    - description: The namespace to store data in.
      name: namespace
    description: Places data in the store under the provided key.
    name: xsoar-store-put
  - arguments:
    - description: The Key value.
      name: key
      required: true
    - description: The namespace to retrieve data from.
      name: namespace
    description: Retrieve data stored in the provided key.
    name: xsoar-store-get
    outputs:
    - contextPath: XSOAR.Store
      description: The data retrieved from the key.
      type: string
  dockerimage: demisto/python3:3.12.8.3296088
  runonce: false
  script: ''
  subtype: python3
  type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)