File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/views/administration/analyzers Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2020 :title =" $t('admin.vulnsource_alias_sync_enable_tooltip')"
2121 />
2222 {{ $t('admin.vulnsource_alias_sync_enable') }}
23+ <b-validated-input-group-form-input
24+ id =" ossindex-baseUrl"
25+ :label =" $t('admin.base_url')"
26+ input-group-size =" mb-3"
27+ rules =" required"
28+ v-model =" baseUrl"
29+ lazy =" true"
30+ />
2331 <b-validated-input-group-form-input
2432 id =" ossindex-username"
2533 :label =" $t('admin.registered_email_address')"
@@ -68,6 +76,7 @@ export default {
6876 return {
6977 scannerEnabled: false ,
7078 aliasSyncEnabled: false ,
79+ baseUrl: ' ' ,
7180 username: ' ' ,
7281 apitoken: ' ' ,
7382 labelIcon: {
@@ -89,6 +98,11 @@ export default {
8998 propertyName: ' ossindex.alias.sync.enabled' ,
9099 propertyValue: this .aliasSyncEnabled ,
91100 },
101+ {
102+ groupName: ' scanner' ,
103+ propertyName: ' ossindex.base.url' ,
104+ propertyValue: this .baseUrl ,
105+ },
92106 {
93107 groupName: ' scanner' ,
94108 propertyName: ' ossindex.api.username' ,
@@ -116,6 +130,9 @@ export default {
116130 case ' ossindex.alias.sync.enabled' :
117131 this .aliasSyncEnabled = common .toBoolean (item .propertyValue );
118132 break ;
133+ case ' ossindex.base.url' :
134+ this .baseUrl = item .propertyValue ;
135+ break ;
119136 case ' ossindex.api.username' :
120137 this .username = item .propertyValue ;
121138 break ;
You can’t perform that action at this time.
0 commit comments