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

Add support for campaings entity added in MITRE v12 #62

Merged
merged 2 commits into from
Nov 19, 2022

Conversation

dadokkio
Copy link
Contributor

@dadokkio dadokkio commented Nov 3, 2022

I tried to follow code style and I've added following functionality:

from attack_api import attack_client
attack_client = attack_client()
ent_test = attack_client.get_enterprise_campaigns(stix_format=False)
mob_test = attack_client.get_mobile_campaigns(stix_format=False)
all_test = attack_client.get_campaigns(stix_format=False)
alias_test = attack_client.get_campaign_by_alias(campaign_alias="C0015", stix_format=False)
time_test = attack_client.get_campaigns_since_time(timestamp="2017-01-31T13:49:53.935Z", stix_format=False)
id_test = attack_client.get_object_by_attack_id("campaign", "C0001")

@Cyb3rWard0g
Copy link
Collaborator

thank you very much @dadokkio ! I appreciate you taking the time to make these changes :) Super helpful!

@Cyb3rWard0g Cyb3rWard0g merged commit 3bcac3b into OTRF:master Nov 19, 2022
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