Skip to main content
Skip table of contents

Add Notes To Artifacts

Add notes to artifacts

Implementation

System

Command Category

System Utility

Tags

ARTIFACT

Inputs

Parameter Name

Required/Optional

Description

Sample Data

Artifact Name

Required

The name of the artifact

D3CYBER-DC

Artifact Type

Optional

Artifact type

Internal Endpoint

Note

Required

A note will be added to the input artifact

Notes sample text

Output

Return Data

The returned result of this command. If some required parameters are not defined, this returned data could be empty. The returned result can be passed down directly to a subsequent command in playbooks.

SAMPLE DATA

JSON
Successful
Context Data

The response data from the utility command.

SAMPLE DATA

JSON
[
    {
        "Artifact Name": "D3CYBER-DC",
        "Artifact Type": "Internal Endpoint",
        "Note": "Notes sample text",
        "LastModifiedLocalDate": "01/26/2022 09:42 PM",
        "Result": "Successful"
    }
]

Remote Command API

The D3 command API allows you to send requests to D3 SOAR to execute this utility command via REST API.

Request

POST

CODE
https://{base_url}/{api_namespace}//api/Command/AddNotesToArtifacts

Headers

Please refer to the page Webhook Configuration Guide - Authentication Method: API Keys for more details.

Request Body

JSON
{
  "Username": <Username here>,
  "Site": <Site here>,
  "CommandParams": {
    "Artifact Name": <Artifact Name here>,
    "Artifact Type": <Artifact Type here>,
    "Note": <Note here>
  }
}

Body Parameters

Parameter Name

Type

Required/Optional

Description

Username

String

Required

The username of your vsoc account.

Site

String

Required

The site you chose on VSOC.

Artifact Name

Text

Required

The name of the artifact

Artifact Type

Number

Optional

Artifact type

Note

Text

Required

A note will be added to the input artifact

Sample Request

SAMPLE DATA

JSON
{
  "Username": "Admin",
  "Site": "Security Operations",
  "CommandParams": {
    "Artifact Name": "D3CYBER-DC",
    "Artifact Type": "Internal Endpoint",
    "Note": "Notes sample text"
  }
}

Response

Response Fields

Field Name

Type

Description

error

Text

The error message if the API request has failed.

returnData

Text

The return data from the API request.

contextData

JSON Array

The context data from the API request.

Sample Response

JSON
{
    "error": "",
    "returnData": "Successful",
    "contextData": [
        {
            "Artifact Name": "D3CYBER-DC",
            "Artifact Type": "Internal Endpoint",
            "Note": "Notes sample text",
            "LastModifiedLocalDate": "01/26/2022 09:42 PM",
            "Result": "Successful"
        }
    ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.