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 prerequisites and likelihood to Threat #241

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

raphaelahrens
Copy link
Contributor

In threats.json the two properties ("prerequisites", "Likelihood Of Attack") are defined, but are not used in the rest of pytm.

This commit adds the two properties to the Threat class, so they can be used by other parts of pytm.

For me this was relevant, since I started to experiment with a different format for threats mentioned in #237 .
And after exporting threat.json to a markdown format and back into threat.json these two fields where missing.

In threats.json the two properties ("prerequisites", "Likelihood Of Attack") are defined, but are not used in the
rest of pytm.

This commit adds the two properties to the Threat class, so they can be
used by other parts of pytm.

For me this was relevant, since I started to experiment with a different
format for threats mentioned in OWASP#237 .
And after exporting threat.json to a markdown format and back into
threat.json these two fields where missing.
@izar izar merged commit 6ca9f75 into OWASP:master Apr 12, 2024
4 checks passed
@izar
Copy link
Collaborator

izar commented Apr 12, 2024

thanks!

@raphaelahrens
Copy link
Contributor Author

One question do you want to use the values somewhere? They could be used in the findings, but I still wonder why they where not in the Threat class and if there was a reason.

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