-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add mechanism to determine exhort backend URL address based on …
…EXHORT_DEV_MODE Environment Variabe/key value from object Signed-off-by: Zvi Grinberg <[email protected]>
- Loading branch information
1 parent
edc459b
commit 9561e40
Showing
33 changed files
with
2,043 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EXHORT_DEV_MODE=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} |
Oops, something went wrong.