Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
1859a55e
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1859a55e
编写于
6月 08, 2018
作者:
W
Wadeck Follonier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Address Jeff's rewording points
- add tooltip on the success/warning icon in manage page
上级
eac53dcf
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
14 deletion
+22
-14
core/src/main/resources/jenkins/security/ApiTokenProperty/help-tokenStore.html
...es/jenkins/security/ApiTokenProperty/help-tokenStore.html
+5
-1
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/manage.jelly
...apitoken/LegacyApiTokenAdministrativeMonitor/manage.jelly
+4
-4
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/manage.properties
...ken/LegacyApiTokenAdministrativeMonitor/manage.properties
+12
-8
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/message.properties
...en/LegacyApiTokenAdministrativeMonitor/message.properties
+1
-1
未找到文件。
core/src/main/resources/jenkins/security/ApiTokenProperty/help-tokenStore.html
浏览文件 @
1859a55e
...
...
@@ -6,7 +6,11 @@
Some good practices for keeping your API tokens secure are:
<ul>
<li>
Use a different token for each application so that if an application is compromised you can revoke its token individually.
</li>
<li>
Regenerate the tokens every 6 months (depending on your context). We
put
an indicator concerning the age of the token.
</li>
<li>
Regenerate the tokens every 6 months (depending on your context). We
display
an indicator concerning the age of the token.
</li>
<li>
Protect it like your password, as it allows other people to access Jenkins as you.
</li>
</ul>
<div
class=
"warning"
>
The creation date of legacy tokens which have never been used are reset every time Jenkins is restarted,
which means that the date may be inaccurate.
</div>
</div>
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/manage.jelly
浏览文件 @
1859a55e
...
...
@@ -105,20 +105,20 @@ THE SOFTWARE.
<td>
<j:choose>
<j:when test="${hasFreshToken}">
<l:icon class="icon-accept icon-sm" alt="${%Fresh token}"/>
<l:icon class="icon-accept icon-sm" alt="${%Fresh token}"
tooltip="${%HasFreshToken_ok_tooltip}"
/>
</j:when>
<j:otherwise>
<l:icon class="icon-warning icon-sm" alt="${%No fresh token}"/>
<l:icon class="icon-warning icon-sm" alt="${%No fresh token}"
tooltip="${%HasFreshToken_warning_tooltip}"
/>
</j:otherwise>
</j:choose>
</td>
<td>
<j:choose>
<j:when test="${hasMoreRecentlyUsedToken}">
<l:icon class="icon-accept icon-sm" alt="${%Recently used token}"/>
<l:icon class="icon-accept icon-sm" alt="${%Recently used token}"
tooltip="${%HasMoreRecentlyUsedToken_ok_tooltip}"
/>
</j:when>
<j:otherwise>
<l:icon class="icon-warning icon-sm" alt="${%No recently used token}"/>
<l:icon class="icon-warning icon-sm" alt="${%No recently used token}"
tooltip="${%HasMoreRecentlyUsedToken_warning_tooltip}"
/>
</j:otherwise>
</j:choose>
</td>
...
...
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/manage.properties
浏览文件 @
1859a55e
title
=
Manage Legacy API Token usage
contextMessage
=
The following users have a legacy API token.
\
Because legacy tokens are stored in a recoverable format, we recommend migrating to the new API token system.
\
Additionally, in previous version of Jenkins, API tokens were automatically created for every new user.
\
Additionally, in previous version
s
of Jenkins, API tokens were automatically created for every new user.
\
Often, users did not use the token, resulting in a larger attack surface than necessary.
\
Automatic token generation must now be enabled explicitly.
recommendationMessage
=
For such reasons, we recommend to:
\
...
...
@@ -16,18 +16,22 @@ NumDaysSinceCreation=Days since creation
NumOfUse
=
# of use
NumDaysSinceLastUse=Days since last use
HasFreshToken
=
Fresh token?
HasFreshToken_tooltip
=
A fresh token is one that was created using the new system
\n
\
after the most recent use of the user'
s legacy token.
\n
\n\
Note: the creation date of legacy tokens which have never been used are reset every time Jenkins is restarted,
\
n\
HasFreshToken_tooltip
=
A fresh token is one that was created using the new system
\
after the most recent use of the user'
's legacy token.
\n\
Note: the creation date of legacy tokens which have never been used are reset every time Jenkins is restarted,
\
which means that the date may be inaccurate.
HasFreshToken_ok_tooltip
=
A fresh token exist for that user
HasFreshToken_warning_tooltip
=
No fresh token exist for that user
HasMoreRecentlyUsedToken
=
Recent token?
HasMoreRecentlyUsedToken_tooltip
=
A recently used token is one that was created using the new system
\
n\
and used more recently than the user'
s legacy token.
\n
\n\
Note: the creation date of legacy tokens which have never been used are reset every time Jenkins is restarted,
\
n\
HasMoreRecentlyUsedToken_tooltip
=
A recently used token is one that was created using the new system
\
and used more recently than the user'
's legacy token.
\n\
Note: the creation date of legacy tokens which have never been used are reset every time Jenkins is restarted,
\
which means that the date may be inaccurate.
HasMoreRecentlyUsedToken_ok_tooltip
=
A recent token exist for that user
HasMoreRecentlyUsedToken_warning_tooltip
=
No recent token exist for that user
NoImpactedUser
=
There are no users with a legacy token
NoCreationDate
=
There is no creation date for that token
NoLastUse
=
There is no last use date for that token
RevokeAllSelected
=
Revoke the selected token(s)
RevokeAllSelected_confirm
=
Are you sure about revoking all %num% selected token(s)
RevokeAllSelected_nothing
=
No token is selected, please select at least one to revoke
\ No newline at end of file
RevokeAllSelected_nothing
=
No token is selected, please select at least one to revoke
core/src/main/resources/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor/message.properties
浏览文件 @
1859a55e
warningMessage
=
There are users
that
are still using a legacy API token.
\
warningMessage
=
There are users
who
are still using a legacy API token.
\
That system is not as secure as the new one because it stores the token in a recoverable manner on the disk. <br />
\
See <a href="{0}/{1}/manage">list of impacted users</a>.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录