First commit!

This commit is contained in:
Dan Milne
2025-11-03 17:37:28 +11:00
commit 429d41eead
141 changed files with 5890 additions and 0 deletions

0
test/fixtures/files/.keep vendored Normal file
View File

37
test/fixtures/network_ranges.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
ip_address:
network_prefix: 1
ip_version: 1
company: MyString
asn: 1
asn_org: MyString
is_datacenter: false
is_proxy: false
is_vpn: false
ip_api_country: MyString
geo2_country: MyString
abuser_scores: MyText
additional_data: MyText
created_at: 2025-11-02 14:01:11
updated_at: 2025-11-02 14:01:11
last_api_fetch: 2025-11-02 14:01:11
two:
ip_address:
network_prefix: 1
ip_version: 1
company: MyString
asn: 1
asn_org: MyString
is_datacenter: false
is_proxy: false
is_vpn: false
ip_api_country: MyString
geo2_country: MyString
abuser_scores: MyText
additional_data: MyText
created_at: 2025-11-02 14:01:11
updated_at: 2025-11-02 14:01:11
last_api_fetch: 2025-11-02 14:01:11

11
test/fixtures/path_segments.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
segment: MyString
usage_count: 1
first_seen_at: 2025-11-03 10:24:38
two:
segment: MyString
usage_count: 1
first_seen_at: 2025-11-03 10:24:38

7
test/fixtures/request_actions.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
action: MyString
two:
action: MyString

11
test/fixtures/request_hosts.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
hostname: MyString
usage_count: 1
first_seen_at: 2025-11-03 10:24:29
two:
hostname: MyString
usage_count: 1
first_seen_at: 2025-11-03 10:24:29

7
test/fixtures/request_methods.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
method: MyString
two:
method: MyString

7
test/fixtures/request_protocols.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
protocol: MyString
two:
protocol: MyString

15
test/fixtures/rule_sets.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
name: MyString
description: MyText
enabled: false
projects:
rules:
two:
name: MyString
description: MyText
enabled: false
projects:
rules:

23
test/fixtures/rules.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
rule_set: one
rule_type: MyString
target: MyString
action: MyString
enabled: false
expires_at: 2025-11-02 19:10:14
priority: 1
conditions:
metadata:
two:
rule_set: two
rule_type: MyString
target: MyString
action: MyString
enabled: false
expires_at: 2025-11-02 19:10:14
priority: 1
conditions:
metadata: