-
Notifications
You must be signed in to change notification settings - Fork 88
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
Need to add associated actors in ThreatActor #110
Comments
@rpiazza, I believe this is already implemented: https://github.com/STIXProject/python-stix/blob/master/stix/threat_actor/__init__.py#L69 Can you confirm that this is still needed? |
I think the issue is that there is no method to add an associated actor. You can have more than 1, so usually there is an add... method in the API in that case. I could always just append, but I thought that wasn't the paradigm. |
A while back, @gtback introduced a couple of base classes that GREATLY help in reducing the amount of code we need to write for STIX fields that have a multiplicity > 1 (i.e., lists). However, this introduced a new pattern that deviated from the way that we had interacted with these lists in the past. Instead of I'd like to go back through the codebase and add the |
So - for the near future, I should just use the append pattern? |
@rpiazza - Yup! |
+1 for |
I am going to close this out since we have a way of adding associated threat actors. Issue #117 refrs to the |
No description provided.
The text was updated successfully, but these errors were encountered: