Skip to content

Commit 839f7de

Browse files
committed
add snyk api version warning
Signed-off-by: Sahiba Mittal <[email protected]>
1 parent 2afcd3b commit 839f7de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@
477477
"api_token": "API token",
478478
"org_id": "Organization ID",
479479
"api_version": "API Version",
480+
"api_version_warning": "Warning: Changing default version may break the integration. Refer the documentation.",
480481
"consumer_key": "Consumer key",
481482
"consumer_secret": "Consumer secret",
482483
"personal_access_token": "Personal Access Token",

src/views/administration/analyzers/SnykAnalyzer.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
v-model="apiVersion"
3737
lazy="true"
3838
/>
39+
<i>{{ $t('admin.api_version_warning') }}</i>
3940
<b-row style="margin-top:2rem;">
4041
<b-col sm="6">
4142
<b-form-group :label="$t('message.cvss_source')" v-slot="{ cvssSource }">

0 commit comments

Comments
 (0)