Skip to content

Commit b7f1d2a

Browse files
committed
add new vulnerability source - iac
1 parent b3a6c4e commit b7f1d2a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/app/pages/extra-components/vulnerability-source-component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export class VulnerabilitySourceComponent implements ViewCell, OnInit {
2727
} else if (this.rowData.source === 'CISBenchmark') {
2828
this.icon = 'checkmark-square-outline';
2929
this.tooltip = 'CIS Benchmark test results';
30+
} else if (this.rowData.source === 'IaC') {
31+
this.icon = 'hard-drive-outline';
32+
this.tooltip = 'Infrastructure as Code Vulns';
3033
} else {
3134
this.icon = 'code-outline';
3235
this.tooltip = 'Source Code Vulnerability';

src/app/pages/show-project/details-tables/details-tables.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export class DetailsTablesComponent implements OnInit {
152152
{value: 'OpenSource', title: 'OpenSource'},
153153
{value: 'GitLeaks', title: 'GitLeaks'},
154154
{value: 'CISBenchmark', title: 'CIS Benchmark'},
155+
{value: 'IaC', title: 'IaC'},
155156
],
156157
},
157158
},

0 commit comments

Comments
 (0)