netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
81 lines (74 loc) • 2.08 kB
text/typescript
/**
* Invicti Enterprise API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { CustomTemplateContentModel } from './customTemplateContentModel';
/**
* Vulnerability template extended model.
*/
export class CustomTemplateModel {
/**
* Unique ID for each vulnerability template, calculated by (date | shasum -a 256)
*/
'sourceTemplateId'?: string;
/**
* Title of the vulnerability
*/
'title'?: string;
/**
* Details of the vulnerability, including impact
*/
'description'?: string;
/**
* Remediation guideline with relevant links
*/
'remediation'?: string;
/**
* 1 to 5 with 5 being the most severe
*/
'severity'?: number;
'template'?: CustomTemplateContentModel;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "sourceTemplateId",
"baseName": "source_template_id",
"type": "string"
},
{
"name": "title",
"baseName": "title",
"type": "string"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "remediation",
"baseName": "remediation",
"type": "string"
},
{
"name": "severity",
"baseName": "severity",
"type": "number"
},
{
"name": "template",
"baseName": "template",
"type": "CustomTemplateContentModel"
} ];
static getAttributeTypeMap() {
return CustomTemplateModel.attributeTypeMap;
}
}