Cases
Create Case Artifact
Attach an observable to an existing case. Observables are considered "artifacts" in SOC internal terminology. If not creating a file artifact then only the artifact itself should be sent as the body, in JSON format. If creating a file artifact then two multipart-form values should be supplied: "json" (the artifact object), and "attachment" (the file bytes). The file size, hashes, mime type will be automatically generated and populated into the artifact object on the server.
post/connect/case/artifacts/
Request body
Example request
{
"artifactType": "ip",
"caseId": "PdFc-JIBLkNJ8-bDfz47",
"createTime": "2024-11-14T15:03:22Z",
"description": "Additional supporting evidence",
"groupType": "evidence",
"id": "PdFc-JIBLkNJ8-bDfz47",
"kind": "case",
"md5": "d9cca721a735dac4efe709e0f3518373",
"mimeType": "application/json",
"operation": "create",
"sha1": "a0571c5b9493187adb5bd07ad0faf279a86251df",
"sha256": "9c1f8398f5a92eee44aee58d000a4dc1705f9c25e29683f7730215bc1274cff1",
"streamId": "f2fS-DajPqlMo-221Nmn",
"streamLength": 4096,
"tags": [
"pending",
"unconfirmed"
],
"tlp": "red",
"updateTime": "2024-11-14T15:33:02Z",
"userId": "socl_my_new_client",
"value": "1.2.3.4"
}Response
Outputs the artifact object including its generated ID.
Example response
{
"artifactType": "ip",
"caseId": "PdFc-JIBLkNJ8-bDfz47",
"createTime": "2024-11-14T15:03:22Z",
"description": "Additional supporting evidence",
"groupType": "evidence",
"id": "PdFc-JIBLkNJ8-bDfz47",
"kind": "case",
"md5": "d9cca721a735dac4efe709e0f3518373",
"mimeType": "application/json",
"operation": "create",
"sha1": "a0571c5b9493187adb5bd07ad0faf279a86251df",
"sha256": "9c1f8398f5a92eee44aee58d000a4dc1705f9c25e29683f7730215bc1274cff1",
"streamId": "f2fS-DajPqlMo-221Nmn",
"streamLength": 4096,
"tags": [
"pending",
"unconfirmed"
],
"tlp": "red",
"updateTime": "2024-11-14T15:33:02Z",
"userId": "socl_my_new_client",
"value": "1.2.3.4"
}