File: get_alerts.xml

package info (click to toggle)
gvm-tools 25.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,480 kB
  • sloc: python: 10,611; xml: 445; makefile: 27
file content (87 lines) | stat: -rw-r--r-- 2,884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0"?>

<!--
SPDX-FileCopyrightText: 2020-2024 Greenbone AG

SPDX-License-Identifier: GPL-3.0-or-later

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<get_alerts_response status="200" status_text="OK">
  <alert id="3eefd4b9-59ec-48d6-b84d-f6a73bdb909f">
    <owner>
      <name>jloechte</name>
    </owner>
    <name>test_alert</name>
    <comment/>
    <creation_time>2021-01-03T13:45:20Z</creation_time>
    <modification_time>2021-01-03T13:45:20Z</modification_time>
    <writable>1</writable>
    <in_use>0</in_use>
    <permissions>
      <permission>
        <name>Everything</name>
      </permission>
    </permissions>
    <condition>Always</condition>
    <event>Task run status changed<data><name>status</name>Done</data></event>
    <method>Email<data><name>Task '$n': $e

After the event $e,
the following condition was met: $c

This email escalation is configured to attach report format '$r'.
Full details and other report formats are available on the scan engine.

$t

Note:
This email was sent to you as a configured security scan escalation.
Please contact your local system administrator if you think you
should not have received it.
</name>message</data><data><name>2</name>notice</data><data><name>sender@test.com</name>from_address</data><data><name>[OpenVAS-Manager] Task</name>subject</data><data><name>c402cc3e-b531-11e1-9163-406186ea4fc5</name>notice_attach_format</data><data><name>recipient@test.com</name>to_address</data></method>
    <active>1</active>
  </alert>
  <filters id="">
    <term>name=test_alert first=1 rows=100 sort=name</term>
    <keywords>
      <keyword>
        <column>name</column>
        <relation>=</relation>
        <value>test_alert</value>
      </keyword>
      <keyword>
        <column>first</column>
        <relation>=</relation>
        <value>1</value>
      </keyword>
      <keyword>
        <column>rows</column>
        <relation>=</relation>
        <value>100</value>
      </keyword>
      <keyword>
        <column>sort</column>
        <relation>=</relation>
        <value>name</value>
      </keyword>
    </keywords>
  </filters>
  <sort>
    <field>name<order>ascending</order></field>
  </sort>
  <alerts start="1" max="100"/>
  <alert_count>13<filtered>1</filtered><page>1</page></alert_count>
</get_alerts_response>