diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 0c208edde..81eee0e60 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -125,6 +125,7 @@
"include_services": "Include services",
"include_audit_history": "Include audit history",
"include_acl": "Include access control list",
+ "include_policy_violations": "Include Policy Violations",
"project_cloning_in_progress": "The project is being created with the cloning options specified",
"vulnerability": "Vulnerability",
"analysis": "Analysis",
diff --git a/src/views/portfolio/projects/ProjectAddVersionModal.vue b/src/views/portfolio/projects/ProjectAddVersionModal.vue
index ca85e0745..f12d0bd71 100644
--- a/src/views/portfolio/projects/ProjectAddVersionModal.vue
+++ b/src/views/portfolio/projects/ProjectAddVersionModal.vue
@@ -26,6 +26,9 @@
{{ $t('message.include_acl') }}
+ {{ $t('message.include_policy_violations') }}
+
{{ $t('message.cancel') }}
{{ $t('message.create') }}
@@ -47,7 +50,8 @@
includeComponents: true,
includeServices: true,
includeAuditHistory: true,
- includeACL: true
+ includeACL: true,
+ includePolicyViolations: true
}
},
methods: {
@@ -61,7 +65,8 @@
includeComponents: this.includeComponents,
includeServices: this.includeServices,
includeAuditHistory: this.includeAuditHistory,
- includeACL: this.includeACL
+ includeACL: this.includeACL,
+ includePolicyViolations: this.includePolicyViolations
}).then((response) => {
this.$root.$emit('bv::hide::modal', 'projectAddVersionModal');
this.$toastr.s(this.$t('message.project_cloning_in_progress'));
@@ -77,6 +82,7 @@
this.includeServices = true;
this.includeAuditHistory = true;
this.includeACL = true;
+ this.includePolicyViolations = true;
}
},
}