Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jira/src/agile/parameters/submitVulnerabilities.ts>SubmitVulnerabilities

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface SubmitVulnerabilities
import { type SubmitVulnerabilities } from "https://deno.land/x/jira@v3.0.2/src/agile/parameters/submitVulnerabilities.ts";

Properties

optional
operationType:
| "NORMAL"
| "SCAN"
| "BACKFILL"
| string

Indicates the operation being performed by the provider system when sending this data. "NORMAL" - Data received during real-time, user-triggered actions (e.g. user closed or updated a vulnerability). "SCAN" - Data sent through some automated process (e.g. some periodically scheduled repository scan). "BACKFILL" - Data received while backfilling existing data (e.g. pushing historical vulnerabilities when re-connect a workspace). Default is "NORMAL". "NORMAL" traffic has higher priority but tighter rate limits, "SCAN" traffic has medium priority and looser limits, "BACKFILL" has lower priority and much looser limits

optional
properties: { }

Properties assigned to vulnerability data that can then be used for delete / query operations.

Examples might be an account or user ID that can then be used to clean up data if an account is removed from the Provider system.

Properties are supplied as key/value pairs, and a maximum of 5 properties can be supplied, keys cannot contain ':' or start with '_'.

optional
vulnerabilities: { schemaVersion: "1.0" | string; id: string; updateSequenceNumber: number; containerId: string; displayName: string; description: string; url: string; type:
| "sca"
| "sast"
| "dast"
| "unknown"
| string
; introducedDate: string; lastUpdated: string; severity: { level:
| "critical"
| "high"
| "medium"
| "low"
| "unknown"
| string
; }; identifiers?: { displayName: string; url: string; }[]; status:
| "open"
| "closed"
| "ignored"
| "unknown"
| string
; additionalInfo?: { content: string; url?: string; }; associations?: { }[]; }[]
optional
providerMetadata: { product?: string; }

Information about the provider. This is useful for auditing, logging, debugging, and other internal uses. Information in this property is not considered private, so it should not contain personally identifiable information