Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: exhort backend url mechanism #48

Merged
merged 3 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EXHORT_DEV_MODE=false
31 changes: 31 additions & 0 deletions generated/backend/AnalysisReport.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { DependencyReport } from '../backend/DependencyReport';
import { Summary } from '../backend/Summary';
export declare class AnalysisReport {
'summary'?: Summary;
'dependencies'?: Array<DependencyReport>;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
35 changes: 35 additions & 0 deletions generated/backend/AnalysisReport.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class AnalysisReport {
'summary';
'dependencies';
static discriminator = undefined;
static attributeTypeMap = [
{
"name": "summary",
"baseName": "summary",
"type": "Summary",
"format": ""
},
{
"name": "dependencies",
"baseName": "dependencies",
"type": "Array<DependencyReport>",
"format": ""
}
];
static getAttributeTypeMap() {
return AnalysisReport.attributeTypeMap;
}
constructor() {
}
}
39 changes: 39 additions & 0 deletions generated/backend/CvssVector.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare class CvssVector {
'attackVector'?: string;
'attackComplexity'?: string;
'privilegesRequired'?: string;
'userInteraction'?: string;
'scope'?: string;
'confidentialityImpact'?: string;
'integrityImpact'?: string;
'availabilityImpact'?: string;
'exploitCodeMaturity'?: string;
'remediationLevel'?: string;
'reportConficende'?: string;
'cvss'?: string;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
105 changes: 105 additions & 0 deletions generated/backend/CvssVector.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CvssVector {
'attackVector';
'attackComplexity';
'privilegesRequired';
'userInteraction';
'scope';
'confidentialityImpact';
'integrityImpact';
'availabilityImpact';
'exploitCodeMaturity';
'remediationLevel';
'reportConficende';
'cvss';
static discriminator = undefined;
static attributeTypeMap = [
{
"name": "attackVector",
"baseName": "attackVector",
"type": "string",
"format": ""
},
{
"name": "attackComplexity",
"baseName": "attackComplexity",
"type": "string",
"format": ""
},
{
"name": "privilegesRequired",
"baseName": "privilegesRequired",
"type": "string",
"format": ""
},
{
"name": "userInteraction",
"baseName": "userInteraction",
"type": "string",
"format": ""
},
{
"name": "scope",
"baseName": "scope",
"type": "string",
"format": ""
},
{
"name": "confidentialityImpact",
"baseName": "confidentialityImpact",
"type": "string",
"format": ""
},
{
"name": "integrityImpact",
"baseName": "integrityImpact",
"type": "string",
"format": ""
},
{
"name": "availabilityImpact",
"baseName": "availabilityImpact",
"type": "string",
"format": ""
},
{
"name": "exploitCodeMaturity",
"baseName": "exploitCodeMaturity",
"type": "string",
"format": ""
},
{
"name": "remediationLevel",
"baseName": "remediationLevel",
"type": "string",
"format": ""
},
{
"name": "reportConficende",
"baseName": "reportConficende",
"type": "string",
"format": ""
},
{
"name": "cvss",
"baseName": "cvss",
"type": "string",
"format": ""
}
];
static getAttributeTypeMap() {
return CvssVector.attributeTypeMap;
}
constructor() {
}
}
29 changes: 29 additions & 0 deletions generated/backend/DependenciesSummary.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare class DependenciesSummary {
'scanned'?: number;
'transitive'?: number;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
35 changes: 35 additions & 0 deletions generated/backend/DependenciesSummary.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class DependenciesSummary {
'scanned';
'transitive';
static discriminator = undefined;
static attributeTypeMap = [
{
"name": "scanned",
"baseName": "scanned",
"type": "number",
"format": ""
},
{
"name": "transitive",
"baseName": "transitive",
"type": "number",
"format": ""
}
];
static getAttributeTypeMap() {
return DependenciesSummary.attributeTypeMap;
}
constructor() {
}
}
30 changes: 30 additions & 0 deletions generated/backend/DependencyAnalysis200Response.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AnalysisReport } from '../backend/AnalysisReport';
export declare class DependencyAnalysis200Response {
'jsonReport'?: AnalysisReport;
'htmlReport'?: any;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
35 changes: 35 additions & 0 deletions generated/backend/DependencyAnalysis200Response.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class DependencyAnalysis200Response {
'jsonReport';
'htmlReport';
static discriminator = undefined;
static attributeTypeMap = [
{
"name": "jsonReport",
"baseName": "json_report",
"type": "AnalysisReport",
"format": ""
},
{
"name": "htmlReport",
"baseName": "html_report",
"type": "any",
"format": ""
}
];
static getAttributeTypeMap() {
return DependencyAnalysis200Response.attributeTypeMap;
}
constructor() {
}
}
44 changes: 44 additions & 0 deletions generated/backend/DependencyReport.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* CodeReady Dependency Analytics API
* Vulnerability analysis with Red Hat CodeReady Dependency Analytics
*
* OpenAPI spec version: 3.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { DependencyReportHighestVulnerability } from '../backend/DependencyReportHighestVulnerability';
import { DependencyReportRecommendation } from '../backend/DependencyReportRecommendation';
import { Issue } from '../backend/Issue';
import { PackageRef } from '../backend/PackageRef';
import { Remediation } from '../backend/Remediation';
import { TransitiveDependencyReport } from '../backend/TransitiveDependencyReport';
export declare class DependencyReport {
'ref'?: PackageRef;
'issues'?: Array<Issue>;
'transitive'?: Array<TransitiveDependencyReport>;
'recommendation'?: DependencyReportRecommendation;
/**
* Trusted Content remediation related to identified security vulnerabilities
*/
'remediations'?: {
[key: string]: Remediation;
};
'highestVulnerability'?: DependencyReportHighestVulnerability;
static readonly discriminator: string | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
Loading