netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
93 lines (86 loc) • 2.88 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';
/**
* Represents a model for carrying scan custom report parameters.
*/
export class ScanCustomReportApiModel {
/**
* If set to true, HTTP response data will be excluded from the report results. This parameter can only be used for vulnerabilities XML report. Default: false
*/
'excludeIgnoreds'?: boolean;
/**
* Gets or sets the scan identifier.
*/
'id': string;
/**
* If set to true, HTTP response data will be included only confirmed vulnerabilities to report results. This parameter can only be used for vulnerabilities reports. Default: false
*/
'onlyConfirmedVulnerabilities'?: boolean;
/**
* If set to true, HTTP response data will be included only unconfirmed vulnerabilities to report results. This parameter can only be used for vulnerabilities reports. Default: false
*/
'onlyUnconfirmedVulnerabilities'?: boolean;
/**
* Gets or sets report name. Report name also keeps report type in it.
*/
'reportName': string;
/**
* Gets or sets the report format.
*/
'reportFormat'?: ScanCustomReportApiModel.ReportFormatEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "excludeIgnoreds",
"baseName": "ExcludeIgnoreds",
"type": "boolean"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "onlyConfirmedVulnerabilities",
"baseName": "OnlyConfirmedVulnerabilities",
"type": "boolean"
},
{
"name": "onlyUnconfirmedVulnerabilities",
"baseName": "OnlyUnconfirmedVulnerabilities",
"type": "boolean"
},
{
"name": "reportName",
"baseName": "ReportName",
"type": "string"
},
{
"name": "reportFormat",
"baseName": "ReportFormat",
"type": "ScanCustomReportApiModel.ReportFormatEnum"
} ];
static getAttributeTypeMap() {
return ScanCustomReportApiModel.attributeTypeMap;
}
}
export namespace ScanCustomReportApiModel {
export enum ReportFormatEnum {
Xml = <any> 'Xml',
Csv = <any> 'Csv',
Pdf = <any> 'Pdf',
Html = <any> 'Html',
Txt = <any> 'Txt',
Json = <any> 'Json'
}
}