Get Artifact Detail
This command supports the retrieval of detailed information for both custom and system artifacts and streamlines the process by allowing users to look up details for multiple artifacts simultaneously. This command requires at least the input of an artifact name. If the artifact type is left blank, the command will automatically detect and match the provided artifact name.
Reader Note
Please note that this command is not publicly available. To request access, please contact D3 support.
Implementation | System |
Command Category | System Utility |
Tags | ARTIFACT |
Inputs
Parameter Name | Required/Optional | Description | Sample Data |
Artifact Info | Required | The JSON array with pairs of artifact names and artifact types for querying. The command supports both system artifact and user-defined artifact types. System composite artifact types include: URL, User, File, ExternalEndpoint, InternalEndpoint, EmailAddress, Process, Service, Module, Driver, Signature, Certificate, Registry. System single-field artifact types include: Username, Filename, File Hash SHA256, File Hash MD5, File Hash SHA1, Process Guid, Signature Identity, Host Name, Internal Endpoint Domain Name, Internal IP, External Endpoint Domain Name, External IP, Registry Key. If this parameter is left blank, the command will automatically detect and match the provided artifact name. |
CODE
|
Output
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
https:/{base_url}/{api_namespace}/api/Command/GetArtifactDetail
Headers
Please refer to the page Webhook Configuration Guide - Authentication Method: API Keys for more details.
Request Body
{
"Username": <Username here>,
"Site": <Site here>,
"CommandParams": {
"Artifact Info": <Artifact Info here>
}
}
Body Parameters
Parameter Name | Type | Required/Optional | Description |
Username |
| Required | The username of your D3 SOAR account. |
Site |
| Required | The D3 SOAR site to run the remote command. |
Artifact Info |
| Optional | The JSON array with pairs of artifact names and artifact types for querying. The command supports both system artifact and user-defined artifact types. System composite artifact types include: URL, User, File, ExternalEndpoint, InternalEndpoint, EmailAddress, Process, Service, Module, Driver, Signature, Certificate, Registry. System single-field artifact types include: Username, Filename, File Hash SHA256, File Hash MD5, File Hash SHA1, Process Guid, Signature Identity, Host Name, Internal Endpoint Domain Name, Internal IP, External Endpoint Domain Name, External IP, Registry Key. If this parameter is left blank, the command will automatically detect and match the provided artifact name. |
Sample Request
SAMPLE DATA
{
"Username": "Admin",
"Site": "Security Operations",
"CommandParams": {
"Artifact Info": [
{
"Artifact Name": "192.168.87.104",
"Artifact Type": "Internal Endpoint"
},
{
"Artifact Name": "user1",
"Artifact Type": "User"
},
{
"Artifact Name": "customartifactid",
"Artifact Type": "test01"
}
]
}
}
Response
Response Fields
Field Name | Type | Description |
error |
| The error message if the API request has failed. |
returnData |
| The return data from the API request. |
Sample Response
{
"error": "",
"returnData": {
"Status": "Partially Successful",
"Results": {
"Successful List": [
{
"Artifact Unique Id": "F6D3B734-8154-467F-AC06-11D69950FF70",
"Related Event Count": 0,
"Related Incident Count": 0,
"First Seen": "2024-02-05 18:31:33",
"Last Seen": "2024-02-05 18:31:33",
"Artifact Name": "customartifactid",
"Artifact Type": "test",
"Is User Defined": "Yes",
"Is Single Identity Field": "Yes",
"Additional": {},
"Risk Level": "N/A",
"Is Key Asset": "False",
"Technique": null,
"Tactic": null,
"Artifact Notes": [
{
"NoteID": 3,
"Content": "!@#$%&&%",
"LastModifiedBy": "Admin User",
"CreatedUTCDate": "2024-02-17T01:04:50.723",
"LastModifiedUTCDate": "2024-02-17T01:04:50.723"
},
{
"NoteID": 2,
"Content": "dasfsafsa",
"LastModifiedBy": "Admin User",
"CreatedUTCDate": "2024-02-17T01:04:39.023",
"LastModifiedUTCDate": "2024-02-17T01:04:39.023"
},
{
"NoteID": 1,
"Content": "dafsadfsadf",
"LastModifiedBy": "Admin User",
"CreatedUTCDate": "2024-02-17T01:04:36.21",
"LastModifiedUTCDate": "2024-02-17T01:04:36.21"
}
],
"Last 10 Related Event IDs": [],
"Last 10 Related Incident Numbers": []
}
],
"Failed List": [
{
"Artifact Name": "192.168.87.104",
"Error": "The Artifact does not exits!",
"Artifact Type": "Internal Endpoint"
},
{
"Artifact Name": "user1",
"Error": "The Artifact does not exits!",
"Artifact Type": "User"
}
]
}
}
}