Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added levels to DFDs #132

Merged
merged 2 commits into from
Oct 19, 2020
Merged

Added levels to DFDs #132

merged 2 commits into from
Oct 19, 2020

Conversation

izar
Copy link
Collaborator

@izar izar commented Oct 16, 2020

This is and idea to be able to add to the same model, for example, infra-structure and application layers, then select on which diagram to produce. This only impacts DFDs, threat elicitation, sequence diagrams and reporting stay the same.

Copy link
Collaborator

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be done by layering multiple models over each other. It would imply that each layer should be a valid model on its own.

Isn't it currently possible to draw the DFD in a way it's missing crucial information to understand the model?

Anyway, this PR is missing tests that would document the use cases for this feature.

pytm/pytm.py Outdated Show resolved Hide resolved
pytm/pytm.py Outdated Show resolved Hide resolved
pytm/pytm.py Outdated Show resolved Hide resolved
pytm/pytm.py Outdated Show resolved Hide resolved
pytm/pytm.py Show resolved Hide resolved
pytm/pytm.py Outdated Show resolved Hide resolved
@izar
Copy link
Collaborator Author

izar commented Oct 18, 2020 via email

@izar
Copy link
Collaborator Author

izar commented Oct 18, 2020 via email

@@ -838,6 +862,7 @@ class Element:
doc="Maximum data classification this element can handle.",
)
findings = varFindings([])
levels = varInts({0})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last request - this needs a doc, can you add it?

@izar izar merged commit 1505a47 into master Oct 19, 2020
@izar izar deleted the manyLevelsModels branch October 19, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants