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

simple example sub technique exception #117

Closed
robomotic opened this issue Jun 23, 2022 · 1 comment · Fixed by #120
Closed

simple example sub technique exception #117

robomotic opened this issue Jun 23, 2022 · 1 comment · Fixed by #120
Labels
documentation An update or modification to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@robomotic
Copy link

robomotic commented Jun 23, 2022

Just running the first example:

image

@MSAdministrator
Copy link
Collaborator

@robomotic This has changed but the test.py did not get updated properly.

It should be

from pyattck import Attck

attack = Attck()

for technique in attack.enterprise.techniques:
    print(technique.id)
    print(technique.name)
    for subtechnique in technique.techniques:
        print(subtechnique.id)
        print(subtechnique.name)

@MSAdministrator MSAdministrator added bug Something isn't working documentation An update or modification to documentation help wanted Extra attention is needed good first issue Good for newcomers and removed bug Something isn't working labels Jun 29, 2022
@MSAdministrator MSAdministrator linked a pull request Jul 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation An update or modification to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants