Skip to content

Commit b6f557c

Browse files
authored
Merge pull request #1324 from stratosphereips/develop
Slips v1.1.7
2 parents 8596c9a + b597a93 commit b6f557c

File tree

194 files changed

+18052
-2805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+18052
-2805
lines changed

.github/workflows/integration-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- test_dataset.py
3232
- test_pcap_dataset.py
3333
- test_zeek_dataset.py
34+
- test_fides.py
35+
- test_iris.py
3436

3537
steps:
3638
- uses: actions/checkout@v4
@@ -86,9 +88,9 @@ jobs:
8688
python3 -m pytest tests/integration_tests/${{ matrix.test_file }} -p no:warnings -vv -s -n 3
8789
8890
- name: Upload Artifacts
89-
if: success() || failure()
91+
if: always()
9092
uses: actions/upload-artifact@v4
9193
with:
92-
name: test_slips_locally-integration-tests-output
94+
name: ${{ matrix.test_file }}-integration-tests-output
9395
path: |
9496
output/integration_tests

.github/workflows/publish-slips-images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
ref: 'master'
2727
# Fetch all history for all tags and branches
2828
fetch-depth: ''
29+
# submodules are needed for local and global p2p
2930
submodules: true
3031

3132

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
- test_spamhaus.py
7171
- test_circllu.py
7272
- test_evidence_handler.py
73+
- test_evidence_formatter.py
7374
- test_alert_handler.py
7475
- test_redis_manager.py
7576
- test_ioc_handler.py
@@ -83,6 +84,8 @@ jobs:
8384
- test_host_ip_manager.py
8485
- test_rnn_cc_detection.py
8586
- test_idea_format.py
87+
- test_fides_sqlite_db.py
88+
- test_fides_module.py
8689

8790
steps:
8891
- uses: actions/checkout@v4
@@ -124,7 +127,7 @@ jobs:
124127
python3 -m pytest tests/${{ matrix.test_file }} -p no:warnings -vv -s -n 5
125128
126129
- name: Upload Artifacts
127-
if: success() || failure()
130+
if: always()
128131
uses: actions/upload-artifact@v4
129132
with:
130133
name: test_slips_locally-integration-tests-output

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,9 @@ output/
172172
config-live-macos-*
173173
dataset-private/*
174174
appendonly.aof
175+
/slipsOut/flows.sqlite
176+
/slipsOut/metadata/info.txt
177+
/slipsOut/metadata/slips.yaml
178+
/slipsOut/metadata/whitelist.conf
179+
/p2p_db.sqlite
180+

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/Yelp/detect-secrets
3-
rev: v1.4.0
3+
rev: v1.5.0
44
hooks:
55
- id: detect-secrets
66
args: ['--baseline', '.secrets.baseline']
77
exclude: '.*dataset/.*|^config/local_ti_files/own_malicious_JA3.csv$|.*test.*|.*\.md$'
88

99

1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v3.1.0
11+
rev: v5.0.0
1212
hooks:
1313
- id: trailing-whitespace
1414
- id: check-added-large-files
@@ -20,7 +20,7 @@ repos:
2020
exclude: '.*dataset/.*|^config/local_ti_files/own_malicious_JA3.csv$|.*test.*|.*\.md$'
2121

2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.3.4
23+
rev: v0.9.6
2424
hooks:
2525
# Run the linter.
2626
- id: ruff
@@ -29,7 +29,7 @@ repos:
2929
exclude: (imports|sqlite_db.*|conftest.py)
3030

3131
- repo: https://github.com/psf/black-pre-commit-mirror
32-
rev: 24.4.2
32+
rev: 25.1.0
3333
hooks:
3434
- id: black
3535
args: ['--line-length' , '79']
@@ -38,7 +38,8 @@ repos:
3838
exclude: (imports|conftest.py)
3939

4040
- repo: https://github.com/adrienverge/yamllint.git
41-
rev: v1.31.0
41+
rev: v1.35.1
4242
hooks:
4343
- id: yamllint
44+
args: ["-d", "{rules: {line-length: {max: 100}}}"]
4445
files: "slips.yaml"

0 commit comments

Comments
 (0)