First commit

This commit is contained in:
2026-07-20 11:05:07 +02:00
commit b592ab669f
159 changed files with 10294 additions and 0 deletions
@@ -0,0 +1,34 @@
# Generated by Django 6.0.7 on 2026-07-14 16:15
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='BanEvent',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('node', models.CharField(max_length=64)),
('action', models.CharField(max_length=32)),
('jail_name', models.CharField(max_length=64)),
('ip_address', models.GenericIPAddressField()),
('port', models.PositiveIntegerField(blank=True, null=True)),
('protocol', models.CharField(blank=True, max_length=16)),
('bantime', models.IntegerField(blank=True, null=True)),
('reason', models.CharField(blank=True, max_length=255)),
('event_time', models.DateTimeField(blank=True, null=True)),
('received_at', models.DateTimeField(auto_now_add=True)),
('raw_payload', models.JSONField(blank=True, default=dict)),
],
options={
'ordering': ['-received_at'],
},
),
]