Skip to content

Commit

Permalink
Fix: Add/amend GMP doc for delta_states and levels filter
Browse files Browse the repository at this point in the history
This adds documentation for the "delta_states" filter keyword of
GET_REPORTS.
Also the letters allowed in the "levels" keyword are amended and
have their meanings clarified.
  • Loading branch information
timopollmeier authored and bjoernricks committed Jul 5, 2023
1 parent 9458355 commit 71a8a4f
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/schema_formats/XML/GMP.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</description>
<pattern>text</pattern>
</type>
<type>
<name>delta_states</name>
<summary>A string selecting delta states that may include the characters c, g, n and s</summary>
<description>
The meanings of the letters for each state are:
"c" for "changed", "g" for "gone", "n" for "new", and "s" for "same".
</description>
<pattern>xsd:token { pattern = "c?g?n?s?" }</pattern>
</type>
<type>
<name>type_name</name>
<summary>A name of a data type</summary>
Expand All @@ -86,8 +95,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</type>
<type>
<name>levels</name>
<summary>A string that may include the characters h, m, l, g and d</summary>
<pattern>xsd:token { pattern = "h?m?l?g?d?" }</pattern>
<summary>A string selecting severity levels that may include the characters h, m, l, g and f</summary>
<description>
The meanings of the letters for each level are: "h" for "high",
"m" for "medium", "l" for "low", "g" for "log" and
"f" for "false positive".
</description>
<pattern>xsd:token { pattern = "h?m?l?g?f?" }</pattern>
</type>
<type>
<name>name</name>
Expand Down Expand Up @@ -14911,6 +14925,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<type>boolean</type>
<summary>Whether to apply Overrides</summary>
</option>
<option>
<name>delta_states</name>
<type>delta_states</type>
<summary>States to select in a delta report</summary>
</option>
<option>
<name>levels</name>
<type>levels</type>
Expand Down

0 comments on commit 71a8a4f

Please sign in to comment.