Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
9ab53e4
Fixed import constraint
c8y3 Oct 31, 2025
c7c3a0f
Use annotations to define endpoints on groups
c8y3 Oct 31, 2025
20bb8d9
Fixed ruff warnings
c8y3 Oct 31, 2025
a9079a7
Added import constraint: Do not import marshmallow from the persisten…
c8y3 Oct 31, 2025
ab8c8ee
Tyring to move dependence to marshmallow up in the API layer
c8y3 Oct 31, 2025
c1fc3a2
Fixed incorrect typing
c8y3 Oct 31, 2025
2c76991
Removed an marshable import from the persistence layer
c8y3 Oct 31, 2025
197de4f
Fixed ruff warning
c8y3 Oct 31, 2025
5b308a0
Deprecated POST /manage/customers/delete/<int:client_id>
c8y3 Oct 31, 2025
901098b
Removed unnecessary file
c8y3 Nov 5, 2025
0b2b15f
Removed all unit tests which have not been run in a long time. Added …
c8y3 Nov 5, 2025
c099fef
Started implementation of GET /api/v2/manage/customers
c8y3 Nov 5, 2025
4ae9af9
Fixed ruff warning
c8y3 Nov 5, 2025
7eb8971
Moved method into API layer
c8y3 Nov 5, 2025
704bb07
app.datamgmt.alerts.alerts_db should not import app.blueprints.access…
c8y3 Nov 5, 2025
cc14de1
Fixed ruff warning
c8y3 Nov 5, 2025
221ea9d
Removed seemingly dead method
c8y3 Nov 5, 2025
dcc4830
Factored code somewhat
c8y3 Nov 5, 2025
76acb33
Removed cycle
c8y3 Nov 5, 2025
5244279
Use method from the business layer
c8y3 Nov 5, 2025
0f4319e
Use method from the API layer
c8y3 Nov 5, 2025
8f3bf8e
Fixed incorrect retrieval of identifier
c8y3 Nov 5, 2025
88d09a3
Import db directly from app.db rather than from app
c8y3 Nov 5, 2025
ebe8870
Deprecated GET /manage/customers/list
c8y3 Nov 5, 2025
08db0cd
Fixed deepsource warning
c8y3 Nov 5, 2025
be022b8
Fixed missing parameters
c8y3 Nov 5, 2025
6fe4364
Fixed bug when checking for permission
c8y3 Nov 5, 2025
216b57c
Started implementation of POST /api/v2/global-tasks
c8y3 Nov 7, 2025
87b0949
Fixed ruff warnings
c8y3 Nov 7, 2025
70f262c
Factored code to create an object in database
c8y3 Nov 7, 2025
005ab91
Removed unnecessary return values
c8y3 Nov 7, 2025
d7393b9
Generalized import-linter constraint somewhat
c8y3 Nov 7, 2025
1862bb7
Calling conventions
c8y3 Nov 7, 2025
5544829
Added a FIXME
c8y3 Nov 7, 2025
8fa3305
Removed unnecessary return
c8y3 Nov 7, 2025
c69dcf5
Added import constraint: Do not import the persistence layer from the…
c8y3 Nov 7, 2025
1daa99c
Deprecated POST /global/tasks/add
c8y3 Nov 7, 2025
7a1b747
Removed an import app
c8y3 Nov 7, 2025
c345e41
Removed an import app
c8y3 Nov 7, 2025
5c474c1
Removed an import app
c8y3 Nov 7, 2025
d4346fd
Started GET /api/v2/global-tasks/{identifier}
c8y3 Nov 12, 2025
b314c45
Removed unnecessary return
c8y3 Nov 12, 2025
ed4d0d5
Removed seemingly unnecessary method
c8y3 Nov 12, 2025
149d3c9
Fixed ruff warning
c8y3 Nov 12, 2025
3b57d7f
Fixed import to Client
c8y3 Nov 12, 2025
aa735c4
Removed one use of too generic method get_or_create in models
c8y3 Nov 12, 2025
002d718
Fixed ruff warning
c8y3 Nov 12, 2025
3af00d3
Added test to check Analysts group autofollow is set to false
c8y3 Nov 12, 2025
8e6f5ca
Removed some usages of get_or_create
c8y3 Nov 12, 2025
21c01f4
Removed method get_or_create
c8y3 Nov 12, 2025
6644e6c
Moved CaseStatus into app.models.cases
c8y3 Nov 12, 2025
be4a6c0
Moved ReviewStatusList into app.models.cases
c8y3 Nov 12, 2025
4479bd2
Put Client model in its own module
c8y3 Nov 12, 2025
63a55b6
Deprecated GET /global/tasks/<int:cur_id>
c8y3 Nov 12, 2025
b854cda
Moved CaseAssets out of app.models.models into app.models.assets
c8y3 Nov 12, 2025
50f88d1
Moved AnalysisStatus in app.models.assets
c8y3 Nov 12, 2025
c846f0e
Moved CaseClassification into app.models.cases
c8y3 Nov 12, 2025
b252df8
Fixed ruff warnings
c8y3 Nov 12, 2025
8430792
Started implementation of DELETE /api/v2/global-tasks/{identifier}
c8y3 Nov 14, 2025
72457f4
Made calls more uniform
c8y3 Nov 14, 2025
55e1be5
Removed TODO, added test and documented the reason why the code simpl…
c8y3 Nov 14, 2025
f6717e6
Made calls to call_modules_hook more uniform
c8y3 Nov 14, 2025
068d79d
Fixed failing test
c8y3 Nov 14, 2025
88e9e5f
Grouped all methods related to global tasks
c8y3 Nov 14, 2025
0608f9f
Moved method related to case_tasks out of dashboard_routes to group them
c8y3 Nov 14, 2025
97cc5c8
Moved code out of dashboard_db
c8y3 Nov 14, 2025
066de8d
Removed duplicated method
c8y3 Nov 14, 2025
a7c0483
Removed seemingly dead method
c8y3 Nov 14, 2025
2eb0b28
Grouped code
c8y3 Nov 14, 2025
8c167dc
Removed now unused module
c8y3 Nov 14, 2025
d6c90e0
Updated lint-import constraints to the fact that dashboard does not e…
c8y3 Nov 14, 2025
04e3c9f
Added test
c8y3 Nov 14, 2025
55d1cad
Deprecated POST /global/tasks/delete/<int:cur_id>
c8y3 Nov 14, 2025
5fa70af
Added an import constraint
c8y3 Nov 14, 2025
022dbd9
Factored code to delete in db somewhat
c8y3 Nov 14, 2025
84f7d3e
Fixed delete comment
c8y3 Nov 14, 2025
9027e9c
Put some more information in .vulture.ignore
c8y3 Nov 14, 2025
aa477fb
Fixed ruff warning
c8y3 Nov 14, 2025
8e847c8
Removed an occurence of from app import app
c8y3 Nov 14, 2025
5547959
Moved down code into the persistence layer
c8y3 Nov 14, 2025
de4607f
One import per line
c8y3 Nov 14, 2025
8391039
Removed unnecessary print in test
c8y3 Nov 14, 2025
30756fc
Removed unused parameter, as indicated by deepsource
c8y3 Nov 14, 2025
13def32
Fixed some deepsource warnings
c8y3 Nov 14, 2025
313aab0
Started implementation of PUT /api/v2/global-tasks/{identifier}
c8y3 Nov 19, 2025
833bb6e
Do not import iris_current_user from app.datamgmt.case.case_events_db
c8y3 Nov 19, 2025
c04290c
Moved methods in persistence layer
c8y3 Nov 19, 2025
40b7ecf
Factored duplicated code
c8y3 Nov 19, 2025
abdd755
Separated code from data
c8y3 Nov 19, 2025
2ba73b2
Moved EvidenceTypes model in new model file evidences.py
c8y3 Nov 19, 2025
f793d9e
Moved CaseReceivedFile in evidences.py
c8y3 Nov 19, 2025
76c1838
Do not import iris_current_user from app.datamgmt.case.case_iocs_db
c8y3 Nov 19, 2025
5648d7b
Do not import iris_current_user from app.datamgmt.case.case_notes_db
c8y3 Nov 19, 2025
3a9ae9f
Do not import iris_current_user from app.datamgmt.case.case_rfiles_db
c8y3 Nov 19, 2025
fbd2094
Do not import iris_current_user from app.datamgmt.case
c8y3 Nov 19, 2025
2c289a8
Deprecated POST /global/tasks/update/<int:cur_id>
c8y3 Nov 19, 2025
1a92dd7
Added tests for field task_close_date of global tasks
c8y3 Nov 19, 2025
ac76eb1
Removed unnecessary else
c8y3 Nov 19, 2025
952011c
Removed unnecessary else
c8y3 Nov 19, 2025
b34d05c
Added ruff rule RET505
c8y3 Nov 19, 2025
b1ffb62
Added ruff rule RET501
c8y3 Nov 19, 2025
45a738f
Removed spurious blank line
c8y3 Nov 19, 2025
ab79f5f
Fixing some ruff RET502 warnings
c8y3 Nov 19, 2025
65d0db9
Started implementation of GET /api/v2/global-tasks
c8y3 Nov 21, 2025
58900f8
Added test for field total of GET /api/v2/global-tasks
c8y3 Nov 21, 2025
e44bd0a
Deprecated GET /global/tasks/list
c8y3 Nov 21, 2025
106365d
Removed one use of iris_current_user out of the persistence layer
c8y3 Nov 21, 2025
4f48725
Extracted method
c8y3 Nov 21, 2025
9f5894b
Extracted method
c8y3 Nov 21, 2025
6d720ff
Moved up an occurence of iris_current_user
c8y3 Nov 21, 2025
f570e27
Extracted methods
c8y3 Nov 21, 2025
14b5814
No need for optional parameter
c8y3 Nov 21, 2025
ee34d5d
Renamed method
c8y3 Nov 21, 2025
33d04dd
Use method from business
c8y3 Nov 21, 2025
7e99ab0
Moved up corner case in the business layer (does not require database…
c8y3 Nov 21, 2025
b03ecd3
Extracted method
c8y3 Nov 21, 2025
f99e77e
Extracted method
c8y3 Nov 21, 2025
e589c16
Moved code up into the business layer
c8y3 Nov 21, 2025
22e0496
Code cleanup
c8y3 Nov 21, 2025
3307565
Flattened and_
c8y3 Nov 21, 2025
e557cb7
Fixed ruff warning
c8y3 Nov 21, 2025
0f05312
Removed unused parameters
c8y3 Nov 21, 2025
a9a91c2
Moved up iris_current_user
c8y3 Nov 21, 2025
4880f73
Single quotes
c8y3 Nov 21, 2025
3fb4eda
Extended existing import constraint
c8y3 Nov 21, 2025
055dc65
Following calling conventions
c8y3 Nov 21, 2025
e40674d
Moved up some imports to iris_current_user
c8y3 Nov 21, 2025
d3721f8
Added missing preamble
c8y3 Nov 21, 2025
043cac8
Moved up some imports to iris_current_user
c8y3 Nov 21, 2025
0c1c654
Enforced one more constraint to avoid importing iris_current_user fro…
c8y3 Nov 21, 2025
44df5bd
Added ruff rule E211
c8y3 Nov 21, 2025
530e4e4
Added ruff rule E226
c8y3 Nov 21, 2025
7a975d4
Added ruff rule E272
c8y3 Nov 21, 2025
100a73d
Added ruff rule E221
c8y3 Nov 21, 2025
5c14b35
Feature/ID-5
khalil-ben-rhouma Nov 24, 2025
97e8fff
Feature/ID-7
khalil-ben-rhouma Nov 24, 2025
557c8da
Feature/ID-10
khalil-ben-rhouma Nov 24, 2025
48838d3
Fix required fields to execute task
khalil-ben-rhouma Nov 24, 2025
9d7fb4a
Add Artifact extension and fix bugs, case reopened, triggers and time…
khalil-ben-rhouma Nov 24, 2025
4cc1b79
Fix alerts and task response
khalil-ben-rhouma Nov 24, 2025
df096e3
Fix triggers and add task_execute permission
khalil-ben-rhouma Nov 24, 2025
f42fd64
Adapt iris tests
khalil-ben-rhouma Nov 24, 2025
4348f74
Fixes and automatic selection of sole customers and case actions
khalil-ben-rhouma Nov 24, 2025
0f21e87
Add case_id to webhook request from tasks
khalil-ben-rhouma Nov 24, 2025
2d23cc9
[#887][FIX] Fixed issue with notes being overwritten with stale content
ldbsi Nov 26, 2025
4df7968
Added a new more ioc linked cases tab for more than 50 items.
khalil-ben-rhouma Dec 1, 2025
949fc8c
db bugs fix
khalil-ben-rhouma Dec 1, 2025
c2e19f3
adjust webhook example json
khalil-ben-rhouma Dec 1, 2025
714ce17
[ADD] Add traefik support
ascalotoru Dec 1, 2025
6623f26
Remove required actions field from case templates
khalil-ben-rhouma Dec 4, 2025
36ca7db
Return case id after creating artifact
khalil-ben-rhouma Dec 19, 2025
3a81cf2
Case severity fixes
khalil-ben-rhouma Dec 19, 2025
0a2b21c
Case summary HTML fix
khalil-ben-rhouma Dec 19, 2025
0cfed37
Delete cases with dependencies from UI fix
khalil-ben-rhouma Dec 19, 2025
fb7cbb8
Fixed path to store icon when updating asset-type
c8y3 Dec 28, 2025
c710531
Forgot to commit image
c8y3 Dec 28, 2025
91af0dd
Created directory in which icons are stored
c8y3 Dec 28, 2025
3fb2b4e
Build the ui before API tests, rather than just creating the necessar…
c8y3 Dec 28, 2025
9d5c69d
Merge branch 'issue999' into issue999_for_develop
c8y3 Dec 28, 2025
8922cb0
Factored test driver
c8y3 Dec 29, 2025
fb03cca
Fixed ruff warnings
c8y3 Dec 29, 2025
3c0e581
Removed most probably unused png files
c8y3 Dec 29, 2025
447cec5
Update source/app/blueprints/rest/v2/alerts_filters.py
whikernel Jan 11, 2026
2380d76
Update source/app/datamgmt/case/case_assets_db.py
whikernel Jan 11, 2026
e883396
Merge pull request #946 from dfir-iris/api_v2_create_alert_filter
whikernel Jan 11, 2026
0f964df
Merge branch 'develop' into api_v2_get_alert_filter
whikernel Jan 11, 2026
4e738c2
Merge pull request #947 from dfir-iris/api_v2_get_alert_filter
whikernel Jan 11, 2026
293c50b
Merge pull request #949 from dfir-iris/api_v2_update_alert_filter
whikernel Jan 11, 2026
49c9af9
Merge pull request #951 from dfir-iris/api_v2_delete_alert_filter
whikernel Jan 11, 2026
71fea07
Update source/app/datamgmt/case/case_db.py
whikernel Jan 11, 2026
add47a6
Update tests/tests_rest_customers.py
whikernel Jan 11, 2026
823c86e
Merge pull request #955 from dfir-iris/api_v2_get_customer
whikernel Jan 11, 2026
980ef8b
Merge pull request #961 from dfir-iris/api_v2_put_customer
whikernel Jan 11, 2026
fbe4998
Merge pull request #962 from dfir-iris/api_v2_delete_customer
whikernel Jan 11, 2026
da866e4
Merge pull request #965 from dfir-iris/api_v2_get_paginated_customers
whikernel Jan 11, 2026
c2e75b0
Merge pull request #969 from dfir-iris/api_v2_create_global_task
whikernel Jan 11, 2026
0aa6ae3
Merge pull request #971 from dfir-iris/api_v2_get_global_task
whikernel Jan 11, 2026
866b435
Merge pull request #975 from dfir-iris/api_v2_delete_global_task
whikernel Jan 11, 2026
2955fbc
Merge pull request #979 from dfir-iris/api_v2_update_global_task
whikernel Jan 11, 2026
020fab7
Merge pull request #981 from dfir-iris/api_v2_paginated_global_tasks
whikernel Jan 11, 2026
f54fad8
Merge pull request #987 from irontec/feature/traefik-support
whikernel Jan 11, 2026
f6ae7e1
Merge pull request #1003 from dfir-iris/issue999_for_develop
whikernel Jan 11, 2026
13b3f17
Merge pull request #985 from ldbsi/develop
whikernel Jan 11, 2026
045d098
[DEL] Removed alerts filters
whikernel Jan 12, 2026
1cc4d0d
Added support for calling from a new Svelte UI.
fatpeppapig Jan 13, 2026
bdcbb78
Merge pull request #1010 from fatpeppapig/new_ui_integration
whikernel Jan 13, 2026
bd209a3
Revert "Added support for calling from a new Svelte UI."
whikernel Jan 13, 2026
dc61ac9
Merge pull request #1012 from dfir-iris/revert-1010-new_ui_integration
whikernel Jan 13, 2026
2fabaff
[FIX] oidc user group being mandatory
whikernel Jan 15, 2026
90e3860
[ADD] Added manage server routes for authentication details
whikernel Jan 15, 2026
b053947
Added support OIDC in New UI.
fatpeppapig Jan 15, 2026
d4e474b
Merge pull request #1016 from fatpeppapig/new_ui_oidc
whikernel Jan 19, 2026
67d0f57
Added support for MFA in New UI.
fatpeppapig Jan 19, 2026
789e707
Merge pull request #1017 from fatpeppapig/new_ui_mfa
whikernel Jan 20, 2026
576c00a
Added requirement of MFA verification in JWT authentication.
fatpeppapig Jan 21, 2026
38bbaa3
Merge pull request #1018 from fatpeppapig/auth_with_mfa
whikernel Jan 21, 2026
ba6c62e
Added GET methods for user and group cases access API.
fatpeppapig Feb 9, 2026
f9b0b45
Add the assign to me button
khalil-ben-rhouma Feb 12, 2026
b584742
Fixed access control for token auth in API V2.
fatpeppapig Feb 13, 2026
e6e6d79
Merge pull request #1031 from fatpeppapig/cases_access
whikernel Feb 16, 2026
6e0203c
imp: export env IRIS_AUTHENTICATION_TYPE too.
lelianthorel Feb 17, 2026
934de80
Added option to have multiple cases filters.
fatpeppapig Feb 19, 2026
d97166f
fix(postgres): typo in postgres.yaml template.
lelianthorel Feb 20, 2026
28695df
Add actual user id to webhook request body
khalil-ben-rhouma Feb 23, 2026
2185e58
Moved cases filters logic to api/v2 endpoints.
fatpeppapig Feb 23, 2026
40a2f6b
Added alerts filters presets.
fatpeppapig Mar 2, 2026
49738eb
Fixed ruff errors.
fatpeppapig Mar 3, 2026
164ff8f
Added quick fix for alerts endpoint.
fatpeppapig Mar 5, 2026
50e82a5
Fixed permissions on alert comments V2.
fatpeppapig Mar 11, 2026
4a7a1d9
Fixed relations rendering.
fatpeppapig Mar 20, 2026
25badc7
Fixed related-alerts endpoint permissions.
fatpeppapig Mar 23, 2026
2924a37
Added cases to related alerts.
fatpeppapig Mar 25, 2026
30a4d81
Merge pull request #9 from Idoubles-Cybersecurity/feature/case_templa…
khalil-ben-rhouma Mar 26, 2026
cdb67ff
http calls run in background and add refresh endpoint
khalil-ben-rhouma Mar 26, 2026
8d762df
Merge branch 'develop' of https://github.com/Idoubles-Cybersecurity/i…
khalil-ben-rhouma Mar 26, 2026
8e6289f
clean tmp folder
khalil-ben-rhouma Mar 26, 2026
2c532f5
Fixed unlinking cases.
fatpeppapig Mar 27, 2026
af5e68f
Apply commits 1-2: case.for_customer rendering and template file
khalil-ben-rhouma Mar 31, 2026
d5894c6
Fixed updating reviewer and review status through API.
fatpeppapig Apr 1, 2026
04109e1
Fixed dim task routes auth.
fatpeppapig Apr 2, 2026
5be3485
Fixed import issues.
fatpeppapig Apr 7, 2026
551e6a9
Better pluck for AlertCaseSchema.
fatpeppapig Apr 7, 2026
f240cf8
Fixed access to related-alerts.
fatpeppapig Apr 7, 2026
8a0ad7f
Merge pull request #1036 from fatpeppapig/filters
whikernel Apr 8, 2026
beb4e84
Fixed permissions on alert comments.
fatpeppapig Apr 8, 2026
5dde43d
Merge pull request #1060 from fatpeppapig/comments
whikernel Apr 8, 2026
faa09fa
Merge pull request #1035 from lelianthorel/thorel-IMP
whikernel Apr 8, 2026
2709b45
Merge pull request #1037 from lelianthorel/fix/postgres-password-var
whikernel Apr 8, 2026
a9b194d
Added endpoints to list and search notes in V2 Rest API.
fatpeppapig Apr 13, 2026
2218a7d
Fixed case filters.
fatpeppapig Apr 17, 2026
f5d613c
[IMP] Improved search in notes
whikernel Apr 21, 2026
fe53427
Merge pull request #1062 from fatpeppapig/case_notes
whikernel Apr 21, 2026
c0d1e34
[FIX] Fixed unsafe direct access to depreceated endpoints - cf GHSA-9…
Apr 17, 2026
3efae01
[ADD] Added datastore handler for v2
Apr 22, 2026
2419b1c
[ADD] Mising v2 DS file
Apr 22, 2026
d45cfa2
Resolve merge conflicts and update PR #10
khalil-ben-rhouma May 4, 2026
91fcf59
Resolve merge conflicts and test fixes
khalil-ben-rhouma May 4, 2026
aef7021
Merge remote-tracking branch 'idoubles/develop' into test-idoubles-in…
tobmes42 Jun 25, 2026
2b65ab1
chore(requirements): add jsonschema to dependencies
tobmes42 Jun 25, 2026
b904406
Merge branch 'test-idoubles-integration' of github.com:PROCYDE/iris-w…
tobmes42 Jul 1, 2026
5354a35
feat(health-check): add health check endpoint to the application
tobmes42 Jul 1, 2026
1d5510c
Merge branch 'test-idoubles-integration' of github.com:PROCYDE/iris-w…
tobmes42 Jul 1, 2026
569b61e
feat(manage_users_db): enhance group resolution in update_user_groups…
tobmes42 Jul 1, 2026
d1c28dd
feat(manage_attributes): add support for artifact attributes in updat…
tobmes42 Jul 1, 2026
3163a3b
refactor(case_triggers_routes): remove unused access control decorato…
tobmes42 Jul 1, 2026
35a9b44
feat(database): add ioc_link table and establish links between IOCs a…
tobmes42 Jul 2, 2026
59fbee2
refactor(case_tasks_db): clean up import statements by removing unuse…
tobmes42 Jul 2, 2026
de47c04
feat(case_states): add 'Reopened' state to case states
tobmes42 Jul 2, 2026
1257f6c
feat(cases): update case reopening logic to set state to 'Reopened'
tobmes42 Jul 3, 2026
2dc29f1
feat(events): add event_artifacts handling in event creation and update
tobmes42 Jul 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ services:
- iris_backend
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "0.0.0.0:5432:5432"

app:
container_name: iriswebapp_app
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/nginx-newui.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ events {

http {
map $request_uri $csp_header {
default "default-src 'self' https://analytics.dfir-iris.org https://127.0.0.1 http://app:8000; script-src 'self' 'unsafe-inline' https://analytics.dfir-iris.org; style-src 'self' 'unsafe-inline'; img-src 'self' data:;";
default "default-src 'self' https://analytics.dfir-iris.org https://127.0.0.1 http://app:8000; script-src 'self' 'unsafe-inline' https://analytics.dfir-iris.org; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-src 'self' https://jsoncrack.com;";
}
include /etc/nginx/mime.types;

Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ events {

http {
map $request_uri $csp_header {
default "default-src 'self' https://analytics.dfir-iris.org; script-src 'self' 'unsafe-inline' https://analytics.dfir-iris.org; style-src 'self' 'unsafe-inline'; img-src 'self' data:;";
default "default-src 'self' https://analytics.dfir-iris.org; script-src 'self' 'unsafe-inline' https://analytics.dfir-iris.org; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-src 'self' https://jsoncrack.com;";
}
include /etc/nginx/mime.types;

Expand Down
32 changes: 32 additions & 0 deletions source/53af6b874c81_add_case_template_id_to_cases.py.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"""Add case_template_id to cases

Revision ID: 53af6b874c81
Revises: afcff5ebcf7c
Create Date: 2025-11-17 00:00:00.000000

"""
from alembic import op
import sqlalchemy as sa

from app.alembic.alembic_utils import _table_has_column

# revision identifiers, used by Alembic.
revision = '53af6b874c81'
down_revision = 'afcff5ebcf7c'
branch_labels = None
depends_on = None


def upgrade():
if not _table_has_column('cases', 'case_template_id'):
op.add_column(
'cases',
sa.Column('case_template_id', sa.String(256), nullable=True)
)
pass


def downgrade():
if _table_has_column('cases', 'case_template_id'):
op.drop_column('cases', 'case_template_id')
pass
Loading
Loading