Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update localized resources #5968

Merged
merged 1 commit into from
Dec 2, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ <h1>警报过滤器</h1>
<li><a href="globalAlertFilter.html">全局警报过滤器</a></li>
</ul>

警报筛选器也可以在 <a href="automation.html">自动化框架中。</a>.
警报过滤器也可以在 <a href="automation.html">自动化框架中。</a>.

</p>
<p>
创建警报筛选器的最简单方法是右键单击警报并选择“创建警报筛选器... ” ('Create Alert Filter...') 选项。 这将显示
创建警报过滤器的最简单方法是右键单击警报并选择“创建警报过滤器... ” ('Create Alert Filter...') 选项。 这将显示
<a href="alertFilterDialog.html">警报筛选器对话框</a>.<br>。
您也可以手动创建警报筛选器。
</p>
默认情况下,警报筛选器只适用于新警报,但您可以测试警报筛选器并将其应用于现有警报
默认情况下,警报过滤器只适用于新警报,但您可以测试警报过滤器并将其应用于现有警报

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,73 @@
<HTML>
<HEAD>
<TITLE>
Alert Filter Dialog
警报过滤器对话框
</TITLE>
</HEAD>
<BODY>
<H1>Alert Filter Dialog</H1>
<H1>警报过滤器对话框</H1>
<p>
This dialog is shown when you add or modify a
<a href="contextAlertFilter.html">Context Alert Filter</a>
or a <a href="globalAlertFilter.html">Global Alert Filter</a>
添加或修改 <a href="contextAlertFilter.html">上下文警报过滤器</a>或 <a href="globalAlertFilter.html">全局警报过滤器</a>时,将显示对话框。
<p>
It has the following fields:
它有下列字段:

<H3>Scope</H3>
This can either be 'Global' for a Global Alert Filter or the name of an existing context.
It is only editable when you create an Alert Filter from an existing Alert.
<H3>范围 (Scope)</H3>
可以是全局警报过滤器的 “全局 (Global)”,也可以是现有上下文的名称。
只有在根据现有警报创建警报过滤器时才可对其进行编辑。

<H3>Alert Type</H3>
The first pull down lists all of the active and passive alert rules currently installed along with their (known) alert references.
The second pull down lists all known IDs (scan rules and alert references). It also allows to manually specify one, if not listed (e.g. custom rule or not yet installed).
<H3>警报类型 (Alert Type)</H3>
第一个下拉菜单列出了当前安装的所有主动和被动警报规则及其(已知)警报引用。
第二个下拉菜单列出了所有已知 ID(扫描规则和警报引用)。 如果未列出(如自定义规则或尚未安装),也可手动指定。

<H3>New Risk Level</H3>
The new risk level to be assigned to any alerts raised that match the criteria defined by the rule.
<H3>新的风险级别 (New Risk Level)</H3>
新风险级别将被分配给任何被触发的警报,且与规则定义的标准相匹配。

<H3>URL</H3>
An optional URL.<br>
If specified then this rule will be applied if the URL matches the URL of a raised alert.<br>
一个可选的 URL。<br> 如果已指定URL,则此规则将被应用的情况为 URL 与已发出警报的 URL 匹配。<br>

<H3>URL is Regex?</H3>
If set and a URL is specified then the URL will be treated as a regex expression when compared with the URL of the alert.<br>
If it is not set then any specified URL must exactly match the URL of the alert.
<H3>URL是正则表达式吗?</H3>
如果设置且指定了 URL,则在与警报的 URL 比较时,将把 URL 作为正则表达式处理。<br>
如果未设置,则任何指定的 URL 必须与警报的 URL 完全匹配。

<H3>Parameter</H3>
An optional parameter.<br>
If specified then this rule will be applied if the parameter exactly matches the parameter of a raised alert.<br>
<H3>参数 (Parameter)</H3>
一个可选参数。<br>
如果指定了该参数,则会应用该规则的情况为该参数与已发出警报的参数完全匹配。<br>

<H3>Parameter is Regex?</H3>
If set and a parameter is specified then the parameter will be treated as a regex expression when compared with the parameter of the alert.<br>
If it is not set then any specified parameter must exactly match the parameter of the alert.
<H3>参数是正则表达式吗?</H3>
如果设置了且已指定一个参数,那么这个参数会被当作正则表达式与警报参数进行比较。<br>
如果未设置,那么任何指定参数必须与警报参数完全匹配。

<H3>Attack</H3>
An optional attack.<br>
If specified then this rule will be applied if the attack exactly matches the attack of a raised alert.<br>
<H3>攻击 (Attack)</H3>
一个可选的攻击。<br>
如果指定,那么此规则将生效的情况为这个攻击与引发警报的攻击完全匹配。<br>

<H3>Attack is Regex?</H3>
If set and a attack is specified then the attack will be treated as a regex expression when compared with the attack of the alert.<br>
If it is not set then any specified attack must exactly match the attack of the alert.
<H3>攻击是正则表达式吗?</H3>
如果设置且攻击被指定,那么这个攻击会被当作正则表达式与警报攻击进行比较。<br>
如果没有设置,那么任何指定的攻击必须与警报的攻击完全匹配。

<H3>Evidence</H3>
An optional evidence.<br>
If specified then this rule will be applied if the evidence exactly matches the evidence of a raised alert.<br>
<H3>证据 (Evidence)</H3>
一个可选的证据。<br>
如果指定,那么此规则将生效的情况为这个证据与引发警报的证据完全匹配。<br>

<H3>Evidence is Regex?</H3>
If set and a evidence is specified then the evidence will be treated as a regex expression when compared with the evidence of the alert.<br>
If it is not set then any specified evidence must exactly match the evidence of the alert.
<H3>证据是正则表达式吗?</H3>
如果设置且证据已指定,那么这个证据会被当作正则表达式与警报的证据进行比较。<br>
如果没有设置,那么任何指定的证据必须与警报的证据完全匹配。

<H3>Method</H3>
An optional method.<br>
If specified then this rule will be applied if the method matches (case insensitive) the method of a raised alert.<br>
<H3>方法 (Method)</H3>
一个可选的方法。<br>
如果指定,那么此规则将生效的情况为该方法与已触发警报的方法相匹配(不区分大小写)。<br>

<H3>Enabled</H3>
If set then this rule will be applied to all alerts raise against the given context.
<H3>启用 (Enabled)</H3>
如果设置,那么该规则将应用于针对给定上下文发出的所有警报。

<H3>Test Filter</H3>
The 'Test' button will show a count of how many existing alerts the filter will apply to.
It is disabled if the filter is disabled.
<H3>测试过滤器 (Test Filter)</H3>
“测试”按钮将显示过滤器适用的现有警报数量。
如果过滤器被禁用,它也将被禁用。

<H3>Apply Filter</H3>
The 'Apply' button will actually apply the filter to all of the existing alerts that it applies to.
It will then show a count of the number of alerts iit changed.
It is disabled if the filter is disabled.
<H3>应用过滤器 (Apply Filter)</H3>
“应用”按钮实际上会将过滤器应用到其适用的所有现有警报。
然后它会显示已更改的警报数量。
如果过滤器被禁用,它也会被禁用。

</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>
Alert Filter Automation Framework Support
警报过滤器自动化框架支持
</TITLE>
</HEAD>
<BODY>
<H1>Alert Filter Automation Framework Support</H1>
This add-on supports the Automation Framework.
<H1>警报过滤器自动化框架支持</H1>
这个附加组件支持自动化框架。

