Skip to content

[FEATURE]: Subscriptable objects by other than name #25

Description

@bontchev

Feature Details

Currently, when using subscriptable objects, an object (technique, tactic, etc.) can be addressed only by the name field:

from enterpriseattack import Attack

attack = Attack(subscriptable=True)
print(attack.techniques.get('External Remote Services'))

This is hard-coded in the module. Would be nice if this parameter could be controlled by the user, e.g.

from enterpriseattack import Attack

attack = Attack(subscriptable=True, subscribe_to='id')
print(attack.techniques.get('T1133'))

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions