Create a new finding from a finding template and single event

Use createFromTemplateAndEvent like createFromTemplate, when creating a finding from a single event. This version makes additional fields available for use in the template.

Request
Security:
vc-security
path Parameters
id
required
string
Request Body schema: application/json
id
required
string
orgId
required
string
orgPaths
required
Array of strings
required
object (Source)
externalId
string
required
Array of objects (Tag)
raw
string
category
string
type
string
severity
string (Severity)
Default: "UNKNOWN"
Enum: "UNKNOWN" "INFO" "LOW" "MEDIUM" "HIGH" "CRITICAL"
priority
integer <int32>
customerPriority
integer <int32>
createdInstant
required
string <date-time>
message
string
required
Array of objects (AssetKey)
required
Array of objects (KeyValue)
object (EventLogInfo)
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

405

Method Not Allowed. The API was accessed with the wrong method

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

503

Service Unavailable. The service is temporarily unavailable. Try your request later.

post/finding-service/v1/finding/{id}/create/event
Request samples
application/json
{
  • "id": "string",
  • "orgId": "string",
  • "orgPaths": [
    ],
  • "source": {
    },
  • "externalId": "string",
  • "tags": [
    ],
  • "raw": "string",
  • "category": "string",
  • "type": "string",
  • "severity": "UNKNOWN",
  • "priority": 0,
  • "customerPriority": 0,
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "message": "string",
  • "assets": [
    ],
  • "extras": [
    ],
  • "log": {
    }
}
Response samples
application/json
{
  • "id": "string",
  • "submissionSource": {
    },
  • "title": "string",
  • "category": "string",
  • "type": "string",
  • "backgrounds": [
    ],
  • "recommendations": [
    ],
  • "notes": "string",
  • "orgId": "string",
  • "orgPaths": [
    ],
  • "severity": "UNKNOWN",
  • "confidence": "TENTATIVE",
  • "pciSeverity": "LOW",
  • "priority": 0,
  • "customerPriority": 0,
  • "tags": [
    ],
  • "assetKeys": [
    ],
  • "eventIds": [
    ],
  • "affectedItems": [
    ],
  • "references": [
    ],
  • "evidences": [
    ],
  • "sourcePlugins": [
    ],
  • "sourceTags": [
    ],
  • "cvssV2Vector": "string",
  • "cvssV2Score": 0,
  • "cvssV3Vector": "string",
  • "cvssV3Score": 0,
  • "cvssV4Vector": "string",
  • "cvssV4Score": 0,
  • "cvssV4Exploitability": "string",
  • "cvssV4Complexity": "string",
  • "cvssV4VulnerableSystem": "string",
  • "cvssV4SubsequentSystem": "string",
  • "cvssV4Exploitation": "string",
  • "cvssV4SecurityRequirements": "string",
  • "cves": [
    ],
  • "cwes": [
    ],
  • "raw": "string",
  • "externalId": "string",
  • "externalEventIds": [
    ],
  • "extras": [
    ],
  • "pciPass": true,
  • "workflows": [
    ],
  • "events": [
    ],
  • "isTemplate": false,
  • "isDeleted": false,
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "lastUpdated": "2019-08-24T14:15:22Z"
}