Skip to content
Merged
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
2 changes: 2 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"hashes": "Hashes",
"component_name": "Component name",
"component_namespace_group_vendor": "Namespace / group / vendor",
"component_author": "Author",
"coordinates": "Coordinates",
"coordinates_version_tooltip": "You can use the comparison operators >, <, >=, <=, == and != to match specific versions or version ranges",
"package_url_full": "Package URL (PURL)",
Expand All @@ -262,6 +263,7 @@
"component_name_desc": "The name of the component as provided by the supplier",
"component_version_desc": "The version of the component as provided by the supplier",
"component_group_desc": "The suppliers higher-level namespace, group, or vendor identifier",
"component_author_desc": "The author of the component",
"component_package_url_desc": "A Valid Package URL is required for libraries and frameworks. PURL syntax: pkg:type/namespace/name@version?qualifiers#subpath",
"component_cpe_desc": "The CPE v2.2 or v2.3 URI as provided by MITRE or NIST. All assets (applications, operating systems, and hardware) should have a CPE specified",
"component_swid_tagid_desc": "The ISO/IEC 19770-2:2015 (SWID) tag ID provided by the software vendor",
Expand Down
5 changes: 5 additions & 0 deletions src/views/portfolio/projects/ComponentDetailsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
required="false" :label="$t('message.component_namespace_group_vendor')"
:tooltip="this.$t('message.component_group_desc')"
:readonly="this.isNotPermitted(PERMISSIONS.PORTFOLIO_MANAGEMENT)" />
<b-input-group-form-input id="component-author-input" input-group-size="mb-3" type="text" v-model="component.author"
required="false" :label="$t('message.component_author')"
:tooltip="this.$t('message.component_author_desc')"
:readonly="this.isNotPermitted(PERMISSIONS.PORTFOLIO_MANAGEMENT)" />
<b-input-group-form-input id="component-purl-input" input-group-size="mb-3" type="text" v-model="component.purl"
required="false" :label="$t('message.package_url_full')"
:tooltip="this.$t('message.component_package_url_desc')"
Expand Down Expand Up @@ -211,6 +215,7 @@
name: this.component.name,
version: this.component.version,
group: this.component.group,
author: this.component.author,
description: this.component.description,
license: this.selectedLicense,
filename: this.component.filename,
Expand Down