From f0c59deccf8a3252ac379dcffebd6ba52ac08891 Mon Sep 17 00:00:00 2001 From: Nathan Sfard <56450221+sfc-gh-nsfard@users.noreply.github.com> Date: Fri, 26 Feb 2021 12:07:27 -0800 Subject: [PATCH 1/5] Update setup.py --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 44abf72..87aef86 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,14 @@ long_description = fh.read() setuptools.setup( - name="materialize-threats", - version="1.0.4", - author="Jacob Salassi", + name="materialize-threats-nathan", + version="1.0.0", + author="Nathan Sfard", author_email="author@example.com", - description="Analyze draw.io data flow diagrams for STRIDE threat classes", + description="Copy of secmerc's materialize threats to test pypi publishing", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/secmerc/materialize-threats", + url="https://github.com/sfc-gh-nsfard/materialize-threats", packages=setuptools.find_packages(), install_requires=[ 'peewee', From 17325892edbca5150ebfcbef7ac69a1a836fd04d Mon Sep 17 00:00:00 2001 From: Nathan Sfard <56450221+sfc-gh-nsfard@users.noreply.github.com> Date: Fri, 26 Feb 2021 12:07:27 -0800 Subject: [PATCH 2/5] Update setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 452cafb..e2daaf3 100644 --- a/setup.py +++ b/setup.py @@ -8,10 +8,10 @@ version="1.0.5", author="Jacob Salassi", author_email="author@example.com", - description="Analyze draw.io data flow diagrams for STRIDE threat classes", + description="Copy of secmerc's materialize threats to test pypi publishing", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/secmerc/materialize-threats", + url="https://github.com/sfc-gh-nsfard/materialize-threats", packages=setuptools.find_packages(), install_requires=[ 'peewee', From 39affb7771a500b986c42ea919319b35f7e6011d Mon Sep 17 00:00:00 2001 From: Nathan Sfard Date: Fri, 26 Feb 2021 13:31:58 -0800 Subject: [PATCH 3/5] mirroring upstream --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e2daaf3..39bc69b 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ version="1.0.5", author="Jacob Salassi", author_email="author@example.com", - description="Copy of secmerc's materialize threats to test pypi publishing", + description="Analyze draw.io data flow diagrams for STRIDE threat classes", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/sfc-gh-nsfard/materialize-threats", From 983cbaf4921cc9e349be5daf4ab8dfddf01ec865 Mon Sep 17 00:00:00 2001 From: Nathan Sfard Date: Fri, 26 Feb 2021 13:32:45 -0800 Subject: [PATCH 4/5] fixing url --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 39bc69b..452cafb 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ description="Analyze draw.io data flow diagrams for STRIDE threat classes", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/sfc-gh-nsfard/materialize-threats", + url="https://github.com/secmerc/materialize-threats", packages=setuptools.find_packages(), install_requires=[ 'peewee', From b4f654bf597a32331ec090ccae21f621b4436466 Mon Sep 17 00:00:00 2001 From: Nathan Sfard Date: Fri, 26 Feb 2021 14:21:26 -0800 Subject: [PATCH 5/5] updating readme to explain array direction --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 51aeb4e..941a557 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Some notes about how to make the diagram: * You don't need to include a Trust Boundary - it won't get parsed and has no bearing on the threats which appear * You don't need to include the STRIDE labels - we generate the threats for you! * Bi-directional flows are currently not supported - flows move in one direction. In some cases, data might flow from Entity A to Entity B, while data also flows from Entity B to Entity A; model these as two separate flows and you'll be fine. +* The direction of a flow is dictated by which element was selected as the source of the flow during flow creation (ie which element the flow was dragged from first). The actual location of the arrowhead does not matter. * Entities must talk to other entities through processes - the process is mandatory and must be included. ### Example