<H2>Job: alertFilter</H2>
The alertFilter job allows you to define global and context specific alert filters.
这个警报过滤器作业允许您定义全局和上下文特定的警报过滤器。
<p>
It is covered in the video: <a href="https://youtu.be/1fcpU54N-mA">ZAP Chat 08 Automation Framework Part 2 - Environment</a>.
这个视频中有所介绍:<a href="https://youtu.be/1fcpU54N-mA">ZAP 第8章 自动化框架 第二部分 - 环境</a>.
<pre>
- type: alertFilter # Used to change the risk levels of alerts
- type: alertFilter # 用于更改警报的风险级别
parameters:
deleteGlobalAlerts: true # Boolean, if true then will delete all existing global alerts, default false
alertFilters: # A list of alertFilters to be applied
- ruleId: # Int: Mandatory, the scan rule ID or the alert reference
newRisk: # String: Mandatory new risk level, one of 'False Positive', 'Info', 'Low', 'Medium', 'High'
context: # String: Optional context name, if empty then a global alert filter will be created
url: # String: Optional string to match against the alert, supports environment vars
urlRegex: # Boolean: Optional, if true then the url is a regex
parameter: # String: Optional string to match against the alert parameter field
parameterRegex: # Boolean: Optional, if true then the parameter is a regex, supports environment vars
attack: # String: Optional string to match against the alert attack field
attackRegex: # Boolean: Optional, if true then the attack is a regex
evidence: # String: Optional string to match against the alert evidence field
evidenceRegex: # Boolean: Optional, if true then the evidence is a regex
deleteGlobalAlerts: true # 布尔值,如果为真则删除所有现有的全局警报,默认为假
alertFilters: # 被应用的alertFilters列表
- ruleId: # 整型: 必须填写,为扫描规则 ID 或警报引用
newRisk: # 字符串: 必须为新的风险级别, 以下值之一: 'False Positive', 'Info', 'Low', 'Medium', 'High'
context: # 字符串: 可选, 上下文名称, 若为空则会创建一个全局警报过滤器
url: # 字符串: 可选, 与警报匹配的字符串,支持环境变量
urlRegex: # 布尔值: 可选, 如果为真则URL是一个正则表达式
parameter: # 字符串: 可选, 与警报参数字段匹配的字符串
parameterRegex: # 布尔值: 可选, 如果为真则参数是一个正则表达式,支持环境变量
attack: # 字符串: 可选, 与警报攻击字段匹配的字符串
attackRegex: # 布尔值: 可选, 若为真则攻击是一个正则表达式
evidence: # 字符串: 可选, 与警报证据字段匹配的字符串
evidenceRegex: # 布尔值: 可选, 若为真则证据是一个正则表达式
</pre>

</BODY>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@
<HTML>
<HEAD>
<TITLE>
Context Alert Filters
上下文警报过滤器
</TITLE>
</HEAD>
<BODY>
<H1>Context Alert Filters</H1>
<H1>上下文警报过滤器</H1>
<p>
Context <a href="alertFilter.html">Alert Filters</a> allow you to automatically override the risk levels
of any alerts raised by the active and passive scan rules within a context.
The Alert Filters will be exported and imported with the context -
they will not persist over ZAP sessions unless the context is imported again.
上下文 <a href="alertFilter.html">警报过滤器</a>允许您自动覆盖上下文中主动和被动扫描规则触发的任何警报的风险级别。
警报过滤器将与上下文一起导出和导入。
除非再次导入上下文,否则它们不会在 ZAP 会话中持续存在。
</p>
<p>
This add-on adds an 'Alert Filters' panel to the contexts dialog.<br>
The panel shows a list of all of the Alert Filters along with buttons for
adding, removing, and deleting them.
此附加组件可在上下文对话框中添加 “警报过滤器 ”面板<br>。
该面板显示所有警报过滤器的列表以及用于添加、移除和删除这些过滤器的按钮。
</p>
Adding or modifying an Alert Filter will display the <a href="alertFilterDialog.html">Alert Filter Dialog</a>.
添加或修改警报过滤器将显示 <a href="alertFilterDialog.html">警报过滤器对话框</a>
<p>

</BODY>
Expand Down