Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Nicht anfällig",
"not_affected": "Nicht betroffen",
"not_found_in_dependency_graph": "Abhängigkeit konnte im Abhängigkeitsdiagramm nicht gefunden werden",
"not_present": "Nicht vorhanden",
"not_set": "Nicht eingestellt",
"notes": "Anmerkungen",
"object_identifier": "Objektkennung",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Neues Passwort",
"password_not_acceptable": "Überprüfen Sie das neue Passwort und bestätigen Sie, dass das Passwort übereinstimmt. Sie können Ihr altes Passwort nicht wiederverwenden",
"password_unauthorized": "Überprüfen Sie die aktuellen Anmeldeinformationen und versuchen Sie es erneut",
"patch_version": "Patch -Version",
"patched_versions": "Patchierte Versionen",
"phone": "Telefon",
"policies": "Richtlinien",
"policies_tagged_with": "Richtlinien mit dem Tag {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Non Vulnerable",
"not_affected": "Not Affected",
"not_found_in_dependency_graph": "Dependency could not be found in dependency graph",
"not_present": "Not Present",
"not_set": "Not Set",
"notes": "Notes",
"object_identifier": "Object Identifier",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "New password",
"password_not_acceptable": "Check that new password and confirm password match. You can't re-use your old password",
"password_unauthorized": "Check current login credentials and try again",
"patch_version": "Patch Version",
"patched_versions": "Patched Versions",
"phone": "Phone",
"policies": "Policies",
"policies_tagged_with": "Policies tagged with {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "No vulnerable",
"not_affected": "No afectado",
"not_found_in_dependency_graph": "No se pudo encontrar la dependencia en el gráfico de dependencia",
"not_present": "No presente",
"not_set": "No establecido",
"notes": "Notas",
"object_identifier": "Identificador de objeto",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nueva contraseña",
"password_not_acceptable": "Comprueba la nueva contraseña y confirma que coincide. No puedes reutilizar tu antigua contraseña",
"password_unauthorized": "Verifique las credenciales de inicio de sesión actuales e inténtelo nuevamente",
"patch_version": "Versión de parche",
"patched_versions": "Versiones parcheadas",
"phone": "Teléfono",
"policies": "Políticas",
"policies_tagged_with": "Políticas etiquetadas con {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Non vulnérable",
"not_affected": "Pas affecté",
"not_found_in_dependency_graph": "La dépendance est introuvable dans le graph des dépendances",
"not_present": "Pas présent",
"not_set": "Pas encore défini",
"notes": "Remarques",
"object_identifier": "Identifiant d'objet",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nouveau mot de passe",
"password_not_acceptable": "Vérifiez ce nouveau mot de passe et confirmez la correspondance du mot de passe. Vous ne pouvez pas réutiliser votre ancien mot de passe",
"password_unauthorized": "Vérifiez les informations de connexion actuelles et réessayez",
"patch_version": "Version de patch",
"patched_versions": "Versions patch",
"phone": "Téléphone",
"policies": "Politiques",
"policies_tagged_with": "Règles marquées avec {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "गैर असुरक्षित",
"not_affected": "प्रभावित नहीं",
"not_found_in_dependency_graph": "निर्भरता ग्राफ में निर्भरता नहीं पाई जा सकी",
"not_present": "नहीं होना",
"not_set": "सेट नहीं",
"notes": "टिप्पणियाँ",
"object_identifier": "ऑब्जेक्ट पहचानकर्ता",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "नया पासवर्ड",
"password_not_acceptable": "उस नए पासवर्ड की जाँच करें और पासवर्ड मिलान की पुष्टि करें। आप अपने पुराने पासवर्ड का दोबारा उपयोग नहीं कर सकते",
"password_unauthorized": "वर्तमान लॉगिन क्रेडेंशियल जांचें और पुनः प्रयास करें",
"patch_version": "पैच संस्करण",
"patched_versions": "पैच किए गए संस्करण",
"phone": "फ़ोन",
"policies": "नीतियों",
"policies_tagged_with": "{tag} के साथ टैग की गईं नीतियां",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Non vulnerabile",
"not_affected": "Non affetto",
"not_found_in_dependency_graph": "Impossibile trovare la dipendenza nel grafico delle dipendenze",
"not_present": "Non presente",
"not_set": "Non impostato",
"notes": "Appunti",
"object_identifier": "Identificatore dell'oggetto",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nuova password",
"password_not_acceptable": "Controlla la nuova password e conferma la corrispondenza della password. Non puoi riutilizzare la vecchia password",
"password_unauthorized": "Controlla le credenziali di accesso attuali e riprova",
"patch_version": "Versione patch",
"patched_versions": "Versioni patchate",
"phone": "Telefono",
"policies": "Politiche",
"policies_tagged_with": "Politiche contrassegnate con {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "脆弱ではない",
"not_affected": "影響を受けません",
"not_found_in_dependency_graph": "依存関係グラフに依存関係が見つかりませんでした",
"not_present": "存在しない",
"not_set": "設定されていません",
"notes": "ノート",
"object_identifier": "オブジェクト識別子",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "新しいパスワード",
"password_not_acceptable": "新しいパスワードと再入力したパスワードが一致することを確認してください。古いパスワードを再利用することはできません",
"password_unauthorized": "現在のログイン資格情報を確認して、もう一度お試しください",
"patch_version": "パッチバージョン",
"patched_versions": "パッチ付きバージョン",
"phone": "電話",
"policies": "ポリシー",
"policies_tagged_with": "{tag} でタグ付けされたポリシー",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Niewrażliwy",
"not_affected": "Nie dotyczy",
"not_found_in_dependency_graph": "Nie można znaleźć zależności na wykresie zależności",
"not_present": "Nie obecne",
"not_set": "Nie ustawiony",
"notes": "Notatki",
"object_identifier": "Identyfikator obiektu",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nowe hasło",
"password_not_acceptable": "Sprawdź, czy nowe hasło jest zgodne z hasłem. Nie możesz ponownie użyć starego hasła",
"password_unauthorized": "Sprawdź aktualne dane logowania i spróbuj ponownie",
"patch_version": "Wersja łat",
"patched_versions": "Łatwe wersje",
"phone": "Telefon",
"policies": "Zasady",
"policies_tagged_with": "Zasady oznaczone tagiem {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Não Vulnerável",
"not_affected": "Não afetado",
"not_found_in_dependency_graph": "A dependência não foi encontrada no gráfico de dependência",
"not_present": "Não presente",
"not_set": "Não configurado",
"notes": "Notas",
"object_identifier": "Identificador de objeto",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nova Senha",
"password_not_acceptable": "Verifique a nova senha e confirme a correspondência da senha. Você não pode reutilizar sua senha antiga",
"password_unauthorized": "Verifique as credenciais de login atuais e tente novamente",
"patch_version": "Versão de patch",
"patched_versions": "Versões remendadas",
"phone": "Telefone",
"policies": "Políticas",
"policies_tagged_with": "Políticas marcadas com {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Não Vulnerável",
"not_affected": "Não afetado",
"not_found_in_dependency_graph": "A dependência não foi encontrada no gráfico de dependência",
"not_present": "Não presente",
"not_set": "Não configurado",
"notes": "Notas",
"object_identifier": "Identificador de objeto",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Nova palavra passe",
"password_not_acceptable": "Verifique a nova senha e confirme a correspondência da senha. Você não pode reutilizar sua senha antiga",
"password_unauthorized": "Verifique as credenciais de login atuais e tente novamente",
"patch_version": "Versão de patch",
"patched_versions": "Versões remendadas",
"phone": "Telefone",
"policies": "Políticas",
"policies_tagged_with": "Políticas marcadas com {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Неуязвимый",
"not_affected": "Не затронуто",
"not_found_in_dependency_graph": "Зависимость не найдена в графе зависимостей",
"not_present": "Не присутствует",
"not_set": "Не установлено",
"notes": "Заметки",
"object_identifier": "Идентификатор объекта",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Новый пароль",
"password_not_acceptable": "Проверьте, что новый и подтверждённый пароли совпадают. Невозможно использовать старый пароль",
"password_unauthorized": "Проверьте текущие учётные данные и попробуйте снова",
"patch_version": "Патч версия",
"patched_versions": "Исправленные версии",
"phone": "Телефон",
"policies": "Политики",
"policies_tagged_with": "Политики, помеченные тегом {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "Не уразливий",
"not_affected": "Не уражений",
"not_found_in_dependency_graph": "Залежність не знайдена в графі залежностей",
"not_present": "Не присутній",
"not_set": "Не встановлено",
"notes": "Примітки",
"object_identifier": "Ідентифікатор об'єкта",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "Новий пароль",
"password_not_acceptable": "Перевірте, чи новий пароль і підтвердження пароля збігаються. Ви не можете повторно використовувати старий пароль",
"password_unauthorized": "Перевірте поточні облікові дані для входу та спробуйте ще раз",
"patch_version": "Версія патчів",
"patched_versions": "Зафіксовані версії",
"phone": "Телефон",
"policies": "Політики",
"policies_tagged_with": "Політики з тегом {tag}",
Expand Down
3 changes: 3 additions & 0 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@
"non_vulnerable": "非脆弱性",
"not_affected": "不受影响",
"not_found_in_dependency_graph": "在依赖关系图中找不到依赖关系",
"not_present": "不存在",
"not_set": "没有设置",
"notes": "笔记",
"object_identifier": "对象标识符",
Expand Down Expand Up @@ -736,6 +737,8 @@
"password_new": "新密码",
"password_not_acceptable": "检查新密码和确认密码是否匹配。您不能重复使用旧密码",
"password_unauthorized": "检查当前登录凭据并重试",
"patch_version": "补丁版",
"patched_versions": "修补版本",
"phone": "电话",
"policies": "策略",
"policies_tagged_with": "带有 {tag} 标记的政策",
Expand Down
10 changes: 10 additions & 0 deletions src/views/policy/PolicyCondition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export default {
value: 'VERSION_DISTANCE',
text: this.$t('message.version_distance'),
},
{ value: 'PATCH_VERSION', text: this.$t('message.patch_version') },
],
objectOperators: [
{ value: 'IS', text: this.$t('operator.is') },
Expand Down Expand Up @@ -288,6 +289,8 @@ export default {
return false;
case 'EPSS':
return false;
case 'PATCH_VERSION':
return true;
default:
return false;
}
Expand Down Expand Up @@ -362,6 +365,13 @@ export default {
case 'EPSS':
this.operators = this.numericOperators;
break;
case 'PATCH_VERSION':
this.operators = this.objectOperators;
this.possibleValues = [
{ value: true, text: this.$t('message.present') },
{ value: false, text: this.$t('message.not_present') },
];
break;
default:
this.operators = [];
}
Expand Down