diff --git a/src/views/policy/PolicyCondition.vue b/src/views/policy/PolicyCondition.vue index 205999aae..559c5e046 100644 --- a/src/views/policy/PolicyCondition.vue +++ b/src/views/policy/PolicyCondition.vue @@ -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'), @@ -285,6 +286,8 @@ export default { return false; case 'VERSION_DISTANCE': return false; + case 'EPSS': + return false; default: return false; } @@ -356,6 +359,9 @@ export default { case 'VERSION_DISTANCE': this.operators = this.numericOperators; break; + case 'EPSS': + this.operators = this.numericOperators; + break; default: this.operators = []; }