Error when using Attck object
vinisimoes opened this issue · comments
Vinicius Lopes Simoes commented
Describe the bug
When using the Enterprise property of the Attck object, the NistControls constructor shows the following error:
__nist_controls_json = NistControls(**Base.config.get_data("nist_controls_json"))
TypeError: NistControls.__init__() missing 2 required positional arguments: 'id' and 'type'
To Reproduce
from pyattck import Attck
attack = Attck()
for technique in attack.enterprise.techniques:
print(technique.id)
print(technique.name)
Expected behavior
The techniques ids and names were expected to be printed on the screen.
Wapiti commented
I got the same problem. Have you solved this issue? I tried with default version of 2.1.0 and also 7.1.2, 7.1.1. My python version is 3.8,1
Wapiti commented
You can try the version of 6.2.0