Skip to content

Commit 4faea80

Browse files
authored
Merge pull request #28 from feedly/examples/ti-requirements
[examples] Add warning for TI requirement to avoid confusion
2 parents 5affa39 + 0e75453 commit 4faea80

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

examples/enterprise/export_indicators_of_compromise_from_a_stream_as_csv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def example_export_indicators_of_compromise_from_all_enterprise_feeds_as_csv():
3939

4040

4141
if __name__ == "__main__":
42+
# Warning: This example requires the Threat Intelligence package to be enabled on your account
43+
4244
# Will prompt for the token if missing, and launch the example above
4345
# If a token expired error is raised, will prompt for a new token and restart the example
4446
run_example(example_export_indicators_of_compromise_from_all_enterprise_feeds_as_csv)

examples/enterprise/export_indicators_of_compromise_from_a_stream_as_stix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def example_export_indicators_of_compromise_from_all_enterprise_feeds_as_stix():
4040

4141

4242
if __name__ == "__main__":
43+
# Warning: This example requires the Threat Intelligence package to be enabled on your account
44+
4345
# Will prompt for the token if missing, and launch the example above
4446
# If a token expired error is raised, will prompt for a new token and restart the example
4547
run_example(example_export_indicators_of_compromise_from_all_enterprise_feeds_as_stix)

examples/enterprise/export_indicators_of_compromise_to_misp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def export_indicators_of_compromise_to_misp():
3838

3939

4040
if __name__ == "__main__":
41+
# Warning: This example requires the Threat Intelligence package to be enabled on your account
42+
4143
logging.basicConfig(level="INFO")
4244
filterwarnings("ignore")
4345

0 commit comments

Comments
 (0)