Skip to content

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