Skip to content

Commit

Permalink
Fix #533
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed May 21, 2020
1 parent 5770988 commit 6679646
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cairis/sql/procs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31359,17 +31359,17 @@ begin
union
select d.name dataflow, tb.name from_name, 'trust_boundary' from_type, te.name to_name, 'entity' to_type from dataflow d, dataflow_process_entity dpe, asset te, trust_boundary tb, trust_boundary_usecase tbu where d.environment_id = envId and d.id = dpe.dataflow_id and dpe.from_id = tbu.usecase_id and d.environment_id = tbu.environment_id and tbu.trust_boundary_id = tb.id and dpe.to_id = te.id and te.name = filterName
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_process dpp, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = dpp.dataflow_id and dpp.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbf.name = filterName
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_process dpp, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = dpp.dataflow_id and dpp.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbf.name = filterName and tbf.id != tbt.id
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_process dpp, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = dpp.dataflow_id and dpp.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbt.name = filterName
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_process dpp, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = dpp.dataflow_id and dpp.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbt.name = filterName and tbf.id != tbt.id
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_datastore dpd, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_asset tbta where d.environment_id = envId and d.id = dpd.dataflow_id and dpd.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpd.to_id = tbta.asset_id and tbta.trust_boundary_id = tbt.id and tbf.name = filterName
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_datastore dpd, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_asset tbta where d.environment_id = envId and d.id = dpd.dataflow_id and dpd.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpd.to_id = tbta.asset_id and tbta.trust_boundary_id = tbt.id and tbf.name = filterName and tbf.id != tbt.id
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_datastore dpd, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_asset tbta where d.environment_id = envId and d.id = dpd.dataflow_id and dpd.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpd.to_id = tbta.asset_id and tbta.trust_boundary_id = tbt.id and tbt.name = filterName
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_process_datastore dpd, trust_boundary tbf, trust_boundary_usecase tbfu, trust_boundary tbt, trust_boundary_asset tbta where d.environment_id = envId and d.id = dpd.dataflow_id and dpd.from_id = tbfu.usecase_id and tbfu.trust_boundary_id = tbf.id and dpd.to_id = tbta.asset_id and tbta.trust_boundary_id = tbt.id and tbt.name = filterName and tbf.id != tbt.id
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_datastore_process ddp, trust_boundary tbf, trust_boundary_asset tbfa, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = ddp.dataflow_id and ddp.from_id = tbfa.asset_id and tbfa.trust_boundary_id = tbf.id and ddp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbf.name = filterName
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_datastore_process ddp, trust_boundary tbf, trust_boundary_asset tbfa, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = ddp.dataflow_id and ddp.from_id = tbfa.asset_id and tbfa.trust_boundary_id = tbf.id and ddp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbf.name = filterName and tbf.id != tbt.id
union
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_datastore_process ddp, trust_boundary tbf, trust_boundary_asset tbfa, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = ddp.dataflow_id and ddp.from_id = tbfa.asset_id and tbfa.trust_boundary_id = tbf.id and ddp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbt.name = filterName;
select d.name dataflow, tbf.name from_name, 'trust_boundary' from_type, tbt.name to_name, 'trust_boundary' to_type from dataflow d, dataflow_datastore_process ddp, trust_boundary tbf, trust_boundary_asset tbfa, trust_boundary tbt, trust_boundary_usecase tbtu where d.environment_id = envId and d.id = ddp.dataflow_id and ddp.from_id = tbfa.asset_id and tbfa.trust_boundary_id = tbf.id and ddp.to_id = tbtu.usecase_id and tbtu.trust_boundary_id = tbt.id and tbt.name = filterName and tbf.id != tbt.id;
end if;
end
//
Expand Down

0 comments on commit 6679646

Please sign in to comment.