Created
March 28, 2022 21:40
Revisions
-
syrull created this gist
Mar 28, 2022 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ from cabby import create_client from cabby.entities import Collection client = create_client("otx.alienvault.com", use_https=True, discovery_path="/taxii/discovery") client.set_auth(username="username", password="password") collections = client.get_collections("https://otx.alienvault.com/taxii/collections") content_block = client.poll(collections[0].name) for block in content_block: print(block) breakpoint()