OpenVAS Libraries  9.0.1
nvt_categories.h
Go to the documentation of this file.
1 /* OpenVAS
2  * $Id$
3  * Description: Category (ACT_*) definitions.
4  *
5  * Authors:
6  * Renaud Deraison <deraison@nessus.org> (Original pre-fork development)
7  *
8  * Copyright:
9  * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU Library General Public
22  * License along with this library; if not, write to the Free
23  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25 
33 #ifndef _NVT_CATEGORIES_H
34 #define _NVT_CATEGORIES_H
35 
43 #define ACT_LAST ACT_END
44 
45 #define ACT_FIRST ACT_INIT
46 
47 #define ACT_UNKNOWN 11
48 #define ACT_END 10
49 #define ACT_FLOOD 9
50 #define ACT_KILL_HOST 8
51 #define ACT_DENIAL 7
52 #define ACT_DESTRUCTIVE_ATTACK 6
53 #define ACT_MIXED_ATTACK 5
54 #define ACT_ATTACK 4
55 #define ACT_GATHER_INFO 3
56 #define ACT_SETTINGS 2
57 #define ACT_SCANNER 1
58 #define ACT_INIT 0
59 
60 #define ACT_STRING_INIT "init"
61 #define ACT_STRING_SCANNER "scanner"
62 #define ACT_STRING_SETTINGS "settings"
63 #define ACT_STRING_GATHER_INFO "infos"
64 #define ACT_STRING_ATTACK "attack"
65 #define ACT_STRING_MIXED_ATTACK "mixed"
66 #define ACT_STRING_DESTRUCTIVE_ATTACK "destructive_attack"
67 #define ACT_STRING_DENIAL "denial"
68 #define ACT_STRING_KILL_HOST "kill_host"
69 #define ACT_STRING_FLOOD "flood"
70 #define ACT_STRING_END "end"
71 #define ACT_STRING_UNKNOWN "unknown"
72 
73 #define ACT_STRING_LIST_ALL ACT_STRING_INIT , \
74  ACT_STRING_SCANNER , \
75  ACT_STRING_SETTINGS , \
76  ACT_STRING_GATHER_INFO , \
77  ACT_STRING_ATTACK , \
78  ACT_STRING_MIXED_ATTACK , \
79  ACT_STRING_DESTRUCTIVE_ATTACK , \
80  ACT_STRING_DENIAL , \
81  ACT_STRING_KILL_HOST , \
82  ACT_STRING_FLOOD , \
83  ACT_STRING_END , \
84  ACT_STRING_UNKNOWN
85 
86 #endif /* _NVT_CATEGORIES_H */