Lilith/Schema/Result/SaganAlert.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Lilith/Schema/Result/CapeAlert.pm ↑ Summary Lilith/Schema/Result/SuricataAlert.pm »
1 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Lilith::Schema::Result::SaganAlert;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Lilith::Schema::Result::SaganAlert
10  
11 =cut
12  
13 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 3 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 =head1 TABLE: C<sagan_alerts>
19  
20 =cut
21  
22 3 __PACKAGE__->table("sagan_alerts");
23  
24 =head1 ACCESSORS
25  
26 =head2 id
27  
28 data_type: 'bigint'
29 is_auto_increment: 1
30 is_nullable: 0
31 sequence: 'sagan_alerts_id_seq'
32  
33 =head2 instance
34  
35 data_type: 'varchar'
36 is_nullable: 0
37 size: 255
38  
39 =head2 instance_host
40  
41 data_type: 'varchar'
42 is_nullable: 0
43 size: 255
44  
45 =head2 timestamp
46  
47 data_type: 'timestamp with time zone'
48 is_nullable: 1
49  
50 =head2 event_id
51  
52 data_type: 'varchar'
53 is_nullable: 0
54 size: 64
55  
56 =head2 flow_id
57  
58 data_type: 'bigint'
59 is_nullable: 1
60  
61 =head2 in_iface
62  
63 data_type: 'varchar'
64 is_nullable: 1
65 size: 255
66  
67 =head2 src_ip
68  
69 data_type: 'inet'
70 is_nullable: 1
71  
72 =head2 src_port
73  
74 data_type: 'integer'
75 is_nullable: 1
76  
77 =head2 dest_ip
78  
79 data_type: 'inet'
80 is_nullable: 1
81  
82 =head2 dest_port
83  
84 data_type: 'integer'
85 is_nullable: 1
86  
87 =head2 proto
88  
89 data_type: 'varchar'
90 is_nullable: 1
91 size: 32
92  
93 =head2 facility
94  
95 data_type: 'varchar'
96 is_nullable: 1
97 size: 255
98  
99 =head2 host
100  
101 data_type: 'varchar'
102 is_nullable: 1
103 size: 255
104  
105 =head2 level
106  
107 data_type: 'varchar'
108 is_nullable: 1
109 size: 255
110  
111 =head2 priority
112  
113 data_type: 'varchar'
114 is_nullable: 1
115 size: 255
116  
117 =head2 program
118  
119 data_type: 'varchar'
120 is_nullable: 1
121 size: 255
122  
123 =head2 xff
124  
125 data_type: 'inet'
126 is_nullable: 1
127  
128 =head2 stream
129  
130 data_type: 'bigint'
131 is_nullable: 1
132  
133 =head2 classification
134  
135 data_type: 'varchar'
136 is_nullable: 1
137 size: 1024
138  
139 =head2 signature
140  
141 data_type: 'varchar'
142 is_nullable: 1
143 size: 2048
144  
145 =head2 gid
146  
147 data_type: 'integer'
148 is_nullable: 1
149  
150 =head2 sid
151  
152 data_type: 'bigint'
153 is_nullable: 1
154  
155 =head2 rev
156  
157 data_type: 'bigint'
158 is_nullable: 1
159  
160 =head2 raw
161  
162 data_type: 'jsonb'
163 is_nullable: 0
164  
165 =cut
166  
167 3 __PACKAGE__->add_columns(
168 "id",
169 {
170 data_type => "bigint",
171 is_auto_increment => 1,
172 is_nullable => 0,
173 sequence => "sagan_alerts_id_seq",
174 },
175 "instance",
176 { data_type => "varchar", is_nullable => 0, size => 255 },
177 "instance_host",
178 { data_type => "varchar", is_nullable => 0, size => 255 },
179 "timestamp",
180 { data_type => "timestamp with time zone", is_nullable => 1 },
181 "event_id",
182 { data_type => "varchar", is_nullable => 0, size => 64 },
183 "flow_id",
184 { data_type => "bigint", is_nullable => 1 },
185 "in_iface",
186 { data_type => "varchar", is_nullable => 1, size => 255 },
187 "src_ip",
188 { data_type => "inet", is_nullable => 1 },
189 "src_port",
190 { data_type => "integer", is_nullable => 1 },
191 "dest_ip",
192 { data_type => "inet", is_nullable => 1 },
193 "dest_port",
194 { data_type => "integer", is_nullable => 1 },
195 "proto",
196 { data_type => "varchar", is_nullable => 1, size => 32 },
197 "facility",
198 { data_type => "varchar", is_nullable => 1, size => 255 },
199 "host",
200 { data_type => "varchar", is_nullable => 1, size => 255 },
201 "level",
202 { data_type => "varchar", is_nullable => 1, size => 255 },
203 "priority",
204 { data_type => "varchar", is_nullable => 1, size => 255 },
205 "program",
206 { data_type => "varchar", is_nullable => 1, size => 255 },
207 "xff",
208 { data_type => "inet", is_nullable => 1 },
209 "stream",
210 { data_type => "bigint", is_nullable => 1 },
211 "classification",
212 { data_type => "varchar", is_nullable => 1, size => 1024 },
213 "signature",
214 { data_type => "varchar", is_nullable => 1, size => 2048 },
215 "gid",
216 { data_type => "integer", is_nullable => 1 },
217 "sid",
218 { data_type => "bigint", is_nullable => 1 },
219 "rev",
220 { data_type => "bigint", is_nullable => 1 },
221 "raw",
222 { data_type => "jsonb", is_nullable => 0 },
223 );
224  
225 =head1 PRIMARY KEY
226  
227 =over 4
228  
229 =item * L</id>
230  
231 =back
232  
233 =cut
234  
235 3 __PACKAGE__->set_primary_key("id");
236  
237  
238 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2026-03-15 22:29:36
239 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+Sr/uVhsXAejDFfWqkKyvw
240  
241  
242 # You can replace this text with custom code or comments, and it will be preserved on regeneration
243 3 1;
« Lilith/Schema/Result/CapeAlert.pm ↑ Summary Lilith/Schema/Result/SuricataAlert.pm »