2020-02-13 08:39:29 +01:00
|
|
|
<ng-container *ngIf="additionLinks">
|
2022-05-13 10:00:45 +02:00
|
|
|
<h4 class="margin-bottom-025">{{ 'ARTIFACT.ADDITIONS' | translate }}</h4>
|
2020-02-24 08:42:18 +01:00
|
|
|
<div class="min-15">
|
2024-04-18 10:22:11 +02:00
|
|
|
<clr-tabs #additionsTab>
|
2020-02-24 08:42:18 +01:00
|
|
|
<clr-tab *ngIf="getVulnerability()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button
|
|
|
|
clrTabLink
|
|
|
|
id="vulnerability"
|
|
|
|
(click)="actionTab('vulnerability')">
|
2022-05-13 10:00:45 +02:00
|
|
|
{{ 'REPOSITORY.VULNERABILITY' | translate }}
|
|
|
|
</button>
|
2024-04-18 10:22:11 +02:00
|
|
|
<ng-template
|
|
|
|
[clrIfActive]="currentTabLinkId === 'vulnerability'">
|
|
|
|
<clr-tab-content id="vulnerability-content">
|
|
|
|
<hbr-artifact-vulnerabilities
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'vulnerability'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[artifact]="artifact"
|
|
|
|
[projectName]="projectName"
|
|
|
|
[projectId]="projectId"
|
|
|
|
[repoName]="repoName"
|
2024-04-26 08:56:23 +02:00
|
|
|
[scanBtnState]="getScanBtnState()"
|
|
|
|
[hasEnabledScanner]="hasEnabledScanner()"
|
2024-04-18 10:22:11 +02:00
|
|
|
[digest]="digest"
|
|
|
|
[vulnerabilitiesLink]="
|
|
|
|
getVulnerability()
|
|
|
|
"></hbr-artifact-vulnerabilities>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
|
|
|
</clr-tab>
|
2024-04-26 08:56:23 +02:00
|
|
|
<clr-tab *ngIf="hasScannerSupportSBOM()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button clrTabLink id="sbom" (click)="actionTab('sbom')">
|
|
|
|
{{ 'REPOSITORY.SBOM' | translate }}
|
|
|
|
</button>
|
|
|
|
<ng-template [clrIfActive]="currentTabLinkId === 'sbom'">
|
|
|
|
<clr-tab-content id="sbom-content">
|
|
|
|
<hbr-artifact-sbom
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'sbom'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[artifact]="artifact"
|
|
|
|
[projectName]="projectName"
|
|
|
|
[projectId]="projectId"
|
2024-04-26 08:56:23 +02:00
|
|
|
[hasScannerSupportSBOM]="hasScannerSupportSBOM()"
|
2024-04-18 10:22:11 +02:00
|
|
|
[repoName]="repoName"
|
|
|
|
[sbomDigest]="sbomDigest"></hbr-artifact-sbom>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
2020-02-24 08:42:18 +01:00
|
|
|
</clr-tab>
|
|
|
|
<clr-tab *ngIf="getBuildHistory()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button
|
|
|
|
clrTabLink
|
|
|
|
id="build-history"
|
|
|
|
(click)="actionTab('build-history')">
|
2022-05-13 10:00:45 +02:00
|
|
|
{{ 'REPOSITORY.BUILD_HISTORY' | translate }}
|
|
|
|
</button>
|
2024-04-18 10:22:11 +02:00
|
|
|
<ng-template
|
|
|
|
[clrIfActive]="currentTabLinkId === 'build-history'">
|
|
|
|
<clr-tab-content>
|
|
|
|
<hbr-artifact-build-history
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'build-history'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[buildHistoryLink]="
|
|
|
|
getBuildHistory()
|
|
|
|
"></hbr-artifact-build-history>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
2020-02-24 08:42:18 +01:00
|
|
|
</clr-tab>
|
|
|
|
<clr-tab *ngIf="getSummary()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button
|
|
|
|
clrTabLink
|
|
|
|
id="summary-link"
|
|
|
|
(click)="actionTab('summary-link')">
|
2023-04-23 09:03:04 +02:00
|
|
|
{{ 'ARTIFACT.SUMMARY' | translate }}
|
2022-05-13 10:00:45 +02:00
|
|
|
</button>
|
2024-04-18 10:22:11 +02:00
|
|
|
<ng-template
|
|
|
|
[clrIfActive]="currentTabLinkId === 'summary-link'">
|
|
|
|
<clr-tab-content id="summary-content">
|
|
|
|
<hbr-artifact-summary
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'summary-link'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[summaryLink]="getSummary()"></hbr-artifact-summary>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
2020-02-24 08:42:18 +01:00
|
|
|
</clr-tab>
|
|
|
|
<clr-tab *ngIf="getDependencies()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button
|
|
|
|
clrTabLink
|
|
|
|
id="depend-link"
|
|
|
|
(click)="actionTab('depend-link')">
|
2023-04-23 09:03:04 +02:00
|
|
|
{{ 'ARTIFACT.DEPENDENCIES' | translate }}
|
2022-05-13 10:00:45 +02:00
|
|
|
</button>
|
2024-04-18 10:22:11 +02:00
|
|
|
<ng-template [clrIfActive]="currentTabLinkId === 'depend-link'">
|
|
|
|
<clr-tab-content id="depend-content">
|
|
|
|
<hbr-artifact-dependencies
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'depend-link'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[dependenciesLink]="
|
|
|
|
getDependencies()
|
|
|
|
"></hbr-artifact-dependencies>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
2020-02-24 08:42:18 +01:00
|
|
|
</clr-tab>
|
|
|
|
<clr-tab *ngIf="getValues()">
|
2024-04-18 10:22:11 +02:00
|
|
|
<button
|
|
|
|
clrTabLink
|
|
|
|
id="value-link"
|
|
|
|
(click)="actionTab('value-link')">
|
2023-04-23 09:03:04 +02:00
|
|
|
{{ 'ARTIFACT.VALUES' | translate }}
|
2022-05-13 10:00:45 +02:00
|
|
|
</button>
|
2024-04-18 10:22:11 +02:00
|
|
|
<ng-template [clrIfActive]="currentTabLinkId === 'value-link'">
|
|
|
|
<clr-tab-content id="value-content">
|
|
|
|
<hbr-artifact-values
|
2024-04-26 08:56:23 +02:00
|
|
|
*ngIf="currentTabLinkId === 'value-link'"
|
2024-04-18 10:22:11 +02:00
|
|
|
[valuesLink]="getValues()"></hbr-artifact-values>
|
|
|
|
</clr-tab-content>
|
|
|
|
</ng-template>
|
2020-02-24 08:42:18 +01:00
|
|
|
</clr-tab>
|
|
|
|
</clr-tabs>
|
|
|
|
</div>
|
2020-02-13 08:39:29 +01:00
|
|
|
</ng-container>
|