Skip to content

Commit

Permalink
Merge pull request #930 from 2000rosser/issue-896
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro authored Jul 2, 2024
2 parents b4943bf + 27efe4d commit a2f739a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/policy/PolicyCondition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export default {
{ value: 'VERSION', text: this.$t('message.version') },
{ value: 'COMPONENT_HASH', text: this.$t('message.component_hash') },
{ value: 'CWE', text: this.$t('message.cwe_full') },
{ value: 'EPSS', text: this.$t('message.epss_score') },
{
value: 'VULNERABILITY_ID',
text: this.$t('message.vulnerability_vuln_id'),
Expand Down Expand Up @@ -285,6 +286,8 @@ export default {
return false;
case 'VERSION_DISTANCE':
return false;
case 'EPSS':
return false;
default:
return false;
}
Expand Down Expand Up @@ -356,6 +359,9 @@ export default {
case 'VERSION_DISTANCE':
this.operators = this.numericOperators;
break;
case 'EPSS':
this.operators = this.numericOperators;
break;
default:
this.operators = [];
}
Expand Down

0 comments on commit a2f739a

Please sign in to comment.